Lines 316-318
Link Here
|
316 |
x-koha-authorization: |
316 |
x-koha-authorization: |
317 |
permissions: |
317 |
permissions: |
318 |
reserveforothers: place_holds |
318 |
reserveforothers: place_holds |
|
|
319 |
"/public/items": |
320 |
get: |
321 |
x-mojo-to: Items#list_public |
322 |
operationId: listItemsPublic |
323 |
tags: |
324 |
- items |
325 |
summary: List items publically visible |
326 |
parameters: |
327 |
- name: external_id |
328 |
in: query |
329 |
description: Search on the item's barcode |
330 |
required: false |
331 |
type: string |
332 |
- $ref: "../swagger.yaml#/parameters/match" |
333 |
- $ref: "../swagger.yaml#/parameters/order_by" |
334 |
- $ref: "../swagger.yaml#/parameters/page" |
335 |
- $ref: "../swagger.yaml#/parameters/per_page" |
336 |
- $ref: "../swagger.yaml#/parameters/q_param" |
337 |
- $ref: "../swagger.yaml#/parameters/q_body" |
338 |
- $ref: "../swagger.yaml#/parameters/q_header" |
339 |
- $ref: "../swagger.yaml#/parameters/request_id_header" |
340 |
consumes: |
341 |
- application/json |
342 |
produces: |
343 |
- application/json |
344 |
responses: |
345 |
"200": |
346 |
description: A list of item |
347 |
schema: |
348 |
type: array |
349 |
items: |
350 |
$ref: "../swagger.yaml#/definitions/item" |
351 |
"401": |
352 |
description: Authentication required |
353 |
schema: |
354 |
$ref: "../swagger.yaml#/definitions/error" |
355 |
"403": |
356 |
description: Access forbidden |
357 |
schema: |
358 |
$ref: "../swagger.yaml#/definitions/error" |
359 |
"500": |
360 |
description: | |
361 |
Internal server error. Possible `error_code` attribute values: |
362 |
|
363 |
* `internal_server_error` |
364 |
schema: |
365 |
$ref: "../swagger.yaml#/definitions/error" |
366 |
"503": |
367 |
description: Under maintenance |
368 |
schema: |
369 |
$ref: "../swagger.yaml#/definitions/error" |