v1

latestOpenAPI 3.0.32026-07-1310423153.4 KB
Miscellaneous

Get a git blob

Returns the content of a git blob object, base64 encoded.

get/repos/{owner}/{repo}/git/blobs/{sha}

Path parameters

ownerstring required

Owner of the repository

repostring required

Name of the repository

shastring required

SHA of the git blob

Response

Success

contentstring

Base64-encoded blob content

encodingstring
urlstring
shastring
sizeinteger

Example response

{
  "encoding": "base64"
}