v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2023-11-288093493.9 MB
git

Create a blob

post/repos/{owner}/{repo}/git/blobs

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

Request body

contentstring required

The new blob's content.

encodingstring

The encoding used for content. Currently, "utf-8" and "base64" are supported.

Response

Response

urlstring required
shastring required