Get details about a codespace export
GET
/user/codespaces/{codespace_name}/exports/{export_id} https://api.github.com
Gets information about an export of a codespace.
OAuth app tokens and personal access tokens (classic) need the codespace scope to use this endpoint.
Parameters
path Path Parameters
| Name | Type |
|---|---|
codespace_name
required
The name of the codespace. | string |
export_id
required
The ID of the export operation, or | string |
Responses
200 application/json
Response
interface CodespaceExportDetails {
state?: string | null;
completed_at?: string | null;
branch?: string | null;
sha?: string | null;
id?: string;
export_url?: string;
html_url?: string | null;
}
state?: string | null;
completed_at?: string | null;
branch?: string | null;
sha?: string | null;
id?: string;
export_url?: string;
html_url?: string | null;
}
Client Errors
404 application/json
Resource not found
interface BasicError {
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}
message?: string;
documentation_url?: string;
url?: string;
status?: string;
}