cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fabiocunha
Community Participant

Assignment API returns an empty list even if the gradebook shows assignments

Jump to solution

I use the following API endpoint to get all assignments for a course

api/v1/courses/:course_id/assignments

It returns an empty list for me, but when I access the grade book from Canvas UI, I get a list of all assignments for all students. Why I receive an empty list as a response when I use the API?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
fabiocunha
Community Participant

I find the answer to my question. I was using a course id that does not have any assignments. Oh my god.

View solution in original post

1 Reply
fabiocunha
Community Participant

I find the answer to my question. I was using a course id that does not have any assignments. Oh my god.

View solution in original post