Github API - Test Config

GET /repos/{owner}/{repo}/license
licenses
repos

This method returns the contents of the repository's license file, if one is detected.

Similar to Get repository content, this method also supports custom media types for retrieving the raw license content or rendered license HTML.
Get the license for a repository

Arguments
key owner

owner [scalar]

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

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

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

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json license-content

license-content [object]

License Content

Attributes
_links 2021

content string

download_url string

encoding string

git_url string

html_url string

name string

path string

sha string

size integer

type string

url string

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)