v1

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-27192307552.2 KB
workspaces

Create Code Repository

Creates a code repository.

Args: workspace_name_or_id: Name or ID of the workspace. code_repository: Code repository to create.

Returns: The created code repository.

Raises: IllegalOperationError: If the workspace or user specified in the code repository does not match the current workspace or authenticated user.

post/api/v1/workspaces/{workspace_name_or_id}/code_repositories

Path parameters

string required
OR
string uuid required

Request body

userstring uuid required
workspacestring uuid required
namestring required
configobject required

Configuration for the code repository.

logo_urlstring nullable

Optional URL of a logo (png, jpg or svg) for the code repository.

descriptionstring nullable

Code repository description.

Response

Successful Response

resourcesCodeRepositoryResponseResources

Class for all resource models associated with the code repository entity.

idstring uuid required
permission_deniedboolean
namestring required