parthp2107 a07bc411dc
updated json schema and schema docs (#3219)
* updated json schema and schema docs

* added glossay to readme
2022-03-08 09:23:53 +05:30

4.2 KiB

ChangeEvent

This schema defines webhook for receiving events from OpenMetadata.

$id: https://open-metadata.org/schema/entity/events/webhook.json

Type: object

This schema does not accept additional properties.

Properties

  • id required
  • name required
    • Unique name of the application receiving webhook events.
    • Type: string
    • Length: between 1 and 128
  • description
    • Description of the application.
    • Type: string
  • endpoint
    • Endpoint to receive the webhook events over POST requests.
    • Type: string
    • String format must be a "uri"
  • eventFilters
  • batchSize
    • Maximum number of events sent in a batch (Default 10).
    • Type: integer
    • Default: 10
  • timeout
    • Connection timeout in seconds. (Default 10s).
    • Type: integer
    • Default: 10
  • enabled
    • When set to true, the webhook event notification is enabled. Set it to false to disable the subscription. (Default true).
    • Type: boolean
    • Default: true
  • secretKey
    • Secret set by the webhook client used for computing HMAC SHA256 signature of webhook payload and sent in X-OM-Signature header in POST requests to publish the events.
    • Type: string
  • version
  • updatedAt
  • updatedBy
    • User who made the update.
    • Type: string
  • status
    • Status is notStarted, when webhook was created with enabled set to false and it never started publishing events. Status is started when webhook is normally functioning and 200 OK response was received for callback notification. Status is failed on bad callback URL, connection failures, 1xx, and 3xx response was received for callback notification. Status is awaitingRetry when previous attempt at callback timed out or received 4xx, 5xx response. Status is retryLimitReached after all retries fail.
    • Type: string
    • The value is restricted to the following:
      1. "notStarted"
      2. "started"
      3. "failed"
      4. "awaitingRetry"
      5. "retryLimitReached"
  • failureDetails
    • Failure details are set only when status is not success.
    • Type: object
    • This schema does not accept additional properties.
    • Properties
  • href
  • changeDescription
  • deleted
    • When true indicates the entity has been soft deleted.
    • Type: boolean
    • Default: false

This document was updated on: Monday, March 7, 2022