Ploi API
Ploi API

Get daemon

Get a daemon from your server

GET api/servers/{server}/daemons/{daemon}

Example request:

curl -X GET "https://ploi.io/api/servers/{server}/daemons/{daemon}" \
-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,
        "command": "echo 123",
        "processes": 1,
        "system_user": "ploi",
        "directory": null,
        "status": "created"
    }
}