接口调用请求说明
方式:HTTP GET
内容:http://api.ubibot.cn/channels/public
参数说明
参数 | 是否必须 | 说明 |
username(string) | 可选 | 通过用户名查询 |
tag(string) | 可选 | 通过标签查询 |
pageNumber(string) | 可选 | 请求页数 |
itemsPerPage(string) | 可选 | 每页记录条数 |
返回说明
正常情况下,平台会返回下述JSON数据包:
{“result”:”success”,”server_time”:”2017-08-20T13:07:16Z”,”pageNumber”:0,”itemsPerPage”:50,”totalItems”:12,”user”:null,”channels”:[{“channel_id”:”64″,”field1″:”\u6e29\u5ea6″,”field2″:”\u6e7f\u5ea6″,”field3″:”\u5149″,”field4″:”\u52a0\u901f\u5ea6\u5e45\u5ea6″,”field5″:”\u78c1\u573a\u5f3a\u5ea6″,”field6″:””,”field7″:””,”field8″:”Switch1 \u5f00\u5173\u72b6\u6001″,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:”\u706f\u6ce1\u5f00\u5173 64″,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-14T12:10:22Z”,”usage”:”1461″,”last_entry_id”:”19161176″,”last_entry_date”:”1499238969″,”channel_icon”:”//static.ubibot.cn/channels/64/9d8d9a51de021b0dd098a7816797843a.png”,”public_flag”:”true”,”user_id”:”A874A453-87B0-482D-B8C5-EC45FC1B53D0″,”username”:”wangmao”,”avatar”:”//static.ubibot.cn/users/A874A453-87B0-482D-B8C5-EC45FC1B53D0/ba0e99a5c2d09ce14af95da38fcf4aa8.jpg”,”c_icon_base”:”channels/64/9d8d9a51de021b0dd098a7816797843a.png”,”net”:”-1″},{“channel_id”:”170″,”field1″:”\u6e29\u5ea6″,”field2″:”\u6e7f\u5ea6″,”field3″:”\u5149\u611f”,”field4″:””,”field5″:””,”field6″:””,”field7″:”\u7535\u91cf”,”field8″:””,”field9″:null,”field10″:null,”latitude”:”38.95044″,”longitude”:”121.542781″,”name”:”\u5609\u8bda\u4f9b\u6696\u5c0f\u533a-cctv7(\u522b\u52a8)”,”tags”:null,”url”:null,”description”:null,”created_at”:”2016-09-28T03:13:54Z”,”usage”:”5499866″,”last_entry_id”:”43233″,”last_entry_date”:”1481368455″,”channel_icon”:null,”public_flag”:”true”,”user_id”:”A874A453-87B0-482D-B8C5-EC45FC1B53D0″,”username”:”wangmao”,”avatar”:”//static.ubibot.cn/users/A874A453-87B0-482D-B8C5-EC45FC1B53D0/ba0e99a5c2d09ce14af95da38fcf4aa8.jpg”,”c_icon_base”:null,”net”:”-1″},{“channel_id”:”171″,”field1″:””,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:”\u7535\u91cf”,”field8″:”\u56de\u6c34\u6e29\u5ea6″,”field9″:null,”field10″:null,”latitude”:null,”longitude”:null,”name”:”\u56de\u6c34\u7ba1″,”tags”:null,”url”:null,”description”:null,”created_at”:”2016-09-28T03:14:05Z”,”usage”:”2319199″,”last_entry_id”:”6252″,”last_entry_date”:”1480577540″,”channel_icon”:”//static.ubibot.cn/channels/171/fdc4a0c80659e74690847f21e96451df.png”,”public_flag”:”true”,”user_id”:”E0F439C6-5E43-4BD8-AE89-D0F355E408B2″,”username”:”jiacheng”,”avatar”:null,”c_icon_base”:”channels/171/fdc4a0c80659e74690847f21e96451df.png”,”net”:”-1″},{“channel_id”:”176″,”field1″:”\u73af\u5883\u6e29\u5ea6″,”field2″:”\u73af\u5883\u6e7f\u5ea6″,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:”\u7535\u91cf”,”field8″:”\u51fa\u6c34\u6e29\u5ea6″,”field9″:null,”field10″:null,”latitude”:null,”longitude”:null,”name”:”\u51fa\u6c34\u7ba1″,”tags”:null,”url”:null,”description”:null,”created_at”:”2016-11-10T02:09:41Z”,”usage”:”298184″,”last_entry_id”:”5404″,”last_entry_date”:”1480234960″,”channel_icon”:”//static.ubibot.cn/channels/176/48dc7a4e10d7f824b82589d22cb196b0.png”,”public_flag”:”true”,”user_id”:”E0F439C6-5E43-4BD8-AE89-D0F355E408B2″,”username”:”jiacheng”,”avatar”:null,”c_icon_base”:”channels/176/48dc7a4e10d7f824b82589d22cb196b0.png”,”net”:”-1″},{“channel_id”:”42″,”field1″:”field1″,”field2″:””,”field3″:”field3″,”field4″:””,”field5″:””,”field6″:””,”field7″:”field7″,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:”New Channel”,”tags”:”adc,abccc”,”url”:””,”description”:””,”created_at”:”2016-01-14T12:10:22Z”,”usage”:”3435″,”last_entry_id”:null,”last_entry_date”:”1459872331″,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”-1″},{“channel_id”:”62″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:”channel 62″,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-14T12:10:22Z”,”usage”:”3597″,”last_entry_id”:”61″,”last_entry_date”:”2016″,”channel_icon”:null,”public_flag”:”true”,”user_id”:”E738C0B6-7EA3-4496-BB27-2FC46D7E8F50″,”username”:”leoncool”,”avatar”:”//static.ubibot.cn/users/E738C0B6-7EA3-4496-BB27-2FC46D7E8F50/3ef3ef96bb40931e225740ae9d3f66c6.png”,”c_icon_base”:null,”net”:”-1″},{“channel_id”:”71″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:””,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-14T12:10:22Z”,”usage”:”0″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″},{“channel_id”:”72″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:”field5″,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:”channel 72″,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-14T12:10:22Z”,”usage”:”0″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″},{“channel_id”:”74″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:””,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-15T18:30:22Z”,”usage”:”0″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″},{“channel_id”:”81″,”field1″:””,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:”field8″,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:””,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-24T06:52:06Z”,”usage”:”13292434″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″},{“channel_id”:”82″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:”channel 82″,”tags”:””,”url”:”http://www.datadudu.com/”,”description”:””,”created_at”:”2016-01-24T06:53:16Z”,”usage”:”0″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″},{“channel_id”:”83″,”field1″:”field1″,”field2″:””,”field3″:””,”field4″:””,”field5″:””,”field6″:””,”field7″:””,”field8″:””,”field9″:null,”field10″:null,”latitude”:”0″,”longitude”:”0″,”name”:””,”tags”:””,”url”:””,”description”:””,”created_at”:”2016-01-24T07:08:25Z”,”usage”:”0″,”last_entry_id”:”0″,”last_entry_date”:null,”channel_icon”:null,”public_flag”:”true”,”user_id”:”03560B32-0719-49C7-990A-769AF173BB15″,”username”:”test”,”avatar”:null,”c_icon_base”:null,”net”:”0″}]} |