The boot phase, with the clock
const url = 'http://localhost:11044/api/v1/boot';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/boot \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Phase is starting, listening or ready, and ready says the same as a boolean. startedAt is when the JVM started, elapsedSeconds how long ago that was, listeningAt and readyAt when the port opened and the application finished starting. worlds counts the worlds built in this process since start (rebuilds included, and counted again under rebuilt), the realms they loaded in total, when the last one finished and how long it took. No user, realm, path or setting is named: counts and timestamps only, since this is answered without signing in. A null is unknown or not yet, never zero.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The server’s boot phase and what it has built so far
What the server is doing while it starts: its boot phase, when each phase was reached, and the worlds built since. Counts and timestamps only; a null is unknown or not yet, never zero
object
Seconds since startedAt, on this answer’s clock
When the port began listening, or null while it has not
Starting (nothing answers on the port yet), listening (the port is open, the application is still starting) or ready
True once the phase is ready
When the application finished starting, or null while it has not
When the JVM started
Worlds built in this process since start, as totals
object
How long the most recent build took, to the nearest second; null if none has, or it was not measured
When the most recent build finished, or null if none has
Worlds built since start, rebuilds included: each is a build
Realms loaded across every build since start
Of those, how many were deliberate rebuilds of a world already loaded
Example
{ "phase": "starting"}
