latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Environment

Synchronize a child environment with its parent

This synchronizes the code and/or data of an environment with that of its parent, then redeploys the environment. Synchronization is only possible if a branch has no unmerged commits and it can be fast-forwarded.

If data synchronization is specified, the data in the environment will be overwritten with that of its parent.

post/projects/{projectId}/environments/{environmentId}/synchronize

Path parameters

projectIdstring required
environmentIdstring required

Request body

synchronize_codeboolean required

Synchronize code?

rebaseboolean required

Synchronize code by rebasing instead of merging

synchronize_databoolean required

Synchronize data?

synchronize_resourcesboolean required

Synchronize resources?

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response