Skip to content

Pagination and size limits #20

@shroffk

Description

@shroffk

In order to protect the client from receiving a lot more data than they can handle it is best to support a size restriction. Additionally it might be nice to have pagination support in channelfinder to allow clients to safely page through large queries

~size
Indicates the number of results that should be returned, defaults to 10000
~from
Indicates the number of initial results that should be skipped, defaults to 0

The ~size used alone will simply function as a max upper limit on the result size.

When using pagination, ChannelFinder will sort the result based on the channel name.

e.g,
channels/~name=*&~size=100&~from=10

Will return 100 channels, starting from the 10th channel when sorted by channel name.

@berryma4 @Dylan171 @ralphlange

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