open-nomad/website/content/api-docs
Tim Gross 624ecab901
evaluations list pagination and filtering (#11648)
API queries can request pagination using the `NextToken` and `PerPage`
fields of `QueryOptions`, when supported by the underlying API.

Add a `NextToken` field to the `structs.QueryMeta` so that we have a
common field across RPCs to tell the caller where to resume paging
from on their next API call. Include this field on the `api.QueryMeta`
as well so that it's available for future versions of List HTTP APIs
that wrap the response with `QueryMeta` rather than returning a simple
list of structs. In the meantime callers can get the `X-Nomad-NextToken`.

Add pagination to the `Eval.List` RPC by checking for pagination token
and page size in `QueryOptions`. This will allow resuming from the
last ID seen so long as the query parameters and the state store
itself are unchanged between requests.

Add filtering by job ID or evaluation status over the results we get
out of the state store.

Parse the query parameters of the `Eval.List` API into the arguments
expected for filtering in the RPC call.
2021-12-10 13:43:03 -05:00
..
operator scheduler: config option to reject job registration (#11610) 2021-12-06 15:20:34 -05:00
acl-policies.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
acl-tokens.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
agent.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
allocations.mdx docs: update API alloc list same response to be current. 2021-11-04 10:22:21 +01:00
client.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
deployments.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
evaluations.mdx evaluations list pagination and filtering (#11648) 2021-12-10 13:43:03 -05:00
events.mdx events: fix wildcard namespace handling (#10935) 2021-09-02 09:36:55 -07:00
index.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
jobs.mdx core: allow setting and propagation of eval priority on job de/registration (#11532) 2021-11-23 09:23:31 +01:00
json-jobs.mdx Fix indentation of service check API documentation 2021-04-13 09:15:35 -04:00
libraries-and-sdks.mdx Update libraries-and-sdks.mdx 2021-04-27 16:34:55 -04:00
metrics.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
namespaces.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
nodes.mdx cli: show host_network in nomad status (#11432) 2021-11-05 09:02:46 -04:00
plugins.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
quotas.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
recommendations.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
regions.mdx docs: fixup regions API documentation path to include version. 2021-07-21 12:14:19 +02:00
scaling-policies.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
search.mdx docs: Fix minor fuzzy search things (#10423) 2021-04-21 14:55:17 -05:00
sentinel-policies.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
status.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
system.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
ui.mdx feat(website): extract /plugins /tools docs (#11584) 2021-12-09 14:25:18 -05:00
validate.mdx feat(website): migrates to new nav data format (#10264) 2021-03-31 08:43:17 -05:00
volumes.mdx CSI ListSnapshots secrets implementation 2021-07-28 11:30:29 -07:00