GitHub Enterprise Codespaces API
Endpoints to manage Codespaces using the REST API.
Operations 48
POST
/orgs/{org}/codespaces/access/selected_users
Add users to Codespaces access for an organization
#
DELETE
/orgs/{org}/codespaces/access/selected_users
Remove users from Codespaces access for an organization
#
GET
/orgs/{org}/codespaces/secrets/{secret_name}/repositories
List selected repositories for an organization secret
#
PUT
/orgs/{org}/codespaces/secrets/{secret_name}/repositories
Set selected repositories for an organization secret
#
PUT
/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}
Add selected repository to an organization secret
#
DELETE
/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}
Remove selected repository from an organization secret
#
DELETE
/orgs/{org}/members/{username}/codespaces/{codespace_name}
Delete a codespace from the organization
#
POST
/orgs/{org}/members/{username}/codespaces/{codespace_name}/stop
Stop a codespace for an organization user
#
GET
/repos/{owner}/{repo}/codespaces/devcontainers
List devcontainer configurations in a repository for the authenticated user
#
GET
/repos/{owner}/{repo}/codespaces/permissions_check
Check if permissions defined by a devcontainer have been accepted by the…
#
GET
/user/codespaces/secrets/{secret_name}/repositories
List selected repositories for a user secret
#
PUT
/user/codespaces/secrets/{secret_name}/repositories
Set selected repositories for a user secret
#
PUT
/user/codespaces/secrets/{secret_name}/repositories/{repository_id}
Add a selected repository to a user secret
#
DELETE
/user/codespaces/secrets/{secret_name}/repositories/{repository_id}
Remove a selected repository from a user secret
#
Documentation
Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest
RateLimits
https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
Authentication
https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
Documentation
https://docs.github.com/en/enterprise-cloud@latest/graphql
Documentation
https://docs.github.com/en/enterprise-server@latest/rest
Documentation
https://docs.github.com/en/enterprise-server@latest/graphql
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json