|
Lines 12-17
Link Here
|
| 12 |
description: Internal identifier for the parent bibliographic record |
12 |
description: Internal identifier for the parent bibliographic record |
| 13 |
required: true |
13 |
required: true |
| 14 |
type: string |
14 |
type: string |
|
|
15 |
- name: x-koha-embed |
| 16 |
in: header |
| 17 |
required: false |
| 18 |
description: Embed list sent as a request header |
| 19 |
type: array |
| 20 |
items: |
| 21 |
type: string |
| 22 |
enum: |
| 23 |
- items |
| 24 |
collectionFormat: csv |
| 15 |
- "$ref": "../swagger.yaml#/parameters/match" |
25 |
- "$ref": "../swagger.yaml#/parameters/match" |
| 16 |
- "$ref": "../swagger.yaml#/parameters/order_by" |
26 |
- "$ref": "../swagger.yaml#/parameters/order_by" |
| 17 |
- "$ref": "../swagger.yaml#/parameters/page" |
27 |
- "$ref": "../swagger.yaml#/parameters/page" |
|
Lines 47-54
Link Here
|
| 47 |
x-koha-authorization: |
57 |
x-koha-authorization: |
| 48 |
permissions: |
58 |
permissions: |
| 49 |
catalogue: "manage_item_groups" |
59 |
catalogue: "manage_item_groups" |
| 50 |
x-koha-embed: |
|
|
| 51 |
- items |
| 52 |
post: |
60 |
post: |
| 53 |
x-mojo-to: Biblios::ItemGroups#add |
61 |
x-mojo-to: Biblios::ItemGroups#add |
| 54 |
operationId: addItemGroup |
62 |
operationId: addItemGroup |
|
Lines 131-136
Link Here
|
| 131 |
description: Internal identifier for the item_group |
139 |
description: Internal identifier for the item_group |
| 132 |
required: true |
140 |
required: true |
| 133 |
type: string |
141 |
type: string |
|
|
142 |
- name: x-koha-embed |
| 143 |
in: header |
| 144 |
required: false |
| 145 |
description: Embed list sent as a request header |
| 146 |
type: array |
| 147 |
items: |
| 148 |
type: string |
| 149 |
enum: |
| 150 |
- items |
| 151 |
collectionFormat: csv |
| 134 |
produces: |
152 |
produces: |
| 135 |
- application/yaml |
153 |
- application/yaml |
| 136 |
responses: |
154 |
responses: |
|
Lines 154-161
Link Here
|
| 154 |
description: Under maintenance |
172 |
description: Under maintenance |
| 155 |
schema: |
173 |
schema: |
| 156 |
"$ref": "../swagger.yaml#/definitions/error" |
174 |
"$ref": "../swagger.yaml#/definitions/error" |
| 157 |
x-koha-embed: |
|
|
| 158 |
- items |
| 159 |
x-koha-authorization: |
175 |
x-koha-authorization: |
| 160 |
permissions: |
176 |
permissions: |
| 161 |
catalogue: "manage_item_groups" |
177 |
catalogue: "manage_item_groups" |
|
Lines 190-195
Link Here
|
| 190 |
type: integer |
206 |
type: integer |
| 191 |
description: Position in waiting queue |
207 |
description: Position in waiting queue |
| 192 |
additionalProperties: false |
208 |
additionalProperties: false |
|
|
209 |
- name: x-koha-embed |
| 210 |
in: header |
| 211 |
required: false |
| 212 |
description: Embed list sent as a request header |
| 213 |
type: array |
| 214 |
items: |
| 215 |
type: string |
| 216 |
enum: |
| 217 |
- items |
| 218 |
collectionFormat: csv |
| 193 |
produces: |
219 |
produces: |
| 194 |
- application/yaml |
220 |
- application/yaml |
| 195 |
responses: |
221 |
responses: |
|
Lines 224-231
Link Here
|
| 224 |
x-koha-authorization: |
250 |
x-koha-authorization: |
| 225 |
permissions: |
251 |
permissions: |
| 226 |
catalogue: "manage_item_groups" |
252 |
catalogue: "manage_item_groups" |
| 227 |
x-koha-embed: |
|
|
| 228 |
- items |
| 229 |
delete: |
253 |
delete: |
| 230 |
x-mojo-to: Biblios::ItemGroups#delete |
254 |
x-mojo-to: Biblios::ItemGroups#delete |
| 231 |
operationId: deleteItemGroup |
255 |
operationId: deleteItemGroup |
|
Lines 302-307
Link Here
|
| 302 |
type: integer |
326 |
type: integer |
| 303 |
description: Internal identifier for an item to be linked |
327 |
description: Internal identifier for an item to be linked |
| 304 |
additionalProperties: false |
328 |
additionalProperties: false |
|
|
329 |
- name: x-koha-embed |
| 330 |
in: header |
| 331 |
required: false |
| 332 |
description: Embed list sent as a request header |
| 333 |
type: array |
| 334 |
items: |
| 335 |
type: string |
| 336 |
enum: |
| 337 |
- items |
| 338 |
collectionFormat: csv |
| 305 |
produces: |
339 |
produces: |
| 306 |
- application/yaml |
340 |
- application/yaml |
| 307 |
responses: |
341 |
responses: |
|
Lines 334-341
Link Here
|
| 334 |
x-koha-authorization: |
368 |
x-koha-authorization: |
| 335 |
permissions: |
369 |
permissions: |
| 336 |
catalogue: "manage_item_groups" |
370 |
catalogue: "manage_item_groups" |
| 337 |
x-koha-embed: |
|
|
| 338 |
- items |
| 339 |
"/biblios/{biblio_id}/item_groups/{item_group_id}/items/{item_id}": |
371 |
"/biblios/{biblio_id}/item_groups/{item_group_id}/items/{item_id}": |
| 340 |
delete: |
372 |
delete: |
| 341 |
x-mojo-to: Biblios::ItemGroups::Items#delete |
373 |
x-mojo-to: Biblios::ItemGroups::Items#delete |