12 description: A JSON object or the Marc string describing a biblio
18 - $ref: "../swagger.yaml#/parameters/framework_id_header"
19 - $ref: "../swagger.yaml#/parameters/marc_schema_header"
20 - $ref: "../swagger.yaml#/parameters/confirm_not_duplicate_header"
27 description: Bad request
29 $ref: "../swagger.yaml#/definitions/error"
31 description: Authentication required
33 $ref: "../swagger.yaml#/definitions/error"
35 description: Access forbidden
37 $ref: "../swagger.yaml#/definitions/error"
39 description: Not acceptable
42 description: Accepted content-types
47 Internal server error. Possible `error_code` attribute values:
49 * `internal_server_error`
51 $ref: "../swagger.yaml#/definitions/error"
53 description: Under maintenance
55 $ref: "../swagger.yaml#/definitions/error"
58 editcatalogue: edit_catalogue
59 "/biblios/{biblio_id}":
61 x-mojo-to: Biblios#get
62 operationId: getBiblio
67 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
70 - application/marcxml+xml
71 - application/marc-in-json
78 description: Authentication required
80 $ref: "../swagger.yaml#/definitions/error"
82 description: Access forbidden
84 $ref: "../swagger.yaml#/definitions/error"
86 description: Biblio not found
88 $ref: "../swagger.yaml#/definitions/error"
90 description: Not acceptable
93 description: Accepted content-types
98 Internal server error. Possible `error_code` attribute values:
100 * `internal_server_error`
102 $ref: "../swagger.yaml#/definitions/error"
104 description: Under maintenance
106 $ref: "../swagger.yaml#/definitions/error"
107 x-koha-authorization:
111 x-mojo-to: Biblios#delete
112 operationId: deleteBiblio
115 summary: Delete biblio
117 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
122 description: Biblio deleted
126 description: Authentication required
128 $ref: "../swagger.yaml#/definitions/error"
130 description: Access forbidden
132 $ref: "../swagger.yaml#/definitions/error"
134 description: Biblio not found
136 $ref: "../swagger.yaml#/definitions/error"
138 description: Unable to perform action on biblio
140 $ref: "../swagger.yaml#/definitions/error"
142 description: Internal error
144 $ref: "../swagger.yaml#/definitions/error"
146 description: Under maintenance
148 $ref: "../swagger.yaml#/definitions/error"
149 x-koha-authorization:
151 editcatalogue: edit_catalogue
152 "/biblios/{biblio_id}/checkouts":
154 x-mojo-to: Biblios#get_checkouts
155 operationId: listBiblioCheckouts
158 summary: List checkouts for a biblio
160 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
161 - $ref: "../swagger.yaml#/parameters/page"
162 - $ref: "../swagger.yaml#/parameters/per_page"
163 - $ref: "../swagger.yaml#/parameters/match"
164 - $ref: "../swagger.yaml#/parameters/order_by"
165 - $ref: "../swagger.yaml#/parameters/q_param"
166 - $ref: "../swagger.yaml#/parameters/q_body"
167 - $ref: "../swagger.yaml#/parameters/q_header"
168 - $ref: "../swagger.yaml#/parameters/request_id_header"
172 description: Embed list sent as a request header
181 collectionFormat: csv
184 description: By default, current checkouts are returned, when this is true then
185 checked in checkouts are returned as result.
191 description: A list of checkouts
193 $ref: "../swagger.yaml#/definitions/checkouts"
195 description: Access forbidden
197 $ref: "../swagger.yaml#/definitions/error"
199 description: Biblio not found
201 $ref: "../swagger.yaml#/definitions/error"
204 Internal server error. Possible `error_code` attribute values:
206 * `internal_server_error`
208 $ref: "../swagger.yaml#/definitions/error"
210 description: Under maintenance
212 $ref: "../swagger.yaml#/definitions/error"
213 x-koha-authorization:
215 circulate: circulate_remaining_permissions
216 "/biblios/{biblio_id}/items":
218 x-mojo-to: Biblios#get_items
219 operationId: getBiblioItems
222 summary: Get items for a biblio
224 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
225 - $ref: "../swagger.yaml#/parameters/match"
226 - $ref: "../swagger.yaml#/parameters/order_by"
227 - $ref: "../swagger.yaml#/parameters/page"
228 - $ref: "../swagger.yaml#/parameters/per_page"
229 - $ref: "../swagger.yaml#/parameters/q_param"
230 - $ref: "../swagger.yaml#/parameters/q_body"
231 - $ref: "../swagger.yaml#/parameters/q_header"
232 - $ref: "../swagger.yaml#/parameters/request_id_header"
239 description: A list of the items attached to the record
243 $ref: "../swagger.yaml#/definitions/item"
245 description: Authentication required
247 $ref: "../swagger.yaml#/definitions/error"
249 description: Access forbidden
251 $ref: "../swagger.yaml#/definitions/error"
253 description: Biblio not found
255 $ref: "../swagger.yaml#/definitions/error"
257 description: Not acceptable
260 description: Accepted content-types
265 Internal server error. Possible `error_code` attribute values:
267 * `internal_server_error`
269 $ref: "../swagger.yaml#/definitions/error"
271 description: Under maintenance
273 $ref: "../swagger.yaml#/definitions/error"
274 x-koha-authorization:
277 "/biblios/{biblio_id}/pickup_locations":
279 x-mojo-to: Biblios#pickup_locations
280 operationId: getBiblioPickupLocations
283 summary: Get valid pickup locations for a biblio
285 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
288 description: Internal patron identifier
291 - $ref: "../swagger.yaml#/parameters/match"
292 - $ref: "../swagger.yaml#/parameters/order_by"
293 - $ref: "../swagger.yaml#/parameters/page"
294 - $ref: "../swagger.yaml#/parameters/per_page"
295 - $ref: "../swagger.yaml#/parameters/q_param"
296 - $ref: "../swagger.yaml#/parameters/q_body"
297 - $ref: "../swagger.yaml#/parameters/q_header"
304 description: Biblio pickup locations
308 $ref: "../swagger.yaml#/definitions/library"
310 description: Missing or wrong parameters
312 $ref: "../swagger.yaml#/definitions/error"
314 description: Authentication required
316 $ref: "../swagger.yaml#/definitions/error"
318 description: Access forbidden
320 $ref: "../swagger.yaml#/definitions/error"
322 description: Biblio not found
324 $ref: "../swagger.yaml#/definitions/error"
327 Internal server error. Possible `error_code` attribute values:
329 * `internal_server_error`
331 $ref: "../swagger.yaml#/definitions/error"
333 description: Under maintenance
335 $ref: "../swagger.yaml#/definitions/error"
336 x-koha-authorization:
338 reserveforothers: place_holds
339 "/public/biblios/{biblio_id}":
341 x-mojo-to: Biblios#get_public
342 operationId: getBiblioPublic
345 summary: Get biblio (public)
347 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
349 - application/marcxml+xml
350 - application/marc-in-json
355 description: A biblio
357 description: Authentication required
359 $ref: "../swagger.yaml#/definitions/error"
361 description: Access forbidden
363 $ref: "../swagger.yaml#/definitions/error"
365 description: Biblio not found
367 $ref: "../swagger.yaml#/definitions/error"
369 description: Not acceptable
372 description: Accepted content-types
377 Internal server error. Possible `error_code` attribute values:
379 * `internal_server_error`
381 $ref: "../swagger.yaml#/definitions/error"
383 description: Under maintenance
385 $ref: "../swagger.yaml#/definitions/error"
386 "/public/biblios/{biblio_id}/items":
388 x-mojo-to: Biblios#get_items_public
389 operationId: getBiblioItemsPublic
394 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
395 - $ref: "../swagger.yaml#/parameters/match"
396 - $ref: "../swagger.yaml#/parameters/order_by"
397 - $ref: "../swagger.yaml#/parameters/page"
398 - $ref: "../swagger.yaml#/parameters/per_page"
399 - $ref: "../swagger.yaml#/parameters/q_param"
400 - $ref: "../swagger.yaml#/parameters/q_body"
401 - $ref: "../swagger.yaml#/parameters/q_header"
408 description: A list of the items attached to the record
412 $ref: "../swagger.yaml#/definitions/item"
414 description: Authentication required
416 $ref: "../swagger.yaml#/definitions/error"
418 description: Access forbidden
420 $ref: "../swagger.yaml#/definitions/error"
422 description: Biblio not found
424 $ref: "../swagger.yaml#/definitions/error"
426 description: Not acceptable
429 description: Accepted content-types
434 Internal server error. Possible `error_code` attribute values:
436 * `internal_server_error`
438 $ref: "../swagger.yaml#/definitions/error"
440 description: Under maintenance
442 $ref: "../swagger.yaml#/definitions/error"
443 "/public/biblios/{biblio_id}/ratings":
445 x-mojo-to: Biblios#set_rating
446 operationId: setBiblioRating
449 summary: set biblio rating (public)
451 - $ref: "../swagger.yaml#/parameters/biblio_id_pp"
454 description: A JSON object containing rating information
459 description: the rating
465 additionalProperties: false
470 description: Rating set
475 description: user's rating
480 description: average rating
483 description: number of ratings
485 additionalProperties: false
487 description: Authentication required
489 $ref: "../swagger.yaml#/definitions/error"
491 description: Access forbidden
493 $ref: "../swagger.yaml#/definitions/error"
495 description: Biblio not found
497 $ref: "../swagger.yaml#/definitions/error"
500 Internal server error. Possible `error_code` attribute values:
502 * `internal_server_error`
504 $ref: "../swagger.yaml#/definitions/error"
506 description: Under maintenance
508 $ref: "../swagger.yaml#/definitions/error"