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",
46 "description": "Password changed"
49 "description": "Bad request",
51 "$ref": "../definitions.json#/error"
55 "description": "Authentication required",
57 "$ref": "../definitions.json#/error"
61 "description": "Access forbidden",
63 "$ref": "../definitions.json#/error"
67 "description": "Patron not found",
69 "$ref": "../definitions.json#/error"
73 "description": "Internal server error",
75 "$ref": "../definitions.json#/error"
79 "description": "Under maintenance",
81 "$ref": "../definitions.json#/error"
85 "x-koha-authorization": {
90 "/public/patrons/{patron_id}/guarantors/can_see_charges": {
92 "x-mojo-to": "Patrons#guarantors_can_see_charges",
93 "operationId": "setPatronGuarantorsCanSeeCharges",
99 "$ref": "../parameters.json#/patron_id_pp"
104 "description": "A boolean representing if guarantors should be able to see the patron's charges",
121 "description": "Charges view policy for guarantors changed"
124 "description": "Bad request",
126 "$ref": "../definitions.json#/error"
130 "description": "Authentication required",
132 "$ref": "../definitions.json#/error"
136 "description": "Access forbidden",
138 "$ref": "../definitions.json#/error"
142 "description": "Patron not found",
144 "$ref": "../definitions.json#/error"
148 "description": "Internal server error",
150 "$ref": "../definitions.json#/error"
154 "description": "Under maintenance",
156 "$ref": "../definitions.json#/error"
160 "x-koha-authorization": {
165 "/public/patrons/{patron_id}/guarantors/can_see_checkouts": {
167 "x-mojo-to": "Patrons#guarantors_can_see_checkouts",
168 "operationId": "setPatronGuarantorsCanSeeCheckouts",
174 "$ref": "../parameters.json#/patron_id_pp"
179 "description": "A boolean representing if guarantors should be able to see the patron's checkouts",
196 "description": "Check-out view policy for guarantors changed"
199 "description": "Bad request",
201 "$ref": "../definitions.json#/error"
205 "description": "Authentication required",
207 "$ref": "../definitions.json#/error"
211 "description": "Access forbidden",
213 "$ref": "../definitions.json#/error"
217 "description": "Patron not found",
219 "$ref": "../definitions.json#/error"
223 "description": "Internal server error",
225 "$ref": "../definitions.json#/error"
229 "description": "Under maintenance",
231 "$ref": "../definitions.json#/error"
235 "x-koha-authorization": {