GET /v2/apps/{app_id}/logs
Retrieve the logs of the active deployment if one exists. The response will include links to either real-time logs of an in-progress or active deployment or archived logs of a past deployment. Note log_type=BUILD logs will return logs associated with the current active deployment (being served). To view build logs associated with in-progress build, the query must explicitly reference the deployment id.
Servers
- https://api.digitalocean.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
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.