latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Source Operations

Trigger a source operation

This endpoint triggers a source code operation as defined in the source.operations key in a project's .upsun/config.yaml configuration. More information on source code operations is available in our user documentation.

post/projects/{projectId}/environments/{environmentId}/source-operation

Path parameters

projectIdstring required
environmentIdstring required

Request body

operationstring required

The name of the operation to execute

variablesobject required

The variables of the application.

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response