Skip to main content
GET
/
api
/
v1
/
clusters
/
{cluster_id}
/
kubernetes
/
helm
/
releases
/
{namespace}
/
{name}
/
history
Get Helm Release History Endpoint
import requests

url = "https://platform.ankra.app/api/v1/clusters/{cluster_id}/kubernetes/helm/releases/{namespace}/{name}/history"

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/api/v1/clusters/{cluster_id}/kubernetes/helm/releases/{namespace}/{name}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
curl --request GET \
--url https://platform.ankra.app/api/v1/clusters/{cluster_id}/kubernetes/helm/releases/{namespace}/{name}/history \
--header 'Authorization: Bearer <token>'
{
  "revisions": [
    {
      "revision": 123,
      "status": "<string>",
      "app_version": "<string>",
      "chart": "<string>",
      "description": "<string>",
      "updated": "<string>"
    }
  ]
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

cluster_id
string<uuid4>
required
namespace
string
required
Required string length: 1 - 253
name
string
required
Required string length: 1 - 253

Query Parameters

limit
integer
default:25
Required range: 1 <= x <= 200

Response

Successful Response

revisions
HelmReleaseHistoryEntry · object[]
required