Skip to content

Support pagination in /api endpoints #52

Description

@jgaik

Is your feature request related to a problem? Please describe.
When using broader searches there is no way of retrieving more than 10 entries.

Describe the solution you'd like
Allow passing page property to control the current page/offset.
The code in https://github.com/WeDontPanic/Jotoba/blob/dev/lib/api/src/search/mod.rs can then read and use the with_page method.

Describe alternatives you've considered
I have tried using the page size property but the default user settings are used in https://github.com/WeDontPanic/Jotoba/blob/dev/lib/api/src/search/mod.rs as mentioned in #51

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

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