4 "x-mojo-controller": "Koha::REST::V1::Cities",
12 "description": "A list of cities",
16 "$ref": "../definitions.json#/city"
21 "description": "Access forbidden",
23 "$ref": "../definitions.json#/error"
27 "description": "Internal error",
29 "$ref": "../definitions.json#/error"
35 "x-mojo-controller": "Koha::REST::V1::Cities",
41 "description": "A JSON object containing informations about the new hold",
44 "$ref": "../definitions.json#/city"
53 "description": "City added",
55 "$ref": "../definitions.json#/city"
59 "description": "Access forbidden",
61 "$ref": "../definitions.json#/error"
65 "description": "Internal error",
67 "$ref": "../definitions.json#/error"
71 "x-koha-authorization": {
73 "parameters": "parameters_remaining_permissions"
80 "x-mojo-controller": "Koha::REST::V1::Cities",
85 "$ref": "../parameters.json#/cityidPathParam"
93 "description": "A city",
95 "$ref": "../definitions.json#/city"
99 "description": "Access forbidden",
101 "$ref": "../definitions.json#/error"
105 "description": "City not found",
107 "$ref": "../definitions.json#/error"
112 "description": "Internal error",
114 "$ref": "../definitions.json#/error"
120 "x-mojo-controller": "Koha::REST::V1::Cities",
121 "operationId": "update",
125 "$ref": "../parameters.json#/cityidPathParam"
130 "description": "A JSON object containing informations about the new hold",
133 "$ref": "../definitions.json#/city"
142 "description": "A city",
144 "$ref": "../definitions.json#/city"
148 "description": "Access forbidden",
150 "$ref": "../definitions.json#/error"
154 "description": "City not found",
156 "$ref": "../definitions.json#/error"
160 "description": "Internal error",
162 "$ref": "../definitions.json#/error"
166 "x-koha-authorization": {
168 "parameters": "parameters_remaining_permissions"
173 "x-mojo-controller": "Koha::REST::V1::Cities",
174 "operationId": "delete",
178 "$ref": "../parameters.json#/cityidPathParam"
186 "description": "City deleted",
192 "description": "Access forbidden",
194 "$ref": "../definitions.json#/error"
198 "description": "City not found",
200 "$ref": "../definitions.json#/error"
204 "description": "Internal error",
206 "$ref": "../definitions.json#/error"
210 "x-koha-authorization": {
212 "parameters": "parameters_remaining_permissions"