查询一个产品线
获取所有读、写密钥,用产品ID来替代链接中的PRODUCT_ID,HTTP GET请求
http://api.ubibot.cn/products/PRODUCT_ID
有效请求参数:
- account_key or token_id (string) – account_key 用户账户密钥; token_id 通过登录API获取 (必须).
|
返回值:
- {“result”:”success”,”server_time”:”2017-02-27T10:20:49Z”,”product”:{“product_id”:”870e45f7cab04db39e0397da466db96a”,”description”:”DuduTags – Smart Sensor Devices”,”created_at”:”2016-01-23T17:33:30Z”,”updated_at”:”2016-11-10T01:31:35Z”,”user_id”:”A874A453-85B0-482D-B8C5-EC45FC1B53D0″,”secret”:”3b9c332d9d4abc6c5cce2d9167f507d6″,”name”:”\u8f7b\u677e\u8fde\u667a\u80fd\u6807\u7b7e”,”field1″:”\u6e29\u5ea6″,”field2″:”\u6e7f\u5ea6″,”field3″:”\u5149\u611f”,”field4″:”\u52a0\u901f\u5ea6\u5e45\u5ea6″,”field5″:”\u78c1\u573a\u5f3a\u5ea6″,”field6″:null,”field7″:null,”field8″:null,”field9″:null,”field10″:null,”metadata”:”{\”fn_th\”:1,\”fn_light\”:1,\”fn_mag\”:1,\”fn_acc\”:1,\”fn_bt\”:1,\”fn_noise\”:1,\”fn_battery\”:1,\”fn_dp\”:1,\”cg_data_led\”:\”on\”,\”thres_acc_min\”:1000}”,”public_flag”:”\”false\””,”icon_512x512″:null,”icon_100x100″:”//static.ubibot.cn/products/870e45f7cab04db39e0387da466db96a/icon_100x100.png”}}
|
Was this article helpful to you?
Yes
No