UNPKG

cberg

Version:

Node.js Client for the Codeberg API

44 lines (36 loc) 1.45 kB
# Hook Hook a hook is a web hook when one repository changed ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **boolean** | | [optional] [default to undefined] **authorization_header** | **string** | | [optional] [default to undefined] **branch_filter** | **string** | | [optional] [default to undefined] **config** | **{ [key: string]: string; }** | Deprecated: use Metadata instead | [optional] [default to undefined] **content_type** | **string** | | [optional] [default to undefined] **created_at** | **string** | | [optional] [default to undefined] **events** | **Array<string>** | | [optional] [default to undefined] **id** | **number** | | [optional] [default to undefined] **metadata** | **object** | | [optional] [default to undefined] **type** | **string** | | [optional] [default to undefined] **updated_at** | **string** | | [optional] [default to undefined] **url** | **string** | | [optional] [default to undefined] ## Example ```typescript import { Hook } from 'berg'; const instance: Hook = { active, authorization_header, branch_filter, config, content_type, created_at, events, id, metadata, type, updated_at, url, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)