The `startup` endpoint provides information about the application's startup sequence.
The `startup` endpoint provides information about the application's startup sequence.
[[startup-retrieving]]
[[startup-retrieving]]
== Retrieving the Application Startup steps
== Retrieving the Application Startup steps
To retrieve the steps recorded so far during the application startup phase , make a `POST` request to `/actuator/startup`, as shown in the following curl-based example:
The application startup steps can either be retrieved as a snapshot (`GET`) or drained from the buffer (`POST`).
[[startup-retrieving-snapshot]]
=== Retrieving a snapshot of the Application Startup steps
To retrieve the steps recorded so far during the application startup phase , make a `GET` request to `/actuator/startup`, as shown in the following curl-based example:
To drain and return the steps recorded so far during the application startup phase , make a `POST` request to `/actuator/startup`, as shown in the following curl-based example:
include::{snippets}/startup/curl-request.adoc[]
include::{snippets}/startup/curl-request.adoc[]
@ -16,14 +32,10 @@ The resulting response is similar to the following:
include::{snippets}/startup/http-response.adoc[]
include::{snippets}/startup/http-response.adoc[]
NOTE: The above call resets the application startup steps buffer - subsequent calls to the endpoint will
not include the returned steps. To retrieve a snapshot of the steps recorded so far without removing them
from the startup buffer, make a `GET` request to `/actuator/startup`.
[[startup-retrieving-response-structure]]
[[startup-retrieving-response-structure]]
=== Response Structure
=== Response Structure
The response contains details of the application startup steps recorded so far by the application.
The response contains details of the application startup steps.
The following table describes the structure of the response:
The following table describes the structure of the response: