1. Home
  2. Docs
  3. UbiBot API 文档
  4. 空间管理
  5. 访问一个空间

访问一个空间

 

接口调用请求说明

  • 方式:HTTP GET
  • 内容:http://api.ubibot.cn/channels/CHANNEL_ID (注:将CHANNEL_ID替换为您的空间编号)

参数说明

参数 是否必须 说明
account_key 必须 与token_id (string)二选一
token_id (string) 必须 与account_key二选一

 


返回说明
正常情况下,平台会返回下述JSON数据包:

{“result”:”success”,”server_time”:”2017-08-20T10:06:17Z”,”shared_access”:false,”public_access”:false,”channel”:{“channel_id”:”395″,”name”:”\u8bbe\u5907 395″,”field1″:”\u6e29\u5ea6″,”field2″:”\u6e7f\u5ea6″,”field3″:”\u5149\u7167″,”field4″:”\u7535\u91cf”,”field5″:”\u4fe1\u53f7\u5f3a\u5ea6″,”field6″:”\u52a0\u901f\u5ea6″,”field7″:”\u6572\u51fb”,”field8″:”\u5916\u63a5\u6e29\u5ea6″,”field9″:”\u95e8\u78c1″,”field10″:null,”latitude”:null,”longitude”:null,”created_at”:”2017-07-11T03:17:44Z”,”updated_at”:”2017-07-11T03:17:44Z”,”metadata”:”{\”fn_th\”:60,\”fn_light\”:60,\”fn_mag\”:0,\”fn_mag_int\”:2,\”fn_acc_tap1\”:0,\”fn_acc_tap2\”:0,\”fn_acc_act\”:0,\”fn_acc_min\”:5,\”fn_bt\”:0,\”fn_ext_t\”:300,\”fn_battery\”:3600,\”fn_dp\”:600,\”cg_data_led\”:1}”,”tags”:null,”public_flag”:”false”,”url”:null,”description”:null,”write_key”:”ccc5af4b4e43b26dd7fe230f584dc587″,”user_id”:”3E9B0F4C-3564-41EF-94CF-0DB568577DE1″,”last_entry_id”:”15403″,”last_entry_date”:”2017-07-14T06:41:27Z”,”usage”:”549397″,”device_id”:”4b1fca94ad758faab349bbd7a01cf00ea39e8ba4″,”status”:null,”status_date”:null,”last_ip”:”175.171.43.88″,”channel_icon”:null,”product_id”:”ubibot-ws1-cn”,”plan_code”:”ubibot_1g”,”plan_start”:”2017-07-11T03:17:44Z”,”plan_end”:null,”bill_start”:”1502335064″,”bill_end”:”1504927064″,”traffic_out”:”0″,”traffic_in”:”0″,”renew”:null,”last_values”:”{\”field1\”:{\”value\”:26.220337,\”created_at\”:1500014464},\”field3\”:{\”value\”:0.4,\”created_at\”:1500014464},\”field4\”:{\”value\”:2.901859,\”created_at\”:1500013142},\”field2\”:{\”value\”:57,\”created_at\”:1500014464},\”field5\”:{\”value\”:-49,\”created_at\”:1500014484},\”field9\”:{\”value\”:1,\”created_at\”:1499749687},\”field8\”:{\”value\”:25.6875,\”created_at\”:1500014396}}”,”vconfig”:””,”firmware”:null,”size_out”:”5368709120″,”size_storage”:”1073741824″,”serial”:”E57***WS1″,”attached_at”:”2017-07-11T03:17:44Z”,”activated_at”:”2017-07-11T03:18:57Z”,”net”:”0″,”username”:”mob_b8f25b5631b434ab9ab69ac5126589f5″,”c_icon_base”:null}}
Was this article helpful to you? Yes No

How can we help?