Get a Git blob by its SHA
One step with GitHub. We can help you get access.
Look something up
Get a Git blob by its SHA
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Git API lets you get a Git blob by its SHA in a single step (GET /repos/{owner}/{repo}/git/blobs/{file_sha}). capabilities.work can help you get signed up and connected.
- How can I read a file's contents from the Git database by its blob SHA?
- Why is blob content always base64 encoded, and can I get it raw instead?
Say it to your AI assistant
- Get blob {file_sha} from {owner}/{repo}.
- Fetch the contents of Git blob {file_sha} in the {repo} repository owned by {owner}.
For your developer
GET /repos/{owner}/{repo}/git/blobs/{file_sha} in GitHub v3 REST Git API. Full spec on APIs.io.