Notifications

Update notification settings

Changed on

Changes the project's notification settings. Omitted fields keep their current values, so {"email": {"enabled": false}} only turns email off.

Alert emails go only to the project owner's verified account email address. email.recipients may be empty or name that address; any other list is refused with 400, and so is any non-empty list while the owner has no verified address. email.status in the response says whether alerts are being emailed.

Setting webhook.url on a project without a webhook generates its signing secret, returned in webhook.secret in this response only. Changing the URL keeps the secret. An empty webhook.url removes the webhook and its secret.

Outside local mode the webhook must be reachable on the public internet; a URL naming a private or loopback address is refused, and so is a delivery to a host name that resolves to one.

put/projects/{id}/notifications

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Request body

UpdateNotificationSettingsRequest required

Omitted fields keep their current values.

email, UpdateNotificationEmail
webhook, UpdateNotificationWebhook
scheduler_failures, UpdateSchedulerFailureAlertPolicy

Response

Saved

NotificationSettings required
project_id, string uuid required
email, NotificationEmailSettings required
webhook, NotificationWebhookSettings required
scheduler_failures, SchedulerFailureAlertPolicy required
updated_at, string date-time

When the settings were last saved. Absent until the first save.

Changes