Summary: The REST API documentation for wiki pages is missing documentation for attribute todo_date as well as methods to set it
Steps to reproduce:
Create a page and assign it a todo date in the GUI.
GET the page via the API; an excerpt of the result will look like:
page_id = 1877176,
published = true,
title = "About ABC",
todo_date = "2022-03-04T13:29:59Z",
updated_at = "2022-07-17T01:58:18Z",
Cross-check with API pages doc — no mention of todo_date
Try to PUT the todo_date with same style of methods used to set an assignment due_date (say):
HTTP PUT REQUEST: https://<canvas URL>/api/v1/courses/73748/pages/1877176
JSON: {"wiki_page":{"published":true,"todo_date":"2022-07-25T18:00:00"}}
Expected behavior:
todo_date should be documented, and methods to change it should exist.
Actual behavior:
todo_date is undocumented and cannot be set using the API.
Additional notes:
Using the API to adjust deadlines/due dates for assignments/announcements/etc is very convenient; it would be great to be able to do the same with pages.
Summary: The REST API documentation for wiki pages is missing documentation for attribute
todo_date
as well as methods to set itSteps to reproduce:
todo_date
todo_date
with same style of methods used to set an assignmentdue_date
(say):Expected behavior:
todo_date
should be documented, and methods to change it should exist.Actual behavior:
todo_date
is undocumented and cannot be set using the API.Additional notes:
Using the API to adjust deadlines/due dates for assignments/announcements/etc is very convenient; it would be great to be able to do the same with pages.