Merge model branch
documentedMerge a named branch back into its base model.
PUT /api/v1/models/{modelId}/branch/{branchName}/mergeModel branchesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{instance}}.omniapp.co/api/v1/models/{{$modelId}}/branch/{{$branchName}}/merge" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"delete_branch": {{$delete_branch}}, "publish_drafts": {{$publish_drafts}}, "commit_message": "{{$commit_message}}", "force_override_git_settings": {{$force_override_git_settings}}}'