Koha/api/v1/swagger/paths/acquisitions_baskets.yaml
Jonathan Druart de4908c021 Bug 30055: Add missing spec file for baskets
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Séverine Queune <severine.queune@bulac.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-04 09:46:58 +02:00

44 lines
1.3 KiB
YAML

---
/acquisitions/baskets/managers:
get:
x-mojo-to: Acquisitions::Baskets#list_managers
operationId: listBasketsManagers
description: This resource returns a list of patron allowed to be a manager for baskets
summary: List possibe managers for baskets
tags:
- baskets
parameters:
- $ref: ../parameters.yaml#/match
- $ref: ../parameters.yaml#/order_by
- $ref: ../parameters.yaml#/page
- $ref: ../parameters.yaml#/per_page
- $ref: ../parameters.yaml#/q_param
- $ref: ../parameters.yaml#/q_body
- $ref: ../parameters.yaml#/q_header
produces:
- application/json
responses:
"200":
description: A list of orders' managers
schema:
type: array
items:
$ref: ../definitions.yaml#/patron
"403":
description: Access forbidden
schema:
$ref: ../definitions.yaml#/error
"500":
description: |
Internal server error. Possible `error_code` attribute values:
* `internal_server_error`
schema:
$ref: ../definitions.yaml#/error
"503":
description: Under maintenance
schema:
$ref: ../definitions.yaml#/error
x-koha-authorization:
permissions:
acquisition: order_manage