Skip to content
AnyMeta.
AnyMetaGitHubRepository

Get a repository README

Returns the original GitHub README response. JSON content remains Base64-encoded; raw and HTML media types are also supported.

GET/github/repos/{owner}/{repo}/readmeNo authentication required
Upstream documentation

Path parameters2

Path parameters
NameTypeDescription
owner*string

The repository owner login. The value is case-insensitive.

repo*string

The repository name without the .git suffix. The value is case-insensitive.

Query parameters1

Query parameters
NameTypeDescription
refstring

A commit, branch, or tag. Defaults to the repository default branch.

Headers3

Headers
NameTypeDescription
Acceptstring

Use application/vnd.github+json for metadata, application/vnd.github.raw+json for raw text, or application/vnd.github.html+json for HTML.

Default:"application/vnd.github+json"

If-None-Matchstring

An ETag for conditional requests.

If-Modified-Sincestring

An HTTP date for conditional requests.

Responses

Schemaobject
Additional properties are allowed
typestring
encodingstring
sizeinteger
namestring
pathstring
contentstring
shastring
urlstring
Format: uri
html_urlstring
Format: uri
download_urlstring | nullNullable
Format: uri

The original README response in the requested media type.