Class representing a Connect API client
Class representing a Connect API client
client <- Connect$new(server = 'connect.example.com',
apiKey = 'mysecretkey')
client$get_apps()
client$get_tags()
get_connect()Connect$get_connect()
new()Connect$new(server, api_key)
httr_config()Connect$httr_config(...)
print()Connect$print(...)
raise_error()Connect$raise_error(res)
add_auth()Connect$add_auth()
GET()Connect$GET(path, writer = httr::write_memory(), parser = "parsed", ...)
GET_RESULT()Connect$GET_RESULT(path, writer = httr::write_memory(), ...)
GET_URL()Connect$GET_URL(url, writer = httr::write_memory(), parser = "parsed", ...)
GET_RESULT_URL()Connect$GET_RESULT_URL(url, writer = httr::write_memory(), ...)
PUT()Connect$PUT(path, body, encode = "json", ..., .empty_object = TRUE)
HEAD()Connect$HEAD(path, ...)
DELETE()Connect$DELETE(path, ...)
PATCH()Connect$PATCH(
path,
body,
encode = "json",
prefix = "/__api__/",
...,
.empty_object = TRUE
)
POST()Connect$POST(
path,
body,
encode = "json",
prefix = "/__api__/",
...,
.empty_object = TRUE
)
me()Connect$me()
get_dashboard_url()Connect$get_dashboard_url()
get_tags()Connect$get_tags(use_cache = FALSE)
get_tag_id()Connect$get_tag_id(tagname)
get_tag_tree()Connect$get_tag_tree()
get_tag_tree_old()Connect$get_tag_tree_old()
tag_create_safe()Connect$tag_create_safe(name, parent_id = NULL)
tag_create()Connect$tag_create(name, parent_id = NULL)
tag()Connect$tag(id = NULL)
tag_delete()Connect$tag_delete(id)
get_n_apps()Connect$get_n_apps()
get_apps()Connect$get_apps(filter = NULL, .collapse = "&", .limit = Inf, page_size = 25)
get_schedule()Connect$get_schedule(schedule_id)
content_create()Connect$content_create(name, title = name, ...)
download_bundle()Connect$download_bundle(bundle_id, to_path = tempfile(), overwrite = FALSE)
bundle_delete()Connect$bundle_delete(bundle_id)
content_upload()Connect$content_upload(bundle_path, guid)
content_deploy()Connect$content_deploy(guid, bundle_id)
content()Connect$content(
guid = NULL,
owner_guid = NULL,
name = NULL,
include = "tags,owner"
)
task()Connect$task(task_id, first = 0, wait = 5)
set_content_tag()Connect$set_content_tag(content_id, tag_id)
user()Connect$user(guid)
users()Connect$users(page_number = 1, prefix = NULL, page_size = 20)
users_remote()Connect$users_remote(prefix)
users_create()Connect$users_create(
username,
email,
first_name = NULL,
last_name = NULL,
password = NULL,
user_must_set_password = NULL,
user_role = NULL,
unique_id = NULL
)
users_create_remote()Connect$users_create_remote(temp_ticket)
users_lock()Connect$users_lock(user_guid)
users_unlock()Connect$users_unlock(user_guid)
users_update()Connect$users_update(user_guid, ...)
groups()Connect$groups(page_number = 1, prefix = NULL, page_size = 20)
group_members()Connect$group_members(guid)
group_member_add()Connect$group_member_add(group_guid, user_guid)
group_member_remove()Connect$group_member_remove(group_guid, user_guid)
groups_create()Connect$groups_create(name)
groups_create_remote()Connect$groups_create_remote(temp_ticket)
groups_remote()Connect$groups_remote(prefix = NULL, limit = 20)
inst_content_visits()Connect$inst_content_visits(
content_guid = NULL,
min_data_version = NULL,
from = NULL,
to = NULL,
limit = 20,
previous = NULL,
nxt = NULL,
asc_order = TRUE
)
inst_shiny_usage()Connect$inst_shiny_usage(
content_guid = NULL,
min_data_version = NULL,
from = NULL,
to = NULL,
limit = 20,
previous = NULL,
nxt = NULL,
asc_order = TRUE
)
procs()Connect$procs()
repo_account()Connect$repo_account(host)
repo_branches()Connect$repo_branches(repo)
repo_manifest_dirs()Connect$repo_manifest_dirs(repo, branch)
schedules()Connect$schedules(
start = Sys.time(),
end = Sys.time() + 60 * 60 * 24 * 7,
detailed = FALSE
)
docs()Connect$docs(docs = "api", browse = TRUE)
audit_logs()Connect$audit_logs(limit = 20L, previous = NULL, nxt = NULL, asc_order = TRUE)
server_settings_r()Connect$server_settings_r()
server_settings()Connect$server_settings()
clone()The objects of this class are cloneable with this method.
Connect$clone(deep = FALSE)deepWhether to make a deep clone.
This class allows a user to interact with a Connect server via the Connect API. Authentication is done by providing an API key.
Other R6 classes:
Bundle,
ContentTask,
Content,
Environment,
Task,
Vanity,
VariantSchedule,
VariantTask,
Variant