Description Usage Arguments See Also Examples
Subtasks are children of tasks.
1 2 3 4 5 6 7 8 | wndr_get_subtask(id = NULL, task_id = NULL, list_id = NULL,
completed = NULL)
wndr_create_subtask(task_id, title, completed = NULL)
wndr_update_subtask(id, revision, title = NULL, completed = NULL)
wndr_delete_subtask(id, revision)
|
id |
Subtask ID |
task_id |
Task ID |
list_id |
List ID |
completed |
Whether the subtask is completed or not |
title |
Subtask title |
revision |
Revision |
https://developer.wunderlist.com/documentation/endpoints/subtask
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# get subtasks
l <- wndr_get_list()
s <- wndr_get_subtask(list_id = l$id[1])
# create a subtask
t <- wndr_get_task(list_id = l$id[1])
s <- wndr_create_subtask(task_id = t$id[1], title = "test")
# update the subtask
s <- wndr_update_subtask(id = s$id, revision = s$revision, completed = TRUE)
# Delete the subtask
wndr_delete_subtask(id = s$id, revision = s$revision)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.