Runtime Operations
Execute a runtime operation
Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as rebuilding static assets on demand, by defining an operations key in a project's .upsun/config.yaml configuration. More information on runtime operations is available in our user documentation.
post/projects/{projectId}/environments/{environmentId}/deployments/{deploymentId}/operations
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
environmentIdstring required
deploymentIdstring required
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.