Get log site

Get a specific log entry with full content.


GET/api/servers/{server}/sites/{id}/log/{log}

Get log entry

This endpoint returns a specific log entry for a site, including the full content.

Request

GET
/api/servers/{server}/sites/{id}/log/{log}
curl -G "https://ploi.io/api/servers/{server}/sites/{id}/log/{log}" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": {
    "id": 1,
    "description": "Install virtual host ploi.io",
    "content": "Full log content..",
    "type": null,
    "created_at": "2020-11-23 12:29:28",
    "created_at_human": "21 hours ago"
  }
}