Endpoint API:
https://www.sempresu.it/api/v1/stats/{monitor_id}
Esempio richiesta:
curl --location --request GET 'https://www.sempresu.it/api/v1/stats/{monitor_id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
namecheck, check_response_time, incident, incident_duration.fromY-m-d.toY-m-d.sortdesc per Decrescente, asc per Crescente. Predefinito: desc.