GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • GitHub Docs
  • REST API
  • Quickstart
  • About the REST API
  • Comparing GitHub's APIs
  • API Versions
  • Breaking changes
  • OpenAPI description
  • Getting started
  • Rate limits
  • Pagination
  • Libraries
  • Best practices
  • Troubleshooting

This view

  • Original page
  • New address

GeezerVison is showing docs.github.com — REST API endpoints for Codespaces - GitHub Docs

The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for Codespaces

Use the REST API to manage GitHub Codespaces.

  • REST API endpoints for Codespaces, 1 of 6
    • List codespaces in a repository for the authenticated user, 1 of 16
    • Create a codespace in a repository, 2 of 16
    • List devcontainer configurations in a repository for the authenticated user, 3 of 16
    • Get default attributes for a codespace, 4 of 16
    • Check if permissions defined by a devcontainer have been accepted by the authenticated user, 5 of 16
    • Create a codespace from a pull request, 6 of 16
    • List codespaces for the authenticated user, 7 of 16
    • Create a codespace for the authenticated user, 8 of 16
    • Get a codespace for the authenticated user, 9 of 16
    • Update a codespace for the authenticated user, 10 of 16
    • Delete a codespace for the authenticated user, 11 of 16
    • Export a codespace for the authenticated user, 12 of 16
    • Get details about a codespace export, 13 of 16
    • Create a repository from an unpublished codespace, 14 of 16
    • Start a codespace for the authenticated user, 15 of 16
    • Stop a codespace for the authenticated user, 16 of 16
  • REST API endpoints for Codespaces machines, 2 of 6
    • List available machine types for a repository, 1 of 2
    • List machine types for a codespace, 2 of 2
  • REST API endpoints for Codespaces organization secrets, 3 of 6
    • List organization secrets, 1 of 9
    • Get an organization public key, 2 of 9
    • Get an organization secret, 3 of 9
    • Create or update an organization secret, 4 of 9
    • Delete an organization secret, 5 of 9
    • List selected repositories for an organization secret, 6 of 9
    • Set selected repositories for an organization secret, 7 of 9
    • Add selected repository to an organization secret, 8 of 9
    • Remove selected repository from an organization secret, 9 of 9
  • REST API endpoints for Codespaces organizations, 4 of 6
    • List codespaces for the organization, 1 of 7
    • Manage access control for organization codespaces, 2 of 7
    • Add users to Codespaces access for an organization, 3 of 7
    • Remove users from Codespaces access for an organization, 4 of 7
    • List codespaces for a user in organization, 5 of 7
    • Delete a codespace from the organization, 6 of 7
    • Stop a codespace for an organization user, 7 of 7
  • REST API endpoints for Codespaces repository secrets, 5 of 6
    • List repository secrets, 1 of 5
    • Get a repository public key, 2 of 5
    • Get a repository secret, 3 of 5
    • Create or update a repository secret, 4 of 5
    • Delete a repository secret, 5 of 5
  • REST API endpoints for Codespaces user secrets, 6 of 6
    • List secrets for the authenticated user, 1 of 9
    • Get public key for the authenticated user, 2 of 9
    • Get a secret for the authenticated user, 3 of 9
    • Create or update a secret for the authenticated user, 4 of 9
    • Delete a secret for the authenticated user, 5 of 9
    • List selected repositories for a user secret, 6 of 9
    • Set selected repositories for a user secret, 7 of 9
    • Add a selected repository to a user secret, 8 of 9
    • Remove a selected repository from a user secret, 9 of 9
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.