How do I use "show-task" on Web Services API?
The documentation, shown below, isn't very helpful:
POST {{server}}/show-task
Content-Type: application/json
X-chkp-sid: {{session}}
{
"task-id" : "2eec70e5-78a8-4bdb-9a76-cfb5601d0bcb"
}
The following code provides the task-id, but how do I then use the task-id to see the results of the task?
publish_result = api_call(r, 443,"publish", {},sid)
print("publish result: " + json.dumps(publish_result))
I would like to feed the task-id from "publish_result" or json-dumps(publish_result) into the task-id api call to then print the progress/result of the task.