Lines 100-112
Link Here
|
100 |
- items |
100 |
- items |
101 |
summary: Add item to bundle |
101 |
summary: Add item to bundle |
102 |
parameters: |
102 |
parameters: |
103 |
- $ref: ../parameters.json#/item_id_pp |
103 |
- $ref: ../parameters.yaml#/item_id_pp |
104 |
- name: body |
104 |
- name: body |
105 |
in: body |
105 |
in: body |
106 |
description: A JSON object containing information about the new bundle link |
106 |
description: A JSON object containing information about the new bundle link |
107 |
required: true |
107 |
required: true |
108 |
schema: |
108 |
schema: |
109 |
$ref: ../definitions.json#/bundle_link |
109 |
$ref: ../definitions.yaml#/bundle_link |
110 |
consumes: |
110 |
consumes: |
111 |
- application/json |
111 |
- application/json |
112 |
produces: |
112 |
produces: |
Lines 116-150
Link Here
|
116 |
description: A successfully created bundle link |
116 |
description: A successfully created bundle link |
117 |
schema: |
117 |
schema: |
118 |
items: |
118 |
items: |
119 |
$ref: ../definitions.json#/item |
119 |
$ref: ../definitions.yaml#/item |
120 |
"400": |
120 |
"400": |
121 |
description: Bad parameter |
121 |
description: Bad parameter |
122 |
schema: |
122 |
schema: |
123 |
$ref: ../definitions.json#/error |
123 |
$ref: ../definitions.yaml#/error |
124 |
"401": |
124 |
"401": |
125 |
description: Authentication required |
125 |
description: Authentication required |
126 |
schema: |
126 |
schema: |
127 |
$ref: ../definitions.json#/error |
127 |
$ref: ../definitions.yaml#/error |
128 |
"403": |
128 |
"403": |
129 |
description: Access forbidden |
129 |
description: Access forbidden |
130 |
schema: |
130 |
schema: |
131 |
$ref: ../definitions.json#/error |
131 |
$ref: ../definitions.yaml#/error |
132 |
"404": |
132 |
"404": |
133 |
description: Resource not found |
133 |
description: Resource not found |
134 |
schema: |
134 |
schema: |
135 |
$ref: ../definitions.json#/error |
135 |
$ref: ../definitions.yaml#/error |
136 |
"409": |
136 |
"409": |
137 |
description: Conflict in creating resource |
137 |
description: Conflict in creating resource |
138 |
schema: |
138 |
schema: |
139 |
$ref: ../definitions.json#/error |
139 |
$ref: ../definitions.yaml#/error |
140 |
"500": |
140 |
"500": |
141 |
description: Internal server error |
141 |
description: Internal server error |
142 |
schema: |
142 |
schema: |
143 |
$ref: ../definitions.json#/error |
143 |
$ref: ../definitions.yaml#/error |
144 |
"503": |
144 |
"503": |
145 |
description: Under maintenance |
145 |
description: Under maintenance |
146 |
schema: |
146 |
schema: |
147 |
$ref: ../definitions.json#/error |
147 |
$ref: ../definitions.yaml#/error |
148 |
x-koha-authorization: |
148 |
x-koha-authorization: |
149 |
permissions: |
149 |
permissions: |
150 |
catalogue: 1 |
150 |
catalogue: 1 |
Lines 155-173
Link Here
|
155 |
- items |
155 |
- items |
156 |
summary: List bundled items |
156 |
summary: List bundled items |
157 |
parameters: |
157 |
parameters: |
158 |
- $ref: ../parameters.json#/item_id_pp |
158 |
- $ref: ../parameters.yaml#/item_id_pp |
159 |
- name: external_id |
159 |
- name: external_id |
160 |
in: query |
160 |
in: query |
161 |
description: Search on the item's barcode |
161 |
description: Search on the item's barcode |
162 |
required: false |
162 |
required: false |
163 |
type: string |
163 |
type: string |
164 |
- $ref: ../parameters.json#/match |
164 |
- $ref: ../parameters.yaml#/match |
165 |
- $ref: ../parameters.json#/order_by |
165 |
- $ref: ../parameters.yaml#/order_by |
166 |
- $ref: ../parameters.json#/page |
166 |
- $ref: ../parameters.yaml#/page |
167 |
- $ref: ../parameters.json#/per_page |
167 |
- $ref: ../parameters.yaml#/per_page |
168 |
- $ref: ../parameters.json#/q_param |
168 |
- $ref: ../parameters.yaml#/q_param |
169 |
- $ref: ../parameters.json#/q_body |
169 |
- $ref: ../parameters.yaml#/q_body |
170 |
- $ref: ../parameters.json#/q_header |
170 |
- $ref: ../parameters.yaml#/q_header |
171 |
consumes: |
171 |
consumes: |
172 |
- application/json |
172 |
- application/json |
173 |
produces: |
173 |
produces: |
Lines 178-200
Link Here
|
178 |
schema: |
178 |
schema: |
179 |
type: array |
179 |
type: array |
180 |
items: |
180 |
items: |
181 |
$ref: ../definitions.json#/item |
181 |
$ref: ../definitions.yaml#/item |
182 |
"401": |
182 |
"401": |
183 |
description: Authentication required |
183 |
description: Authentication required |
184 |
schema: |
184 |
schema: |
185 |
$ref: ../definitions.json#/error |
185 |
$ref: ../definitions.yaml#/error |
186 |
"403": |
186 |
"403": |
187 |
description: Access forbidden |
187 |
description: Access forbidden |
188 |
schema: |
188 |
schema: |
189 |
$ref: ../definitions.json#/error |
189 |
$ref: ../definitions.yaml#/error |
190 |
"500": |
190 |
"500": |
191 |
description: Internal server error |
191 |
description: Internal server error |
192 |
schema: |
192 |
schema: |
193 |
$ref: ../definitions.json#/error |
193 |
$ref: ../definitions.yaml#/error |
194 |
"503": |
194 |
"503": |
195 |
description: Under maintenance |
195 |
description: Under maintenance |
196 |
schema: |
196 |
schema: |
197 |
$ref: ../definitions.json#/error |
197 |
$ref: ../definitions.yaml#/error |
198 |
x-koha-authorization: |
198 |
x-koha-authorization: |
199 |
permissions: |
199 |
permissions: |
200 |
catalogue: "1" |
200 |
catalogue: "1" |
Lines 212-218
Link Here
|
212 |
- items |
212 |
- items |
213 |
summary: Remove item from bundle |
213 |
summary: Remove item from bundle |
214 |
parameters: |
214 |
parameters: |
215 |
- $ref: ../parameters.json#/item_id_pp |
215 |
- $ref: ../parameters.yaml#/item_id_pp |
216 |
- name: bundled_item_id |
216 |
- name: bundled_item_id |
217 |
in: path |
217 |
in: path |
218 |
description: Internal identifier for the bundled item |
218 |
description: Internal identifier for the bundled item |
Lines 228-254
Link Here
|
228 |
"400": |
228 |
"400": |
229 |
description: Bad parameter |
229 |
description: Bad parameter |
230 |
schema: |
230 |
schema: |
231 |
$ref: ../definitions.json#/error |
231 |
$ref: ../definitions.yaml#/error |
232 |
"401": |
232 |
"401": |
233 |
description: Authentication required |
233 |
description: Authentication required |
234 |
schema: |
234 |
schema: |
235 |
$ref: ../definitions.json#/error |
235 |
$ref: ../definitions.yaml#/error |
236 |
"403": |
236 |
"403": |
237 |
description: Access forbidden |
237 |
description: Access forbidden |
238 |
schema: |
238 |
schema: |
239 |
$ref: ../definitions.json#/error |
239 |
$ref: ../definitions.yaml#/error |
240 |
"404": |
240 |
"404": |
241 |
description: Resource not found |
241 |
description: Resource not found |
242 |
schema: |
242 |
schema: |
243 |
$ref: ../definitions.json#/error |
243 |
$ref: ../definitions.yaml#/error |
244 |
"500": |
244 |
"500": |
245 |
description: Internal server error |
245 |
description: Internal server error |
246 |
schema: |
246 |
schema: |
247 |
$ref: ../definitions.json#/error |
247 |
$ref: ../definitions.yaml#/error |
248 |
"503": |
248 |
"503": |
249 |
description: Under maintenance |
249 |
description: Under maintenance |
250 |
schema: |
250 |
schema: |
251 |
$ref: ../definitions.json#/error |
251 |
$ref: ../definitions.yaml#/error |
252 |
x-koha-authorization: |
252 |
x-koha-authorization: |
253 |
permissions: |
253 |
permissions: |
254 |
catalogue: 1 |
254 |
catalogue: 1 |
255 |
- |
|
|