zot icon indicating copy to clipboard operation
zot copied to clipboard

Freeform search API: pagination

Open andaaron opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. A freeform search API was introduced in https://github.com/project-zot/zot/issues/591 / https://github.com/project-zot/zot/pull/618 This API should support pagination.

Describe the solution you'd like

We should include a limit and an offset in order to request a specific page of a given size. See also: https://www.moesif.com/blog/technical/api-design/REST-API-Design-Filtering-Sorting-and-Pagination/#pagination

Additional context This is needed for the zui functionality - in both the general search view, and for the free type search (to request only the first page with the most relevant results).

andaaron avatar Jul 20 '22 17:07 andaaron