Get log site
Get a specific log item in a site, this will also return the full content of a log item
GET api/servers/{server}/sites/{id}/log/{log}
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{id}/log/{log}" \
-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,
"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"
}
}