]> git.koha-community.org Git - koha.git/commit
Bug 31799: Add REST endpoint to modify a biblio's item
authorAgustin Moyano <agustinmoyano@theke.io>
Mon, 2 Jan 2023 14:44:05 +0000 (11:44 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 May 2023 13:57:55 +0000 (10:57 -0300)
commit51d50810fa39ce1e48835c5fcf1514bc729c7402
tree0b3f6eea0340d9f9f1ab48712d3795b449e88d2a
parentc1c3b496689057688be0d1788d1c74d61aca1bef
Bug 31799: Add REST endpoint to modify a biblio's item

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Get a biblio with an item
4. Make a PUT request to /api/v1/biblios/:biblio_id/items/:item_id with a json body that represents an item to replace
5. Check that the item was modified
6. Sign off

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@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