Bugzilla – Attachment 175147 Details for
Bug 38262
Add additional fields to Vendors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38262: Update API specs
Bug-38262-Update-API-specs.patch (text/plain), 2.51 KB, created by
Matt Blenkinsop
on 2024-12-04 10:18:10 UTC
(
hide
)
Description:
Bug 38262: Update API specs
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-12-04 10:18:10 UTC
Size:
2.51 KB
patch
obsolete
>From ba9643ddffcc9c3a0d28fd17ac2f1534c1d61e5e Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 29 Oct 2024 17:11:34 +0000 >Subject: [PATCH] Bug 38262: Update API specs > >--- > api/v1/swagger/definitions/vendor.yaml | 10 ++++++++++ > api/v1/swagger/paths/acquisitions_vendors.yaml | 4 ++++ > api/v1/swagger/paths/extended_attribute_types.yaml | 6 +++++- > 3 files changed, 19 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/definitions/vendor.yaml b/api/v1/swagger/definitions/vendor.yaml >index 3132bca44b9..51de6cbce0f 100644 >--- a/api/v1/swagger/definitions/vendor.yaml >+++ b/api/v1/swagger/definitions/vendor.yaml >@@ -146,6 +146,16 @@ properties: > contracts: > type: array > description: List of contracts >+ extended_attributes: >+ description: Related additional field values >+ type: >+ - array >+ items: >+ $ref: extended_attribute_value.yaml >+ _strings: >+ type: >+ - object >+ - "null" > additionalProperties: false > required: > - name >diff --git a/api/v1/swagger/paths/acquisitions_vendors.yaml b/api/v1/swagger/paths/acquisitions_vendors.yaml >index 4577db62dc7..836c4da66a1 100644 >--- a/api/v1/swagger/paths/acquisitions_vendors.yaml >+++ b/api/v1/swagger/paths/acquisitions_vendors.yaml >@@ -37,6 +37,8 @@ > - aliases > - baskets > - subscriptions+count >+ - extended_attributes >+ - +strings > collectionFormat: csv > responses: > "200": >@@ -153,6 +155,8 @@ > - interfaces > - contacts > - contracts >+ - extended_attributes >+ - +strings > 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 eba7aec9017..f15172d1849 100644 >--- a/api/v1/swagger/paths/extended_attribute_types.yaml >+++ b/api/v1/swagger/paths/extended_attribute_types.yaml >@@ -23,6 +23,7 @@ > - package > - order > - subscription >+ - vendor > - $ref: "../swagger.yaml#/parameters/match" > - $ref: "../swagger.yaml#/parameters/order_by" > - $ref: "../swagger.yaml#/parameters/page" >@@ -59,4 +60,7 @@ > $ref: "../swagger.yaml#/definitions/error" > x-koha-authorization: > permissions: >- parameters: manage_additional_fields >+ - parameters: >+ - manage_additional_fields >+ - acquisition: >+ - vendors_manage >-- >2.39.3 (Apple Git-146)
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 38262
:
175147
|
175148
|
175149
|
175712
|
175713
|
175714