Read a deployment operation and current workload verification (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id}"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id} \
--cookie ankra_session={
"application_id": "<string>",
"operation_id": "<string>",
"installation_id": "<string>",
"cluster_id": "<string>",
"namespace": "<string>",
"operation_status": "<string>",
"state": "pending",
"message": "<string>",
"checked_at": "<string>",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Applications
Read a deployment operation and current workload verification (browser session)
Scoped live verification of the exact deployment operation and installation. Does not certify recovery or historical availability.
GET
/
org
/
applications
/
{application_id}
/
deployment-verifications
/
{operation_id}
Read a deployment operation and current workload verification (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id}"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/deployment-verifications/{operation_id} \
--cookie ankra_session={
"application_id": "<string>",
"operation_id": "<string>",
"installation_id": "<string>",
"cluster_id": "<string>",
"namespace": "<string>",
"operation_status": "<string>",
"state": "pending",
"message": "<string>",
"checked_at": "<string>",
"readiness": {
"verdict": "live",
"state": "passed",
"message": "<string>",
"profile": "declared",
"commit_sha": "<string>",
"checked_at": "<string>",
"routes": [
{
"path": "<string>",
"kind": "readiness-route",
"passed": true,
"status_code": 123,
"latency_ms": 123,
"attempts": 123,
"last_error": "<string>"
}
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Response
Successful Response
Available options:
pending, passed, failed, unknown, superseded The readiness gate's answer for the revision this deployment runs: every readiness route the application's App Contract names (or its source kind's defaults) probed through the cluster, with each route's status code, latency and last error. Absent when the gate has nothing to say for the running revision, in which case the deployment is judged by its workload alone.
Show child attributes
Show child attributes