Github API - Test Config

POST /user/codespaces/{codespace_name}/exports
users
codespaces

Triggers an export of the specified codespace and returns a URL and ID where the status of the export can be monitored.

If changes cannot be pushed to the codespace's repository, they will be pushed to a new or previously-existing fork instead.

You must authenticate using a personal 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.
Export 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
202 application/json codespace-export-details

codespace-export-details [object]

An export of a codespace. Also, latest export details for a codespace can be fetched with id = latest

Attributes
branch string

Name of the exported branch

completed_at string

Completion time of the last export operation

export_url string

Url for fetching export details

html_url string

Web url for the exported branch

id string

Id for the export details

sha string

Git commit SHA of the exported branch

state string

State of the latest export

API:
Github Open API
(version: 1.1.4)
401 requires_authentication

requires_authentication [scalar]

Requires authentication

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
500 internal_error

internal_error [scalar]

Internal Error

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)