Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pagination for the list endpoint #85

Open
tcezard opened this issue Apr 24, 2024 · 0 comments
Open

Add pagination for the list endpoint #85

tcezard opened this issue Apr 24, 2024 · 0 comments

Comments

@tcezard
Copy link
Member

tcezard commented Apr 24, 2024

The list endpoint will potentially returns hundred of thousand of entries.
To make it manageable the content should be paginated.
The pagination will use page_token and page_size as query parameter and returns

{
	"total_size": total_size,
	"page_size": page_size,
	"page_token": page_token,
	"next_page_token": page_token + page_size, 
	"items": ["lsuhfdow7dhsoshxhddjsiqpz", "2pqrt62xf0a72ffkbshw27sk", ...]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant