Skip to main content

Fork Application Variant

POST 

/applications/variants/fork

Fork an existing variant into a new variant on the same application.

Use this to experiment without touching the source variant's history. The fork copies the source variant's revisions up to the specified revision (or tip) into the new variant, then commits the supplied revision object on top. Both variant and revision sub-objects in the request must be present; the server returns count: 0 when either is missing. Returns 400 Bad Request if the fork target is invalid (for example, the source variant or revision cannot be located in this application's lineage).

Request

Responses

Successful Response