https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42207 Bug ID: 42207 Summary: Allow library embed on GET /patrons/{patron_id} Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: paul.derscheid@lmscloud.de QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com The GET /api/v1/patrons/{patron_id} endpoint supports embedding related resources via x-koha-embed, but library is not among the allowed values. This forces callers that need both patron and library data to make a second request. This patch adds library to the embed enum so that x-koha-embed: library returns the patron's library object inline in the response. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.