mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
You can provide a X-Auth-Token when requesting jobs
This commit is contained in:
parent
809a47f299
commit
6d9ac72360
@ -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|
|
||||||
|
Loading…
Reference in New Issue
Block a user