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

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/repositories
  • Auth
    none declared

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.