Files
directus/packages/spec/specs/components/webhook.yaml
2020-10-12 14:05:27 -04:00

43 lines
933 B
YAML

type: object
x-collection: directus_webhooks
properties:
id:
description: The index of the webhook.
type: integer
example: 1
name:
description: The name of the webhook.
type: string
example: create articles
method:
description: Method used in the webhook.
type: string
example: POST
url:
description: The url of the webhook.
type: string
example: null
nullable: true
status:
description: The status of the webhook.
type: string
example: inactive
data:
description: If yes, send the content of what was done
type: boolean
example: true
actions:
description: The actions that triggers this webhook.
type: array
items:
type: string
example: null
nullable: true
collections:
description: The collections that triggers this webhook.
type: array
items:
type: string
example: null
nullable: true