API Reference/Git
Get a blob object
Get a blob from the Git database. The contents will always be base64 encoded.
GET
/git/v1/repo/{repo}/git/blobs/{hash}
Path Parameters
repo
RequiredstringThe repository id
Format:
"uuid"
Response Body
200
Blob retrieved successfully
content
RequiredstringThe content of the blob, base64 encoded.
encoding
RequiredstringThe encoding of the blob. Always base64
.
Value in:
"base64"
sha
RequiredstringThe object's hash.
400
Invalid request
message
Requiredstring403
Forbidden
message
Requiredstring404
Blob not found
message
Requiredstring500
Internal server error
message
RequiredstringBlob retrieved successfully