检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
您可以在API Explorer中调试该接口。 操作步骤 Token认证,具体操作请参考认证鉴权。 创建Topic。 发送“POST https://{SMN_Endpoint}/v2/{project_id}/notifications/topics”。 在Request He
SMN创建Topic的API SMN添加订阅的API SMN发送消息的API 具体步骤 Token认证,具体操作请参考认证鉴权。 创建Topic。发送“POST https://{SMN_Endpoint}/v2/{project_id}/notifications/topics”。 在Request He
您可以在API Explorer中调试该接口。 操作步骤 Token认证,具体操作请参考认证鉴权。 创建Topic。 发送“POST https://{SMN_Endpoint}/v2/{project_id}/notifications/topics”。 在Request He
“functionstage”:FunctionGraph(函数)传输协议,endpoint为一个函数。 “http”、“https”:HTTP/HTTPS传输协议,endpoint为URL。 subscription_urn String 订阅者的唯一资源标识。 owner String
科特迪瓦 225 Jamaica 牙买加 1876 Japan 日本 81 Jersey 泽西岛 44 Jordan 约旦 962 Kazakhstan 哈萨克斯坦 7 Kenya 肯尼亚 254 Kuwait 科威特 965 Kyrgyzstan 吉尔吉斯斯坦 996 Laos
请求示例 GET https://{SMN_Endpoint}/v2 null 响应示例 状态码: 200 OK { "version" : { "id" : "v2", "links" : [ { "href" : "https://127.0.0
“functionstage”:FunctionGraph(函数)传输协议,endpoint为一个函数。 “http”、“https”:HTTP/HTTPS传输协议,endpoint为URL。 subscription_urn String 订阅者的唯一资源标识。 owner String
code String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除主题 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除所有主题策略 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/attributes
String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 删除通知策略。 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
code String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除消息模板 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/message_template/b3f
error_code String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 解绑云日志 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
c53ea09b:test_topic_v1:2e778e84408e44058e6cbc6d3c377837的订阅者 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/subscriptions/urn:sm
每种协议对应不同类型的订阅者,具体对应关系如下所示: 邮件传输协议,订阅者为邮箱地址。 短信传输协议,订阅者为手机号码。 HTTP/HTTPS传输协议,订阅者为URL。 FunctionGraph(函数)传输协议,订阅者为一个函数。 FunctionGraph(工作流)传输协议,订阅者为由一组函数编排成的工作流。
HTTP(S)取消订阅,消息通知服务向指定的URL发送消息。消息体中包含取消订阅的链接,订阅者需要访问该链接,如果取消订阅成功,将获取HTTPS协议的200返回码,稍后消息通知服务会向这个订阅者发送一次取消订阅的消息(48小时内有效)。如果误操作了取消订阅,可以通过访问重新订阅的
error_code String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 查询云日志 GET https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
error_code String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 修改通知策略。 PUT https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 创建轮询的通知策略。 POST https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
error_code String 返回信息对应的代码。 error_msg String 服务异常错误信息描述。 请求示例 查询通知策略。 GET https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio
code String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 查询主题详情 GET https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/urn:smn:regio