REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
Codespaces 的 REST API 终结点
使用 REST API 管理 GitHub Codespaces。
- Codespaces 的 REST API 终结点
- List codespaces in a repository for the authenticated user
- Create a codespace in a repository
- List devcontainer configurations in a repository for the authenticated user
- Get default attributes for a codespace
- Check if permissions defined by a devcontainer have been accepted by the authenticated user
- Create a codespace from a pull request
- List codespaces for the authenticated user
- Create a codespace for the authenticated user
- Get a codespace for the authenticated user
- Update a codespace for the authenticated user
- Delete a codespace for the authenticated user
- Export a codespace for the authenticated user
- Get details about a codespace export
- Create a repository from an unpublished codespace
- Start a codespace for the authenticated user
- Stop a codespace for the authenticated user
- Codespaces 计算机的 REST API 终结点
- 适用于 Codespaces 组织机密的 REST API 终结点
- List organization secrets
- Get an organization public key
- Get an organization secret
- Create or update an organization secret
- Delete an organization secret
- List selected repositories for an organization secret
- Set selected repositories for an organization secret
- Add selected repository to an organization secret
- Remove selected repository from an organization secret
- 适用于 Codespaces 组织的 REST API 终结点
- List codespaces for the organization
- Manage access control for organization codespaces
- Add users to Codespaces access for an organization
- Remove users from Codespaces access for an organization
- List codespaces for a user in organization
- Delete a codespace from the organization
- Stop a codespace for an organization user
- 适用于 Codespaces 存储库机密的 REST API 终结点
- 适用于 Codespaces 用户机密的 REST API 终结点
- List secrets for the authenticated user
- Get public key for the authenticated user
- Get a secret for the authenticated user
- Create or update a secret for the authenticated user
- Delete a secret for the authenticated user
- List selected repositories for a user secret
- Set selected repositories for a user secret
- Add a selected repository to a user secret
- Remove a selected repository from a user secret