Skip to content

Merge endpoints

This page is generated from the OpenAPI document of the API (src/Vellum.Web/openapi.json) when the documentation is built.

POST /api/projects/{projectId}/drafts/{draftId}/merge/preview

Section titled “POST /api/projects/{projectId}/drafts/{draftId}/merge/preview”
Parameter In Type Required
projectId path string (uuid) yes
draftId path string (uuid) yes
Status Meaning Body
200 OK none

POST /api/projects/{projectId}/drafts/{draftId}/merge/execute

Section titled “POST /api/projects/{projectId}/drafts/{draftId}/merge/execute”
Parameter In Type Required
projectId path string (uuid) yes
draftId path string (uuid) yes

Request body (application/json): ExecuteMergeRequest

Field Type Required Notes
resolutions array of MergeResolution yes
expectedMainVersion integer (int32) or string (int32) yes pattern "^-?(?:0|[1-9]\\d*)$"
Status Meaning Body
200 OK none