endpoint_status current_outage - BenjaminFourmaux/ServiceDown-api GitHub Wiki
Status/current_outage
Get service currently outage
Methods
Request
GET api.service-down.net/status/current_outage
Parameters
List of url parameters available on this endpoint
Name | Description | Type |
---|---|---|
country (optional) |
Id of country where we want services are currently down | number |
count (optional) |
Number of services in result | number |
Response
Return a list of Service with Country and his Status when his status is error
and warning
[
{
"service": {
"id": 146,
"name": "Orange",
"cname": "ORANGE",
"description": "French Internet provider",
"path": "/status/orange-france",
"website": "orange.fr",
"twitterUsername": "orange",
"countries": [
74
]
},
"country": {
"id": 74,
"name": "France",
"shortname": "FR",
"domainSuffix": "fr",
"isAvailable": true,
},
"status": {
"id": 3,
"label": "error"
}
},
{
"service": {
"id": 148,
"name": "Origin EA",
"cname": "ORIGINEA",
"description": null,
"path": "/status/origin-ea",
"website": null,
"twitterUsername": null,
"countries": [
74,
230
]
},
"country": {
"id": 74,
"name": "France",
"shortname": "FR",
"domainSuffix": "fr",
"isAvailable": true,
},
"status": {
"id": 3,
"label": "error"
}
},
{
"service": {
"id": 146,
"name": "Orang Bank",
"cname": "ORANGEBANK",
"description": null,
"path": "/status/orange-bank",
"website": null,
"twitterUsername": "OrangeBankFR",
"countries": [
74
]
},
"country": {
"id": 74,
"name": "France",
"shortname": "FR",
"domainSuffix": "fr",
"isAvailable": true,
},
"status": {
"id": 2,
"label": "warning"
}
}
]