Tomas Cohen Arazi
f2f789730a
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
"/biblios/{biblio_id}/merge":
|
|
post:
|
|
x-mojo-to: Biblios#merge
|
|
operationId: mergeBiblios
|
|
tags:
|
|
- biblios
|
|
summary: Merge Biblios
|
|
parameters:
|
|
- name: biblio_id
|
|
in: path
|
|
description: Bilblionumber
|
|
required: true
|
|
type: string
|
|
- name: body
|
|
in: body
|
|
required: true
|
|
description: JSON Object with params and an optional marc record in MARC-in-JSON format
|
|
schema:
|
|
$ref: "../swagger.yaml#/definitions/merge_biblios"
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/marc-in-json
|
|
responses:
|
|
'200':
|
|
description: The merge result as a biblio record
|
|
'404':
|
|
description: Biblio not found
|
|
schema:
|
|
"$ref": "../swagger.yaml#/definitions/error"
|
|
'401':
|
|
description: Authentication required
|
|
schema:
|
|
"$ref": "../swagger.yaml#/definitions/error"
|
|
'403':
|
|
description: Access forbidden
|
|
schema:
|
|
"$ref": "../swagger.yaml#/definitions/error"
|
|
'500':
|
|
description: Internal server error
|
|
schema:
|
|
"$ref": "../swagger.yaml#/definitions/error"
|
|
'503':
|
|
description: Under maintenance
|
|
schema:
|
|
"$ref": "../swagger.yaml#/definitions/error"
|
|
x-koha-authorization:
|
|
permissions:
|
|
catalogue: "editcatalogue"
|