Site logs

Show a site log.

Parameters :

Parameter Description
type The log type: app, nginx_access ornginx_error.
GET /api/site/{id}/logs/{type}

Example request :

curl "https://cloud.boxydev.com/api/site/1/logs/app" \
    -H "Authorization: Bearer {token}" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json"

Example response :

{
    "content": "LOG",
    "path": "/home/cloud/website.com/storage/logs/laravel.log"
}