Skip to main content
POST
CreateRepository

Path Parameters

tenant_meta.namespace
string
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".

Body

application/json

Repository represents the ingested information about a source control repository. A repository may refer to any type of source control repository, such as GitLab or GitHub.

ingested_object
object
required

Raw ingested object from a 3rd party source, along with any additional metadata we want to add to the object.

meta
object
required

Common fields for all Endor Labs resources.

spec
object
tenant_meta
Repositories are associated with a tenant. Public repositories are created as repositories under a public tenant. · object

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

Response

A successful response.

Repository represents the ingested information about a source control repository. A repository may refer to any type of source control repository, such as GitLab or GitHub.

ingested_object
object
required

Raw ingested object from a 3rd party source, along with any additional metadata we want to add to the object.

meta
object
required

Common fields for all Endor Labs resources.

spec
object
tenant_meta
object

Tenant related data for the tenant containing the resource.

uuid
string
read-only

The UUID of the source control repository.