5 operationId: listCities
14 description: Case insensative search on city name
19 description: Case insensative search on city state
24 description: Case insensative search on city country
29 description: Case Insensative search on city postal code
32 - $ref: ../parameters.json#/match
33 - $ref: ../parameters.json#/order_by
34 - $ref: ../parameters.json#/page
35 - $ref: ../parameters.json#/per_page
36 - $ref: ../parameters.json#/q_param
37 - $ref: ../parameters.json#/q_body
38 - $ref: ../parameters.json#/q_header
41 description: A list of cities
45 $ref: ../definitions.json#/city
47 description: Access forbidden
49 $ref: ../definitions.json#/error
51 description: Internal error
53 $ref: ../definitions.json#/error
55 description: Under maintenance
57 $ref: ../definitions.json#/error
70 description: A JSON object containing informations about the new hold
73 $ref: ../definitions.json#/city
78 description: City added
80 $ref: ../definitions.json#/city
82 description: Authentication required
84 $ref: ../definitions.json#/error
86 description: Access forbidden
88 $ref: ../definitions.json#/error
90 description: Internal error
92 $ref: ../definitions.json#/error
94 description: Under maintenance
96 $ref: ../definitions.json#/error
99 parameters: manage_cities
102 x-mojo-to: Cities#get
108 - $ref: ../parameters.json#/city_id_pp
115 $ref: ../definitions.json#/city
117 description: City not found
119 $ref: ../definitions.json#/error
121 description: Internal error
123 $ref: ../definitions.json#/error
125 description: Under maintenance
127 $ref: ../definitions.json#/error
128 x-koha-authorization:
132 x-mojo-to: Cities#update
133 operationId: updateCity
138 - $ref: ../parameters.json#/city_id_pp
141 description: A city object
144 $ref: ../definitions.json#/city
151 $ref: ../definitions.json#/city
153 description: Authentication required
155 $ref: ../definitions.json#/error
157 description: Access forbidden
159 $ref: ../definitions.json#/error
161 description: City not found
163 $ref: ../definitions.json#/error
165 description: Internal error
167 $ref: ../definitions.json#/error
169 description: Under maintenance
171 $ref: ../definitions.json#/error
172 x-koha-authorization:
174 parameters: manage_cities
176 x-mojo-to: Cities#delete
177 operationId: deleteCity
182 - $ref: ../parameters.json#/city_id_pp
187 description: City deleted
189 description: Authentication required
191 $ref: ../definitions.json#/error
193 description: Access forbidden
195 $ref: ../definitions.json#/error
197 description: City not found
199 $ref: ../definitions.json#/error
201 description: Internal error
203 $ref: ../definitions.json#/error
205 description: Under maintenance
207 $ref: ../definitions.json#/error
208 x-koha-authorization:
210 parameters: manage_cities