mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
api: apply consistent behaviour of the reverse query parameter (#12244)
This commit is contained in:
@@ -57,9 +57,10 @@ The table below shows this endpoint's support for
|
||||
Specifying `*` will return all evaluations across all authorized namespaces.
|
||||
This parameter is used before any `filter` expression is applied.
|
||||
|
||||
- `ascending` `(bool: false)` - Specifies the list of returned evaluations should
|
||||
be sorted in chronological order (oldest evaluations first). By default evaluations
|
||||
are returned sorted in reverse chronological order (newest evaluations first).
|
||||
- `reverse` `(bool: false)` - Specifies the list of returned evaluations should
|
||||
be sorted in the reverse order. By default evaluations are returned sorted in
|
||||
chronological order (older evaluations first), or in lexicographical order by
|
||||
their ID if the `prefix` query parameter is used.
|
||||
|
||||
### Sample Request
|
||||
|
||||
|
||||
Reference in New Issue
Block a user