Tick or untick a to-do

Changed on

Edits the to-do's document: only the item's checkbox changes, saved as a new version of the document (in its version history), by the same rules as the editor (its owner or a member of its workspace). 409 todo_changed when the item is no longer in the document.

patch/library/todos/{id}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/library/todos/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

To-do id from the list.

Request body

doneboolean required

Response

todo as listed, and revision, the document's new version.

object required

Changes