Python
import requests url = "https://platform.ankra.app/api/v1/clusters/{cluster_id}/operations/{operation_id}/jobs" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
{ "operation_information": { "name": "<string>", "status": "running", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "last_job_update_at": "2023-11-07T05:31:56Z" }, "jobs": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "status": "running", "updated_at": "2023-11-07T05:31:56Z", "start_at": "2023-11-07T05:31:56Z", "stop_at": "2023-11-07T05:31:56Z" } ], "detailed_job_information": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status_events": [ { "status": "<string>", "event_time": "2023-11-07T05:31:56Z" } ], "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resource_kind": "<string>", "result": {} } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes