GraphQL
Last updated
Was this helpful?
Canvas exposes a GraphQL API at /api/graphql. Unlike the REST API, GraphQL has a single endpoint, so granting the GraphQL scope to an access token allows it to issue any query or mutation the authenticated user is otherwise permitted to perform.
See the GraphQL documentation for details on the schema and how to build queries.
POST /api/graphqlScope: url:POST|/api/graphql
Execute a GraphQL query or mutation against the Canvas GraphQL schema.
query
string
The GraphQL query or mutation to execute.
operationName
string
The name of the operation to run when the query document defines more than one operation.
variables
Hash
Values for any variables referenced by the query.
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated
Was this helpful?
Was this helpful?