Bug 34741

Summary: API patrons missing some fields
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: REST APIAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: mathsabypro, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Fridolin Somers 2023-09-07 23:29:08 UTC
In api/v1/swagger/definitions/patron.yaml are defined patron fields.

api/v1/swagger/paths/patrons.yaml defines fields that can be used as filter.

There are some fields missing :
  middle_name
  pronouns
  date_renewed
  privacy_guarantor_fines
  overdrive_auth_token
  anonymized

Patron definition also contains those but I'm not sure they can be added as filter :
  extended_attributes
  checkouts_count
  overdues_count
  account_balance
  library