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. GitHub Codespaces is also available as a limited beta release for individual users on GitHub Free and GitHub Pro plans. 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 organization secrets
- 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 organizations
- List codespaces for the organization
- Set the visibility of organization codespaces
- 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