Package

Package documentation

connectapi connectapi-package

connectapi: Utilities for Interacting with the 'Posit Connect' Server API

Audit

Functions to audit vanity URLs, R versions, etc.

audit_access_open()

Audit Access Controls

audit_r_versions()

Audit R Versions

audit_runas()

Audit Run As Settings

audit_vanity_urls()

Audit Vanity URLs

get_audit_logs()

Get Audit Logs from Posit Connect Server

Deployment

Functions to work with deployments

bundle_dir()

Define a bundle from a Directory

bundle_path()

Define a bundle from a path (a path directly to a tar.gz file)

bundle_static()

Define a bundle from a static file (or files)

Bundle

Bundle

download_bundle()

Download a Bundle from Deployed Connect Content

deploy() deploy_current()

Deploy a bundle

poll_task()

Poll Task

Content

Functions to work with content

content_delete()

Delete Content

content_item()

Get Content Item

content_list_by_tag()

Content List

content_list_with_permissions() content_list_guid_has_access()

Get Content List with Permissions

content_title()

Get Content Title

content_update() content_update_access_type() content_update_owner()

Update Content

get_content()

Get information about content on the Posit Connect server

get_content_old()

Get information about content on the Posit Connect server

content_add_user() content_add_group() content_delete_user() content_delete_group() get_user_permission() get_my_permission() get_group_permission() get_content_permissions()

Content permissions

get_tags() get_tag_data() create_tag() create_tag_tree() delete_tag() get_content_tags() set_content_tag_tree() set_content_tags() filter_tag_tree_id() filter_tag_tree_chr()

Get all Tags on the server

verify_content_name()

Verify Content Name

get_variant_schedule()

Get a Variant Schedule

get_variant_renderings() variant_render()

Render a Variant

get_variants() get_variant_default() get_variant()

Get Variant

get_image() delete_image() has_image()

Get the Content Image

set_image_path() set_image_url() set_image_webshot()

Set the Content Image

audit_vanity_urls()

Audit Vanity URLs

delete_vanity_url()

Delete the Vanity URL

get_vanity_url()

Get the Vanity URL

set_vanity_url()

Set the Vanity URL

swap_vanity_url()

Swap the Vanity URL

acl_add_user() acl_add_group() acl_add_collaborator() acl_add_viewer() acl_remove_user() acl_add_self() acl_remove_self() acl_remove_group()

ACL Add Users or Groups

get_acl_user() get_acl_group() get_acl() get_acl_user_role() get_acl_group_role()

Get ACL Details

set_schedule() set_schedule_minute() set_schedule_hour() set_schedule_day() set_schedule_weekday() set_schedule_week() set_schedule_dayofweek() set_schedule_semimonth() set_schedule_dayofmonth() set_schedule_dayweekofmonth() set_schedule_year() set_schedule_remove() schedule_describe()

Set a Schedule

set_run_as()

Set RunAs User

Users and groups

Users and groups

acl_add_user() acl_add_group() acl_add_collaborator() acl_add_viewer() acl_remove_user() acl_add_self() acl_remove_self() acl_remove_group()

ACL Add Users or Groups

get_acl_user() get_acl_group() get_acl() get_acl_user_role() get_acl_group_role()

Get ACL Details

get_users()

Get user information from the Posit Connect server

content_add_user() content_add_group() content_delete_user() content_delete_group() get_user_permission() get_my_permission() get_group_permission() get_content_permissions()

Content permissions

user_guid_from_username()

User

users_create_remote()

Create a Remote User

get_group_members()

Get users within a specific group

get_groups()

Get group information from the Posit Connect server

groups_create_remote()

Create a Remote Group

shiny

Shiny functions

get_usage_shiny()

Get usage information for deployed shiny applications

git

Git repository functions

deploy_repo() deploy_repo_enable() deploy_repo_update()

Deploy a Git Repository

repo_check_account() repo_check_branches() repo_check_branches_ref() repo_check_manifest_dirs()

Git Repository Helpers

Reporting

Helpers to “get” data out of Connect

get_environment() set_environment_new() set_environment_remove() set_environment_all()

Manage Environment Variables

get_acl_user() get_acl_group() get_acl() get_acl_user_role() get_acl_group_role()

Get ACL Details

get_audit_logs()

Get Audit Logs from Posit Connect Server

get_bundles() delete_bundle()

Get Bundles

get_content()

Get information about content on the Posit Connect server

get_content_old()

Get information about content on the Posit Connect server

get_group_members()

Get users within a specific group

get_groups()

Get group information from the Posit Connect server

get_image() delete_image() has_image()

Get the Content Image

get_procs()

Get Real-Time Process Data

get_timezones()

Get TimeZones

get_usage_shiny()

Get usage information for deployed shiny applications

get_usage_static()

Get usage information from deployed static content

get_users()

Get user information from the Posit Connect server

get_vanity_url()

Get the Vanity URL

get_variant_schedule()

Get a Variant Schedule

get_jobs() get_job()

Get Jobs

content_add_user() content_add_group() content_delete_user() content_delete_group() get_user_permission() get_my_permission() get_group_permission() get_content_permissions()

Content permissions

get_variant_renderings() variant_render()

Render a Variant

get_tags() get_tag_data() create_tag() create_tag_tree() delete_tag() get_content_tags() set_content_tag_tree() set_content_tags() filter_tag_tree_id() filter_tag_tree_chr()

Get all Tags on the server

get_variants() get_variant_default() get_variant()

Get Variant

Other

Oher functions

promote()

Promote content from one Connect server to another

cache_apps()

Get information on all apps for a server

connect()

Create a connection to Posit Connect

tbl_connect()

Connect Tibble

page_cursor() page_offset()

Paging

browse_solo() browse_dashboard() browse_api_docs() browse_connect()

Browse

create_random_name()

Create Random Name

dashboard_url()

Build a Dashboard URL from a Content Item

dashboard_url_chr()

Build a Dashboard URL from Character Vectors

vec_cast.fs_bytes()

Cast to fs_bytes

R6 classes

Classes representing connect, users, etc.

PositConnect Connect

Class representing a Connect API client

Bundle

Bundle

Task

Task

ContentTask

ContentTask

Variant

Variant

VariantTask

VariantTask

VariantSchedule

VariantSchedule

Vanity

Vanity

Content

Content

Environment

Environment