[ARCHIVED] API submissions call omitting students
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our campus is attempting to systematically pull detailed quiz submission results by student out of canvas using the following API call:
However we've noticed that this Get returns only a fraction of the total submissions for this assignment. We can see these submissions when we navigate to the response details within the Canvas web portal. We can also see the scores of all the students using Canvas Data. But for some reason this api call only gives us a small sample of the total data.
Anyone else run into this issue? Any ideas how to solve it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you dealt with pagination? I don't see it in your URL and without it, Canvas will only return the first 10 responses.
The unspecified limit it mentions seems to be 100 for most API calls. If you have less than 100 students, you'll likely be okay, but there will be times where you will have to use pagination so it's a good thing to know about.
There are a several of threads in the Canvas Developers group that can help with pagination. Here are a couple.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.