Lines 1-4
Link Here
|
1 |
--- |
1 |
--- |
|
|
2 |
/acquisitions/baskets: |
3 |
get: |
4 |
x-mojo-to: Acquisitions::Baskets#list |
5 |
operationId: listBaskets |
6 |
description: This resource returns a list of baskets |
7 |
summary: List of baskets |
8 |
tags: |
9 |
- baskets |
10 |
parameters: |
11 |
- $ref: "../swagger.yaml#/parameters/match" |
12 |
- $ref: "../swagger.yaml#/parameters/order_by" |
13 |
- $ref: "../swagger.yaml#/parameters/page" |
14 |
- $ref: "../swagger.yaml#/parameters/per_page" |
15 |
- $ref: "../swagger.yaml#/parameters/q_param" |
16 |
- $ref: "../swagger.yaml#/parameters/q_body" |
17 |
produces: |
18 |
- application/json |
19 |
responses: |
20 |
"200": |
21 |
description: A list of baskets |
22 |
schema: |
23 |
type: array |
24 |
items: |
25 |
$ref: "../swagger.yaml#/definitions/basket" |
26 |
"400": |
27 |
description: | |
28 |
Bad request. Possible `error_code` attribute values: |
29 |
|
30 |
* `invalid_query` |
31 |
schema: |
32 |
$ref: "../swagger.yaml#/definitions/error" |
33 |
"403": |
34 |
description: Access forbidden |
35 |
schema: |
36 |
$ref: "../swagger.yaml#/definitions/error" |
37 |
"500": |
38 |
description: | |
39 |
Internal server error. Possible `error_code` attribute values: |
40 |
|
41 |
* `internal_server_error` |
42 |
schema: |
43 |
$ref: "../swagger.yaml#/definitions/error" |
44 |
"503": |
45 |
description: Under maintenance |
46 |
schema: |
47 |
$ref: "../swagger.yaml#/definitions/error" |
48 |
x-koha-authorization: |
49 |
permissions: |
50 |
acquisition: order_manage |
2 |
/acquisitions/baskets/managers: |
51 |
/acquisitions/baskets/managers: |
3 |
get: |
52 |
get: |
4 |
x-mojo-to: Acquisitions::Baskets#list_managers |
53 |
x-mojo-to: Acquisitions::Baskets#list_managers |