v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2023-07-147873273.9 MB
git

Get a blob

The content in the response will always be Base64 encoded.

Note: This API supports blobs up to 100 megabytes in size.

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

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

file_shastring required

Response

Response

contentstring required
encodingstring required
urlstring uri required
shastring required
sizeinteger nullable required
node_idstring required
highlighted_contentstring