mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
api: apply consistent behaviour of the reverse query parameter (#12244)
This commit is contained in:
@@ -43,6 +43,11 @@ The table below shows this endpoint's support for
|
||||
a large number of allocations may set `task_states=false` to significantly
|
||||
reduce the size of the response.
|
||||
|
||||
- `reverse` `(bool: false)` - Specifies the list of returned allocations should
|
||||
be sorted in the reverse order. By default allocations 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
|
||||
|
||||
```shell-session
|
||||
|
||||
Reference in New Issue
Block a user