adobe / adobe/aio-lib-files

List should support pagination with a documented default and max limit

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
13
Forks
10
PR merge metrics
No merged PRs in 30d

Description

As shown by #73 the number of returned elements is 5000 but there are no means to get the next elements.
List should implement a pagination mechanism.
Also the default page size should be set to a much smaller value than the max 5000, so that it take I/O Runtime memory and request/response size limits into account.

Contributor guide

Open the contributing guide

Research direction

Start by reading issue #73 and tracing the existing List API in aio-lib-files. Determine how pagination, the default page size, and the maximum limit should be represented and documented. Done means callers can retrieve elements beyond 5000 and the default and maximum limits are documented and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.