Skip to content

Get all integrations associated with a piece of content #432

@toph-allen

Description

@toph-allen

In #431, we added the ability to set integrations for a piece of content. It needs a corresponding getter function.

The API (and the Python SDK) return an association object, which contains a subset of the integration data, plus the date created. For connectapi, we're going to implement a get_integrations() function that does some extra legwork to just return the integrations themselves.

GUID <- "123"
client <- connect()

content <- content_item(client, GUID)

# I would expect this to return a list of integrations, like `get_integrations(client)`.
integrations <- get_integrations(content)

We may add a get_oauth_associations function at a later date if it's important.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions