10 - $ref: "../swagger.yaml#/parameters/framework_id_header"
11 - $ref: "../swagger.yaml#/parameters/marc_schema_header"
12 - $ref: "../swagger.yaml#/parameters/confirm_not_duplicate_header"
19 description: Bad request
21 $ref: "../swagger.yaml#/definitions/error"
23 description: Authentication required
25 $ref: "../swagger.yaml#/definitions/error"
27 description: Access forbidden
29 $ref: "../swagger.yaml#/definitions/error"
31 description: Not acceptable
34 description: Accepted content-types
39 Internal server error. Possible `error_code` attribute values:
41 * `internal_server_error`
43 $ref: "../swagger.yaml#/definitions/error"
45 description: Under maintenance
47 $ref: "../swagger.yaml#/definitions/error"
50 editcatalogue: edit_catalogue
52 x-mojo-to: Biblios#list
53 operationId: listBiblio
58 - $ref: "../swagger.yaml#/parameters/page"
59 - $ref: "../swagger.yaml#/parameters/per_page"
60 - $ref: "../swagger.yaml#/parameters/match"
61 - $ref: "../swagger.yaml#/parameters/order_by"
62 - $ref: "../swagger.yaml#/parameters/q_param"
63 - $ref: "../swagger.yaml#/parameters/q_body"
64 - $ref: "../swagger.yaml#/parameters/q_header"
65 - $ref: "../swagger.yaml#/parameters/request_id_header"
68 - application/marcxml+xml
69 - application/marc-in-json
74 description: A list of biblios
76 description: Authentication required
78 $ref: "../swagger.yaml#/definitions/error"
80 description: Access forbidden
82 $ref: "../swagger.yaml#/definitions/error"
84 description: Biblio not found
86 $ref: "../swagger.yaml#/definitions/error"
88 description: Not acceptable
91 description: Accepted content-types
96 Internal server error. Possible `error_code` attribute values:
98 * `internal_server_error`
100 $ref: "../swagger.yaml#/definitions/error"
102 description: Under maintenance
104 $ref: "../swagger.yaml#/definitions/error"
105 x-koha-authorization:
108 "/biblios/{biblio_id}":
110 x-mojo-to: Biblios#get
111 operationId: getBiblio
116 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
119 - application/marcxml+xml
120 - application/marc-in-json
125 description: A biblio
127 description: Authentication required
129 $ref: "../swagger.yaml#/definitions/error"
131 description: Access forbidden
133 $ref: "../swagger.yaml#/definitions/error"
135 description: Biblio not found
137 $ref: "../swagger.yaml#/definitions/error"
139 description: Not acceptable
142 description: Accepted content-types
147 Internal server error. Possible `error_code` attribute values:
149 * `internal_server_error`
151 $ref: "../swagger.yaml#/definitions/error"
153 description: Under maintenance
155 $ref: "../swagger.yaml#/definitions/error"
156 x-koha-authorization:
160 x-mojo-to: Biblios#delete
161 operationId: deleteBiblio
164 summary: Delete biblio
166 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
171 description: Biblio deleted
175 description: Authentication required
177 $ref: "../swagger.yaml#/definitions/error"
179 description: Access forbidden
181 $ref: "../swagger.yaml#/definitions/error"
183 description: Biblio not found
185 $ref: "../swagger.yaml#/definitions/error"
187 description: Unable to perform action on biblio
189 $ref: "../swagger.yaml#/definitions/error"
191 description: Internal error
193 $ref: "../swagger.yaml#/definitions/error"
195 description: Under maintenance
197 $ref: "../swagger.yaml#/definitions/error"
198 x-koha-authorization:
200 editcatalogue: edit_catalogue
202 x-mojo-to: Biblios#update
203 operationId: updateBiblio
206 summary: Update biblio
208 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
209 - $ref: "../swagger.yaml#/parameters/framework_id_header"
210 - $ref: "../swagger.yaml#/parameters/marc_schema_header"
211 - $ref: "../swagger.yaml#/parameters/confirm_not_duplicate_header"
216 description: A biblio
218 description: Bad request
220 $ref: "../swagger.yaml#/definitions/error"
222 description: Authentication required
224 $ref: "../swagger.yaml#/definitions/error"
226 description: Access forbidden
228 $ref: "../swagger.yaml#/definitions/error"
230 description: Biblio not found
232 $ref: "../swagger.yaml#/definitions/error"
234 description: Not acceptable
237 description: Accepted content-types
242 Internal server error. Possible `error_code` attribute values:
244 * `internal_server_error`
246 $ref: "../swagger.yaml#/definitions/error"
248 description: Under maintenance
250 $ref: "../swagger.yaml#/definitions/error"
251 x-koha-authorization:
253 editcatalogue: edit_catalogue
254 "/biblios/{biblio_id}/checkouts":
256 x-mojo-to: Biblios#get_checkouts
257 operationId: listBiblioCheckouts
260 summary: List checkouts for a biblio
262 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
263 - $ref: "../swagger.yaml#/parameters/page"
264 - $ref: "../swagger.yaml#/parameters/per_page"
265 - $ref: "../swagger.yaml#/parameters/match"
266 - $ref: "../swagger.yaml#/parameters/order_by"
267 - $ref: "../swagger.yaml#/parameters/q_param"
268 - $ref: "../swagger.yaml#/parameters/q_body"
269 - $ref: "../swagger.yaml#/parameters/q_header"
270 - $ref: "../swagger.yaml#/parameters/request_id_header"
274 description: Embed list sent as a request header
283 collectionFormat: csv
286 description: By default, current checkouts are returned, when this is true then
287 checked in checkouts are returned as result.
293 description: A list of checkouts
295 $ref: "../swagger.yaml#/definitions/checkouts"
297 description: Access forbidden
299 $ref: "../swagger.yaml#/definitions/error"
301 description: Biblio not found
303 $ref: "../swagger.yaml#/definitions/error"
306 Internal server error. Possible `error_code` attribute values:
308 * `internal_server_error`
310 $ref: "../swagger.yaml#/definitions/error"
312 description: Under maintenance
314 $ref: "../swagger.yaml#/definitions/error"
315 x-koha-authorization:
317 circulate: circulate_remaining_permissions
318 "/biblios/{biblio_id}/items":
320 x-mojo-to: Biblios#get_items
321 operationId: getBiblioItems
324 summary: Get items for a biblio
326 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
327 - $ref: "../swagger.yaml#/parameters/match"
328 - $ref: "../swagger.yaml#/parameters/order_by"
329 - $ref: "../swagger.yaml#/parameters/page"
330 - $ref: "../swagger.yaml#/parameters/per_page"
331 - $ref: "../swagger.yaml#/parameters/q_param"
332 - $ref: "../swagger.yaml#/parameters/q_body"
333 - $ref: "../swagger.yaml#/parameters/q_header"
334 - $ref: "../swagger.yaml#/parameters/request_id_header"
341 description: A list of the items attached to the record
345 $ref: "../swagger.yaml#/definitions/item"
347 description: Authentication required
349 $ref: "../swagger.yaml#/definitions/error"
351 description: Access forbidden
353 $ref: "../swagger.yaml#/definitions/error"
355 description: Biblio not found
357 $ref: "../swagger.yaml#/definitions/error"
359 description: Not acceptable
362 description: Accepted content-types
367 Internal server error. Possible `error_code` attribute values:
369 * `internal_server_error`
371 $ref: "../swagger.yaml#/definitions/error"
373 description: Under maintenance
375 $ref: "../swagger.yaml#/definitions/error"
376 x-koha-authorization:
379 "/biblios/{biblio_id}/pickup_locations":
381 x-mojo-to: Biblios#pickup_locations
382 operationId: getBiblioPickupLocations
385 summary: Get valid pickup locations for a biblio
387 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
390 description: Internal patron identifier
393 - $ref: "../swagger.yaml#/parameters/match"
394 - $ref: "../swagger.yaml#/parameters/order_by"
395 - $ref: "../swagger.yaml#/parameters/page"
396 - $ref: "../swagger.yaml#/parameters/per_page"
397 - $ref: "../swagger.yaml#/parameters/q_param"
398 - $ref: "../swagger.yaml#/parameters/q_body"
399 - $ref: "../swagger.yaml#/parameters/q_header"
406 description: Biblio pickup locations
410 $ref: "../swagger.yaml#/definitions/library"
412 description: Missing or wrong parameters
414 $ref: "../swagger.yaml#/definitions/error"
416 description: Authentication required
418 $ref: "../swagger.yaml#/definitions/error"
420 description: Access forbidden
422 $ref: "../swagger.yaml#/definitions/error"
424 description: Biblio not found
426 $ref: "../swagger.yaml#/definitions/error"
429 Internal server error. Possible `error_code` attribute values:
431 * `internal_server_error`
433 $ref: "../swagger.yaml#/definitions/error"
435 description: Under maintenance
437 $ref: "../swagger.yaml#/definitions/error"
438 x-koha-authorization:
440 reserveforothers: place_holds
441 "/public/biblios/{biblio_id}":
443 x-mojo-to: Biblios#get_public
444 operationId: getBiblioPublic
447 summary: Get biblio (public)
449 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
451 - application/marcxml+xml
452 - application/marc-in-json
457 description: A biblio
459 description: Authentication required
461 $ref: "../swagger.yaml#/definitions/error"
463 description: Access forbidden
465 $ref: "../swagger.yaml#/definitions/error"
467 description: Biblio not found
469 $ref: "../swagger.yaml#/definitions/error"
471 description: Not acceptable
474 description: Accepted content-types
479 Internal server error. Possible `error_code` attribute values:
481 * `internal_server_error`
483 $ref: "../swagger.yaml#/definitions/error"
485 description: Under maintenance
487 $ref: "../swagger.yaml#/definitions/error"
488 "/public/biblios/{biblio_id}/items":
490 x-mojo-to: Biblios#get_items_public
491 operationId: getBiblioItemsPublic
496 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
497 - $ref: "../swagger.yaml#/parameters/match"
498 - $ref: "../swagger.yaml#/parameters/order_by"
499 - $ref: "../swagger.yaml#/parameters/page"
500 - $ref: "../swagger.yaml#/parameters/per_page"
501 - $ref: "../swagger.yaml#/parameters/q_param"
502 - $ref: "../swagger.yaml#/parameters/q_body"
503 - $ref: "../swagger.yaml#/parameters/q_header"
510 description: A list of the items attached to the record
514 $ref: "../swagger.yaml#/definitions/item"
516 description: Authentication required
518 $ref: "../swagger.yaml#/definitions/error"
520 description: Access forbidden
522 $ref: "../swagger.yaml#/definitions/error"
524 description: Biblio not found
526 $ref: "../swagger.yaml#/definitions/error"
528 description: Not acceptable
531 description: Accepted content-types
536 Internal server error. Possible `error_code` attribute values:
538 * `internal_server_error`
540 $ref: "../swagger.yaml#/definitions/error"
542 description: Under maintenance
544 $ref: "../swagger.yaml#/definitions/error"
545 "/public/biblios/{biblio_id}/ratings":
547 x-mojo-to: Biblios#set_rating
548 operationId: setBiblioRating
551 summary: set biblio rating (public)
553 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
556 description: A JSON object containing rating information
561 description: the rating
567 additionalProperties: false
572 description: Rating set
577 description: user's rating
582 description: average rating
585 description: number of ratings
587 additionalProperties: false
589 description: Authentication required
591 $ref: "../swagger.yaml#/definitions/error"
593 description: Access forbidden
595 $ref: "../swagger.yaml#/definitions/error"
597 description: Biblio not found
599 $ref: "../swagger.yaml#/definitions/error"
602 Internal server error. Possible `error_code` attribute values:
604 * `internal_server_error`
606 $ref: "../swagger.yaml#/definitions/error"
608 description: Under maintenance
610 $ref: "../swagger.yaml#/definitions/error"