Description Usage Arguments Details See Also Examples
A task may contain files.
1 2 3 4 5 | wndr_get_file(id = NULL, task_id = NULL, list_id = NULL)
wndr_create_file(task_id, filepath, local_created_at = NULL)
wndr_delete_file(id, revision)
|
id |
File ID |
task_id |
Task ID |
list_id |
List ID |
filepath |
Path to a local file you want to upload. |
local_created_at |
Date used to sort the files and comments in the right order |
revision |
Revision |
When you use wndr_get_file
, you have to specify either one of id
, task_id
, list_id
.
https://developer.wunderlist.com/documentation/endpoints/file
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# get files
l <- wndr_get_list()
wndr_get_file(list_id = l$id[1])
# attach a file to some task
t <- wndr_get_task(list_id = l$id[1])
f <- wndr_create_file(task_id = t$id[1], filepath = "/path/to/file")
# delete the file
wndr_delete_file(id = f$id, revision = f$revision)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.