4 "x-mojo-to": "Patron#list",
5 "operationId": "listPatrons",
12 "description": "A list of patrons",
16 "$ref": "../definitions.json#/patron"
21 "description": "Authentication required",
23 "$ref": "../definitions.json#/error"
27 "description": "Access forbidden",
29 "$ref": "../definitions.json#/error"
33 "description": "Internal server error",
35 "$ref": "../definitions.json#/error"
39 "description": "Under maintenance",
41 "$ref": "../definitions.json#/error"
45 "x-koha-authorization": {
52 "/patrons/{borrowernumber}": {
54 "x-mojo-to": "Patron#get",
55 "operationId": "getPatron",
58 "$ref": "../parameters.json#/borrowernumberPathParam"
66 "description": "A patron",
68 "$ref": "../definitions.json#/patron"
72 "description": "Authentication required",
74 "$ref": "../definitions.json#/error"
78 "description": "Access forbidden",
80 "$ref": "../definitions.json#/error"
84 "description": "Patron not found",
86 "$ref": "../definitions.json#/error"
90 "description": "Internal server error",
92 "$ref": "../definitions.json#/error"
96 "description": "Under maintenance",
98 "$ref": "../definitions.json#/error"
102 "x-koha-authorization": {
104 "allow-guarantor": true,