endpoint_service by_path - BenjaminFourmaux/ServiceDown-api GitHub Wiki

Service/by_path

Get service by his path

Methods

Request

GET api.service-down.net/service/by_path

Parameters

List of url parameters available on this endpoint

Name Description Type
country Id of country number
path Path uri of the service string (url)

Response

Return a Service

{
   "id": 146,
   "name": "Orange",
   "cname": "ORANGE",
   "description": null,
   "path": "/statut/orange-france",
   "website": null,
   "twitterUsername": null,
   "countries": [
      {
         "id": 74,
         "name": "France",
         "shortname": "FR",
         "domainSuffix": "fr",
         "isAvailable": true
      }
   ]
}

Errors