repository
get/api/repos/{namespace}/{repository}

Request

Path parameters

namespacestring required

Repository namespace (user or organization)

repositorystring required

Repository name

Response

Repository metadata

archivedAtstring date-time nullable

Timestamp when the repository was archived

defaultBranchstring required

Default branch

descriptionstring required

Description, set by the user

disabledboolean required

Disabled flag

forkedFromstring uuid nullable

ID of the repo from which this one was forked from

idstring uuid required

ID

languagesobject required

Auto-detected programming language stats of the main branch in the format of (Language, Byte count). Caveat: SVG files are the amount of files instead of the total byte count to avoid skewing repository stats

licensestring nullable

Auto-detected license name

mirroredFromstring nullable

URL of the repo from which this one is mirrored from

namestring required

Name of the repository

ownerOrgstring uuid nullable

UUID of the organization that owns this repository

ownerUserstring uuid nullable

UUID of the user who owns this repository

visibility'public' | 'internal' | 'private' required
emptyboolean required

Whether the repository has no content yet

readmestring nullable

File name of the readme on the default branch

Changes