https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35797 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This enhancement adds a new |The REST API has a new release notes|API route to request a |route, `GET |patron image, if it exists. |/api/v1/patrons/{patron_id} |Errors are returned if a |/default_image`, which |patron number doesn't exist |returns a patron's profile |or there is no patron |image as a PNG. The route |image. |requires `borrowers > | |list_borrowers` or |Example API request: |`borrowers > |http://127.0.0.1:8081/api/v |edit_borrowers`. |1/patrons/49/default_image | | |**To enable** |Error messages: |1. Enable `patronimages` in |- If there is no patron |Administration > System |image: Patron image not |preferences. While it is |found. |disabled the route returns |- If the patron doesn't |"Patron images are |exist: Patron not found. |disabled." | | | |If the patron does not | |exist, the response is | |"Patron not found." If the | |patron has no image, it is | |"Patron image not found." -- You are receiving this mail because: You are watching all bug changes.