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": "3.24",
            "created_at": "2019-08-13 16:16:51"
        },
        {
            "response_time": "2.00",
            "created_at": "2019-08-13 16:15:40"
        },
        {
            "response_time": "6.23",
            "created_at": "2019-08-13 14:06:29"
        }
    ],
    "links": {
        "first": "https://ploi.io/api/servers/1/sites/1/monitors/1/responses?page=1",
        "last": "https://ploi.io/api/servers/1/sites/1/monitors/1/responses?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://ploi.io/api/servers/1/sites/1/monitors/1/responses",
        "per_page": 15,
        "to": 3,
        "total": 3
    }
}