Get a repository
get_repoRetrieve a repository's default branch, size, and feature toggles to verify which units (issues, releases, Actions, packages) are enabled and explain 404s from disabled endpoints.
Instructions
Get one repository's details (owner/repo): default branch, size (KiB), and the unit toggles (has_issues, has_pull_requests, has_wiki, has_releases, has_actions, has_packages, has_projects). A unit that is off 404s its whole endpoint family rather than returning empty, so this is where to check when a release or workflow tool reports a repository that plainly exists as missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner — user or organization. |