Get a Monitors Uptime
This endpoint allows you to retrieve the uptime of a specific Monitor in your Garmingo Status instance.
Endpoint | Method | URL |
---|---|---|
/monitors/{id}/uptime | GET | https://garmingo.com/api/status/v1/monitors/{id}/uptime |
Query Parameters​
Parameter | Type | Description | Required | Default | Minimum | Maximum |
---|---|---|---|---|---|---|
timespan | string | The timespan to calculate the uptime for. Can be 24h , 7d , 30d , 90d . | Yes |
Response​
The response is a JSON object with the following properties:
Property | Type | Description |
---|---|---|
success | boolean | Whether the request was successful. |
data | number | The uptime of the Monitor in percent |
Example​
{
"success": true,
"data": 99.99
}