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 Content Git Repository API #192

Open
kmasiello opened this issue May 16, 2024 · 1 comment
Open

Implement Content Git Repository API #192

kmasiello opened this issue May 16, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request sdk
Milestone

Comments

@kmasiello
Copy link

kmasiello commented May 16, 2024

Implement GET and PUT wrappers to view and modify the git repository settings for content.

Will greatly improve recipe at posit-dev/connect-cookbook#57

API Proposal

from posit import connect

client = connect.Client()
content = client.content.get(...)
repository = content.repository or content.create_repository(...) # GET or POST
repository.update(...) # PATCH
repository.delete() # DELETE
@tdstein tdstein added the enhancement New feature or request label May 28, 2024
@tdstein tdstein added the sdk label Sep 13, 2024
@tdstein tdstein changed the title Implement wrappers around content/guid/repository endpoint Implement Content Git Repository API Sep 13, 2024
@tdstein tdstein added this to the 0.6.0 milestone Sep 25, 2024
@zackverham
Copy link
Collaborator

@tdstein I can try to pick this one up as sand work!

@zackverham zackverham self-assigned this Sep 26, 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
Projects
None yet
Development

No branches or pull requests

3 participants