Init Resource Versioning

Creates a root commit (no parents) and a “main” branch pointing to that commit, for the given resource. Throws if the resource already has a commit graph.

Path parameters

resourceRidstringRequired

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.

messagestringRequired

Response

This endpoint returns an object.
branchobject
commitobject