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

Add System Runtime Caches endpoint bindings #337

Open
tdstein opened this issue Nov 14, 2024 · 0 comments
Open

Add System Runtime Caches endpoint bindings #337

tdstein opened this issue Nov 14, 2024 · 0 comments
Labels
enhancement New feature or request sdk Used for automation

Comments

@tdstein
Copy link
Collaborator

tdstein commented Nov 14, 2024

Add support for the System Runtime Caches API. See https://docs.posit.co/connect/api/#get-/v1/system/caches/runtime

This should be implemented as a new resource and resemble the following pseudo-code:

from posit import connect
from posit.connect.system import System, SystemCache

client = connect.Client()
system: System = client.system
caches: List[SystemCache]: system.caches
for cache in caches:
    task = cache.destroy(dry_run=True)
@github-actions github-actions bot added the sdk Used for automation label Nov 14, 2024
@tdstein tdstein added the enhancement New feature or request label Nov 14, 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 Used for automation
Projects
None yet
Development

No branches or pull requests

1 participant