Commit

POST

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

resourceRidstringRequired
branchNamestringRequired

Request

This endpoint expects an object.
newCommitstringRequired

40 hex character unique identifier.

messagestringRequired
mergeParentCommitstringOptional

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.

latestCommitstringOptional

40 hex character unique identifier.

Response

This endpoint returns an object.
branchobject
commitobject
Built with