Models

Merge branch

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

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/models/{modelId}/branch/{branchName}/merge
  • Auth
    HTTP bearer

Path parameters

modelIdstring uuid required

Model UUID

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

Branch name

Example:feature/new-metrics

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

Changes

No recorded changes to this operation across all 97 revisions of this API.