endpoint_report list - BenjaminFourmaux/ServiceDown-api GitHub Wiki

Report/create

list of all services

Methods

Request

GET api.service-down.net/report/:service_id/:country_id

Parameters

List of parameters available on this endpoint

Name Description Type
:service_id Service ID number
:country_id Country ID number

Response

Return a list of Report when request successful

[
	{
		"id": 1,
		"service": 146,
		"country": 74,
		"submittedAt": "2022-08-10T18:41:39.659931"
	},
	{
		"id": 2,
		"service": 146,
		"country": 74,
		"submittedAt":"2022-09-05T18:20:10"
	},
	{
		"id": 3,
		"service": 146,
		"country": 74,
		"submittedAt":  "2022-09-05T18:27:47"
	}
]

Errors