Python
import requests url = "https://platform.ankra.app/api/v1/clusters/{cluster_id}/operations/{operation_id}/jobs" response = requests.get(url) print(response.json())
{ "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", "result": {}, "status_events": [ { "status": "<string>", "event_time": "2023-11-07T05:31:56Z" } ], "resource_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "resource_kind": "<string>" } ] }
Successful Response
The response is of type object.
object