Line 0
Link Here
|
|
|
1 |
--- |
2 |
/acquisitions/edifiles: |
3 |
get: |
4 |
x-mojo-to: Acquisitions::Vendor::Edifact::Files#list |
5 |
operationId: listEdifactFiles |
6 |
tags: |
7 |
- edifiles |
8 |
summary: List edifact files |
9 |
produces: |
10 |
- application/json |
11 |
parameters: |
12 |
- $ref: "../swagger.yaml#/parameters/match" |
13 |
- $ref: "../swagger.yaml#/parameters/order_by" |
14 |
- $ref: "../swagger.yaml#/parameters/page" |
15 |
- $ref: "../swagger.yaml#/parameters/per_page" |
16 |
- $ref: "../swagger.yaml#/parameters/q_param" |
17 |
- $ref: "../swagger.yaml#/parameters/q_body" |
18 |
- $ref: "../swagger.yaml#/parameters/request_id_header" |
19 |
- name: x-koha-embed |
20 |
in: header |
21 |
required: false |
22 |
description: Embed list sent as a request header |
23 |
type: array |
24 |
items: |
25 |
type: string |
26 |
enum: |
27 |
- vendor |
28 |
- basket |
29 |
collectionFormat: csv |
30 |
|
31 |
responses: |
32 |
"200": |
33 |
description: A list of edifact files |
34 |
schema: |
35 |
type: array |
36 |
items: |
37 |
$ref: "../swagger.yaml#/definitions/edifact_file" |
38 |
"401": |
39 |
description: Authentication required |
40 |
schema: |
41 |
$ref: "../swagger.yaml#/definitions/error" |
42 |
"403": |
43 |
description: Access forbidden |
44 |
schema: |
45 |
$ref: "../swagger.yaml#/definitions/error" |
46 |
"404": |
47 |
description: Edifile not found |
48 |
schema: |
49 |
$ref: "../swagger.yaml#/definitions/error" |
50 |
"500": |
51 |
description: | |
52 |
Internal server error. Possible `error_code` attribute values: |
53 |
|
54 |
* `internal_server_error` |
55 |
schema: |
56 |
$ref: "../swagger.yaml#/definitions/error" |
57 |
"503": |
58 |
description: Under maintenance |
59 |
schema: |
60 |
$ref: "../swagger.yaml#/definitions/error" |
61 |
x-koha-authorization: |
62 |
permissions: |
63 |
acquisition: edi_manage |