Skip to content

catallog/djangorestframework-queryfields

 
 

Repository files navigation

Django REST framework QueryFields

travis coveralls pypi womm

Allows clients to control which fields will be sent in the API response. Fields are specified in the query, e.g.

# You want a list of users but you're just interested in the fields "id" and "username":
GET /users/?fields=id,username

# You want to see every field except "id" for the specific user tom:
GET /users/tom/?fields!=id

Documentation is hosted on Read The Docs.

About

Allows clients to control which fields will be sent in the API response

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%