LogoFreestyle
API ReferenceGit

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*string

The repository id

Formatuuid
hash*string

The object's hash

Response Body

application/json

curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/git/blobs/string"
{
  "content": "string",
  "encoding": "base64",
  "sha": "string",
  "size": 0
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.