Skip to content

Patch/accounts api

Josh Smith requested to merge patch/accounts_api into custom/art_money

DF_Rest_Controller, Accounts API and Content List Updates

What I did

  • Added support for fully qualified table&field names in DF_Rest_Controller where method (from $_GET parameters).
  • Implemented support for using arbitrary models in users endpoint where filters.
  • Patched syntax errors in content-list plugin.
  • Updated file heading comments within bitauth_access_model.

Implications

Could potentially break filtering of current API wheres for the accounts API users endpoint.

Setup

None

How to test

Run raw api requests using fully qualified table & field names, and check results are as expected.

i.e. https://loc.artmoney.dev/api/v1/accounts/users?limit=25&enabled=1&offset=0&bitauth_groups.name=Editor.

Task: https://preview.gotasman.com/task/detail/41818

Merge request reports