[关闭]
@rzzx 2017-02-14T08:00:03.000000Z 字数 767 阅读 857

掌上听云客户端App API接口-时间段和版本号

App

文档中主机名需要参考以下配置:

内网:http://reportlocal.tingyun.com
外网:https://report.tingyun.com



1. 获取时间段

URL

/mobileApplication/timeList

请求参数

参数 必选 类型 说明
_ty_auth_token true string token从authlocal.tingyun.com:10886/auth/api/auth/login获取

响应数据

  1. /*成功响应*/
  2. {
  3. "status":200,
  4. "data":{
  5. "time":"30,60,360,720,1440,4320,10080,20160,43200,86400,129600",
  6. "id": 1 //0为标准版和免费版,1为其余的版本
  7. }
  8. }

2. 获取版本号

URL

/mobileApplication/selectFilter/{mobileAppId}/versionList

请求参数

参数 必选 类型 说明
_ty_auth_token true string token从authlocal.tingyun.com:10886/auth/api/auth/login获取
mobileAppId true string 移动AppID
endTime false string 结束时间 格式如:yyyy-MM-dd HH:mm:ss
timePeriod false string 时间间隔 相差多少分钟

响应数据

  1. /*成功响应*/
  2. {
  3. "data":[
  4. {
  5. "id":1214,
  6. "mobileAppId":453,
  7. "name":"2.4.0",
  8. "agentName":"2.3.4",
  9. "ctime":1447209260000
  10. },
  11. ...
  12. ]
  13. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注