mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			4.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			4.2 KiB
		
	
	
	
	
	
	
	
Webhook
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- Unique ID associated with a webhook subscription.
- $ref: ../../type/basic.json#/definitions/uuid
 
- name required- Unique name of the application receiving webhook events.
- Type: string
- Length: between 1 and 128
 
- displayName
- Display Name that identifies this webhook.
- Type: string
 
- description
- Description of the application.
- Type: string
 
- endpoint required- Endpoint to receive the webhook events over POST requests.
- Type: string
- String format must be a "uri"
 
- eventFilters required- Endpoint to receive the webhook events over POST requests.
- Type: array
 
- 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 tofalseto disable the subscription. (Defaulttrue).
- Type: boolean
- Default: true
 
- When set to 
- secretKey
- Secret set by the webhook client used for computing HMAC SHA256 signature of webhook payload and sent in X-OM-Signatureheader in POST requests to publish the events.
- Type: string
 
- Secret set by the webhook client used for computing HMAC SHA256 signature of webhook payload and sent in 
- version
- Metadata version of the entity.
- $ref: ../../type/entityHistory.json#/definitions/entityVersion
 
- updatedAt
- Last update time corresponding to the new version of the entity in Unix epoch time milliseconds.
- $ref: ../../type/basic.json#/definitions/timestamp
 
- updatedBy
- User who made the update.
- Type: string
 
- status
- Status is disabled, when webhook was created withenabledset to false and it never started publishing events. Status isactivewhen webhook is normally functioning and 200 OK response was received for callback notification. Status isfailedon bad callback URL, connection failures,1xx, and3xxresponse was received for callback notification. Status isawaitingRetrywhen previous attempt at callback timed out or received4xx,5xxresponse. Status isretryLimitReachedafter all retries fail.
- Type: string
- The value is restricted to the following:
- "disabled"
- "failed"
- "retryLimitReached"
- "awaitingRetry"
- "active"
 
 
- Status is 
- failureDetails
- Failure details are set only when statusis notsuccess.
- Type: object
- This schema does not accept additional properties.
- Properties
- lastSuccessfulAt
- Last non-successful callback time in UNIX UTC epoch time in milliseconds.
- $ref: ../../type/basic.json#/definitions/timestamp
 
- lastFailedAt
- Last non-successful callback time in UNIX UTC epoch time in milliseconds.
- $ref: ../../type/basic.json#/definitions/timestamp
 
- lastFailedStatusCode
- Last non-successful activity response code received during callback.
- Type: integer
 
- lastFailedReason
- Last non-successful activity response reason received during callback.
- Type: string
 
- nextAttempt
- Next retry will be done at this time in Unix epoch time milliseconds. Only valid is statusisawaitingRetry.
- $ref: ../../type/basic.json#/definitions/timestamp
 
- Next retry will be done at this time in Unix epoch time milliseconds. Only valid is 
 
- lastSuccessfulAt
 
- Failure details are set only when 
- href
- Link to this webhook resource.
- $ref: ../../type/basic.json#/definitions/href
 
- changeDescription
- Change that lead to this version of the entity.
- $ref: ../../type/entityHistory.json#/definitions/changeDescription
 
- deleted
- When trueindicates the entity has been soft deleted.
- Type: boolean
- Default: false
 
- When 
This document was updated on: Wednesday, March 9, 2022
