2 "/public/patrons/{patron_id}/password":
4 x-mojo-to: Patrons::Password#set_public
5 operationId: setPatronPasswordPublic
8 summary: Set password for a patron (public)
10 - $ref: ../parameters.yaml#/patron_id_pp
13 description: A JSON object containing password information
18 description: New password (plain text)
21 description: Repeated new password (plain text)
24 description: Patron's original password
30 additionalProperties: false
35 description: Password changed
37 description: Bad request
39 $ref: ../definitions.yaml#/error
41 description: Authentication required
43 $ref: ../definitions.yaml#/error
45 description: Access forbidden
47 $ref: ../definitions.yaml#/error
49 description: Patron not found
51 $ref: ../definitions.yaml#/error
54 Internal server error. Possible `error_code` attribute values:
56 * `internal_server_error`
58 $ref: ../definitions.yaml#/error
60 description: Under maintenance
62 $ref: ../definitions.yaml#/error
65 "/public/patrons/{patron_id}/guarantors/can_see_charges":
67 x-mojo-to: Patrons#guarantors_can_see_charges
68 operationId: setPatronGuarantorsCanSeeCharges
71 summary: Set if guarantors can see charges (public)
73 - $ref: ../parameters.yaml#/patron_id_pp
76 description: A boolean representing if guarantors should be able to see the
84 additionalProperties: false
89 description: Charges view policy for guarantors changed
91 description: Bad request
93 $ref: ../definitions.yaml#/error
95 description: Authentication required
97 $ref: ../definitions.yaml#/error
99 description: Access forbidden
101 $ref: ../definitions.yaml#/error
103 description: Patron not found
105 $ref: ../definitions.yaml#/error
108 Internal server error. Possible `error_code` attribute values:
110 * `internal_server_error`
112 $ref: ../definitions.yaml#/error
114 description: Under maintenance
116 $ref: ../definitions.yaml#/error
117 x-koha-authorization:
119 "/public/patrons/{patron_id}/guarantors/can_see_checkouts":
121 x-mojo-to: Patrons#guarantors_can_see_checkouts
122 operationId: setPatronGuarantorsCanSeeCheckouts
125 summary: Set if guarantors can see checkouts
127 - $ref: ../parameters.yaml#/patron_id_pp
130 description: A boolean representing if guarantors should be able to see the
138 additionalProperties: false
143 description: Check-out view policy for guarantors changed
145 description: Bad request
147 $ref: ../definitions.yaml#/error
149 description: Authentication required
151 $ref: ../definitions.yaml#/error
153 description: Access forbidden
155 $ref: ../definitions.yaml#/error
157 description: Patron not found
159 $ref: ../definitions.yaml#/error
162 Internal server error. Possible `error_code` attribute values:
164 * `internal_server_error`
166 $ref: ../definitions.yaml#/error
168 description: Under maintenance
170 $ref: ../definitions.yaml#/error
171 x-koha-authorization: