https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35797
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|The REST API has a new |This enhancement adds a new release notes|route, `GET |API route to request a |/api/v1/patrons/{patron_id} |patron image, if it exists. |/default_image`, which |Errors are returned if a |returns a patron's profile |patron number doesn't exist |image as a PNG. The route |or there is no patron |requires `borrowers > |image. |list_borrowers` or | |`borrowers > |Example API request: |edit_borrowers`. |http://127.0.0.1:8081/api/v | |1/patrons/49/default_image |**To enable** | |1. Enable `patronimages` in |Error messages: |Administration > System |- If there is no patron |preferences. While it is |image: Patron image not |disabled the route returns |found. |"Patron images are |- If the patron doesn't |disabled." |exist: Patron not found. | | |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. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
