codesandbox-importers
codesandbox-importers copied to clipboard
Update an existing sandbox
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!
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!
We need this feature as well for define
API . check https://github.com/microsoft/fluentui/issues/29435 for more context.
can you provide at least interface shape for that PUT api @JamesACS ? ty
tried proposed PUT api today without luck
any updates on this one @JamesACS ? ty