]> git.ipfire.org Git - thirdparty/patchwork.git/commit
REST: Add Projects to the API
authorAndy Doan <andy.doan@linaro.org>
Thu, 16 Jun 2016 21:13:18 +0000 (16:13 -0500)
committerStephen Finucane <stephen.finucane@intel.com>
Mon, 27 Jun 2016 17:19:54 +0000 (18:19 +0100)
commitee15585ed48e67dc584bfbc8f1af12225abdfd44
tree0731016077bd44011e93db4cc2354914f50ef9c9
parent92b6e6a39595841782b967e34e9b3bdebefbf1ec
REST: Add Projects to the API

This exports projects via the REST API.

Security Constraints:
 * Anyone (logged in or not) can read all objects.
 * No one can create/delete objects.
 * Project maintainers are allowed to update (ie "patch"
   attributes)

Signed-off-by: Andy Doan <andy.doan@linaro.org>
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Inspired-by: Damien Lespiau <damien.lespiau@intel.com>
patchwork/rest_serializers.py [new file with mode: 0644]
patchwork/settings/base.py
patchwork/tests/test_rest_api.py [new file with mode: 0644]
patchwork/urls.py
patchwork/views/rest_api.py