Bug 31798: Add REST endpoint to add a biblio's item
authorAgustin Moyano <agustinmoyano@theke.io>
Fri, 30 Dec 2022 15:18:37 +0000 (12:18 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 20:45:16 +0000 (17:45 -0300)
commita7c5b80d70a5c1d3087557b626e171c1b4ef4a02
tree190cf530675710ae4654fca50d75f5125c9e6853
parent98ed8fe352f43a1971ccd4a034885577a843cdf3
Bug 31798: Add REST endpoint to add a biblio's item

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Get a biblio
4. Make a POST request to /api/v1/biblios/:biblio_id/items with a json body that represents the new item
5. Check that the item is created
6. Sign off

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
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/definitions/item.yaml
api/v1/swagger/paths/biblios.yaml
t/db_dependent/api/v1/biblios.t [changed mode: 0755->0644]