Sandboxes
Build and deploy a custom sandbox template
Changed onUpload a tar.gz context with a Dockerfile. The template ID may be new. Retries with the same Idempotency-Key and content return the same deployment. Existing sessions retain their image while the replacement builds and validates.
post/projects/{id}/sandboxes/{sandboxId}/deployments
Request
- Base URLhttps://api.volcano.dev
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
id, string uuid required
sandboxId, string uuid required
Headers
Idempotency-Key, string uuid required
Request body multipart/form-data
object required
name, string required
code, string binary required
Source tar.gz archive, limited to 32 MiB compressed and expanded.
memory_mb, 1024 | 2048
Memory in MiB. Defaults to 1024 when omitted.
ports, string
JSON array of application ports that must become ready before activation, for example [8080].
Response
Deployment queued or replayed
Sandbox Deployment required
id, string uuid required
status, string required
created_at, string date-time required
updated_at, string date-time required
Changes
- info
the endpoint scheme security
ProjectAccessTokenwas added to the API
- info
- info
endpoint added
- info