Save Working State

Creates a non-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

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
newCommitstringRequired

40 hex character unique identifier.

latestCommitstringOptional

40 hex character unique identifier.

Response

This endpoint returns an object.
branchobject
commitobject