UNPKG

cberg

Version:

Node.js Client for the Codeberg API

32 lines (24 loc) 1.07 kB
# CreateHookOption CreateHookOption options when create a hook ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active** | **boolean** | | [optional] [default to false] **authorization_header** | **string** | | [optional] [default to undefined] **branch_filter** | **string** | | [optional] [default to undefined] **config** | **{ [key: string]: string; }** | CreateHookOptionConfig has all config options in it required are \"content_type\" and \"url\" Required | [default to undefined] **events** | **Array<string>** | | [optional] [default to undefined] **type** | **string** | | [default to undefined] ## Example ```typescript import { CreateHookOption } from 'berg'; const instance: CreateHookOption = { active, authorization_header, branch_filter, config, events, type, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)