get https://api.compose.io/2016-07/deployments//logfiles
Fetch information about the logfiles available for a deployment.
This endpoint returns all logfiles associated with the deployment given in the parameters. It returns an _embedded
object with a logfile
key whose value is an array of logfile objects. The key/values of logfile objects are detailed below.
Returned JSON
logfiles object key | Description |
---|---|
id | The logfile id, used when addressing a specific logfile in the API. |
deployment_id | The ID of the deployment that is associated with the logfile. |
capsule_id | The ID of the capsule that is associated with the logfile. |
name | Name of the logfile (which includes the time that the logfile was created). |
region | The region of logfiles. (which will always match the region of deployment capsule). |
status | The status of the logfile (whether or not the logfile has finished being written). |
file_size | The file size of the logfile |
date | The date when the logfile was captured. |