[RFC PATCH] REST: Add new setting for maximum API page size
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Tue Jul 24 15:18:15 AEST 2018
On 24/07/18 15:10, Andrew Donnellan wrote:
> diff --git a/docs/deployment/configuration.rst b/docs/deployment/configuration.rst
> index 347485636d47..e599522a412b 100644
> --- a/docs/deployment/configuration.rst
> +++ b/docs/deployment/configuration.rst
> @@ -88,7 +88,13 @@ Enable the :doc:`REST API <../api/rest>`.
> The number of items to include in REST API responses by default. This can be
> overridden by the ``per_page`` parameter for some endpoints.
>
> -.. versionadded:: 2.0
This obviously shouldn't have been there, will fix when I send non RFC
> +``MAX_REST_RESULTS_PER_PAGE``
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +The maximum number of items that can be requested in a REST API request using
> +the ``per_page`` parameter.
> +
> +.. versionadded:: 2.2
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the Patchwork
mailing list