In Canvas LMS API documentation, we are able to find only this GraphQL API - Canvas LMS REST API Documentation (instructure.com) page for GraphQL and it provides details about GraphQL, but not much related to Canvas LMS entities.Can anyone please provide the complete documentation for other entities related to GraphQL along with the documentation containing schema endpoint in Canvas LMS?
@ManojBhosale
The GraphQL documentation does not exist in a nice, well-structured, web page like the REST API is. Because GraphQL allows you to pull information from many objects with one query, it would be difficult to organize like the REST API documentation does.
You could look at the source code for Canvas' implementation of GraphQL, but it may be overwhelming. For instance, if you look at the assignment_type file, you can see things like post_to_sis that is Boolean, has a description of "present if Sync Grades to SIS feature is enabled" and can be null. But there are a lot of other fields (such as allow_google_docs_submission) that have no description at all.
What I do is add /graphiql [note the extra i between graph and ql] to the end of your main Canvas instance's URL. This brings up an interactive GraphQL explorer that allows you to create queries and mutations. The right side has a documentation explorer. If you go to "assignment" and click on "postToSis" or "allowGoogleDocsSubmission" (underscores have been turned into camelCase), it adds it to your query. If you want to see the documentation for any item in your query, you can hover over it and then click the link to bring it up in the documentation panel on the right.
Using the interactive interface is a lot easier than trying to understand the source files. The documentation on each property is either short or non-existent and there aren't examples of how to use it baked into the documentation like with the REST API.
Canvas Data Services sent out an alert that a course was concluded (because the course was concluded) and the status of each user in the UI is set to complete, however, the enrollments API endpoint shows the status of each user in the course as active. Is this a common issue? Have I misinterpreted how the individual…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…
I have a new React + Flask webapp. It has its own login for users to start using the app. I have added this as an external tool in Canvas. What I want initially is to see of canvas users can start using the webapp without having to login if they click on the external tool link in a canvas course. I have 2 methods…