| content_update {connectapi} | R Documentation |
Update Content
Description
Update settings for a content item. For a list of all settings, see the
latest documentation
or the documentation for your server via connectapi::browse_api_docs().
Usage
content_update(content, ...)
content_update_access_type(content, access_type = c("all", "logged_in", "acl"))
content_update_owner(content, owner_guid)
Arguments
content |
An R6 content item |
... |
Settings up update that are passed along to Posit Connect |
access_type |
One of "all", "logged_in", or "acl" |
owner_guid |
The GUID of a user who is a publisher, so that they can become the new owner of the content |
Details
Popular selections are content_update(access_type="all"),
content_update(access_type="logged_in") or
content_update(access_type="acl"), process settings, title, description,
etc.
-
content_update_access_type()is a helper to make it easier to change access_type -
content_update_owner()is a helper to make it easier to change owner
Value
An R6 content item
See Also
Other content functions:
content_delete(),
content_item(),
content_title(),
create_random_name(),
dashboard_url(),
dashboard_url_chr(),
delete_vanity_url(),
deploy_repo(),
get_bundles(),
get_environment(),
get_image(),
get_jobs(),
get_vanity_url(),
git,
permissions,
set_image_path(),
set_run_as(),
set_vanity_url(),
swap_vanity_url(),
verify_content_name()