4 "x-mojo-to": "Cities#list",
5 "operationId": "listCities",
13 "description": "Case insensative search on city name",
19 "description": "Case insensative search on city state",
25 "description": "Case insensative search on city country",
29 "name": "postal_code",
31 "description": "Case Insensative search on city postal code",
37 "description": "A list of cities",
41 "$ref": "../definitions.json#/city"
46 "description": "Access forbidden",
48 "$ref": "../definitions.json#/error"
52 "description": "Internal error",
54 "$ref": "../definitions.json#/error"
58 "description": "Under maintenance",
60 "$ref": "../definitions.json#/error"
66 "x-mojo-to": "Cities#add",
67 "operationId": "addCity",
72 "description": "A JSON object containing informations about the new hold",
75 "$ref": "../definitions.json#/city"
83 "description": "City added",
85 "$ref": "../definitions.json#/city"
89 "description": "Authentication required",
91 "$ref": "../definitions.json#/error"
95 "description": "Access forbidden",
97 "$ref": "../definitions.json#/error"
101 "description": "Internal error",
103 "$ref": "../definitions.json#/error"
107 "description": "Under maintenance",
109 "$ref": "../definitions.json#/error"
113 "x-koha-authorization": {
115 "parameters": "parameters_remaining_permissions"
120 "/cities/{city_id}": {
122 "x-mojo-to": "Cities#get",
123 "operationId": "getCity",
126 "$ref": "../parameters.json#/city_id_pp"
133 "description": "A city",
135 "$ref": "../definitions.json#/city"
139 "description": "City not found",
141 "$ref": "../definitions.json#/error"
145 "description": "Internal error",
147 "$ref": "../definitions.json#/error"
151 "description": "Under maintenance",
153 "$ref": "../definitions.json#/error"
159 "x-mojo-to": "Cities#update",
160 "operationId": "updateCity",
163 "$ref": "../parameters.json#/city_id_pp"
167 "description": "A city object",
170 "$ref": "../definitions.json#/city"
178 "description": "A city",
180 "$ref": "../definitions.json#/city"
184 "description": "Authentication required",
186 "$ref": "../definitions.json#/error"
190 "description": "Access forbidden",
192 "$ref": "../definitions.json#/error"
196 "description": "City not found",
198 "$ref": "../definitions.json#/error"
202 "description": "Internal error",
204 "$ref": "../definitions.json#/error"
208 "description": "Under maintenance",
210 "$ref": "../definitions.json#/error"
214 "x-koha-authorization": {
216 "parameters": "parameters_remaining_permissions"
221 "x-mojo-to": "Cities#delete",
222 "operationId": "deleteCity",
225 "$ref": "../parameters.json#/city_id_pp"
232 "description": "City deleted",
238 "description": "Authentication required",
240 "$ref": "../definitions.json#/error"
244 "description": "Access forbidden",
246 "$ref": "../definitions.json#/error"
250 "description": "City not found",
252 "$ref": "../definitions.json#/error"
256 "description": "Internal error",
258 "$ref": "../definitions.json#/error"
262 "description": "Under maintenance",
264 "$ref": "../definitions.json#/error"
268 "x-koha-authorization": {
270 "parameters": "parameters_remaining_permissions"