diff --git a/dev/articles/connectapi_tags.html b/dev/articles/connectapi_tags.html index b26fbb6d..97a317e9 100644 --- a/dev/articles/connectapi_tags.html +++ b/dev/articles/connectapi_tags.html @@ -156,7 +156,7 @@

Create the Tag Tree(s)tree_project_1
## Posit Connect API Client: 
 ##   Posit Connect Server: http://localhost:32768
-##   Posit Connect API Key: ***********5zXr
+## Posit Connect API Key: ***********sQ2Z
 tmp_tags <- get_tags(client)
 
@@ -168,7 +168,7 @@ 

Create the Tag Tree(s)tree_project_2

## Posit Connect API Client: 
 ##   Posit Connect Server: http://localhost:32768
-##   Posit Connect API Key: ***********5zXr
+## Posit Connect API Key: ***********sQ2Z
 tree_audience_1 <- create_tag_tree(client, "DemoAudience", "Sales")
## Posit Connect Tag Tree (filtered)
@@ -196,11 +196,11 @@ 

Content tags
 bnd <- bundle_static(system.file("logo.png", package = "connectapi"))
-
## Bundling directory (/tmp/Rtmp2vsSmN/bundledir1f7752589ce4)
+
## Bundling directory (/tmp/RtmpHgGog1/bundledir1fd935165787)
 content_1 <- deploy(client, bnd)
## Getting content endpoint
-
## Found EXISTING content 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4 with name mwlefoodfieexombwkkeulbfd on http://localhost:32768
+
## Found EXISTING content 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 with name mwlefoodfieexombwkkeulbfd on http://localhost:32768
## Uploading bundle
## Deploying bundle

 set_content_tags(content_1, all_tags$DemoAudience$Sales)
## Posit Connect Tag Tree (content)
@@ -233,9 +233,9 @@ 

Set Tags## └── DemoAudience ## └── Sales

## Posit Connect Content Task: 
-##   Content GUID: 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4
-##   URL: http://localhost:32768/connect/#/apps/3ef1c59d-33c3-4bde-a0aa-127ce424dbd4/
-##   Task ID: IwdYTKbmdATHl4Ls
+## Content GUID: 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 +## URL: http://localhost:32768/connect/#/apps/3c5f1c2b-d7d6-44f9-8f2f-29abe2160207/ +## Task ID: CqlzXDqLocGwJvG0

Content 2 is for project_2 and both Audiences (Sales and Finance).

@@ -252,9 +252,9 @@ 

Set Tags## ├── Sales ## └── Finance

## Posit Connect Content Task: 
-##   Content GUID: f146ae02-c3dc-4dab-bdf4-4582e3056845
-##   URL: http://localhost:32768/connect/#/apps/f146ae02-c3dc-4dab-bdf4-4582e3056845/
-##   Task ID: YmXxTCx7AqAyPfpL
+## Content GUID: b286a8f9-849e-4ea6-96c8-8e564fadf43d +## URL: http://localhost:32768/connect/#/apps/b286a8f9-849e-4ea6-96c8-8e564fadf43d/ +## Task ID: ePh745S6OrX0XGwE

See the tags associated with content @@ -292,8 +292,8 @@

List all content associated with
## # A tibble: 2 × 44
 ##   guid       name  title description access_type connection_timeout read_timeout
 ##   <chr>      <chr> <chr> <chr>       <chr>                    <int>        <int>
-## 1 f146ae02-… pbcy… pbcy… ""          acl                         NA           NA
-## 2 3ef1c59d-… mwle… mwle… ""          acl                         NA           NA
+## 1 b286a8f9-… pbcy… pbcy… ""          acl                         NA           NA
+## 2 3c5f1c2b-… mwle… mwle… ""          acl                         NA           NA
 ## # ℹ 37 more variables: init_timeout <int>, idle_timeout <int>,
 ## #   max_processes <int>, min_processes <int>, max_conns_per_process <int>,
 ## #   load_factor <dbl>, memory_request <lgl>, memory_limit <lgl>,
@@ -306,7 +306,7 @@ 

List all content associated with
## # A tibble: 1 × 44
 ##   guid       name  title description access_type connection_timeout read_timeout
 ##   <chr>      <chr> <chr> <chr>       <chr>                    <int>        <int>
-## 1 3ef1c59d-… mwle… mwle… ""          acl                         NA           NA
+## 1 3c5f1c2b-… mwle… mwle… ""          acl                         NA           NA
 ## # ℹ 37 more variables: init_timeout <int>, idle_timeout <int>,
 ## #   max_processes <int>, min_processes <int>, max_conns_per_process <int>,
 ## #   load_factor <dbl>, memory_request <lgl>, memory_limit <lgl>,
@@ -339,12 +339,12 @@ 

Cleanupdelete_tag(client, latest_tags$DemoProject)

## Posit Connect API Client: 
 ##   Posit Connect Server: http://localhost:32768
-##   Posit Connect API Key: ***********5zXr
+## Posit Connect API Key: ***********sQ2Z
 delete_tag(client, latest_tags$DemoAudience)
## Posit Connect API Client: 
 ##   Posit Connect Server: http://localhost:32768
-##   Posit Connect API Key: ***********5zXr
+## Posit Connect API Key: ***********sQ2Z
 # TODO: delete content
diff --git a/dev/articles/content_permissions.html b/dev/articles/content_permissions.html index b22950ed..7c610a6b 100644 --- a/dev/articles/content_permissions.html +++ b/dev/articles/content_permissions.html @@ -126,17 +126,17 @@

Getting Started
 bnd <- bundle_static(system.file("logo.png", package = "connectapi"))
-
## Bundling directory (/tmp/Rtmp68wW1s/bundledir1fed612d349)
+
## Bundling directory (/tmp/Rtmp6tb6Jp/bundledir2012334a537f)
 content_1 <- deploy(client, bnd, title = "App 1")
## Getting content endpoint
-
## Found EXISTING content 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4 with name mwlefoodfieexombwkkeulbfd on http://localhost:32768
+
## Found EXISTING content 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 with name mwlefoodfieexombwkkeulbfd on http://localhost:32768
## Uploading bundle
## Deploying bundle
 content_2 <- deploy(client, bnd, title = "App 2")
## Getting content endpoint
-
## Found EXISTING content f146ae02-c3dc-4dab-bdf4-4582e3056845 with name pbcyvkgufivjubqtxvafbsnay on http://localhost:32768
+
## Found EXISTING content b286a8f9-849e-4ea6-96c8-8e564fadf43d with name pbcyvkgufivjubqtxvafbsnay on http://localhost:32768
## Uploading bundle
## Deploying bundle
@@ -156,39 +156,39 @@ 

Getting Started## └── Example ## └── Permissions

## Posit Connect Content Task: 
-##   Content GUID: 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4
-##   URL: http://localhost:32768/connect/#/apps/3ef1c59d-33c3-4bde-a0aa-127ce424dbd4/
-##   Task ID: Hi8yZ0SSKieucOFX
+## Content GUID: 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 +## URL: http://localhost:32768/connect/#/apps/3c5f1c2b-d7d6-44f9-8f2f-29abe2160207/ +## Task ID: XfJLERg5kGiLkE5j
 set_content_tags(content_2, tag_1)
## Posit Connect Tag Tree (content)
 ## └── Example
 ##    └── Permissions
## Posit Connect Content Task: 
-##   Content GUID: f146ae02-c3dc-4dab-bdf4-4582e3056845
-##   URL: http://localhost:32768/connect/#/apps/f146ae02-c3dc-4dab-bdf4-4582e3056845/
-##   Task ID: NkXAy6uE2ic4NyRP
+## Content GUID: b286a8f9-849e-4ea6-96c8-8e564fadf43d +## URL: http://localhost:32768/connect/#/apps/b286a8f9-849e-4ea6-96c8-8e564fadf43d/ +## Task ID: InJmWmKmqnmxxFg4
 content_add_user(content_1, user_restricted$guid, role = "viewer")
-
## Adding permission for user '75588758-2c45-43c3-b117-0e8bb6066243' with role 'viewer'
+
## Adding permission for user '8d23ffe9-f6c4-48e4-87f3-255e5c55d212' with role 'viewer'
## Posit Connect Content Task: 
-##   Content GUID: 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4
-##   URL: http://localhost:32768/connect/#/apps/3ef1c59d-33c3-4bde-a0aa-127ce424dbd4/
-##   Task ID: Hi8yZ0SSKieucOFX
+## Content GUID: 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 +## URL: http://localhost:32768/connect/#/apps/3c5f1c2b-d7d6-44f9-8f2f-29abe2160207/ +## Task ID: XfJLERg5kGiLkE5j
 content_add_user(content_1, user_all$guid, "viewer")
-
## Adding permission for user 'e65991e7-0ed9-4afb-b0a3-86f69f7315f9' with role 'viewer'
+
## Adding permission for user 'efbc915d-d231-4b56-a27e-0f17dc87ac04' with role 'viewer'
## Posit Connect Content Task: 
-##   Content GUID: 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4
-##   URL: http://localhost:32768/connect/#/apps/3ef1c59d-33c3-4bde-a0aa-127ce424dbd4/
-##   Task ID: Hi8yZ0SSKieucOFX
+## Content GUID: 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 +## URL: http://localhost:32768/connect/#/apps/3c5f1c2b-d7d6-44f9-8f2f-29abe2160207/ +## Task ID: XfJLERg5kGiLkE5j
 content_add_user(content_2, user_all$guid, "viewer")
-
## Adding permission for user 'e65991e7-0ed9-4afb-b0a3-86f69f7315f9' with role 'viewer'
+
## Adding permission for user 'efbc915d-d231-4b56-a27e-0f17dc87ac04' with role 'viewer'
## Posit Connect Content Task: 
-##   Content GUID: f146ae02-c3dc-4dab-bdf4-4582e3056845
-##   URL: http://localhost:32768/connect/#/apps/f146ae02-c3dc-4dab-bdf4-4582e3056845/
-##   Task ID: NkXAy6uE2ic4NyRP
+## Content GUID: b286a8f9-849e-4ea6-96c8-8e564fadf43d +## URL: http://localhost:32768/connect/#/apps/b286a8f9-849e-4ea6-96c8-8e564fadf43d/ +## Task ID: InJmWmKmqnmxxFg4

Retrieve the Content List @@ -219,16 +219,16 @@

Retrieve the Content List## # A tibble: 2 × 5 ## id content_guid principal_guid principal_type role ## <chr> <chr> <chr> <chr> <chr> -## 1 3 f146ae02-c3dc-4dab-bdf4-4582e3056845 e65991e7-0ed9… user view… -## 2 NA f146ae02-c3dc-4dab-bdf4-4582e3056845 f255be6b-164f… user owner +## 1 3 b286a8f9-849e-4ea6-96c8-8e564fadf43d efbc915d-d231… user view… +## 2 NA b286a8f9-849e-4ea6-96c8-8e564fadf43d 33f517ca-2ce7… user owner ## ## [[2]] ## # A tibble: 3 × 5 ## id content_guid principal_guid principal_type role ## <chr> <chr> <chr> <chr> <chr> -## 1 1 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4 75588758-2c45… user view… -## 2 2 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4 e65991e7-0ed9… user view… -## 3 NA 3ef1c59d-33c3-4bde-a0aa-127ce424dbd4 f255be6b-164f… user owner +## 1 1 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 8d23ffe9-f6c4… user view… +## 2 2 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 efbc915d-d231… user view… +## 3 NA 3c5f1c2b-d7d6-44f9-8f2f-29abe2160207 33f517ca-2ce7… user owner

Filter the Content List diff --git a/dev/articles/customize-http.html b/dev/articles/customize-http.html index 87c033ba..a6358511 100644 --- a/dev/articles/customize-http.html +++ b/dev/articles/customize-http.html @@ -100,7 +100,7 @@

Customize HTTP Requests

Cole Arendt

-

2024-07-31

+

2024-08-30

Source: vignettes/customize-http.Rmd diff --git a/dev/articles/getting-started.html b/dev/articles/getting-started.html index 0c151e68..5728ebfa 100644 --- a/dev/articles/getting-started.html +++ b/dev/articles/getting-started.html @@ -100,7 +100,7 @@

Getting Started with connectapi

Cole Arendt

-

2024-07-31

+

2024-08-30

Source: vignettes/getting-started.Rmd diff --git a/dev/news/index.html b/dev/news/index.html index f61611de..cde3ff08 100644 --- a/dev/news/index.html +++ b/dev/news/index.html @@ -69,9 +69,6 @@

Changelog

Source: NEWS.md
-
- -
diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index a6b0bf5b..8d05f61e 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -7,7 +7,7 @@ articles: customize-http: customize-http.html getting-started: getting-started.html articles/lifecycle-statuses: lifecycle-statuses.html -last_built: 2024-07-31T18:08Z +last_built: 2024-08-30T21:30Z urls: reference: https://pkgs.rstudio.com/connectapi/reference article: https://pkgs.rstudio.com/connectapi/articles diff --git a/dev/reference/bundle_static.html b/dev/reference/bundle_static.html index ec011acb..e3595a54 100644 --- a/dev/reference/bundle_static.html +++ b/dev/reference/bundle_static.html @@ -119,12 +119,12 @@

See also

Examples


 bundle_static(system.file("logo.png", package = "connectapi"))
-#> Bundling directory (/tmp/RtmpTo0qxy/bundledir1a77554c6aba)
+#> Bundling directory (/tmp/RtmpRlxfJA/bundledir1adb7d8292c2)
 #> Posit Connect Bundle: 
-#>   Path: /tmp/RtmpTo0qxy/bundle1a7721c75668.tar.gz
+#>   Path: /tmp/RtmpRlxfJA/bundle1adb516d5cc.tar.gz
 #>   Size: 23.9K
 #> 
-#> bundle_path("/tmp/RtmpTo0qxy/bundle1a7721c75668.tar.gz")
+#> bundle_path("/tmp/RtmpRlxfJA/bundle1adb516d5cc.tar.gz")
 #> 
 
diff --git a/dev/reference/connect.html b/dev/reference/connect.html index 0355d0eb..1f083c7e 100644 --- a/dev/reference/connect.html +++ b/dev/reference/connect.html @@ -134,7 +134,7 @@

Examples

#> Defining Connect with server: http://localhost:32768 #> Posit Connect API Client: #> Posit Connect Server: http://localhost:32768 -#> Posit Connect API Key: ***********5zXr +#> Posit Connect API Key: ***********sQ2Z #>
diff --git a/dev/reference/connectapi-package.html b/dev/reference/connectapi-package.html index 4061d098..a54fa661 100644 --- a/dev/reference/connectapi-package.html +++ b/dev/reference/connectapi-package.html @@ -86,8 +86,10 @@

See also

Author

-

Maintainer: Cole Arendt cole@posit.co

-

Authors:

diff --git a/dev/reference/content_render.html b/dev/reference/content_render.html index 086df682..c7f7e20b 100644 --- a/dev/reference/content_render.html +++ b/dev/reference/content_render.html @@ -101,6 +101,17 @@

Value

A VariantTask object that can be used to track completion of the render.

+
+

Examples

+
if (FALSE) { # \dontrun{
+client <- connect()
+item <- content_item(client, "951bf3ad-82d0-4bca-bba8-9b27e35c49fa")
+task <- content_render(item)
+poll_task(task)
+} # }
+
+
+
+
+

Examples

+
if (FALSE) { # \dontrun{
+client <- connect()
+item <- content_item(client, "8f37d6e0-3395-4a2c-aa6a-d7f2fe1babd0")
+content_restart(item)
+} # }
+
+
+