connectapi
connectapi copied to clipboard
An R package for interacting with the RStudio Connect Server API
## Intent Add `content_render(content)` and `content_restart(content)` functions. ## Approach - `content_render()` takes a piece of rendered content and triggers a render via the `variants` API. It returns a `ContentTask` object....
Instead of `get_bundles()` can there be a function to `get_manifests()` or similar to `unzip()` as `get_bundles(..., files = "manifest.json")`? I frequently get asked about package versions used by different apps,...
The Connect API used by `get_users` includes a `user_role` parameter that can be used to filter users who are admins, publishers, or viewers. `connectapi` should implement this.
We need to do _slightly more_ than simply making a data.frame from the results: ``` remote_users
`/v1/content/GUID/repository` was added in the 2022.12 release, so if the server version is at least that new, we can use it instead of the unversioned `applications` path. This is also...
Feature requests related to interacting with the Connect API via R: migrate from `httr` -> `httr2` for each: 1. `connectapi` source code 2. R examples in [Connect API Reference](https://docs.posit.co/connect/api/) Goals:...
While trying to interact with the Connect API, I often reference: 1. `connectapi` pkgdown: https://pkgs.rstudio.com/connectapi/ 2. Connect app docs: https://docs.posit.co/connect/cookbook/ Two requests to make this slightly easier to find the...
Need to check for Connect version and only use it if > 2024.03.0, else maybe warn and fall back to v1/content. Can easily remove `get_apps()` after this, the remaining calls...
To add a user or group to content, two different functions are required Examples: Add user: ``` content_add_user(content, user_guid, role = access_type) ``` Add a group: ``` content_add_group(content, group_guid, role...
Adds an `exact` parameter to `groups_create_remote` to allow creating a specific group even if there are multiple matches. This follows a similar change in #157 This as well as the...