Magidoc

updateTodosDates
Mutation

Bulk-updates start and due dates of todos in one project. Each todos item carries a todo id plus the new startDate and dueDate; both values are written exactly as given, so omitting one clears that date. Every id must be a todo of projectId that the caller is permitted to update (including the "only_my_work" restriction); a duplicate, unauthorized, or other-project id rejects the entire request with no changes.

Dependent (successor) todos are not rescheduled by this mutation, and unlike updateTodo it does not expand the project's date range; the project's late status is recalculated. Returns the todos that were actually updated.

Arguments

#

projectId

Non-null

todos

Non-null

Per-todo date changes; omitted dates are cleared.

Response

#

Returns [Todo ].

Example

#