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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/