Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:oarstat_vs_rest_api [2016/12/12 13:44] – [Examples] neyronwiki:oarstat_vs_rest_api [2016/12/12 15:57] – [oarstat JSON (YAML/XML)] neyron
Line 28: Line 28:
  
 ===== oarstat JSON (YAML/XML) ===== ===== oarstat JSON (YAML/XML) =====
-  * There is not JSON/YAML/XML formated output for ''oarstat -pj''.+  * There is no JSON/YAML/XML formated output for ''oarstat -pj''.
   * output of ''oarstat -J -fj'' is the following:   * output of ''oarstat -J -fj'' is the following:
 ==== WAITING/job batch ==== ==== WAITING/job batch ====
Line 246: Line 246:
 ===== Examples ===== ===== Examples =====
 ==== Rest API ==== ==== Rest API ====
 +<code>
 neyron@takelma:~/scm/OAR/oar (2.5 $%>)$ curl -i -X GET http://docker:docker@localhost:46668/oarapi-priv/jobs/5/details.json -H'Content-Type: application/json' neyron@takelma:~/scm/OAR/oar (2.5 $%>)$ curl -i -X GET http://docker:docker@localhost:46668/oarapi-priv/jobs/5/details.json -H'Content-Type: application/json'
 HTTP/1.1 200 OK HTTP/1.1 200 OK
Line 481: Line 482:
    "command" : ""    "command" : ""
 } }
 +</code>
wiki/oarstat_vs_rest_api.txt · Last modified: 2016/12/12 21:40 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki