Time to expose series via the REST API. As you can tell, this series actually covers a lot more work than pure series work. Most of this is based off of discussions I had with Andy Doan regarding making the REST API code a little easier to maintain. This does result in some changes to the API, but seeing as we don't actually pledge to support Patchwork from master and the API isn't in a release (yet!), I think this is an acceptable situation.
Stephen Finucane (13): REST: Create 'api' directory REST: Remove '_url' suffixes REST: Explicitly define fields REST: Make use of the 'source' property REST: Resolve performance issues with tags REST: Stop using ViewSets REST: Make 'Patch.state' editable REST: Make 'User.first_name', 'last_name' editable tests: Rework REST API tests REST: Add id field to all endpoints REST: Add maintainers to '/projects' REST: Add '/series' endpoint docs: Update swagger definition docs/api.yaml | 186 +++++++++++------ patchwork/api/__init__.py | 79 ++++++++ patchwork/api/check.py | 111 ++++++++++ patchwork/api/cover.py | 77 +++++++ patchwork/api/index.py | 36 ++++ patchwork/api/patch.py | 130 ++++++++++++ patchwork/api/person.py | 55 +++++ patchwork/api/project.py | 79 ++++++++ patchwork/api/series.py | 60 ++++++ patchwork/api/user.py | 65 ++++++ patchwork/models.py | 13 +- patchwork/rest_serializers.py | 144 ------------- patchwork/settings/base.py | 5 +- patchwork/tests/test_rest_api.py | 426 ++++++++++++++++++++++++--------------- patchwork/urls.py | 63 +++++- patchwork/views/rest_api.py | 175 ---------------- 16 files changed, 1157 insertions(+), 547 deletions(-) create mode 100644 patchwork/api/__init__.py create mode 100644 patchwork/api/check.py create mode 100644 patchwork/api/cover.py create mode 100644 patchwork/api/index.py create mode 100644 patchwork/api/patch.py create mode 100644 patchwork/api/person.py create mode 100644 patchwork/api/project.py create mode 100644 patchwork/api/series.py create mode 100644 patchwork/api/user.py delete mode 100644 patchwork/rest_serializers.py delete mode 100644 patchwork/views/rest_api.py -- 2.7.4 _______________________________________________ Patchwork mailing list Patchwork@lists.ozlabs.org https://lists.ozlabs.org/listinfo/patchwork