List an application's rollbacks (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/rollbacks"
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}/rollbacks', 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}/rollbacks \
--cookie ankra_session={
"rollbacks": [
{
"id": "<string>",
"cluster_id": "<string>",
"target_kind": "<string>",
"stack_name": "<string>",
"installation_id": "<string>",
"image_tag": "<string>",
"previous_image_tag": "<string>",
"watermark_commit_sha": "<string>",
"status": "<string>",
"message": "<string>",
"requested_by": "<string>",
"requested_at": "<string>",
"not_reverted": [
"<string>"
]
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Applications
List an application's rollbacks (browser session)
The recorded rollback history of this application’s deployment on the named cluster, newest first. It is what explains a deployment running an older build than the newest one the platform observed. Browser session authentication; the bearer twin is GET /api/v1/org/applications//rollbacks.
GET
/
org
/
applications
/
{application_id}
/
rollbacks
List an application's rollbacks (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/rollbacks"
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}/rollbacks', 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}/rollbacks \
--cookie ankra_session={
"rollbacks": [
{
"id": "<string>",
"cluster_id": "<string>",
"target_kind": "<string>",
"stack_name": "<string>",
"installation_id": "<string>",
"image_tag": "<string>",
"previous_image_tag": "<string>",
"watermark_commit_sha": "<string>",
"status": "<string>",
"message": "<string>",
"requested_by": "<string>",
"requested_at": "<string>",
"not_reverted": [
"<string>"
]
}
]
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
Query Parameters
Response
Successful Response
The recorded rollback history of one deployment, newest first.
Show child attributes
Show child attributes