GraphQL is a non-REST API approach where one endpoint accepts a JSON-like document describing the requested query. Clients choose the data and operations they need through a schema, avoiding multiple URL endpoints and HTTP methods that act as verbs. section 11.3
A Django GraphQL interface typically combines:
- Graphene schemas that define returned data and map it to the ORM. section 11.3
- Query classes that define available actions, including operations corresponding to CRUD. section 11.3
- A GraphQLView registered as the single API endpoint. section 11.3
Selective responses
A client can request an object while limiting the returned data to selected fields, much like limiting an SQL response to chosen columns. This flexibility can reduce bandwidth usage. section 11.3





