Readiness probe
GET
/health/ready
const url = 'https://api.staging.elasticstage.com/store/health/ready';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.staging.elasticstage.com/store/health/readyResponses
Section titled “Responses”Default Response
Media typeapplication/json
object
status
required
string
Example
{ "status": "ready"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 503, "code": "SERVICE_UNAVAILABLE", "error": "Service Unavailable", "message": "The service is temporarily unavailable."}