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

Support cookbook recipes in connectapi: Integrations & Sessions #314

Open
toph-allen opened this issue Oct 9, 2024 · 0 comments
Open

Support cookbook recipes in connectapi: Integrations & Sessions #314

toph-allen opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@toph-allen
Copy link
Collaborator

toph-allen commented Oct 9, 2024

Recipes:

Integrations and Sessions are CRUD objects so should be treated as a resource class.

The associated endpoints:

PUT "v1/content/", CONTENT_GUID, "/oauth/integrations/associations" (empty body removes integration associations)
POST, GET "v1/oauth/integrations"
GET "v1/oauth/sessions/"
DELETE “v1/oauth/sessions/{session$guid}”

Content Item Endpoints

These should be methods on the content item

  • Endpoints:
    • List all OAuth integration associations
    • Set all OAuth integration associations (for the delete recipe)

OAuth Integrations Endpoints

These are all the interactions from the perspective of the API.

  • List integrations
  • Create an integration
  • Get integration details
  • Delete an integration
  • Update an integration
  • List all associations

Need to bother with templates?

OAuth Sessions

Primary interactions:

  • List sessions
  • Get session details
  • Delete a session

OAuth session class should fit the schema.

Notes

  • OAuth integrations & content. Will we need a template object? The return value Integration wants to be a type.
  • Creating an integration:

Other

  • The recipes e.g. "Associate integrations with content" should probably go under the Integrations subhead.
@toph-allen toph-allen self-assigned this Oct 9, 2024
@toph-allen toph-allen added the resource objects representing crud resources on Connect label Oct 9, 2024
@toph-allen toph-allen changed the title Implement cookbook recipes in connectapi: Integrations & Sessions Support cookbook recipes in connectapi: Integrations & Sessions Nov 14, 2024
@toph-allen toph-allen removed the resource objects representing crud resources on Connect label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant