List an application's rollbacks
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/rollbacks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://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://platform.ankra.app/org/applications/{application_id}/rollbacks \
--header 'Authorization: Bearer <token>'{
"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
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 only (no bearer twin).
GET
/
org
/
applications
/
{application_id}
/
rollbacks
List an application's rollbacks
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/rollbacks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://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://platform.ankra.app/org/applications/{application_id}/rollbacks \
--header 'Authorization: Bearer <token>'{
"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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Response
Successful Response
The recorded rollback history of one deployment, newest first.
Show child attributes
Show child attributes