LogoFreestyle
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_id}/git/blobs/{hash}

Path Parameters

repo_idRequiredstring

The repository ID

hashRequiredstring

The blob hash

curl -X GET "https://api.freestyle.sh/git/v1/repo/<string>/git/blobs/<string>"

Blob retrieved successfully

{
  "content": "string",
  "encoding": "base64",
  "sha": "string"
}