GET
/services/{uuid}/applications/{app_uuid}/logsGet service application logs
Get Docker logs for a single compose service container. Requires the read:sensitive or root token ability.
uuidstringrequired
Service UUID.
app_uuidstringrequired
Service application UUID.
linesintegeroptional
Number of lines to show from the end of the logs. Use `all` to return all logs. `-1` remains available as a compatibility alias.
200Logs.
logsstringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
404Resource not found.
messagestringoptional
501Swarm not supported.
Error handling
A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 404 is returned: Resource not found. A 501 is returned: Swarm not supported.