检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
“sms”:短信传输协议。 “functionstage”:FunctionGraph(函数)传输协议。 “http”、“https”:HTTP/HTTPS传输协议。 tag_names Array of strings 模板tag列表。 是消息模板“{}”内的字段,在具体使用消
注册华为账号并开通华为云 为账户充值 注册华为账号并开通华为云 如果您已有一个华为账号,请跳到下一个任务。如果您还没有华为账号,请参考以下步骤创建。 打开https://www.huaweicloud.com/,单击“注册”。 根据提示信息完成注册,详细操作请参见如何注册华为云管理控制台的用户?。
您可以在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
“functiongraph”:FunctionGraph(工作流)传输协议,endpoint为由一组函数编排成的工作流。 “http”、“https”:HTTP/HTTPS传输协议,endpoint为URL。 “callnotify”:语音通知传输协议,endpoint为手机号码。 “wechat”:微信群机器人传输协议。
“functionstage”:FunctionGraph(函数)传输协议,endpoint为一个函数。 “http”、“https”:HTTP/HTTPS传输协议,endpoint为URL。 subscription_urn String 订阅者的唯一资源标识。 owner String
请求示例 GET https://{SMN_Endpoint}/ null 响应示例 状态码:200 OK { "versions" : { "id" : "v2", "links" : [ { "href" : "https://127.0.0
请求示例 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
注册华为云并实名认证 如果用户已注册华为云,可直接登录管理控制台,访问消息通知服务。如果用户没有登录管理控制台的账号,请先注册华为云。 登录网站https://www.huaweicloud.com/。 单击“注册”。 进入注册页面,根据提示信息完成注册,详细操作请参见如何注册华为云管理控制台的用户?
message。 message_structure 否 String Json格式的字符串。支持“email”、“sms”、“http”、“https”、“functiongraph”、“functionstage”、“dingding”、“wechat”、“feishu”、“weli
服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除Application endpoint DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/endpoints/{endpoint_urn}
code String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 App消息发布 POST https://{SMN_Endpoint}/v2/{project_id}/notifications/endpoints/{endpoint_urn}/publish
String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除所有主题策略 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/attributes
code String 服务异常错误信息编码。 message 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
code String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除平台应用 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/applications/{application_urn}
String 服务异常错误信息编码。 message String 服务异常错误信息描述。 请求示例 删除指定名称的主题策略 DELETE https://{SMN_Endpoint}/v2/{project_id}/notifications/topics/{topic_urn}/a
将不允许发送该模板。 使用模板格式发送消息时,需要选择模板名称,名称选定后,系统会按照Default、SMS、Email、HTTP、HTTPS、FunctionGraph(函数)、FunctionGraph(工作流)的协议顺序,将该模板名称下不同协议的所有模板内容中的{tag}