-
|
I'm working on a python tool for fetching data from our uwazi instance, but I'm hitting some unexpected limits.
Does anyone have any suggestions for iterative searches to fetch all data? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello @CBroz1 I guess the param you are looking for is "from", so e.g.: will request the first 31 records (including record number 0). There is indeed a limitation in how many you can request per API call at 10.000 records, that is due to: You can still just paginate in your requests to get all the records. You don't necessarily need to get 10k per request, you could do smaller batches of e.g. 1000 records. Also, as a rule of thumb, URLs from your uwazi instance library, can be used directly in API search, e.g., this URL:
translates to:
So building the needed queries with the right params for the API call can be done with the library UI. |
Beta Was this translation helpful? Give feedback.
Hello @CBroz1
I guess the param you are looking for is "from", so e.g.:
will request the first 31 records (including record number 0).
There is indeed a limitation in how many you can request per API call at 10.000 records, that is due to: