From bcb4327ea89d552adfac04a44197f841f1bf70bd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 Apr 2023 12:06:07 +0200 Subject: [PATCH] Bug 34054: Allow to embed biblio on GET /items Test plan: Request the /items REST API endpoint and ask for the biblio's info to be embeded into the response passing x-koha-embed curl -u koha:koha --request GET 'http://localhost:8081/api/v1/items' --header "x-koha-embed: biblio" --header "Content-Type: application/json" Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Andreas Roussos Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 9afc411a150ab5bdf9337d73e82b2ac39e851e91) Signed-off-by: Fridolin Somers (cherry picked from commit cf017af80c4ddfb7fbf7a31a3b6275a8b004fabd) Signed-off-by: Jacob O'Mara --- api/v1/swagger/paths/items.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1/swagger/paths/items.yaml b/api/v1/swagger/paths/items.yaml index b426b670f6..d4b0d8f820 100644 --- a/api/v1/swagger/paths/items.yaml +++ b/api/v1/swagger/paths/items.yaml @@ -21,6 +21,7 @@ type: string enum: - +strings + - biblio collectionFormat: csv - $ref: "../swagger.yaml#/parameters/match" - $ref: "../swagger.yaml#/parameters/order_by" -- 2.39.5