1.接口鉴权
使用smartassistant接口,需将用户凭证smart-assistant-token,放在http请求的header中。格式如下:
"smart-assistant-token":"xxx"
2.返回标准数据结构
smartassistant接口均返回JSON格式数据,格式如下:
{
"status":0, // 状态码
"reason":"", // 状态码描述
"data":{} // 所有业务数据返回都包含在data对象中
}
3.错误码列表
本文档详细介绍了使用smartassistant接口的鉴权方式,返回数据的标准JSON格式以及错误码列表。开发者需将smart-assistant-token置于HTTP请求头中,接口响应包含状态码、状态描述及JSON格式的数据。错误码列表提供了各种错误情况的代码和说明,帮助开发者更好地理解和解决调用问题。
使用smartassistant接口,需将用户凭证smart-assistant-token,放在http请求的header中。格式如下:
"smart-assistant-token":"xxx"
smartassistant接口均返回JSON格式数据,格式如下:
{
"status":0, // 状态码
"reason":"", // 状态码描述
"data":{} // 所有业务数据返回都包含在data对象中
}

被折叠的 条评论
为什么被折叠?