tasks.tasks.favorite

Adds a task to the “Watching” list or removes it from that list.

Parameters

  • task_id POST

    Task ID.

  • favorite POST

    Flag denoting whether a task must be added (1) or removed (0) from the “Watching” list.

  • contact_id GET Optional

    ID of the user to whose “Watching” list a task must be added or from whose list it must be removed. The specified user must have access to that task. If not specified then the current user is taken into account.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

'ok' string.