connectapi
connectapi copied to clipboard
An R package for interacting with the RStudio Connect Server API
We currently have `client$server_settings_r` but I couldn't find a good way to get everything. Here's a possible implementation: ``` library(connectapi) library(purrr) client
Implement GET and PUT wrappers to view and modify the git repository settings for content. Will greatly improve recipe at https://github.com/posit-dev/connect-cookbook/pull/57
Fixes #294 Fixes #304 - Deprecate `set_image_path(content, path)`, `set_image_url(content, url)`, `set_image_webshot(content)`. - Add a new function, `set_content_image(content, path)`. The new function can handle a local file path or a remote...
## Intent Address `pkgdown` aspect of #275 ## Approach When setting up `pkgdown` in a new package, via `usethis::use_pkgdown()` programmatically adds: ``` template: bootstrap: 5 ``` Which should be minimally...
Follow pattern of posit-sdk: base Resources and Resource classes, containers and object inheriting from them. `Resources` (collections) have an `as.data.frame()` method to return a data frame (like the `get_content()` etc....
The Connect 2024.09.0 release publicizes content image endpoints. * `GET /content/{guid}/__thumbnail__` * `PUT /__api__/v1/content/:guid/thumbnail` * `DELETE /__api__/v1/content/:guid/thumbnail` The connectapi functions to get, set, and delete content images need to prefer...
The Connect 2024.09.0 release publicizes the time zone enumeration API. `connectapi::get_timezones()` needs to call this new endpoint when available and call the unversioned endpoint otherwise. https://github.com/rstudio/connectapi/blob/bfefb00ce4721c0bb80aedf58ae217ff63742bee/R/schedule.R#L339-L345 The payload is unchanged;...
I spent a few hours today trying to work out if I deploy my app which has logging built in to Posit Connect, how can I get access to the...
There are three functions to update content images: - `set_image_path(content, path)` uploads a local image file to Connect for use as a content image; - `set_image_url(content, url)` downloads an image...