Support finding content by integration in search

Open
#442 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
api

Research direction

Start with the content_search() entry point and the get_integrations() examples in the issue, then review the requirements in posit-dev/connect#33181. Done means the search endpoint can accept an integration, with the get_content_for_integration() shorthand resolved consistently with the superseded #433 and #441 work.

Written by the indexing model from the issue text.

Description

Support passing an integration to the function implementing the content search endpoint.

client <- connect()

integration <- get_integrations(client)[[1]]
list_of_content_for_integration <- content_search(client, integration = integration)

There's a possibility we'd also want to implement a get_content_for_integration() function as a shorthand (possible because integration objects have a copy of the client).

client <- connect()

content_for_integration <- get_integrations(client)[[1]] |>
  get_content_for_integration()
  • Follow-on to #272 (implementing content search)
  • Supersedes #433 and #441 (previous issue and PR for a get_content_for_integration()-style function)
  • Requires https://github.com/posit-dev/connect/issues/33181 (supporting integrations in content search)
Dominant language
R
Stars
54
Forks
27
Avg merge
1d 3m
Merged PRs (30d)
1

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.

More from posit-dev/connectapi

All issues in posit-dev/connectapi

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.