Update App Version
Update an App Version
Authorizations
Path Parameters
The id of the app to update a version for.
The id of the app version to update.
Body
Request to update an app version
Request body for updating an app version via PATCH. All fields are optional; omitted fields preserve existing values. The side effects of an update depend on which fields changed:
- Reproducibility fields (dfsCommitId, gitRef, environmentId, environmentRevisionId, externalVolumeMountIds, netAppVolumeIds, entryScript, and the resolved* fields) create a new app version and stop the currently running instance.
- Execution fields (hardwareTierId, autoscalingSpecification, vanityUrl) update the version in-place, stop the running instance, and restart from the same version. Setting forceRestart to true has the same effect.
- Metadata fields (tags, description) are updated in-place without restarting.
Version description. Metadata field: updated in-place without restarting.
DFS commit ID. Reproducibility field: changing this creates a new version.
Optional inline script to execute instead of the app's entry point. Reproducibility field: changing this creates a new version.
Environment ID. Reproducibility field: changing this creates a new version.
Environment revision ID. Reproducibility field: changing this creates a new version.
External volume mount IDs. Reproducibility field: changing these creates a new version.
If true, forces a restart of the app version even if no fields require it.
Hardware tier ID for the app version. Execution field: changing this triggers a restart.
NetApp volume IDs. Reproducibility field: changing these creates a new version.
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.
Version tags. Metadata field: updated in-place without restarting.
Vanity URL for the app. Execution field: changing this triggers a restart.
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.