<div dir="ltr">Hi everyone, I've submitted a patchset to bug 19784 [1]. This is my starting point for the umbrella bug (19774). Next endpoints to fix are /acquisitions/vendors, /cities, /holds and /illrequests. Those are easier IMHO.<div><br></div><div>On the /patrons one, I already changed</div><div>- borrowernumber -> patron_id</div><div>- branchcode -> library_id</div><div>- categorycode -> category_id</div><div><div><br></div><div>The needed code for this (or any) attribute rename is already done. The remaining work is mostly adding the mappings we would like to add, to the _to_model and _to_api functions.</div><div><br></div><div>I now need help from you on the parameter names (patrons have really misleading attribute names, and they don't match the UI most of the time). Please comment here, and preferably on the bug itself. If you contribute a patch for your proposed change, please add a test on the specific attribute on one of the GET tests too. We try to cover all the special cases with tests.</div><div><br></div><div>Ah, snake case was picked at some point, so 'cardnumber' could become 'card_number', for example.</div><div><br></div><div>Thanks for any input.</div><div><br></div><div>[1] <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19784">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19784</a></div></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Tomás Cohen Arazi</div><div style="color:rgb(117,117,117);font-family:"helvetica neue",helvetica,arial,sans-serif;font-size:12.8px">Theke Solutions (<a href="http://theke.io/">https://theke.io</a>)<br>✆ +54 9351 3513384<br>GPG: B2F3C15F</div></div></div>