Create App Version
Create an App Version
Authorizations
Path Parameters
The id of the app to create the version for.
Body
Request to create an app version
Guardrails bundle ID. Immutable after creation; cannot be changed via update.
Target data plane ID. If omitted but hardwareTierId is provided, auto-populated from the hardware tier's data plane. Returns 422 if both are provided and they don't match.
Optional version description.
Optional inline script to execute instead of the app's entry point. If provided, this script will take precedence over the entry point.
Pre-resolved DFS commit ID. If provided, used for version comparison instead of resolving from dfsCommitId.
Pre-resolved git commit SHA. If provided, used for version comparison instead of resolving from gitRef.
Pre-resolved imported git repo snapshots. If provided, used for version comparison.
Pre-resolved imported project snapshots. If provided, used for version comparison.
Response
Success
Guardrails bundle ID. Immutable after creation.
Optional version description.
The original DFS commit ID specified when the version was created. May be null if not explicitly provided.
Optional inline script to execute instead of the app's entry point. If provided, this script will take precedence over the entry point.
The original git reference (e.g. branch name) specified when the version was created.
Commit and import snapshots resolved at version creation time, representing the actual values used for execution.