Get monitor
Get a monitor from your site
GET api/servers/{server}/sites/{site}/monitors/{monitor}
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{site}/monitors/{monitor}" \
-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": {
"id": 1,
"label": "My Monitor",
"location": "singapore",
"average_uptime": "6.23",
"active": true,
"created_at": "2019-08-13 14:06:21"
}
}