Bug 34741 - API patrons missing some fields
Summary: API patrons missing some fields
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-07 23:29 UTC by Fridolin Somers
Modified: 2023-09-10 12:00 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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