Skip to content

Commit

Permalink
docs: document reverse query param in allocs list endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Mar 11, 2022
1 parent adadd3b commit 9c2db51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/content/api-docs/allocations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c2db51

Please sign in to comment.