CTPUG/wafer

And Django Restforms API to the core models.

Opened this issue · 3 comments

We'd like to make it possible for other software to interact with Wafer's core modules. This issue is for adding basic Django Restforms API support.

Future PRs will need to address:

  • Cleaning up permissions (mostly just checking that the permissions we have in place make sense in the context of access via the API)
  • Supporting the new key-value store.
drnlm commented

With #200 merged, this is largely done.

We should look at the integration of the kv-pairs work and the REST api before releasing 0.4, though.

drnlm commented

Basic support for kv-pairs has been added with #235 , although there is scope for improvement.

The entire API still needs documentation.

I'd appreciate someone sanity checking the current permissions, especially around the kv stuff. We may also want to limit the kv's shown on other objects to those in the viewers group, as for the kv api, to prevent undue information leakage.

#547 added an API for tickets and ticket types.