Bugzilla – Attachment 133069 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.46 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-07 10:14:12 UTC
(
hide
)
Description:
Bug 29810: Document x-koha-embed header on orders endpoints
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-07 10:14:12 UTC
Size:
2.46 KB
patch
obsolete
>From 37420a455a688a020a5878217bcc4c88302eb44f 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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 cc8411d0ba..1d740858eb 100644 >--- a/api/v1/swagger/paths/acquisitions_orders.yaml >+++ b/api/v1/swagger/paths/acquisitions_orders.yaml >@@ -43,6 +43,28 @@ > - $ref: "../swagger.yaml#/parameters/q_body" > - $ref: "../swagger.yaml#/parameters/q_header" > - $ref: "../swagger.yaml#/parameters/request_id_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 >@@ -151,6 +173,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