View | Details | Raw Unified | Return to bug 30055
Collapse All | Expand All

(-)a/api/v1/swagger/paths/acquisitions_baskets.yaml (-1 / +45 lines)
Line 0 Link Here
0
- 
1
---
2
/acquisitions/baskets/managers:
3
  get:
4
    x-mojo-to: Acquisitions::Baskets#list_managers
5
    operationId: listBasketsManagers
6
    description: This resource returns a list of patron allowed to be a manager for baskets
7
    summary: List possibe managers for baskets
8
    tags:
9
      - baskets
10
    parameters:
11
      - $ref: ../parameters.yaml#/match
12
      - $ref: ../parameters.yaml#/order_by
13
      - $ref: ../parameters.yaml#/page
14
      - $ref: ../parameters.yaml#/per_page
15
      - $ref: ../parameters.yaml#/q_param
16
      - $ref: ../parameters.yaml#/q_body
17
      - $ref: ../parameters.yaml#/q_header
18
    produces:
19
      - application/json
20
    responses:
21
      "200":
22
        description: A list of orders' managers
23
        schema:
24
          type: array
25
          items:
26
            $ref: ../definitions.yaml#/patron
27
      "403":
28
        description: Access forbidden
29
        schema:
30
          $ref: ../definitions.yaml#/error
31
      "500":
32
        description: |
33
          Internal server error. Possible `error_code` attribute values:
34
35
          * `internal_server_error`
36
        schema:
37
          $ref: ../definitions.yaml#/error
38
      "503":
39
        description: Under maintenance
40
        schema:
41
          $ref: ../definitions.yaml#/error
42
    x-koha-authorization:
43
      permissions:
44
        acquisition: order_manage
45

Return to bug 30055