REST API 现已开始进行版本化。 有关详细信息,请参阅“关于 API 版本控制”。
GitHub Actions 的 REST API 端点
使用 REST API 与 GitHub Actions 组织或存储库进行交互。
- GitHub Actions 构件的 REST API 终结点, 1 of 11
- 用于GitHub Actions缓存的 REST API 终结点, 2 of 11
- Get GitHub Actions cache usage for an enterprise, 1 of 11
- Get GitHub Actions cache usage policy for an enterprise, 2 of 11
- Set GitHub Actions cache usage policy for an enterprise, 3 of 11
- Get GitHub Actions cache usage for an organization, 4 of 11
- List repositories with GitHub Actions cache usage for an organization, 5 of 11
- Get GitHub Actions cache usage for a repository, 6 of 11
- Get GitHub Actions cache usage policy for a repository, 7 of 11
- Set GitHub Actions cache usage policy for a repository, 8 of 11
- List GitHub Actions caches for a repository, 9 of 11
- Delete GitHub Actions caches for a repository (using a cache key), 10 of 11
- Delete a GitHub Actions cache for a repository (using a cache ID), 11 of 11
- GitHub Actions OIDC 的 REST API 终结点, 3 of 11
- Get the customization template for an OIDC subject claim for an organization, 1 of 4
- Set the customization template for an OIDC subject claim for an organization, 2 of 4
- Get the customization template for an OIDC subject claim for a repository, 3 of 4
- Set the customization template for an OIDC subject claim for a repository, 4 of 4
- 针对 GitHub Actions 权限的 REST API 端点, 4 of 11
- Get GitHub Actions permissions for an enterprise, 1 of 28
- Set GitHub Actions permissions for an enterprise, 2 of 28
- List selected organizations enabled for GitHub Actions in an enterprise, 3 of 28
- Set selected organizations enabled for GitHub Actions in an enterprise, 4 of 28
- Enable a selected organization for GitHub Actions in an enterprise, 5 of 28
- Disable a selected organization for GitHub Actions in an enterprise, 6 of 28
- Get allowed actions for an enterprise, 7 of 28
- Set allowed actions for an enterprise, 8 of 28
- Get default workflow permissions for an enterprise, 9 of 28
- Set default workflow permissions for an enterprise, 10 of 28
- Get GitHub Actions permissions for an organization, 11 of 28
- Set GitHub Actions permissions for an organization, 12 of 28
- List selected repositories enabled for GitHub Actions in an organization, 13 of 28
- Set selected repositories enabled for GitHub Actions in an organization, 14 of 28
- Enable a selected repository for GitHub Actions in an organization, 15 of 28
- Disable a selected repository for GitHub Actions in an organization, 16 of 28
- Get allowed actions for an organization, 17 of 28
- Set allowed actions for an organization, 18 of 28
- Get default workflow permissions for an organization, 19 of 28
- Set default workflow permissions for an organization, 20 of 28
- Get GitHub Actions permissions for a repository, 21 of 28
- Set GitHub Actions permissions for a repository, 22 of 28
- Get the level of access for workflows outside of the repository, 23 of 28
- Set the level of access for workflows outside of the repository, 24 of 28
- Get allowed actions for a repository, 25 of 28
- Set allowed actions for a repository, 26 of 28
- Get default workflow permissions for a repository, 27 of 28
- Set default workflow permissions for a repository, 28 of 28
- 用于 GitHub Actions 秘钥的 REST API 端点, 5 of 11
- List organization secrets, 1 of 20
- Get an organization public key, 2 of 20
- Get an organization secret, 3 of 20
- Create or update an organization secret, 4 of 20
- Delete an organization secret, 5 of 20
- List selected repositories for an organization secret, 6 of 20
- Set selected repositories for an organization secret, 7 of 20
- Add selected repository to an organization secret, 8 of 20
- Remove selected repository from an organization secret, 9 of 20
- List repository organization secrets, 10 of 20
- List repository secrets, 11 of 20
- Get a repository public key, 12 of 20
- Get a repository secret, 13 of 20
- Create or update a repository secret, 14 of 20
- Delete a repository secret, 15 of 20
- List environment secrets, 16 of 20
- Get an environment public key, 17 of 20
- Get an environment secret, 18 of 20
- Create or update an environment secret, 19 of 20
- Delete an environment secret, 20 of 20
- 自托管运行器组的 REST API 终结点, 6 of 11
- List self-hosted runner groups for an enterprise, 1 of 26
- Create a self-hosted runner group for an enterprise, 2 of 26
- Get a self-hosted runner group for an enterprise, 3 of 26
- Update a self-hosted runner group for an enterprise, 4 of 26
- Delete a self-hosted runner group from an enterprise, 5 of 26
- List organization access to a self-hosted runner group in an enterprise, 6 of 26
- Set organization access for a self-hosted runner group in an enterprise, 7 of 26
- Add organization access to a self-hosted runner group in an enterprise, 8 of 26
- Remove organization access to a self-hosted runner group in an enterprise, 9 of 26
- List self-hosted runners in a group for an enterprise, 10 of 26
- Set self-hosted runners in a group for an enterprise, 11 of 26
- Add a self-hosted runner to a group for an enterprise, 12 of 26
- Remove a self-hosted runner from a group for an enterprise, 13 of 26
- List self-hosted runner groups for an organization, 14 of 26
- Create a self-hosted runner group for an organization, 15 of 26
- Get a self-hosted runner group for an organization, 16 of 26
- Update a self-hosted runner group for an organization, 17 of 26
- Delete a self-hosted runner group from an organization, 18 of 26
- List repository access to a self-hosted runner group in an organization, 19 of 26
- Set repository access for a self-hosted runner group in an organization, 20 of 26
- Add repository access to a self-hosted runner group in an organization, 21 of 26
- Remove repository access to a self-hosted runner group in an organization, 22 of 26
- List self-hosted runners in a group for an organization, 23 of 26
- Set self-hosted runners in a group for an organization, 24 of 26
- Add a self-hosted runner to a group for an organization, 25 of 26
- Remove a self-hosted runner from a group for an organization, 26 of 26
- 自托管运行器的 REST API 终结点, 7 of 11
- List self-hosted runners for an enterprise, 1 of 36
- List runner applications for an enterprise, 2 of 36
- Create configuration for a just-in-time runner for an Enterprise, 3 of 36
- Create a registration token for an enterprise, 4 of 36
- Create a remove token for an enterprise, 5 of 36
- Get a self-hosted runner for an enterprise, 6 of 36
- Delete a self-hosted runner from an enterprise, 7 of 36
- List labels for a self-hosted runner for an enterprise, 8 of 36
- Add custom labels to a self-hosted runner for an enterprise, 9 of 36
- Set custom labels for a self-hosted runner for an enterprise, 10 of 36
- Remove all custom labels from a self-hosted runner for an enterprise, 11 of 36
- Remove a custom label from a self-hosted runner for an enterprise, 12 of 36
- List self-hosted runners for an organization, 13 of 36
- List runner applications for an organization, 14 of 36
- Create configuration for a just-in-time runner for an organization, 15 of 36
- Create a registration token for an organization, 16 of 36
- Create a remove token for an organization, 17 of 36
- Get a self-hosted runner for an organization, 18 of 36
- Delete a self-hosted runner from an organization, 19 of 36
- List labels for a self-hosted runner for an organization, 20 of 36
- Add custom labels to a self-hosted runner for an organization, 21 of 36
- Set custom labels for a self-hosted runner for an organization, 22 of 36
- Remove all custom labels from a self-hosted runner for an organization, 23 of 36
- Remove a custom label from a self-hosted runner for an organization, 24 of 36
- List self-hosted runners for a repository, 25 of 36
- List runner applications for a repository, 26 of 36
- Create configuration for a just-in-time runner for a repository, 27 of 36
- Create a registration token for a repository, 28 of 36
- Create a remove token for a repository, 29 of 36
- Get a self-hosted runner for a repository, 30 of 36
- Delete a self-hosted runner from a repository, 31 of 36
- List labels for a self-hosted runner for a repository, 32 of 36
- Add custom labels to a self-hosted runner for a repository, 33 of 36
- Set custom labels for a self-hosted runner for a repository, 34 of 36
- Remove all custom labels from a self-hosted runner for a repository, 35 of 36
- Remove a custom label from a self-hosted runner for a repository, 36 of 36
- GitHub Actions 变量的 REST API 端点, 8 of 11
- List organization variables, 1 of 20
- Create an organization variable, 2 of 20
- Get an organization variable, 3 of 20
- Update an organization variable, 4 of 20
- Delete an organization variable, 5 of 20
- List selected repositories for an organization variable, 6 of 20
- Set selected repositories for an organization variable, 7 of 20
- Add selected repository to an organization variable, 8 of 20
- Remove selected repository from an organization variable, 9 of 20
- List repository organization variables, 10 of 20
- List repository variables, 11 of 20
- Create a repository variable, 12 of 20
- Get a repository variable, 13 of 20
- Update a repository variable, 14 of 20
- Delete a repository variable, 15 of 20
- List environment variables, 16 of 20
- Create an environment variable, 17 of 20
- Get an environment variable, 18 of 20
- Update an environment variable, 19 of 20
- Delete an environment variable, 20 of 20
- 工作流作业的 REST API 终结点, 9 of 11
- 工作流运行的 REST API 终结点, 10 of 11
- Re-run a job from a workflow run, 1 of 17
- List workflow runs for a repository, 2 of 17
- Get a workflow run, 3 of 17
- Delete a workflow run, 4 of 17
- Get the review history for a workflow run, 5 of 17
- Get a workflow run attempt, 6 of 17
- Download workflow run attempt logs, 7 of 17
- Cancel a workflow run, 8 of 17
- Review custom deployment protection rules for a workflow run, 9 of 17
- Force cancel a workflow run, 10 of 17
- Download workflow run logs, 11 of 17
- Delete workflow run logs, 12 of 17
- Get pending deployments for a workflow run, 13 of 17
- Review pending deployments for a workflow run, 14 of 17
- Re-run a workflow, 15 of 17
- Re-run failed jobs from a workflow run, 16 of 17
- List workflow runs for a workflow, 17 of 17
- 工作流的 REST API 终结点, 11 of 11