Commit
Creates a new permanent commit on the given branch. Throws if the branch doesn’t exist. Throws if latestCommit is passed and is not the latest commit.
Path parameters
resourceRid
branchName
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
newCommit
40 hex character unique identifier.
message
mergeParentCommit
If present, this existing commit will be the merge parent of the new commit. It will be made permanent if not already, to prevent the merge parent from being compacted.
latestCommit
40 hex character unique identifier.
Response
This endpoint returns an object.
branch
commit