Get Commit By Branch

Returns the commit pointed to by the branch. Throws if the branch doesn’t exist.

Path parameters

resourceRidstringRequired
branchNamestringRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

This endpoint returns an object.
idstring

40 hex character unique identifier.

resourceRidstring
messagestring
isWorkingStateboolean

A working state commit is created via the saveWorkingState endpoint and is non-permanent. In the future, it may be compacted and not exist.

committedBystring
committedAtdatetime
parentCommitstringOptional

40 hex character unique identifier.

mergeParentCommitstringOptional

40 hex character unique identifier.