Read an application deploy run
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deploy-runs/{run_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}/deploy-runs/{run_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}/deploy-runs/{run_id} \
--cookie ankra_session={
"id": "<string>",
"cluster_id": "<string>",
"status": "<string>",
"message": "<string>",
"resumed": true,
"divergence": "<string>",
"roles": [
{
"role": "<string>",
"position": 123,
"draft_id": "<string>",
"stack_name": "<string>",
"created_stack_name": "<string>",
"operation_id": "<string>",
"status": "<string>",
"message": "<string>"
}
],
"phases": [
{
"phase": "<string>",
"status": "<string>",
"detail": {},
"started_at": "<string>",
"finished_at": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Applications
Read an application deploy run
Read one deploy run and its per-role progress. This is the wizard’s progress display: the run is driven by the server, so the read is equally correct in a tab that was never open while it ran.
GET
/
org
/
applications
/
{application_id}
/
deploy-runs
/
{run_id}
Read an application deploy run
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/deploy-runs/{run_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}/deploy-runs/{run_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}/deploy-runs/{run_id} \
--cookie ankra_session={
"id": "<string>",
"cluster_id": "<string>",
"status": "<string>",
"message": "<string>",
"resumed": true,
"divergence": "<string>",
"roles": [
{
"role": "<string>",
"position": 123,
"draft_id": "<string>",
"stack_name": "<string>",
"created_stack_name": "<string>",
"operation_id": "<string>",
"status": "<string>",
"message": "<string>"
}
],
"phases": [
{
"phase": "<string>",
"status": "<string>",
"detail": {},
"started_at": "<string>",
"finished_at": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Response
Successful Response