# Log
Use this method to get a script log.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/git/deployment-script/{git_deployment_script}/output
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/git/deployment-script/{git_deployment_script}/output" \
--header 'Content-Type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Script Log
- 200 (Ok)
{
"data": [
{
"output": "Do not run Composer as root\/super user! See https:\/\/getcomposer.org\/root for details\nComposer could not find a composer.json file in \/\nTo initialize a project, please create a composer.json file as described in the https:\/\/getcomposer.org\/ \"Getting Started\" section",
"status": "error"
}
]
}
# Script Output Not found
- 404 (Not Found)
{
"message": "Git deployment script output not found!"
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Application Not Found
- 404 (Not Found)
{
"message": "Application not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong!"
}
← Commit Record Detail →