tasks: Modify tasks on the todoist list

tasksR Documentation

Modify tasks on the todoist list

Description

Only one of the 'due_*' can be used at the same time (except 'due_lang').

Usage

task_get_all(project_id = NULL, label_id = NULL, filter = NULL,
  lang = NULL, token = use_token())

task_get_by_id(id, token = use_token())

task_add(content = NULL, project_id = NULL, parent = NULL,
  order = NULL, label_ids = NULL, priority = NULL,
  due_string = NULL, due_date = NULL, due_datetime = NULL,
  due_lang = NULL, token = use_token())

task_update_by_id(id, content = NULL, label_ids = NULL,
  priority = NULL, due_string = NULL, due_date = NULL,
  due_datetime = NULL, due_lang = NULL, token = use_token())

task_close(id, token = use_token())

task_reopen(id, token = use_token())

task_delete(id, token = use_token())

Arguments

project_id

Task project id. If not set, task is put to user's inbox.

content

Task content.

parent

Parent task id.

order

Non-zero integer value to sort tasks under the same parent.

label_ids

A vector of strings. Ids of labels associated with the task.

priority

An integer ranging from priority from 1 (normal) to 4 (urgent)

due_string

Human defined task due date (e.g. "next Monday", "Tomorrow"). Value is set using local (not UTC) tie.

due_date

Specific date in YYYY-MM-DD format relative to user's timezone

due_datetime

Specific data and time in RFC3339 format in UTC

due_lang

2-letter code specifying language in case 'due_string' is not written in English.


karthik/rtodoist documentation built on Jan. 10, 2023, 10:06 p.m.