v4

OpenAPI 3.1.02026-08-01207318738.7 KB
Models

Merge branch

post/api/v1/models/{modelId}/branch/{branchName}/merge

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000

Model UUID

branchNamestring required

Branch name

Example:feature/new-metrics

Branch name

Request body

commit_messagestring

Custom commit message for git sync

delete_branchboolean

Delete the branch after merging

force_override_git_settingsboolean

Override PR-required or git-follower settings

publish_draftsboolean

Publish branch-attached drafts

Response

Branch merged successfully

failed_drafts_countnumber required

Number of drafts that failed to publish

git_syncedboolean required

Whether git was synced

published_drafts_countnumber required

Number of drafts published

successboolean required

Whether the merge succeeded