mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
docs: update snippet to include summary namespace
This commit is contained in:
@@ -31,10 +31,8 @@ The table below shows this endpoint's support for
|
||||
an index prefix. This is specified as a query string parameter.
|
||||
|
||||
- `all_namespaces` `(bool: false)` - Specifies whether to return the all
|
||||
known jobs across all namespaces. When set to `true`, the list stubs will
|
||||
contain a `Namespace` field indicating the job namespace.
|
||||
The option requires `namespace:list-jobs` ACL capability on all existing
|
||||
namespaces.
|
||||
known jobs across all namespaces the token has `namespace:list-jobs` ACL
|
||||
capability on.
|
||||
|
||||
### Sample Request
|
||||
|
||||
@@ -60,6 +58,7 @@ The table below shows this endpoint's support for
|
||||
"StatusDescription": "",
|
||||
"JobSummary": {
|
||||
"JobID": "example",
|
||||
"Namespace": "default",
|
||||
"Summary": {
|
||||
"cache": {
|
||||
"Queued": 1,
|
||||
|
||||
Reference in New Issue
Block a user