[Koha] API paging, userid patron query

Lucas Gass lucas at bywatersolutions.com
Thu Aug 31 08:21:03 NZST 2023


Eric,

Have you checked your RESTdefaultPageSize system preference?

On Wed, Aug 30, 2023 at 1:17 PM Eric Phetteplace <ephetteplace at cca.edu>
wrote:

> 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 at 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 at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


-- 
Lucas Gass
Web Developer


More information about the Koha mailing list