Bug 28701

Summary: primary_contact_method not part of the REST API spec
Product: Koha Reporter: Jonathan Druart <jonathan.druart+koha>
Component: REST APIAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: alexis.ripetti, noemie.labine
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 11879    
Bug Blocks:    
Attachments: Bug 28701 - Adding primary_contact_method to the REST API spec

Description Jonathan Druart 2021-07-12 13:10:27 UTC
Bug 11879 added borrowers.primary_contact_method but not the REST API spec changes.
Comment 1 NoƩmie Labine 2022-05-16 19:43:49 UTC
Comment 2 Alexis Ripetti 2022-06-15 20:34:29 UTC
Created attachment 136124 [details] [review]
Bug 28701 - Adding primary_contact_method to the REST API spec
Comment 3 Alexis Ripetti 2022-06-15 20:50:06 UTC
I tried to test this patch but my master cannot access the API because of modules dependencies.
I test this patch in 21.05 and it works.
If anyone wants to try, you just need to be connected in the OPAC and to call a endpoint involving patron. Like `/api/v1/patrons`. You may need to check your permissions.