REST API 现已开始进行版本化。 有关详细信息,请参阅“关于 API 版本控制”。
存储库的 REST API 终结点
使用 REST API 创建、管理和控制公共和专用 GitHub 存储库的工作流。
- 存储库的 REST API 终结点, 1 of 11
- List organization repositories, 1 of 25
- Create an organization repository, 2 of 25
- Get a repository, 3 of 25
- Update a repository, 4 of 25
- Delete a repository, 5 of 25
- List repository activities, 6 of 25
- Check if Dependabot security updates are enabled for a repository, 7 of 25
- List CODEOWNERS errors, 8 of 25
- List repository contributors, 9 of 25
- Create a repository dispatch event, 10 of 25
- List repository languages, 11 of 25
- List repository cache replication status, 12 of 25
- List repository tags, 13 of 25
- List repository teams, 14 of 25
- Get all repository topics, 15 of 25
- Replace all repository topics, 16 of 25
- Transfer a repository, 17 of 25
- Check if vulnerability alerts are enabled for a repository, 18 of 25
- Enable vulnerability alerts, 19 of 25
- Disable vulnerability alerts, 20 of 25
- Create a repository using a template, 21 of 25
- List public repositories, 22 of 25
- List repositories for the authenticated user, 23 of 25
- Create a repository for the authenticated user, 24 of 25
- List repositories for a user, 25 of 25
- 存储库自动链接的 REST API 终结点, 2 of 11
- 存储库推送规则的 REST API 终结点会绕过请求, 3 of 11
- 存储库内容的 REST API 终结点, 4 of 11
- 自定义属性的 REST API 终结点, 5 of 11
- 分支的 REST API 终结点, 6 of 11
- Git LFS 的 REST API 端点, 7 of 11
- 规则套件的 REST API 终结点, 8 of 11
- 规则的 REST API 终结点, 9 of 11
- 存储库标记的 REST API 端点, 10 of 11
- 存储库 Webhook 的 REST API 终结点, 11 of 11
- List repository webhooks, 1 of 12
- Create a repository webhook, 2 of 12
- Get a repository webhook, 3 of 12
- Update a repository webhook, 4 of 12
- Delete a repository webhook, 5 of 12
- Get a webhook configuration for a repository, 6 of 12
- Update a webhook configuration for a repository, 7 of 12
- List deliveries for a repository webhook, 8 of 12
- Get a delivery for a repository webhook, 9 of 12
- Redeliver a delivery for a repository webhook, 10 of 12
- Ping a repository webhook, 11 of 12
- Test the push repository webhook, 12 of 12