THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
HTTP Method and URI
Code Block |
---|
GET /api/state |
Syntax
Code Block |
---|
<resource_manager_host>:8192/api/state |
Request Example
URL request example:
Code Block |
---|
http://10.10.100.19:8192/api/state |
Curl request example:
Code Block |
---|
curl http://10.10.100.19:8192/api/state | python -m json.tool |
Request header:
Code Block |
---|
Response Example
GET /api/state HTTP/1.1
Host: 10.10.100.19:8192
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8 |
Response Example
Code Block |
---|
{ "pendingTasksactiveTasks": [], "killableTasks": [], "stagingTaskspendingTasks": [ ], "activeTasks":[nm.medium.ea564a5b-3a77-47dc-a7fe-2ff88ae2d5ed" ], "killableTasksstagingTasks": [] ] } |