跳转到主要内容
平台运维/云平台监控相关接口/监控报警/通知服务/通知服务相关接口
POSTSNS Operations起始版本 2.3同步需要认证

订阅主题

订阅主题

调试可用性

在线调试

使用当前认证信息和示例参数提交 Mock 请求。

路径参数

请求参数

路径参数

  • topicUuidString必填

    应用主题UUID

  • endpointUuidString必填

    终端UUID

请求体字段

  • systemTagsList

    系统标签

  • userTagsList

    用户标签

响应状态

200 OK

该 API 成功时返回一个空的 JSON 结构 {}。

请求地址

POST/zstack/v1/sns/topics/{topicUuid}/endpoints/{endpointUuid}

/zstack/v1/sns/topics/{topicUuid}/endpoints/{endpointUuid}

操作 ID

SubscribeSNSTopic

永久链接

请求示例

curl -X POST 'http://{host}/zstack/v1/sns/topics/{topicUuid}/endpoints/{endpointUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'

响应示例

200
{}

变更历史

此 API 暂无变更历史记录。

查看全部变更历史