Skip to main content

Offset paging

Offset paging is the default REST strategy. The endpoint accepts:
  • limit: maximum number of records to return. The default is 25 and the default maximum is 50.
  • offset: zero-based number of records to skip. The default is 0.
Configure paging on the DTO or endpoint:
When enableTotalCount is true, the connection also contains totalCount. Counting may add a database query, so enable it only when clients need it.

No paging

Use PagingStrategies.NONE to return all matching records as a JSON array:
Use this strategy only for bounded collections.

Sorting

REST sorting is currently configured on the server through defaultSort; generated endpoints do not expose a client-controlled sort parameter.
Always add a stable tie-breaker (commonly the ID) when records can share the same sort value, especially when using offset paging.