GET
github_git_blobs_get.py
Requires
repo, read:user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read a blob by SHA, decoded to text. Says so plainly instead when the blob is binary or over GitHub’s 1MB ceiling for this endpoint.
from charter.packs import github
result = await github.git_blobs_get.ainvoke({"owner": ..., "repo": ..., "fileSha": ...})
repo, read:user.| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
fileSha * | string | The SHA of the blob, as it appears in a tree entry. |
Was this page helpful?