RepositoryHookService

CreateRepositoryHook

Changed on

Creates a repository hook.

The creation of the resource will be an upsert if the given spec.external_id is already available.

post/v1/namespaces/{tenant_meta.namespace}/repository-hooks

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/repository-hooks
  • 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

Repository hooks are associated with a tenant. Public repository hooks are formed under a public tenant.

uuidstring

The UUID of the for the repository hook.

Response

A successful response.

uuidstring

The UUID of the for the repository hook.

Changes