Support self registration via REST API
This sounds like doing : <pre> curl -X POST https://demo.biblibre.com//api/v1/patrons \ -H 'Authorization: Basic [your-token]' \ -d '{ "address":"anywhere", "city":"nowhere", "firstname":"asu", "surname":"zuki", "library_id":"SITE", "category_id":"ADULT" }' </pre> to me the only bug we have here is, the post patron api doesn't use the self-registration prefs like PatronSelfRegistrationDefaultCategory. It means the category is mandatory, where it is not when using the OPAC.
> > to me the only bug we have here is, the post patron api doesn't use the > self-registration prefs like PatronSelfRegistrationDefaultCategory. > It means the category is mandatory, where it is not when using the OPAC. It's a little more than that. If you use email verification, which you should, then you'd want the patrons to be added to the borrower_modifications table first, not directly into the borrowers table.