Skip to main content
Fetch one repository in the current or specified organization. Required scope: read

Options

string
required
Repository name.
string | undefined
Organization override.

Response

string
Repository ID.
string
Organization slug.
string
Repository name.
string
Default bookmark name.
string
Current change ID at the default bookmark tip.
UpstreamConfig | null
Configured upstream remote, or null when no upstream is configured.
string
Creation time.
Record<string, string>
Repository tags.

UpstreamConfig

string
Upstream Git remote URL.
'token' | 'username_password' | null
Stored upstream authentication kind, or null when the upstream is public.