Add default limit and max limit config vars

This commit is contained in:
Nathan Barber
2021-04-16 13:11:57 -04:00
parent 100111ed2c
commit 3c328385a4
6 changed files with 58 additions and 22 deletions

View File

@@ -175,6 +175,8 @@ r.raise_for_status()
r.json()
```
By default, pagination limit will be specified by the `JupyterHub.api_page_default_limit` config variable.
Pagination is enabled on the `GET /users`, `GET /groups`, `GET /groups/{name}`, and `GET /proxy` REST endpoints.
## Enabling users to spawn multiple named-servers via the API