Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.22 KB

Webhook.md

File metadata and controls

34 lines (28 loc) · 1.22 KB

LaunchDarklyApi::Webhook

Properties

Name Type Description Notes
_links Hash<String, Link> Links to other resources within the API. Includes the URL and content type of those resources.
_id String The ID of this webhook
name String A human-readable name for this webhook [optional]
url String The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
secret String The secret for this webhook [optional]
statements Array<Statement> Represents a Custom role policy, defining a resource kinds filter the webhook responds to. [optional]
on Boolean Whether or not this webhook is enabled
tags Array<String> List of tags for this webhook
_access Access [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::Webhook.new(
  _links: null,
  _id: 57be1db38b75bf0772d11384,
  name: Example hook,
  url: http://www.example.com,
  secret: frobozz,
  statements: null,
  on: true,
  tags: [&quot;examples&quot;],
  _access: null
)