Starts a user's codespace.
You must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces_lifecycle_admin
repository permission to use this endpoint. Start a codespace for the authenticated user
Arguments key codespace-name codespace-name [scalar]
The name of the codespace.
API:
Github Open API
(version: 1.1.4)
Returns 200 application/json codespace codespace [object] Attributes
Path to devcontainer.json from repo root used to create Codespace.
Display name for this codespace.
UUID identifying this codespace's environment.
Details about the codespace's git repository.
The number of minutes of inactivity after which this codespace will be automatically stopped.
Text to show user when codespace idle timeout minutes has been overriden by an organization policy
The text to display to a user when a codespace has been stopped for a potentially actionable reason.
Last known time this codespace was started.
The Azure region where this codespace is located.
API URL to access available alternate machine types for this codespace.
Automatically generated name of this codespace.
Whether or not a codespace has a pending async operation. This would mean that the codespace is temporarily unavailable. The only thing that you can do with a codespace in this state is delete it.
pending_operation_disabled_reason string
Text to show user when codespace is disabled by a pending operation
Whether the codespace was created from a prebuild.
API URL to publish this codespace to a new repository.
API URL for the Pull Request associated with this codespace, if any.
When a codespace will be auto-deleted based on the "retention_period_minutes" and "last_used_at"
Duration in minutes after codespace has gone idle in which it will be deleted. Must be integer minutes between 0 and 43200 (30 days).
API URL to start this codespace.
API URL to stop this codespace.
API URL for this codespace.
URL to access this codespace on the web.
API:
Github Open API
(version: 1.1.4)
304 not_modified not_modified [scalar] API:
Github Open API
(version: 1.1.4)
400 bad_request bad_request [scalar] API:
Github Open API
(version: 1.1.4)
402 application/json basic-error basic-error [object] API:
Github Open API
(version: 1.1.4)
403 forbidden forbidden [scalar] API:
Github Open API
(version: 1.1.4)
404 not_found not_found [scalar] API:
Github Open API
(version: 1.1.4)
409 conflict conflict [scalar] API:
Github Open API
(version: 1.1.4)
500 internal_error internal_error [scalar] API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)