You can provide a X-Auth-Token when requesting jobs

This commit is contained in:
Damian Myerscough 2015-08-25 16:56:10 -07:00
parent 809a47f299
commit 6d9ac72360

View File

@ -904,7 +904,7 @@ class LowDataAdapter(object):
-d arg='du -sh .' \\ -d arg='du -sh .' \\
-d arg='/path/to/dir' -d arg='/path/to/dir'
# Sending posiitonal args and Keyword args with JSON: # Sending positional args and Keyword args with JSON:
echo '[ echo '[
{ {
"client": "local", "client": "local",
@ -1081,6 +1081,9 @@ class Jobs(LowDataAdapter):
List jobs or show a single job from the job cache. List jobs or show a single job from the job cache.
:reqheader X-Auth-Token: |req_token|
:reqheader Accept: |req_accept|
:status 200: |200| :status 200: |200|
:status 401: |401| :status 401: |401|
:status 406: |406| :status 406: |406|