Change a task
update_taskChange a task: rename, move to another date, set or clear the time, mark done or not done, star, set the sphere or description, set or remove the reminder (remind_minutes_before, null removes it), set, change or stop the repeat. Send only what changes. Repeating tasks are habits with statistics: when moving several tasks ("move everything to tomorrow", "lighten my day") move only one-off tasks; move a repeating task only when the user names it, and only to a day its habit does not have yet (a daily habit already has tomorrow, so leave it and tell the user).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD | |
| done | No | ||
| note | No | One line every member of a shared sphere sees under the title: on the person's own task, or alone on a task of a sphere where they are responsible. null clears it. | |
| time | No | 24h HH:MM, empty string removes the time | |
| title | No | ||
| repeat | No | Repeat rule: daily, weekdays, weekends, weekly (same weekday), monthly, yearly. Days are created 60 days ahead, each one a task of its own. Set on a day in the middle of a series, the new rule starts from that day and earlier days keep the old one. null stops the repeat: open days after today go, done days stay. | |
| sphere | No | Sphere name or id, empty string removes it | |
| starred | No | ||
| task_id | Yes | ||
| description | No | ||
| remind_minutes_before | No | Remind this many minutes before the task's time: 5, 15, 30, 60, 120 (2 hours), 1440 (1 day) or 10080 (1 week). Only for a task with a time. null removes it. On a repeating task it changes this day only. |