Lines 396-398
Link Here
|
396 |
x-koha-authorization: |
396 |
x-koha-authorization: |
397 |
permissions: |
397 |
permissions: |
398 |
reserveforothers: place_holds |
398 |
reserveforothers: place_holds |
|
|
399 |
"/public/items": |
400 |
get: |
401 |
x-mojo-to: Items#list_public |
402 |
operationId: listItemsPublic |
403 |
tags: |
404 |
- items |
405 |
summary: List items publically visible |
406 |
parameters: |
407 |
- name: external_id |
408 |
in: query |
409 |
description: Search on the item's barcode |
410 |
required: false |
411 |
type: string |
412 |
- $ref: "../swagger.yaml#/parameters/match" |
413 |
- $ref: "../swagger.yaml#/parameters/order_by" |
414 |
- $ref: "../swagger.yaml#/parameters/page" |
415 |
- $ref: "../swagger.yaml#/parameters/per_page" |
416 |
- $ref: "../swagger.yaml#/parameters/q_param" |
417 |
- $ref: "../swagger.yaml#/parameters/q_body" |
418 |
- $ref: "../swagger.yaml#/parameters/q_header" |
419 |
- $ref: "../swagger.yaml#/parameters/request_id_header" |
420 |
consumes: |
421 |
- application/json |
422 |
produces: |
423 |
- application/json |
424 |
responses: |
425 |
"200": |
426 |
description: A list of item |
427 |
schema: |
428 |
type: array |
429 |
items: |
430 |
$ref: "../swagger.yaml#/definitions/item" |
431 |
"401": |
432 |
description: Authentication required |
433 |
schema: |
434 |
$ref: "../swagger.yaml#/definitions/error" |
435 |
"403": |
436 |
description: Access forbidden |
437 |
schema: |
438 |
$ref: "../swagger.yaml#/definitions/error" |
439 |
"500": |
440 |
description: | |
441 |
Internal server error. Possible `error_code` attribute values: |
442 |
|
443 |
* `internal_server_error` |
444 |
schema: |
445 |
$ref: "../swagger.yaml#/definitions/error" |
446 |
"503": |
447 |
description: Under maintenance |
448 |
schema: |
449 |
$ref: "../swagger.yaml#/definitions/error" |