Bugzilla – Attachment 193841 Details for
Bug 37829
Allow additional fields for bookings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37829: API specification changes
Bug-37829-API-specification-changes.patch (text/plain), 2.95 KB, created by
Thibaud Guillot (thibaud_g)
on 2026-02-25 10:41:08 UTC
(
hide
)
Description:
Bug 37829: API specification changes
Filename:
MIME Type:
Creator:
Thibaud Guillot (thibaud_g)
Created:
2026-02-25 10:41:08 UTC
Size:
2.95 KB
patch
obsolete
>From 45aa6856ade82c722873e494dac832f44ffdca48 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Thu, 10 Apr 2025 15:19:11 +0000 >Subject: [PATCH] Bug 37829: API specification changes > >--- > api/v1/swagger/definitions/booking.yaml | 6 ++++++ > api/v1/swagger/definitions/booking_patch.yaml | 6 ++++++ > api/v1/swagger/paths/biblios.yaml | 1 + > api/v1/swagger/paths/bookings.yaml | 1 + > api/v1/swagger/paths/extended_attribute_types.yaml | 1 + > 5 files changed, 15 insertions(+) > >diff --git a/api/v1/swagger/definitions/booking.yaml b/api/v1/swagger/definitions/booking.yaml >index 42f3b0ff8c3..f3796e70071 100644 >--- a/api/v1/swagger/definitions/booking.yaml >+++ b/api/v1/swagger/definitions/booking.yaml >@@ -24,6 +24,12 @@ properties: > description: Start date and time of this booking > format: date-time > type: string >+ extended_attributes: >+ description: Related additional field values >+ type: >+ - array >+ items: >+ $ref: extended_attribute_value.yaml > item_id: > description: Internal item identifier for specific item bookings > type: >diff --git a/api/v1/swagger/definitions/booking_patch.yaml b/api/v1/swagger/definitions/booking_patch.yaml >index c1d0fbe00c3..e2cdcf181a3 100644 >--- a/api/v1/swagger/definitions/booking_patch.yaml >+++ b/api/v1/swagger/definitions/booking_patch.yaml >@@ -22,6 +22,12 @@ properties: > description: Start date and time of this booking > format: date-time > type: string >+ extended_attributes: >+ description: Related additional field values >+ type: >+ - array >+ items: >+ $ref: extended_attribute_value.yaml > item_id: > description: Internal item identifier for specific item bookings > type: >diff --git a/api/v1/swagger/paths/biblios.yaml b/api/v1/swagger/paths/biblios.yaml >index 18120c5dd98..914bbf22378 100644 >--- a/api/v1/swagger/paths/biblios.yaml >+++ b/api/v1/swagger/paths/biblios.yaml >@@ -319,6 +319,7 @@ > - item > - patron > - pickup_library >+ - extended_attributes > collectionFormat: csv > consumes: > - application/json >diff --git a/api/v1/swagger/paths/bookings.yaml b/api/v1/swagger/paths/bookings.yaml >index 5a5e2d2d4d1..c164ea14356 100644 >--- a/api/v1/swagger/paths/bookings.yaml >+++ b/api/v1/swagger/paths/bookings.yaml >@@ -49,6 +49,7 @@ > - item.checkout > - patron > - pickup_library >+ - extended_attributes > collectionFormat: csv > produces: > - application/json >diff --git a/api/v1/swagger/paths/extended_attribute_types.yaml b/api/v1/swagger/paths/extended_attribute_types.yaml >index 2324519b6fd..dc4a76bfe02 100644 >--- a/api/v1/swagger/paths/extended_attribute_types.yaml >+++ b/api/v1/swagger/paths/extended_attribute_types.yaml >@@ -15,6 +15,7 @@ > type: string > enum: > - basket >+ - booking > - credit > - debit > - invoice >-- >2.39.5
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 37829
:
181034
|
181035
|
181036
|
181037
|
181038
|
181039
|
181040
|
181041
|
181042
|
181043
|
193769
|
193840
| 193841 |
193842
|
193843
|
193844
|
193845
|
193846
|
193847
|
193848
|
193849