搜索本产品文档关键词
Notification(通知)
所有文档
menu

音视频处理 MCP

Notification(通知)

创建通知

如果需要创建一个通知,可以参考如下代码:

Plain Text
1name = "your_notification"
2endpoint = "your_endpoint"
3response = client.create_notification(name, endpoint)
4print response

查询指定通知

如果需要查询一个通知,可以参考如下代码:

Plain Text
1name = "your_notification"
2response = client.get_notification(name)
3print response

查询当前用户通知

如果需要查询出本用户所创建的全部通知,可以参考如下代码:

Plain Text
1response = client.list_notifications()
2print response

删除通知

如果需要删除某个已知name的通知,可以参考如下代码:

Plain Text
1name = "your_notification"
2response = client.delete_notification(name)
3print response
上一篇
Watermark(水印)
下一篇
异常处理