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

[Feature]: Add initial list of pages + search endpoint to /replay.json APIs #2360

Open
ikreymer opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ikreymer
Copy link
Member

ikreymer commented Feb 4, 2025

What change would you like to see?

To support large collection replay, the API responses for the replay.json endpoint should include:

  • an initial list of pages, perhaps a pages (or initialPages?) endpoint, as well as total pages.
  • the URL for the pagesQuery search/list endpoint, pointing to the endpoint added in Add collection page list/search endpoint #2354 that will allow for querying additional pages.

Context

ReplayWeb.page/wabac.js will use this additional data to quickly display an initial list of pages. It will then also use the pagesQuery endpoint to query for additional pages when searched.

We should do this for both crawls and collections since both may have large number of WACZ files.

@ikreymer ikreymer added the enhancement New feature or request label Feb 4, 2025
@ikreymer ikreymer moved this from Triage to Todo in Webrecorder Projects Feb 4, 2025
@tw4l tw4l moved this from Todo to Implementing in Webrecorder Projects Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Implementing
Development

No branches or pull requests

2 participants