posit-dev / posit-dev/connectapi

Add function to get an integration template

Open
#435 2 comments 0 reactions 1 assignee View on GitHub

@toph-allen is already working on this.

Since Aug 4, 2025.

Dominant language
R
Stars
54
Forks
27
Avg merge
1d 3m
Merged PRs (30d)
1

Description

This is needed so that users of create_integration() and update_integration() can know the valid values for the arguments to those functions. (See here.)

Since templates aren't passed around as objects, and are more just there for reference, it's reasonable to not worry too much about class stuff with this.

client <- connect()
templates <- get_templates(client)

I don't know that the "get a single template" endpoint is useful to implement, since it requires the template ID. In Integration objects, templates are specified by name, so to get the ID you'd already have had to get_templates() and filtered by name to get the ID.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.