Skip to content

Add pagination filter features to Thingifier #90

Description

@eviltester

Add as API configuration to switch on and off from collections
default is 'on' paging is allowed

Add ?limit and ?offset to configure paging

e.g. GET /api/collection?limit=5&offset=7

configurable default limit and max limit in the api config

config default limit to 10 and max 20

param default offset is 0

When enabled surface in the Auto generated API docs.

When combined with sort the sort should be honoured.

use _ to avoid conflict with current filter approach which uses field names

?_limit=20&_offset=0
?_sortBy=+id&_limit=20&_offset=20

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions