Get a repository
Returns metadata for a public GitHub repository.
GET
/github/repos/{owner}/{repo}No authentication requiredPath parameters2
| Name | Type | Description |
|---|---|---|
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. |
Headers2
| Name | Type | Description |
|---|---|---|
If-None-Match | string | An ETag for conditional requests. |
If-Modified-Since | string | An HTTP date for conditional requests. |
Responses
application/jsonSchemaobject
Additional properties are allowed
idintegerRequired
node_idstring
namestringRequired
full_namestringRequired
privatebooleanRequired
ownerobjectRequired
Additional properties are allowed
html_urlstringRequired
Format: uri
urlstringRequired
Format: uri
descriptionstring | nullNullable
forkboolean
stargazers_countinteger
forks_countinteger
open_issues_countinteger
default_branchstring
topicsstring[]
visibilitystring
Repository metadata.