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

Update an existing sandbox #151

Open
akshay-8d66 opened this issue Feb 11, 2022 · 3 comments
Open

Update an existing sandbox #151

akshay-8d66 opened this issue Feb 11, 2022 · 3 comments

Comments

@akshay-8d66
Copy link

akshay-8d66 commented Feb 11, 2022

Is there a way to update a specific sandbox with code from my local machine? It looks like the Codesandbox CLI always creates a new sandbox. And the APIs don't seem to have a way to do the same.

Is there a POST https://codesandbox.io/api/v1/sandboxes/:sandbox-id or something?

Thanks!

@JamesACS
Copy link

Hey @akshay-8d66 - Unfortunately it's not possible to update existing Sandboxes through the CLI.

You can technically do it via the API through a PUT to api/v1/sandboxes/:shortid but authentication can be tricky and we don't have documentation for this yet!

@Hotell
Copy link

Hotell commented Oct 6, 2023

We need this feature as well for define API . check microsoft/fluentui#29435 for more context.

can you provide at least interface shape for that PUT api @JamesACS ? ty

@Hotell
Copy link

Hotell commented Oct 9, 2023

tried proposed PUT api today without luck

image

any updates on this one @JamesACS ? ty

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

3 participants