Closed sveetch closed 8 months ago
At least to start a read only API although i can be a little risky to structure API code around read only, since write operations may sometime requires some changes.
Also there is https://github.com/tfranzel/drf-spectacular which bring OpenAPI schema in more modern way that Swagger
Detail payload may at least include related object listing like the views.
It has been started in branch https://github.com/emencia/django-blog-lotus/tree/try_drf_addition, it's pretty basic, properly working and without test yet
Finally after review for django-filter, currently i don't see any worth value to implement it for now. We will wait for a real use case in future after the first API release but removing it from todo list for now.
Temporary branch for API beta is finished and delivered into v0.7.0 branch https://github.com/emencia/django-blog-lotus/tree/v0.7.0 to continue
This should be optional, enabled only when DRF is available. Add an extra requirement "api" to install DRF.
We aim for a read only API first. The write capacity may come in a future another issue.
This will need: