jsonapi
jsonapi copied to clipboard
🔁 jsonapi protocol implementation for Django.
example: http://33.33.33.32:8000/api/author/3,5?include=posts,posts.comments linked posts should have comments
Check them out: http://en.wikipedia.org/wiki/HTTP_403
Model user requires authentication, but it is possible to get it using ?include=user parameter. 
/home/vagrant/git/jsonapi/docs/jsonapi.rst:37: WARNING: autodoc: failed to import module u'jsonapi.resource'; the following exception was raised: Traceback (most recent call last): File "/home/vagrant/git/jsonapi/.env/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object **import**(self.modname) File "/home/vagrant/git/jsonapi/jsonapi/resource.py", line 7, in...
Resource.Meta.is_inherited is used for field definition during queries. Child model name should be used.
If there are two resources Parent and Child, and Parent model is parent for Child model, make sure that ChildResource has ParentResourceAuthenticators authenticators by default. It prevents security issues when...
For some reason django lowercases header name.
It makes query faster.