Skip to content

Implement enforced pagination for all routes that can return data from collections #8

Description

@james-skelton

This will prevent the API from maxing out the server's resources by trying to load large amounts of data into memory at once. At present, the maximum limit will be set to 10,000. If this becomes an issue in future, this can be lowered.

  • This limit should be set in a configuration file.
  • Setting a limit greater than the maximum in an API call should raise an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions