2 "/public/patrons/{patron_id}/password": {
4 "x-mojo-to": "Patrons::Password#set_public",
5 "operationId": "setPatronPasswordPublic",
11 "$ref": "../parameters.json#/patron_id_pp"
16 "description": "A JSON object containing password information",
21 "description": "New password (plain text)",
24 "password_repeated": {
25 "description": "Repeated new password (plain text)",
29 "description": "Patron's original password",
38 "additionalProperties": false
47 "description": "Password changed"
50 "description": "Bad request",
52 "$ref": "../definitions.json#/error"
56 "description": "Authentication required",
58 "$ref": "../definitions.json#/error"
62 "description": "Access forbidden",
64 "$ref": "../definitions.json#/error"
68 "description": "Patron not found",
70 "$ref": "../definitions.json#/error"
74 "description": "Internal server error",
76 "$ref": "../definitions.json#/error"
80 "description": "Under maintenance",
82 "$ref": "../definitions.json#/error"
86 "x-koha-authorization": {
91 "/public/patrons/{patron_id}/guarantors/can_see_charges": {
93 "x-mojo-to": "Patrons#guarantors_can_see_charges",
94 "operationId": "setPatronGuarantorsCanSeeCharges",
100 "$ref": "../parameters.json#/patron_id_pp"
105 "description": "A boolean representing if guarantors should be able to see the patron's charges",
114 "additionalProperties": false
123 "description": "Charges view policy for guarantors changed"
126 "description": "Bad request",
128 "$ref": "../definitions.json#/error"
132 "description": "Authentication required",
134 "$ref": "../definitions.json#/error"
138 "description": "Access forbidden",
140 "$ref": "../definitions.json#/error"
144 "description": "Patron not found",
146 "$ref": "../definitions.json#/error"
150 "description": "Internal server error",
152 "$ref": "../definitions.json#/error"
156 "description": "Under maintenance",
158 "$ref": "../definitions.json#/error"
162 "x-koha-authorization": {
167 "/public/patrons/{patron_id}/guarantors/can_see_checkouts": {
169 "x-mojo-to": "Patrons#guarantors_can_see_checkouts",
170 "operationId": "setPatronGuarantorsCanSeeCheckouts",
176 "$ref": "../parameters.json#/patron_id_pp"
181 "description": "A boolean representing if guarantors should be able to see the patron's checkouts",
190 "additionalProperties": false
199 "description": "Check-out view policy for guarantors changed"
202 "description": "Bad request",
204 "$ref": "../definitions.json#/error"
208 "description": "Authentication required",
210 "$ref": "../definitions.json#/error"
214 "description": "Access forbidden",
216 "$ref": "../definitions.json#/error"
220 "description": "Patron not found",
222 "$ref": "../definitions.json#/error"
226 "description": "Internal server error",
228 "$ref": "../definitions.json#/error"
232 "description": "Under maintenance",
234 "$ref": "../definitions.json#/error"
238 "x-koha-authorization": {