repositories

Get commit file

Get a file by blob SHA

get/repositories/{id}/commits/{commit_sha}/files/{blob_sha}

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/{id}/commits/{commit_sha}/files/{blob_sha}
  • Auth
    API key in header X-API-KEY

Path parameters

idinteger required

Repository ID

commit_shastring required

Commit SHA

blob_shastring required

Blob SHA

Response

OK

Changes

No recorded changes to this operation across all 14 revisions of this API.