Lines 376-378
Link Here
|
376 |
x-koha-authorization: |
376 |
x-koha-authorization: |
377 |
permissions: |
377 |
permissions: |
378 |
reserveforothers: place_holds |
378 |
reserveforothers: place_holds |
|
|
379 |
"/public/items": |
380 |
get: |
381 |
x-mojo-to: Items#list_public |
382 |
operationId: listItemsPublic |
383 |
tags: |
384 |
- items |
385 |
summary: List items publically visible |
386 |
parameters: |
387 |
- name: external_id |
388 |
in: query |
389 |
description: Search on the item's barcode |
390 |
required: false |
391 |
type: string |
392 |
- $ref: "../swagger.yaml#/parameters/match" |
393 |
- $ref: "../swagger.yaml#/parameters/order_by" |
394 |
- $ref: "../swagger.yaml#/parameters/page" |
395 |
- $ref: "../swagger.yaml#/parameters/per_page" |
396 |
- $ref: "../swagger.yaml#/parameters/q_param" |
397 |
- $ref: "../swagger.yaml#/parameters/q_body" |
398 |
- $ref: "../swagger.yaml#/parameters/q_header" |
399 |
- $ref: "../swagger.yaml#/parameters/request_id_header" |
400 |
consumes: |
401 |
- application/json |
402 |
produces: |
403 |
- application/json |
404 |
responses: |
405 |
"200": |
406 |
description: A list of item |
407 |
schema: |
408 |
type: array |
409 |
items: |
410 |
$ref: "../swagger.yaml#/definitions/item" |
411 |
"401": |
412 |
description: Authentication required |
413 |
schema: |
414 |
$ref: "../swagger.yaml#/definitions/error" |
415 |
"403": |
416 |
description: Access forbidden |
417 |
schema: |
418 |
$ref: "../swagger.yaml#/definitions/error" |
419 |
"500": |
420 |
description: | |
421 |
Internal server error. Possible `error_code` attribute values: |
422 |
|
423 |
* `internal_server_error` |
424 |
schema: |
425 |
$ref: "../swagger.yaml#/definitions/error" |
426 |
"503": |
427 |
description: Under maintenance |
428 |
schema: |
429 |
$ref: "../swagger.yaml#/definitions/error" |