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
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