POST
github_git_blobs_create.py
from charter.packs import github
result = await github.git_blobs_create.ainvoke({"owner": ..., "repo": ..., "content": ...})
Requires
repo, read:user.Path parameters
| 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. |
Body
| Field | Type | Description |
|---|---|---|
content * | string | The new blob’s content. |
encoding | BlobEncoding | The encoding used for content. Currently, utf-8 and base64 are supported. GitHub uses utf-8 when this is absent — pass base64 with base64-encoded content for a binary file. |