content_update | R Documentation |
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()
.
content_update(content, ...)
content_update_access_type(content, access_type = c("all", "logged_in", "acl"))
content_update_owner(content, owner_guid)
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 |
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
An R6 content item
Other content functions:
content_delete()
,
content_item()
,
content_title()
,
create_random_name()
,
dashboard_url()
,
dashboard_url_chr()
,
delete_thumbnail()
,
delete_vanity_url()
,
deploy_repo()
,
get_bundles()
,
get_environment()
,
get_image()
,
get_job()
,
get_jobs()
,
get_thumbnail()
,
get_vanity_url()
,
git
,
has_thumbnail()
,
permissions
,
set_image_path()
,
set_run_as()
,
set_thumbnail()
,
set_vanity_url()
,
swap_vanity_url()
,
terminate_jobs()
,
verify_content_name()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.