Merge To Main
Merges the given branch to the “main” branch. Throws if the template or branch doesn’t exist. Throws if the latest commit doesn’t match the provided id. Throws if you merge on an archived template.
Path parameters
templateRid
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
branchName
If “main”, the request will throw.
message
latestCommitOnMain
If present, will validate that the latest commit matches this id, and otherwise throw CommitConflict.
Response
This endpoint returns an object.
rid
metadata
commit
charts
layout
content