Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Variants API #189

Open
kmasiello opened this issue Apr 30, 2024 · 1 comment
Open

Implement Variants API #189

kmasiello opened this issue Apr 30, 2024 · 1 comment
Labels
enhancement New feature or request sdk Used for automation
Milestone

Comments

@kmasiello
Copy link

See https://pkgs.rstudio.com/connectapi/reference/VariantR6.html

Notably, the workflow we would like to enable with the sdk is triggering a variant to re-render and then subsequently send an email. Something along the lines of:

client = connect.Client()
content_variant = client.varient.find("default")
new_render =  content_variant.render()
new_render.send_mail(to="me")

Also see rstudio/connectapi#257

@tdstein
Copy link
Collaborator

tdstein commented Jul 25, 2024

Partially implemented in #236

@tdstein tdstein added the sdk Used for automation label Sep 13, 2024
@tdstein tdstein changed the title Implement variant functions Add Variants API Sep 13, 2024
@tdstein tdstein changed the title Add Variants API Implement Variants API Sep 13, 2024
@tdstein tdstein added this to the 0.6.0 milestone Sep 25, 2024
@tdstein tdstein removed this from the 0.6.0 milestone Oct 8, 2024
@tdstein tdstein added this to the 0.7.0 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sdk Used for automation
Projects
None yet
Development

No branches or pull requests

2 participants