AnsweredAssumed Answered

Developer Key Student Submission Scope

Question asked by Kyle Richardson on Mar 20, 2019

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

https://XXXX/api/v1/courses/7/students/submissions?per_page=1000&student_ids[]=all&include[]=rubric_assessment&include[]=submission_comments&include[]=assignment&include[]=visibility&assignment_ids[]=146&assignment_ids[]=147&assignment_ids[]=148&assignment_ids[]=151&assignment_ids[]=149&assignment_ids[]=152&assignment_ids[]=153&assignment_ids[]=154&assignment_ids[]=150&access_token=XXXX 

 

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!! 

Outcomes