Skip to content

Gets multiple blobs of a repository.

GET
/repos/{owner}/{repo}/git/blobs
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

shas
required
string

A comma separated list of blob-sha (mind the overall URL-length limit of ~2,083 chars)

GitBlobList

Media type application/json
Array<object>

GitBlob represents a git blob

object
content
string
encoding
string
sha
string
size
integer format: int64
url
string
Example generated
[
{
"content": "example",
"encoding": "example",
"sha": "example",
"size": 1,
"url": "example"
}
]

APIError is error format response

Media type application/json

APIError is an api error with a message

object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}