Get the state of a release target

Changed on
get/v1/workspaces/{workspaceId}/release-targets/{releaseTargetKey}/state

Request

  • The document declares no server URL.
  • Auth
    none 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 queued enum value to the // response property for the response status

    • info

      added the required property //// to the response with the status