Bugzilla – Attachment 132261 Details for
Bug 29810
Add embed options documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29810: Document x-koha-embed header on orders endpoints
Bug-29810-Document-x-koha-embed-header-on-orders-e.patch (text/plain), 2.38 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-03-25 19:44:45 UTC
(
hide
)
Description:
Bug 29810: Document x-koha-embed header on orders endpoints
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-03-25 19:44:45 UTC
Size:
2.38 KB
patch
obsolete
>From 0bfb6ef2f9f2fd9b85563017851bb8d1fbeb3f50 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 6 Jan 2022 13:27:15 +0000 >Subject: [PATCH] Bug 29810: Document x-koha-embed header on orders endpoints > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/paths/acquisitions_orders.yaml | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > >diff --git a/api/v1/swagger/paths/acquisitions_orders.yaml b/api/v1/swagger/paths/acquisitions_orders.yaml >index 46727236c9..cd20c454f4 100644 >--- a/api/v1/swagger/paths/acquisitions_orders.yaml >+++ b/api/v1/swagger/paths/acquisitions_orders.yaml >@@ -42,6 +42,28 @@ > - $ref: "../swagger.yaml#/parameters/q_param" > - $ref: "../swagger.yaml#/parameters/q_body" > - $ref: "../swagger.yaml#/parameters/q_header" >+ - name: x-koha-embed >+ in: header >+ required: false >+ description: Embed list sent as a request header >+ type: array >+ items: >+ type: string >+ enum: >+ - basket >+ - basket.basket_group >+ - basket.creator >+ - biblio >+ - biblio.active_orders+count >+ - biblio.holds+count >+ - biblio.items+count >+ - biblio.suggestions.suggester >+ - fund >+ - current_item_level_holds+count >+ - invoice >+ - items >+ - subscription >+ collectionFormat: csv > responses: > "200": > description: A list of orders >@@ -150,6 +172,28 @@ > summary: Get order > parameters: > - $ref: "../swagger.yaml#/parameters/order_id_pp" >+ - name: x-koha-embed >+ in: header >+ required: false >+ description: Embed list sent as a request header >+ type: array >+ items: >+ type: string >+ enum: >+ - basket >+ - basket.basket_group >+ - basket.creator >+ - biblio >+ - biblio.active_orders+count >+ - biblio.holds+count >+ - biblio.items+count >+ - biblio.suggestions.suggester >+ - fund >+ - current_item_level_holds+count >+ - invoice >+ - items >+ - subscription >+ collectionFormat: csv > produces: > - application/json > responses: >-- >2.35.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29810
:
129063
|
129064
|
129067
|
129068
|
129069
|
129070
|
129071
|
129072
|
129073
|
132131
|
132132
|
132133
|
132134
|
132135
|
132136
|
132137
|
132160
|
132161
|
132162
|
132163
|
132164
|
132165
|
132166
|
132167
|
132223
|
132224
|
132225
|
132226
|
132227
|
132228
|
132229
|
132230
|
132255
|
132256
|
132257
|
132258
|
132259
|
132260
|
132261
|
132262
|
132341
|
132342
|
132343
|
132344
|
132345
|
132346
|
132347
|
132348
|
133063
|
133064
|
133065
|
133066
|
133067
|
133068
|
133069
|
133070
|
133285