add_bookmark.RdAdd a bookmark to user collection.
add_bookmark( api_token = Sys.getenv("API_TOKEN"), url, title, extended = NULL, tags = NULL, date = NULL, replace = TRUE, shared = TRUE, toread = FALSE )
| api_token | (chr) api auth token. |
|---|---|
| url | (chr) Url to add. |
| title | (chr) Title of the bookmark. |
| extended | (chr) Description of the item. |
| tags | (chr vector) List of tags, up to 100 tags. |
| date | (date) Creation date for the bookmark, to be formatted as 2020-02-23T12:32:45Z. |
| replace | (bool) Replace an existing bookmark. Throws an error if set to false. |
| shared | (bool) Make the bookmark public. |
| toread | (bool) Flags the bookmark as unread. Default is FALSE. |
TRUE if successful, error message otherwise.