Sha256: 62b8b2524082b4f2286e8947b1d7f44b669813863c8ea4da493d85498052f45e
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
# TalonOne::NewWebhook ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **application_ids** | **Array<Integer>** | The IDs of the applications that are related to this entity. | **title** | **String** | Name or title for this webhook. | **verb** | **String** | API method for this webhook. | **url** | **String** | API url (supports templating using parameters) for this webhook. | **headers** | **Array<String>** | List of API HTTP headers for this webhook. | **payload** | **String** | API payload (supports templating using parameters) for this webhook. | [optional] **params** | [**Array<TemplateArgDef>**](TemplateArgDef.md) | Array of template argument definitions. | **enabled** | **Boolean** | Enables or disables webhook from showing in rule builder. | ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::NewWebhook.new(application_ids: null, title: Send message, verb: POST, url: www.my-company.com/my-endpoint-name, headers: [{"Authorization": "Basic bmF2ZWVua3VtYXIU="}, {"Content-Type": "application/json"}], payload: { "message": "${message}" }, params: [], enabled: true) ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
talon_one-3.0.0 | docs/NewWebhook.md |