Updates the article title, description or type. If any is not specified, it will remain unchanged.
fs_update(
article_id,
title = NA,
description = NA,
type = NA,
mine = TRUE,
session = fs_get_auth(),
debug = FALSE
)
the id number of the article
for the article (to replace original title)
of the article (replaces original designation)
one of: dataset, figure, media, poster, or paper (replaces original designation)
Set to TRUE
if it refers to an item on your own account
(optional) the authentication credentials from fs_auth
.
return httr PUT request visibly?
output of PUT request (invisibly)
Updates the title, description, and type of an article.
# NOT RUN {
fs_update(138, title = "New title")
# }
Run the code above in your browser using DataLab