关于ios:智汀家庭云开发指南GolangHTTP-API-接口规范

1.接口鉴权

应用smartassistant接口,需将用户凭证smart-assistant-token,放在http申请的header中。格局如下:

"smart-assistant-token":"xxx"

2.返回规范数据结构

smartassistant接口均返回JSON格局数据,格局如下:

 {
 "status":0,  // 状态码
 "reason":"", // 状态码形容
 "data":{}    // 所有业务数据返回都蕴含在data对象中
}

3.错误码列表

附录:错误码列表

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理