This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_organization.
put_declarative_notification_channels
put_declarative_notification_channels(notification_channels: list[CatalogDeclarativeNotificationChannel])
Put declarative notification channels in the current organization.
Parameters
| name | type | description |
|---|---|---|
| notification_channels | list[CatalogDeclarativeNotificationChannel] | List of declarative notification channels. |
Returns
NoneExample
from gooddata_sdk import CatalogDeclarativeNotificationChannel, CatalogWebhook
notification_channels = [CatalogDeclarativeNotificationChannel(
id="webhook", name="Webhook", destination=CatalogWebhook(url="https://webhook.site", token="123")
)]
sdk.catalog_organization.put_declarative_notification_channels()