4 "x-mojo-controller": "Koha::REST::V1::Cities",
13 "description": "Case insensative 'starts-with' search on city name",
19 "description": "Case insensative 'starts-with' search on city state",
23 "name": "city_country",
25 "description": "Case insensative 'starts_with' search on city country",
29 "name": "city_zipcode",
31 "description": "Case Insensative 'starts-with' search on zipcode",
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"
60 "x-mojo-controller": "Koha::REST::V1::Cities",
66 "description": "A JSON object containing informations about the new hold",
69 "$ref": "../definitions.json#/city"
77 "description": "City added",
79 "$ref": "../definitions.json#/city"
83 "description": "Access forbidden",
85 "$ref": "../definitions.json#/error"
89 "description": "Internal error",
91 "$ref": "../definitions.json#/error"
95 "x-koha-authorization": {
97 "parameters": "parameters_remaining_permissions"
102 "/cities/{cityid}": {
104 "x-mojo-controller": "Koha::REST::V1::Cities",
105 "operationId": "get",
108 "$ref": "../parameters.json#/cityidPathParam"
115 "description": "A city",
117 "$ref": "../definitions.json#/city"
121 "description": "Access forbidden",
123 "$ref": "../definitions.json#/error"
127 "description": "City not found",
129 "$ref": "../definitions.json#/error"
133 "description": "Internal error",
135 "$ref": "../definitions.json#/error"
141 "x-mojo-controller": "Koha::REST::V1::Cities",
142 "operationId": "update",
145 "$ref": "../parameters.json#/cityidPathParam"
149 "description": "A JSON object containing informations about the new hold",
152 "$ref": "../definitions.json#/city"
160 "description": "A city",
162 "$ref": "../definitions.json#/city"
166 "description": "Access forbidden",
168 "$ref": "../definitions.json#/error"
172 "description": "City not found",
174 "$ref": "../definitions.json#/error"
178 "description": "Internal error",
180 "$ref": "../definitions.json#/error"
184 "x-koha-authorization": {
186 "parameters": "parameters_remaining_permissions"
191 "x-mojo-controller": "Koha::REST::V1::Cities",
192 "operationId": "delete",
195 "$ref": "../parameters.json#/cityidPathParam"
202 "description": "City deleted",
208 "description": "Access forbidden",
210 "$ref": "../definitions.json#/error"
214 "description": "City not found",
216 "$ref": "../definitions.json#/error"
220 "description": "Internal error",
222 "$ref": "../definitions.json#/error"
226 "x-koha-authorization": {
228 "parameters": "parameters_remaining_permissions"