Bugzilla – Attachment 136124 Details for
Bug 28701
primary_contact_method not part of the REST API spec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28701 - Adding primary_contact_method to the REST API spec
Bug-28701---Adding-primarycontactmethod-to-the-RES.patch (text/plain), 1.51 KB, created by
Alexis Ripetti
on 2022-06-15 20:34:29 UTC
(
hide
)
Description:
Bug 28701 - Adding primary_contact_method to the REST API spec
Filename:
MIME Type:
Creator:
Alexis Ripetti
Created:
2022-06-15 20:34:29 UTC
Size:
1.51 KB
patch
obsolete
>From 9dbdcde9b11b01beabae18577ae9b9da9eb7999b Mon Sep 17 00:00:00 2001 >From: Alexis Ripetti <alexis.ripetti@inLibro.com> >Date: Wed, 15 Jun 2022 16:33:53 -0400 >Subject: [PATCH] Bug 28701 - Adding primary_contact_method to the REST API > spec > >--- > api/v1/swagger/definitions/patron.yaml | 5 +++++ > api/v1/swagger/paths/patrons.yaml | 5 +++++ > 2 files changed, 10 insertions(+) > >diff --git a/api/v1/swagger/definitions/patron.yaml b/api/v1/swagger/definitions/patron.yaml >index 256430ae6c..d0aa4486db 100644 >--- a/api/v1/swagger/definitions/patron.yaml >+++ b/api/v1/swagger/definitions/patron.yaml >@@ -359,6 +359,11 @@ properties: > - number > - "null" > description: Balance of the patron's account >+ primary_contact_method: >+ type: >+ - string >+ - "null" >+ description: patron's primary contact method > additionalProperties: false > required: > - surname >diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml >index 878f4b6105..0701d6a49a 100644 >--- a/api/v1/swagger/paths/patrons.yaml >+++ b/api/v1/swagger/paths/patrons.yaml >@@ -339,6 +339,11 @@ > description: Search on login_attempts > required: false > type: string >+ - name: primary_contact_method >+ in: query >+ description: Case insensitive search on primary_contact_method >+ required: false >+ type: String > - $ref: "../swagger.yaml#/parameters/match" > - $ref: "../swagger.yaml#/parameters/order_by" > - $ref: "../swagger.yaml#/parameters/page" >-- >2.25.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 28701
:
136124
|
143972
|
145715
|
145716