tasks

Edit a recurring master's rule (materialized model).

For a recurring master whose recurrence_model is materialized (TIPO A). recurrence_start_date is stored as sent; omitted or null keeps the current start (never today); the legacy alias due_date counts only when it carries a date. A new start, frequency or days retires the occurrences in scope — scope: "future" the future ones, scope: "all" every one — and creates the new window; a shortened end removes the occurrences after it; a title / description / priority change creates and trashes nothing and updates the occurrences in scope in place. A rule change writes a recurrence_rule_changed entry in the series' history (AGF-379). A non-recurring task or a reminder_only master is refused with 400 invalid_request. As on the web, only the series' owner changes its rule: a teammate's series the caller can see is 403 forbidden. MCP sibling: tasks_recurrence_update_rule.

patch/tasks/{id}/recurrence/rule

Request

  • Base URL: https://restivity.ai/api/v1
  • URL: https://restivity.ai/api/v1/tasks/{id}/recurrence/rule
  • Auth: OAuth 2 (authorization code, authorization URL https://restivity.ai/oauth/authorize, token URL https://restivity.ai/api/oauth/token, scopes: tasks:write)

Path parameters

idstring uuid required

Unique Task identifier.

Request body

scope'future' | 'all' required

Response

Counts of the children soft-deleted, re-materialised and preserved.

successboolean required
soft_deleted_countinteger required
rematerialised_countinteger required
preserved_countinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.