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

kobotoolbox: improve pagination #988

Open
josephjclark opened this issue Feb 7, 2025 · 0 comments
Open

kobotoolbox: improve pagination #988

josephjclark opened this issue Feb 7, 2025 · 0 comments
Labels
adaptor Related to one of the adaptors feature request

Comments

@josephjclark
Copy link
Collaborator

kobotoolbox uses a fairly simple pagination right now. Basically getSubmissions() will always download everything, and the http helpers don't paginate at all.

What we want to support is:

  • Add limit, pageSize and start options to any APIs that support pagination.
  • Paginating APIs should download data until the limit is reached. If no limit, all data will be downloaded (I think this is fine for default behaviour BUT we should warn about it)
  • I think only getSubmissions() and http.get() actually need to support this level of pagination
@josephjclark josephjclark added adaptor Related to one of the adaptors feature request labels Feb 7, 2025
@github-project-automation github-project-automation bot moved this to New Issues in v2 Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adaptor Related to one of the adaptors feature request
Projects
Status: New Issues
Development

No branches or pull requests

1 participant