]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Thu, 16 Mar 2023 19:40:13 +0000 (19:40 +0000)
commit1c18e36b91219690e226d67a32e36b29f8b64513
treee5c5c1a26938728d0b900c1a0ca6c7a8461b4af9
parent807cf91638c86dfdeafb61ecbcd79d223fb9ab0c
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>
(cherry picked from commit b5d6ccdf604c82beef627360c45f4cad78739f1b)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
Koha/REST/V1/Biblios.pm
api/v1/swagger/paths/biblios.yaml
api/v1/swagger/swagger.yaml
t/db_dependent/api/v1/biblios.t