The State REST API uses the GET /api/state
HTTP method and URI to retrieve a snapshot of the Myriad Scheduler state including pending, staging, active, and killable tasks.
HTTP Method and URI
GET /api/state
Syntax
<localhost>:8192/api/state
Request Example
Curl request example:
curl http://10.10.100.19:8192/api/state | python -m json.tool
URL request example:
http://10.10.100.19:8192/api/state
Response Example
{ "activeTasks": [], "killableTasks": [], "pendingTasks": [ "nm.medium.ea564a5b-3a77-47dc-a7fe-2ff88ae2d5ed" ], "stagingTasks": [] }