mirror of
https://github.com/directus/directus.git
synced 2026-02-10 03:25:04 -05:00
43 lines
933 B
YAML
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
|