internal

create commit record

Changed on
post/repositories/{repository}/commits

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/repositories/{repository}/commits
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or API key in cookie internal_auth_session

Request body

commit_idstring required

id of the commit record

versioninteger required

version of the commit record

committerstring required

committer of the commit record

messagestring required

message of the commit record

metarange_idstring required

metarange_id of the commit record

creation_dateinteger required

Unix Epoch in seconds

parentsstring[] required

parents of the commit record

metadataobject

metadata of the commit record

generationinteger required

generation of the commit record

forceboolean

Response

commit record created

Changes

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status