webhooks

Set who may send to the webhook's public URL

Changed on

Sets the sender whose signature requests to the public URL must carry, its signing secret, and the events that start runs. For GitHub, Dagu makes the secret when none is entered, and returns it only this once. Admin only.

put/dags/{fileName}/webhook/public/sender

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Path parameters

fileNamestring regex required

Name of the DAG file

the name of the DAG file

Query parameters

remoteNodestring

name of the remote node

Request body

sender'github' | 'stripe' | 'slack' | 'standard'

A service whose signed requests a public URL accepts

secretstring

The sender's signing secret. Empty keeps the stored secret of the same sender, or, for GitHub, makes one.

generateSecretboolean

Make a new GitHub signing secret

eventsstring[]

Events that start runs; empty takes every event

Response

The webhook with its new sender settings

secretstring

The signing secret Dagu made, shown only this once

Changes