Anyone figured out how to set a page to do date through the API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Last Fall Canvas added the ability to set a date on pages so that they appear in the student to do list:
Unfortunately, there is no information about this functionality available in the Pages API.
I can view that date using the List pages or Show page API
I have tried the typical Update/create page api pattern for updating page information by passing wiki_page[todo_date] but that doesn't appear to do anything.
Anyone worked with this yet, or any of the awesome Canvas Engineers have any information on how to set this date through the API?
Thanks fo any insights!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try: student_todo_at instead of todo_at
Here's a screenshot of what Canvas sends when it does it (from the network tab on the developer tools)
Canvas does use the API to update this, with a PUT method.