Lines 232-237
Link Here
|
232 |
} |
232 |
} |
233 |
} |
233 |
} |
234 |
}, |
234 |
}, |
|
|
235 |
"/biblios/{biblio_id}/pickup_locations": { |
236 |
"get": { |
237 |
"x-mojo-to": "Biblios#pickup_locations", |
238 |
"operationId": "getBiblioPickupLocations", |
239 |
"tags": [ |
240 |
"biblios", |
241 |
"pickup_locations" |
242 |
], |
243 |
"parameters": [ |
244 |
{ |
245 |
"$ref": "../parameters.json#/biblio_id_pp" |
246 |
}, |
247 |
{ |
248 |
"name": "patron_id", |
249 |
"in": "query", |
250 |
"description": "Internal patron identifier", |
251 |
"required": true, |
252 |
"type": "integer" |
253 |
}, |
254 |
{ |
255 |
"$ref": "../parameters.json#/match" |
256 |
}, |
257 |
{ |
258 |
"$ref": "../parameters.json#/order_by" |
259 |
}, |
260 |
{ |
261 |
"$ref": "../parameters.json#/page" |
262 |
}, |
263 |
{ |
264 |
"$ref": "../parameters.json#/per_page" |
265 |
}, |
266 |
{ |
267 |
"$ref": "../parameters.json#/q_param" |
268 |
}, |
269 |
{ |
270 |
"$ref": "../parameters.json#/q_body" |
271 |
}, |
272 |
{ |
273 |
"$ref": "../parameters.json#/q_header" |
274 |
} |
275 |
], |
276 |
"consumes": [ |
277 |
"application/json" |
278 |
], |
279 |
"produces": [ |
280 |
"application/json" |
281 |
], |
282 |
"responses": { |
283 |
"200": { |
284 |
"description": "Biblio pickup locations", |
285 |
"schema": { |
286 |
"type": "array", |
287 |
"items": { |
288 |
"$ref": "../definitions.json#/library" |
289 |
} |
290 |
} |
291 |
}, |
292 |
"400": { |
293 |
"description": "Missing or wrong parameters", |
294 |
"schema": { |
295 |
"$ref": "../definitions.json#/error" |
296 |
} |
297 |
}, |
298 |
"401": { |
299 |
"description": "Authentication required", |
300 |
"schema": { |
301 |
"$ref": "../definitions.json#/error" |
302 |
} |
303 |
}, |
304 |
"403": { |
305 |
"description": "Access forbidden", |
306 |
"schema": { |
307 |
"$ref": "../definitions.json#/error" |
308 |
} |
309 |
}, |
310 |
"404": { |
311 |
"description": "Biblio not found", |
312 |
"schema": { |
313 |
"$ref": "../definitions.json#/error" |
314 |
} |
315 |
}, |
316 |
"500": { |
317 |
"description": "Internal server error", |
318 |
"schema": { |
319 |
"$ref": "../definitions.json#/error" |
320 |
} |
321 |
}, |
322 |
"503": { |
323 |
"description": "Under maintenance", |
324 |
"schema": { |
325 |
"$ref": "../definitions.json#/error" |
326 |
} |
327 |
} |
328 |
}, |
329 |
"x-koha-authorization": { |
330 |
"permissions": { |
331 |
"reserveforothers": "place_holds" |
332 |
} |
333 |
} |
334 |
} |
335 |
}, |
235 |
"/public/biblios/{biblio_id}": { |
336 |
"/public/biblios/{biblio_id}": { |
236 |
"get": { |
337 |
"get": { |
237 |
"x-mojo-to": "Biblios#get_public", |
338 |
"x-mojo-to": "Biblios#get_public", |
238 |
- |
|
|