Readiness probe
GET
/ready
const url = 'https://api.aggregator.gg/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.aggregator.gg/readyReturns 200 if the API can serve traffic (DB reachable, etc.).
Served at the API root: https://api.aggregator.gg/ready. The
/v1 base URL of the business endpoints does not apply here;
requesting this probe under the version prefix is a 404.
Responses
Section titled “Responses”Service is ready.
Media typeapplication/json
object
status
required
string
Example
{ "status": "ready"}Service is not ready (one or more dependencies unreachable).