Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
Hello all!
We are attempting to use a dev key with scopes enabled everything is working as expected except for url:GET|/api/v1/courses/:course_id/students/submissions returning anything past the basic info.
We are using the following scopes on the developer key:
/auth/userinfo
url:GET|/api/v1/courses
url:GET|/api/v1/courses/:id
url:GET|/api/v1/courses/:course_id/users
url:GET|/api/v1/courses/:course_id/assignments url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/submissions url:GET|/api/v1/courses/:course_id/enrollments
url:GET|/api/v1/courses/:course_id/students/submissions
When we call the following URL with the scopes enabled all that is returned is pictured below
However, using the same URL and developer key with the scopes disabled we are getting everything we expect to see. Most importantly, rubric_assessment, submission_comments, assignment, visibility
We have attempted everything that we can think including turning on all GET scopes under Assignments and Submissions and recreating the token several times with the dev key in the state of where the scopes were enabled and disabled.
Any advice would be truly appreciated!!
According to the developer keys documentation, under the heading "Canvas API Includes", include parameters are always ignored for all requests using scoped keys.
Responses to requests made with a scoped access token do not support this functionality. When a request is made with a scoped token Canvas will ignore
include
andincludes
parameters.
To participate in the Instructure Community, you need to sign up or log in:
Sign In