Course To Do items for a specific user

Jump to solution
wjlane
Community Participant

I have been working with  @sadenniston  to create a user search page using the API. The results page displays a list of users courses with a link into the course in Canvas.  An additional request is to now display a students To Do list for a course or to link to the to do list.  Looking through the Course api I see an entry for Course ToDo items but it only seems to apply to the current user and doesn't have an option to request a specific users To Do list.  Am I missing something here or is there somewhere else in the API I should be looking or this is the extent of support for ToDo lists?

Labels (1)
1 Solution
tyler_clair
Community Champion

Hi Bill,

I don't know if you got an answer yet but if you form your API call like so: 

https://{school}.instructure.com/api/v1/users/self/todo?as_user_id={user_id}‍

it will return the todo items. This method also works for the Upcoming Assignments and Calendar Events API endpoints.

View solution in original post