Skip to main content
We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation.
The REST API is now versioned. For more information, see "About API versioning."

操作

使用 REST API 与组织或存储库的 GitHub Actions 交互。

可使用 REST API 管理并控制组织或存储库的 GitHub Actions。 这些终结点适用于经过身份验证的用户、OAuth Apps 和 GitHub Apps。 对于专用存储库,访问令牌需要 repo 范围,对于 公共给 存储库,则需要 public_repo 范围。 GitHub Apps 需要在每个端点中提及的权限。 有关详细信息,请参阅“GitHub Actions 文档”。