Create Incident
This endpoint allows you to create a new Incident in your Garmingo Status instance.
Endpoint | Method | URL |
---|---|---|
/incidents | POST | https://garmingo.com/api/status/v1/incidents |
Request Body​
The request body is the Create Incident object.
Example​
{
"title": "My Incident",
"description": "This is a description.",
"status": "Open",
"resolveWhenOnline": true,
"monitorIds": ["5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b"]
}
Response​
The response is a JSON object with the following properties:
Property | Type | Description |
---|---|---|
success | boolean | Whether the request was successful. |
data.id | string | The ID of the created Monitor. |
Example​
{
"success": true,
"data": {
"id": "5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b"
}
}