Get the state of a release target
Changed onget/v1/workspaces/{workspaceId}/release-targets/{releaseTargetKey}/state
Request
- The document declares no server URL.
- Authnone declared
Path parameters
workspaceIdstring required
ID of the workspace
releaseTargetKeystring required
Key of the release target
Response
Release target state
Example response
{
"latestJob": {
"verifications": [
{
"metrics": [
{
"failureCondition": "result.statusCode == 500",
"intervalSeconds": 30,
"provider": {
"url": "http://{{ .resource.name }}.{{ .environment.name }}/health"
},
"successCondition": "result.statusCode == 200"
}
]
}
]
}
}Changes
- warning
added the new
queuedenum value to the//response property for the response status
- warning
- info
added the required property
////to the response with the status
- info