API endpoint:
https://phpuptime.lunatio.com/api/v1/stats/{monitor_id}
Request example:
curl --location --request GET 'https://phpuptime.lunatio.com/api/v1/stats/{monitor_id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
name
check
, check_response_time
, incident
, incident_duration
.from
Y-m-d
format.to
Y-m-d
format.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.