Liveness probe
GET
/health
const url = 'https://api.aggregator.gg/health';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/healthReturns 200 if the API process is up.
Served at the API root: https://api.aggregator.gg/health. 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 alive.
Media typeapplication/json
object
status
required
string
Example
{ "status": "ok"}