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
repoRequiredstringThe repository id
Format:
"uuid"hashRequiredstringThe object's hash
Response Body
200
Blob retrieved successfully
contentRequiredstringThe content of the blob, base64 encoded.
encodingRequiredstringThe encoding of the blob. Always base64.
Value in:
"base64"shaRequiredstringThe object's hash.
400
Invalid request
messageRequiredstring403
Forbidden
messageRequiredstring404
Blob not found
messageRequiredstring500
Internal server error
messageRequiredstringBlob retrieved successfully