Number of APIs: 4
GET {{baseUrl}}/environments/{{environmentUid}}/forks
Gets all of an environment's forked environments.
POST {{baseUrl}}/environments/{{environmentUid}}/forks?workspace=<string>
Creates a [fork] from an existing environment into a workspace. Include the following properties in the request body:
forkName
— A string value that contains the forked environment's [label]
POST {{baseUrl}}/environments/{{environmentUid}}/pulls
[Pulls] the changes from a parent (source) environment into the forked environment. Include the following in the request body:
source
— A string value that contains the unique ID of the environment to pull data from.
4. Merge a fork
POST {{baseUrl}}/environments/{{environmentUid}}/merges
[Merges] a forked environment back into its parent environment. Include the following in the request body:
source
— A string value that contains the source environment's unique ID to merge data from.deleteSource
— A boolean value that, if true, deletes the forked environment when it merges.
ENDPOINTS