Skip to main content

List Incidents

The List Incidents endpoint allows you to retrieve a list of all Incidents in your Garmingo Status instance.

EndpointMethodURL
/incidentsGEThttps://garmingo.com/api/status/v1/incidents

Query Parameters​

ParameterTypeDescriptionRequiredDefaultMinimumMaximum
limitnumberThe maximum number of Incidents to return.No101100
pagenumberThe page number of the Incidents to return.No11∞

Response​

The response is a JSON object with the following properties:

PropertyTypeDescription
successbooleanWhether the request was successful.
data.incidentsIncident[]The list of Incidents.
data.countnumberThe total number of Incidents.

Example​

{
"success": true,
"data": {
"incidents": [
{
"id": "5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b",
"title": "My Incident",
"description": "This is a description.",
"status": "Open",
"resolved": false,
"resolveWhenOnline": true,
"monitorIds": ["5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b"],
"eventIds": ["5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b"],
"start": "2021-01-01T00:00:00.000Z"
}
],
"count": 1
}
}