REST API 现已开始进行版本化。 有关详细信息,请参阅“关于 API 版本控制”。
存储库的 REST API 终结点
使用 REST API 创建、管理和控制公共和专用 GitHub 存储库的工作流。
- 存储库的 REST API 终结点, 1 of 10
- List organization repositories, 1 of 33
- Create an organization repository, 2 of 33
- Get a repository, 3 of 33
- Update a repository, 4 of 33
- Delete a repository, 5 of 33
- List repository activities, 6 of 33
- Check if Dependabot security updates are enabled for a repository, 7 of 33
- Enable Dependabot security updates, 8 of 33
- Disable Dependabot security updates, 9 of 33
- List CODEOWNERS errors, 10 of 33
- List repository contributors, 11 of 33
- Create a repository dispatch event, 12 of 33
- Get the hash algorithm for a repository, 13 of 33
- Check if immutable releases are enabled for a repository, 14 of 33
- Enable immutable releases, 15 of 33
- Disable immutable releases, 16 of 33
- List repository languages, 17 of 33
- Check if private vulnerability reporting is enabled for a repository, 18 of 33
- Enable private vulnerability reporting for a repository, 19 of 33
- Disable private vulnerability reporting for a repository, 20 of 33
- List repository tags, 21 of 33
- List repository teams, 22 of 33
- Get all repository topics, 23 of 33
- Replace all repository topics, 24 of 33
- Transfer a repository, 25 of 33
- Check if vulnerability alerts are enabled for a repository, 26 of 33
- Enable vulnerability alerts, 27 of 33
- Disable vulnerability alerts, 28 of 33
- Create a repository using a template, 29 of 33
- List public repositories, 30 of 33
- List repositories for the authenticated user, 31 of 33
- Create a repository for the authenticated user, 32 of 33
- List repositories for a user, 33 of 33
- 库认证的 REST API 端点, 2 of 10
- 存储库自动链接的 REST API 终结点, 3 of 10
- 存储库内容的 REST API 终结点, 4 of 10
- 自定义属性的 REST API 终结点, 5 of 10
- 分支的 REST API 终结点, 6 of 10
- 适用于议题类型的 REST API 终结点, 7 of 10
- 规则套件的 REST API 终结点, 8 of 10
- 规则的 REST API 终结点, 9 of 10
- 存储库 Webhook 的 REST API 终结点, 10 of 10
- 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