Github Repo

GitHub repositories are great for making SDK and other artifacts developers will need to put an API to work, but you can also publish OpenAPI, examples, and even run your entire API portal using GitHub pages. A GitHub repository has proven itself to be an essential building block of any public API program, and powers API Commons.

Also known as: GitHub Repo, Source Repository, Git Repository

Standards

HTTP Headers

HeaderDirectionSpecDescription
Authorization request RFC 9110 Bearer token (PAT, fine-grained PAT, or GitHub App installation token).
X-RateLimit-Limit response GitHub REST API Per-hour request budget for the calling identity.
X-RateLimit-Remaining response GitHub REST API Remaining requests in the current window.
ETag response RFC 9110 §8.8.3 Conditional-GET caching support on repository endpoints.
Link response RFC 8288 Pagination links for list endpoints.

Well-Known Paths

Media Types

Link Relations

Governance Rules

Risk & Compliance

Security: Public repos can leak secrets, tokens, and internal URLs in code or git history. Enforce secret scanning, push protection, branch protection on the default branch, signed commits where possible, and Dependabot/SCA alerts. OpenSSF Scorecard surfaces these signals.

Tools

Suggested Metrics

Example Implementations

Related Properties

Tags


All Community Properties