Posit Connect Cookbook
The Posit Connect Cookbook contains recipes for Python and R using the Posit SDK, which you can utilize to accomplish everyday tasks on your Connect server. The recipes are lightweight and intend to be straightforward.
Prior to diving into problem solving, use the following recipes to setup your environment and obtain an understanding of fundamental concepts used in the Posit SDK.
UsersYou want to view information about a user.
GroupsGroups are a way to organize users into collections for easier management and access control. Control of group membership depends on how Posit Connect is configured. In some…
ContentYou are building interactive or rendered content in Python or R which needs to access a private Databricks resource using a Service Principal. The content must authenticate…
Content Access ControlsYou need to transfer content ownership from one user to another. You might need to do this after a user’s account has been deactivated.
Content OrganizationYou want to find information on a tag for use in a tag-related workflow.
Vanity URLsA Vanity URL is a user-friendly, easy-to-recall, and branded URL replacement for your default Content URL. Rather than https://connect.example.com/content/844f5826-a072-40fe-…
TasksJobs
A job represents single execution instance of content on Connect. Whenever content runs, whether it’s a scheduled report, a script execution, or server processes related to…
Server ManagementYou want to summarize the custom runtime settings of content on your Connect server.
Off Host ExecutionYour Connect server is configured to use off-host execution. You want to know what container images are in use by content.
MetricsYou need to view how people are interacting with your content, including who is viewing your content, how frequently they are viewing it, when they view it, and other…
OperationsYou want to deploy content to Posit Connect programmatically.
OAuth IntegrationsYou want to enable content access to third-party protected resources on behalf of the user.