Codespaces
The GitHub Codespaces API enables you to manage your codespaces using the REST API.
GitHub Codespaces is available for organizations using GitHub Team or GitHub Enterprise Cloud. For more information, see "GitHub's products."
- Codespaces
- 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
- 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
- Start a codespace for the authenticated user
- Stop a codespace for the authenticated user
- Codespaces machines
- Codespaces organizations
- List codespaces for the organization
- Delete a codespace from the organization
- Stop a codespace for an organization user
- Codespaces repository secrets
- List repository secrets
- Get a repository public key
- Get a repository secret
- Create or update a repository secret
- Delete a repository secret
- Codespaces user secrets
- 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