Python
import requests url = "https://platform.ankra.app/api/v1/clusters/{cluster_id}/addons" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "result": [ { "name": "<string>", "chart_name": "<string>", "chart_version": "<string>", "registry_url": "<string>", "namespace": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "stack_name": "<string>", "health": "<string>", "state": "creating", "through_ankra": false, "icon": "<string>" } ], "pagination": { "page": 123, "page_size": 123, "total_pages": 123, "total_count": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
creating
updating
stopping
up
down