Lines 6-11
Link Here
|
6 |
tags: |
6 |
tags: |
7 |
- biblios |
7 |
- biblios |
8 |
summary: Add biblio |
8 |
summary: Add biblio |
|
|
9 |
description: | |
10 |
Add a bibliographic record to Koha. An optional `x-framework-id` |
11 |
may be passed to specify the cataloguing framework to be used (instead |
12 |
of the default). |
13 |
|
14 |
The request body is expected to contain a MARC record in the format specified in |
15 |
the `Content-type` header you pass. Possible values for this header and the corresponding |
16 |
record formats expected are listed below: |
17 |
|
18 |
* application/marcxml+xml: MARCXML |
19 |
* application/marc-in-json: MARC-in-JSON |
20 |
* application/marc: Raw USMARC binary data |
9 |
parameters: |
21 |
parameters: |
10 |
- $ref: "../swagger.yaml#/parameters/framework_id_header" |
22 |
- $ref: "../swagger.yaml#/parameters/framework_id_header" |
11 |
- $ref: "../swagger.yaml#/parameters/marc_schema_header" |
23 |
- $ref: "../swagger.yaml#/parameters/marc_schema_header" |
Lines 204-209
Link Here
|
204 |
tags: |
216 |
tags: |
205 |
- biblios |
217 |
- biblios |
206 |
summary: Update biblio |
218 |
summary: Update biblio |
|
|
219 |
description: | |
220 |
Updates a bibliographic record to Koha. An optional `x-framework-id` |
221 |
may be passed, to specify the cataloguing framework to be used (instead |
222 |
of the default). |
223 |
|
224 |
The request body is expected to contain a MARC record in the format specified by |
225 |
the `Content-type` header passed. Possible values for this headers and the corresponding |
226 |
record formats expected are listed below: |
227 |
|
228 |
* application/marcxml+xml: MARCXML |
229 |
* application/marc-in-json: MARC-in-JSON |
230 |
* application/marc: Raw USMARC binary data |
207 |
parameters: |
231 |
parameters: |
208 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
232 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
209 |
- $ref: "../swagger.yaml#/parameters/framework_id_header" |
233 |
- $ref: "../swagger.yaml#/parameters/framework_id_header" |
210 |
- |
|
|