v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns the base-64 encoded content of an individual blob in a repository.

post/#X-Amz-Target=CodeCommit_20150413.GetBlob

Headers

X-Amz-Target'CodeCommit_20150413.GetBlob' required

Request body

repositoryNamestring required

The name of the repository that contains the blob.

blobIdstring required

The ID of the blob, which is its SHA-1 pointer.

Response

Success

contentstring required

The content of the blob, usually a file.