Log site
Get latest deploy log from a site
GET api/servers/{server}/sites/{id}/log
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{id}/log" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
{
"data": {
"description": "Clone git repository username/repository",
"content": "Cloning into '/home/ploi/domain.com'...\n.env.example found, copying to .env..\n",
"site_id": 90,
"server_id": 58,
"created_at": "2018-09-14 22:43:11"
}
}