Notification Channels

GET /api/options/notify_channels/

Get a list of registered notification channels.

Returns:

a JSON object mapping channel ID to channel data object

POST /api/options/notify_channels/

Register a new notification channel.

Request JSON Object:
  • name (string) – name for the new channel

  • url (string) – webhook URL for the new channel

Returns:

the new channel object

Status Codes:
PATCH /api/options/notify_channels/(int: channel_id)

Edit an existing notification channel.

Parameters:
  • channel_id – The ID of the channel to modify

Request JSON Object:
  • name (string) – new name for the channel (unchanged if omitted)

  • URL (string) – new URL for the channel (unchanged if omitted)

Returns:

the modified channel object

Status Codes:
DELETE /api/options/notify_channels/(int: channel_id)

Deregister a notification channel.

Parameters:
  • channel_id – The ID of the channel to delete

Status Codes:
POST /api/options/notify_channels/(int: channel_id)/test

Send a test message.

Parameters:
  • channel_id – ID of the channel to send a test message to

Status Codes: