POST
github_releases_upload_asset.py
from charter.packs import github
result = await github.releases_upload_asset.ainvoke({"owner": ..., "repo": ..., "releaseId": ..., "name": ..., "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. |
releaseId * | integer | The unique identifier of the release. |
Query parameters
| Field | Type | Description |
|---|---|---|
name * | string | The file name of the asset, for example charter-1.2.0.tar.gz. GitHub rewrites names containing special characters. |
label | string | An alternate short description shown in place of the file name on the release page. |
Body
| Field | Type | Description |
|---|---|---|
content * | string | The asset’s contents, which are sent as the raw body. Text is sent as written; binary content is not expressible here — build the release asset from a text artifact, or upload binaries outside this tool. |