1. 查询产品密钥
1.1. 接口定义
GET /product/{deviceType}/cert
参数 | 是否必填 | 说明 |
---|---|---|
deviceType | 是 | 产品类型 |
1.2. 请求示例
GET '/product/LEMO/cert'
1.3. 返回值
1.3.1. 成功 (Status 200)
{
"deviceType": "LEMO",
"productSecret": "xxx"
}
1.3.1. 失败-产品不存在(Status 404)
Product not exit: {deviceType}