codespaces
Get details about a codespace export
Gets information about an export of a codespace.
OAuth app tokens and personal access tokens (classic) need the codespace scope to use this endpoint.
get/user/codespaces/{codespace_name}/exports/{export_id}
Path parameters
codespace_namestring required
The name of the codespace.
export_idstring required
The ID of the export operation, or latest. Currently only latest is currently supported.
Response
Response
Example response
{
"state": "succeeded | failed | in_progress",
"completed_at": "2021-01-01T19:01:12Z",
"branch": "codespace-monalisa-octocat-hello-world-g4wpq6h95q",
"sha": "fd95a81ca01e48ede9f39c799ecbcef817b8a3b2",
"id": "latest",
"export_url": "https://api.github.com/user/codespaces/:name/exports/latest",
"html_url": "https://github.com/octocat/hello-world/tree/:branch"
}