endpoint_service stats - BenjaminFourmaux/ServiceDown-api GitHub Wiki
Status/stats
Get stats of a service with country Can be stats 1 Hour or stats 24 Hours
Methods
Request
GET api.service-down.net/service/:sevice_id/country/:country_id/stats_1h
or
GET api.service-down.net/service/:sevice_id/country/:country_id/stats_24h
Parameters
nothing
Response
Return a Stats
{
"id": 234,
"service": 146,
"country": 74,
"intervals": [
2,
4,
6,
8,
10,
12,
14,
16,
18,
20,
22,
24,
],
"totalReport": 156
}