Skip to main content
GET
/
api
/
v1
/
clusters
/
k3s-versions
List K3S Versions Endpoint
import requests

url = "https://platform.ankra.app/api/v1/clusters/k3s-versions"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "versions": [
    {
      "version": "<string>",
      "channel": "<string>",
      "published_at": "<string>"
    }
  ],
  "stable_version": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null

Response

Successful Response

versions
K3sVersionEntry · object[]
required
stable_version
string | null