Ploi API

Get insight

Get the insight details

GET api/servers/{server}/insights/{id}

Example request:

curl -X GET "https://ploi.io/api/servers/{server}/insights/{id}" \
-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,
        "status": "open",
        "description": "Your **supervisor** service is running, but you do not seem to use it. You can save resources by stopping this service, you can always start it when you need it.",
        "log_file": "/var/log/supervisor/supervisor.log",
        "priority": "medium",
        "meta": null,
        "is_fixable": true,
        "processed_at": null,
        "created_at": "2021-11-09 12:50:40"
    }
}