Don't know Koha API but might there be a hard limit like for the reports? maybe "limit"... Regards, |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le mer. 30 août 2023 à 14:18, Eric Phetteplace <ephetteplace@cca.edu> a écrit :
Hi collective wisdom,
Are there secret paging parameters for the Koha REST API? I don't see any in the documentation.
Specifically, I'm using the list patrons route like /api/v1/patrons?userid={query} but I have a username that is short and a subset of many other usernames. The API returns 12 results and the user account, which I can see exists, is not included amongst them. I'm wondering if I need to page through more results, but blind guessing of parameters like "page", "offset", and "start" only leads to "malformed query string" errors.
Best,
ERIC PHETTEPLACE Systems Librarian, Libraries (he/him)
ephetteplace@cca.edu
*CCA is situated on the traditional unceded lands of the **Chochenyo and Ramaytush Ohlone** peoples.*
Black-owned bookstores in Oakland: Ashay by the Bay <https://ashaybythebay.com/>, Marcus Books <https://www.facebook.com/marcus.books/>
:(){ :|: & };: _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha