Public Repositories

Get information about a public repository (supports GitHub and GitLab)

Changed on
get/git/public/{provider}/{owner}/{repo}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

providerstring required

Git provider (github or gitlab)

ownerstring required

Repository owner

repostring required

Repository name

Query parameters

base_urlstring nullable

HTTPS/443 origin of a self-hosted GitLab instance. Requires authentication and git_repositories:read.

Response

Repository information

default_branchstring required

Default branch name

descriptionstring nullable

Repository description

forksinteger required

Fork count

full_namestring required

Full repository name (owner/repo)

languagestring nullable

Primary programming language

namestring required

Repository name

ownerstring required

Repository owner

starsinteger required

Star count

Changes