You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to download all events using a python script iterating over pages with a fixed limit. However, each page contains the same data. It appears to me that the endpoint always returns page 1?
The text was updated successfully, but these errors were encountered:
johannesliem
changed the title
event search endpoint pagination somehow not working
event search endpoint returns same result despite different page number
Apr 21, 2023
Note: currently it might be the case (but not totally sure yet), that we won't use the event-search endpoint in the frontend (only byId and bulk retrieval) - so it might only makes sense to look into it if it is a simple fix.
I was trying to download all events using a python script iterating over pages with a fixed limit. However, each page contains the same data. It appears to me that the endpoint always returns page 1?
For example:
page 8000
https://intavia-backend.acdh-dev.oeaw.ac.at/v2/api/events/search?datasets=https%3A%2F%2Fapis.acdh.oeaw.ac.at%2Fdata%23v1&datasets=http%3A%2F%2Fldf.fi%2Fnbf%2Fdata&datasets=http%3A%2F%2Fwww.intavia.eu%2Fsbi&datasets=http%3A%2F%2Fdata.acdh.oeaw.ac.at%2Fintavia%2Fcho%2Fv1&page=8000&limit=5
vs.
page 5000
https://intavia-backend.acdh-dev.oeaw.ac.at/v2/api/events/search?datasets=https%3A%2F%2Fapis.acdh.oeaw.ac.at%2Fdata%23v1&datasets=http%3A%2F%2Fldf.fi%2Fnbf%2Fdata&datasets=http%3A%2F%2Fwww.intavia.eu%2Fsbi&datasets=http%3A%2F%2Fdata.acdh.oeaw.ac.at%2Fintavia%2Fcho%2Fv1&page=5000&limit=5
The text was updated successfully, but these errors were encountered: