更新时间:2024-06-21 GMT+08:00
分享

启用验证事件

当企业管理员在portal启用推送配置,华为云会议服务端会发送验证事件消息到企业开发者回调URL,并校验第三方返回的验证响应,校验成功则启动配置,否则启动失败。

请求参数请参考:表1

响应参数请参考:表6

启用验证示例

请求消息:

POST /openapi/meetingevent 
Date: Tue, 17 Dec 2019 09:32:47 GMT
Content-Type: application/json;charset=UTF-8
Connection: keep-alive
Pragma: No-cache
Cache-Control: no-cache
X-Request-ID: 539e8b710378987ffc5eb844b5e5c290

{
  "appID": "1988692299",
  "timestamp": 1629183619116,
  "nonce": "85262798",
  "signature": "262ccb5f8854f824c41ea5854ba1798bfa850706fbc85b2be9fd7535ed6b8ff3",
  "eventInfo": {
	"event": "meeting.verify",
	"timestamp": 1629183619116
  }
}

响应消息

HTTP/1.1 200 
Date: Tue, 17 Dec 2019 09:32:47 GMT
Content-Type: application/json;charset=UTF-8
Connection: keep-alive
X-Request-ID: 539e8b710378987ffc5eb844b5e5c290
{
  "event":"meeting.verify",
  "nonce":"85262798"
}

响应消息中的nonce必须跟请求消息中的nonce相同,否则会导致启动失败。

相关文档