v1

latestOpenAPI 3.0.32026-07-262499981.2 MB
RepositoryService

CreateRepository

Creates a source control repository.

The creation of the resource will be an upsert operation if the given spec.external_id and spec.platform_resource are already available.

post/v1/namespaces/{tenant_meta.namespace}/repositories

Path parameters

tenant_meta.namespacestring required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Request body

tenant_metaobject

Repositories are associated with a tenant. Public repositories are created as repositories under a public tenant.

uuidstring

The UUID of the source control repository.

Response

A successful response.

uuidstring

The UUID of the source control repository.