After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
We are using Canvas API to retrieve some courses, quizzes, modules, assignments and gradebook etc.
For instance,
use API -> https://newhaven.instructure.com/api/v1/courses/25238/assignments to get all assignments of course 25238
use API -> https://newhaven.instructure.com/api/v1/accounts/self/courses/25238 to get course 25238
use APi -> https://newhaven.instructure.com/api/v1/courses/25238/assignments/459831/submissions to get all submissions of assignments 459831 on course 25238
and so one...
I am not quite sure what or where the "dataset" that those API actually point to (CD1 or CD2).
Since Canvas Data 1 will be shutdown by December 31, 2023, Can we still be able to use the above API to get the data as usual ? If not then how can we get the same information as above on CD2 ? new API ? new token ?
Thanks for any help
Rose Sun
Solved! Go to Solution.
Canvas API and Canvas Data are 2 separate services. When you make a request to an API endpoint, you are interacting with Canvas LMS directly, and the data that returns is up-to-date.
While Canvas Data is good for analytics (E.g. get data site-wide), data from Canvas Data 2 has a latency of 2 hours.
You can get the same data through Canvas Data, once you loaded the data to a database you can run different queries to pull the data that you need.
Feel free to send me a PM if you need help setting up Canvas Data 2.
Canvas API and Canvas Data are 2 separate services. When you make a request to an API endpoint, you are interacting with Canvas LMS directly, and the data that returns is up-to-date.
While Canvas Data is good for analytics (E.g. get data site-wide), data from Canvas Data 2 has a latency of 2 hours.
You can get the same data through Canvas Data, once you loaded the data to a database you can run different queries to pull the data that you need.
Feel free to send me a PM if you need help setting up Canvas Data 2.
Hi, Jerry,
Thank you so much for your prompt response and your answer clear all my confusion here.
I have tried to set up the client id/secret and use postman to get an JWT but the response is 403k "Forbidden; invalid authentication data". I think it maybe because our school UNH did not have Canvas Data 2 setup yet so far. correct ?
I think CD2 may be a great opportunity for us to establish our "LMS warehouse" in the future. I will let my boss know about this in no time.
Thanks, Rose
You will need to create a token key to access CD2 here: https://identity.instructure.com/login then either pull data through API or CLI tool.
You might need to contact your CSM to enable Canvas Data 2 for your instance.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in