GET /v2/apps/{app_id}/deployments/{deployment_id}/components/{component_name}/logs
Retrieve the logs of a past, in-progress, or active deployment. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
deployment_id |
String | Yes |
The deployment ID |
component_name |
String | Yes |
An optional component name. If set, logs will be limited to this component only. |
app_id |
String | Yes |
The app ID |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
type |
String | Yes |
The type of logs to retrieve
Possible values:
Default value: "UNSPECIFIED" |
follow |
Boolean | No |
Whether the logs should follow live updates. |
pod_connection_timeout |
String | No |
An optional time duration to wait if the underlying component instance is not immediately available. Default: |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.