Fork sandbox
Forks a sandbox into a new sandbox or application. When forking to a sandbox, the target must not already exist (409 if it does). When forking to an application, a new revision is added if the app already exists, or a new application is created. This is a WIP endpoint — the full implementation depends on the execution plane.
Authorizations
OAuth2 authentication with JWT tokens
Path Parameters
Name of the sandbox to fork
Body
Request body for forking a sandbox into an application. Creates a new application or adds a canary revision to an existing one.
Name of the target application to create or update
"my-app"
Target resource type to fork into
"application"
Custom domain for the application
Port to expose from the sandbox
8080
URL prefix for the application
Snapshot ID to fork from. When set, the application revision references this snapshot.
Traffic percentage for canary deployment (0-100). When set on an existing target, creates a new revision with this traffic percentage.
10
Response
Fork created successfully
Response returned after forking a sandbox. Contains either the new sandbox or application depending on the fork type.
