pub async fn codespaces_slash_create_for_authenticated_user(
configuration: &Configuration,
codespaces_create_for_authenticated_user_request: CodespacesCreateForAuthenticatedUserRequest,
) -> Result<Codespace, Error<CodespacesSlashCreateForAuthenticatedUserError>>
Expand description
Creates a new codespace, owned by the authenticated user. This endpoint requires either a repository_id
OR a pull_request
but not both. OAuth app tokens and personal access tokens (classic) need the codespace
scope to use this endpoint.