curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/git/blobs/{sha} \
--header 'Authorization: <api-key>'{
"content": "<string>",
"encoding": "base64",
"url": "<string>",
"sha": "<string>",
"size": 123
}Returns the content of a git blob object, base64 encoded.
curl --request GET \
--url https://gogs.example.com/api/v1/repos/{owner}/{repo}/git/blobs/{sha} \
--header 'Authorization: <api-key>'{
"content": "<string>",
"encoding": "base64",
"url": "<string>",
"sha": "<string>",
"size": 123
}Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Owner of the repository
Name of the repository
SHA of the git blob