Sha256: 19bd10148d4839a116cfccde82ecf9954fc2c2f6a88ccb1b9b5d22f0a9220990

Contents?: true

Size: 1.19 KB

Versions: 43

Compression:

Stored size: 1.19 KB

Contents

# Phrase::WebhookCreateParameters

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**callback_url** | **String** | Callback URL to send requests to | [optional] 
**secret** | **String** | Webhook secret used to calculate signature. If empty, the default project secret will be used. | [optional] 
**description** | **String** | Webhook description | [optional] 
**events** | **String** | List of event names to trigger the webhook (separated by comma) | [optional] 
**active** | **Boolean** | Whether webhook is active or inactive | [optional] 
**include_branches** | **Boolean** | If enabled, webhook will also be triggered for events from branches of the project specified. | [optional] 

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::WebhookCreateParameters.new(callback_url: http://example.com/hooks/phraseapp-notifications,
                                 secret: secr3t,
                                 description: My webhook for chat notifications,
                                 events: locales:create,translations:update,
                                 active: null,
                                 include_branches: null)
```


Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
phrase-1.0.11 docs/WebhookCreateParameters.md
phrase-1.0.10 docs/WebhookCreateParameters.md
phrase-1.0.9 docs/WebhookCreateParameters.md