Get uptime responses
Get a monitor from your site
GET api/servers/{server}/sites/{site}/monitors/{monitor}/uptime-responses
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{site}/monitors/{monitor}/uptime-responses" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": [
{
"response_time": 0.556179,
"created_at": "2023-02-27 07:32:49"
},
{
"response_time": 0.754359,
"created_at": "2023-02-27 07:27:08"
},
{
"response_time": 0.54421,
"created_at": "2023-02-27 07:26:02"
},
{
"response_time": 0.673199,
"created_at": "2023-02-27 07:20:26"
}
]
}