请求参数
application/json
参数名
类型
描述
必填
参数要求
jsonrpc
str
JSON-RPC协议版本,必须写为“2.0”
必填
2.0
method
str
请求方法,设为"device-auth"
必填
device-auth
password_hash
str
经过hash(password)的散列值
必填
响应参数
application/json
参数名
类型
描述
必填
参数要求
jsonrpc
str
JSON-RPC协议版本,必须写为“2.0”
必填
2.0
token
str
验证成功生成的token
必填
id
str
与请求时对应的客户端标识id
必填
与请求的客户端id一致