Function codespaces_slash_publish_for_authenticated_user

Source
pub async fn codespaces_slash_publish_for_authenticated_user(
    configuration: &Configuration,
    codespace_name: &str,
    codespaces_publish_for_authenticated_user_request: CodespacesPublishForAuthenticatedUserRequest,
) -> Result<CodespaceWithFullRepository, Error<CodespacesSlashPublishForAuthenticatedUserError>>
Expand description

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace. The codespace’s token is granted write permissions to the repository, allowing the user to push their changes. This will fail for a codespace that is already published, meaning it has an associated repository. OAuth app tokens and personal access tokens (classic) need the codespace scope to use this endpoint.