Stats

Megjegyzés
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Generáld le saját API kulcsodat.
Megjelenítés

API végpont:

GET
https://szervermonitor.eu/api/v1/stats/{monitor_id}

Request example:

curl --location --request GET 'https://szervermonitor.eu/api/v1/stats/{monitor_id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Paraméter
Típus
Leírás
name
kötelező string
Név. Possible values are: check, check_response_time, incident, incident_duration.
from
kötelező string
Starting date in Y-m-d format.
to
kötelező string
Ending date in Y-m-d format.
sort
opciónális string
Rendezés. Possible values are: desc for Csökkenő, asc for Növekvő. Defaults to: desc.