用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
en:toaster:user-menu-of-pns [2015/03/20 14:38]
cobub [User channel query (userchannel)]
en:toaster:user-menu-of-pns [2017/07/14 11:18] (当前版本)
行 1: 行 1:
-====== User Menu of PNS ======+~~Title:​Cobub Toaster User Manual of PNS - Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~ 
 +{{description>​Cobub Razor is an Open Source Mobile Analytics. The document introduces usage of PNS Web interface.Here are the concepts of user channel and tag channel, which must be clarified.}} 
 +{{keywords>​Cobub Razor,open source mobile analytics,​mobile analytics,​mobile app analytics, pns, user manual}} 
 + 
 +====== User Manual ​of PNS ======
 The document introduces usage of PNS Web interface. The document introduces usage of PNS Web interface.
  
行 257: 行 261:
  
 ===== Tag channel query (tagchannel) ===== ===== Tag channel query (tagchannel) =====
 +METHOD_NAME:​ tagchannel
 +POST_DATA:
  
 +            "​channel":​ "​location:​Beijing",​
 +            "​channel":​ "​location:​Guangzhou"​
 +Return :
 +
 +     {
 +         "​status":​ "​200",​
 +         "​location:​Beijing":​ 456, //there are 456 people under TAG "​location:​Beijing"​ currently, including online and offline
 +         "​location:​Guangzhou":​ 23 //there are 23 people under TAG "​location:​Guangzhou"​ currently, including online and offline
 +      }
 ===== APP query(app-size) ===== ===== APP query(app-size) =====
 +METHOD_NAME:​ app-size
 +POST_DATA:
 +
 +            "​online":​ 1,
 +            "​appid":​ "​xxx",​
 +            "​appid":​ "​yyy" ​
 +online: 1 indicates to query online user count, 0 for the total count including offline
 +appid: can provide multiple appid to query
 +Return format:
 +
 +    {
 +         "​status":​ "​200",​
 +         "​xxx":​ 1234, //app which appid is xxx online (or total) user number is 1234 currently
 +         "​yyy":​ 567 //app which appid is yyy online (or total) user number is 567 currently
 +      }
 +The returned number indicates count of devices, and the meaning depends on the “online” value of the method.
 +
  
en/toaster/user-menu-of-pns.1426833503.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)