]> git.koha-community.org Git - koha.git/commit
Bug 31800: Add REST endpoint to add a biblio
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 23 Dec 2022 20:15:29 +0000 (17:15 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 14:47:18 +0000 (11:47 -0300)
commitb5d6ccdf604c82beef627360c45f4cad78739f1b
treeec0f21e9974b52b2761d4bc3611e808e481534eb
parent65711c9daba5c07ffba5f7cfa6085be2116a75f8
Bug 31800: Add REST endpoint to add a biblio

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Make a POST request to /api/v1/biblios with one of the following content type header
  - application/marcxml+xml
  - application/marc-in-json
  - application/marc
4. Add the following header to the request: "x-framework-id: <framework id>"
5. Check that the biblio is created
6. Sign off

Signed-off-by: Jan Kissig <jkissig@th-wildau.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Biblios.pm
api/v1/swagger/paths/biblios.yaml
api/v1/swagger/swagger.yaml
t/db_dependent/api/v1/biblios.t