Community

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TejasMLJ
New Member

Course todo list for current user

Hi Team,

My Canvas is displaying three itmes in todo list but while calling the course todo api for current user it showing only one item in response why ? the same use can see in canvas three items in todo list .

GET /api/v1/courses/:course_id/todo  this is the api I am using to get todo list.

Scope: url:GET|/api/v1/courses/:course_id/todo

Returns the current user's course-specific todo items.

 

0 Kudos
2 Replies
ColtonSwapp
Instructure
Instructure

Hello @TejasMLJ 

We might need more information on this. 

I was able to find this call, which will show a paginated list of the current users list of To Do Items. 

GET /api/v1/users/self/todo

 

HERE is a link to the API Documentation I found on that.

Was this the call you were trying to make instead? 

TejasMLJ
New Member

Hi @ColtonSwapp ,

Just wanted list todo list of user for particular course  currently in my course for user id 123 i can see these todo list 

To-do