A newer version is available. For the latest information, see the
current release documentation.
Get plan activity
editGet plan activity
editRetrieves details for a single plan activity for the given resource.
Request
editGET /api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/activity/{attempt_id}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Attempt id for the activity |
|
|
Y |
Identifier for the Deployment |
|
|
Y |
User-specified RefId for the Resource |
|
|
Y |
The kind of resource |
Responses
edit-
200
-
Returning the single plan activity for the specified resource
-
404
-
-
The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
) -
The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found
)
Headers
-
x-cloud-error-codes
(string
; allowed values: [deployments.deployment_not_found
,deployments.deployment_resource_not_found
]) - The error codes associated with the response
-
The Deployment specified by {deployment_id} cannot be found. (code:
Request example
editcurl -XGET https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/activity/{attempt_id} \ -H "Authorization: ApiKey $ECE_API_KEY"