API中心服务端API应用统计
应用统计
今日实时数据查询
说明:请使用 应用id替换{id}
请求方法: Get
请求参数:
返回结果:
字段名 | 类型 | 说明 |
---|
countTotal | Integer | 使用总时长(分钟) |
durationTotal | Integer | 使用总次数 |
countDay | Integer | 今天使用总次数 |
durationDay | Integer | 今天使用总时长(分钟) |
concurrency | Integer | 当前并发数 |
返回内容示例:
{
"version": "1.0.0",
"result": true,
"message": "success",
"code": 200,
"data": {
"countTotal": 4,
"durationTotal": 3,
"countDay": 0,
"durationDay": 0,
"concurrency": 0
},
"serverTime": 1657078446351,
"requestId": "0639c01d48aa57d1"
}
查询应用使用时间分布详情
说明:请使用 应用id替换{id}
请求方法: Get
请求参数:
字段名 | 类型 | 是否必填 | 说明 |
---|
startDate | LocalDate | 是 | 开始时间 |
endDate | LocalDate | 是 | 结束时间 |
appId | Long | 否 | 应用id |
countDay | int | 否 | 隐藏次数 |
返回结果:
字段名 | 类型 | 说明 |
---|
dateDistributions | List | 日期集合 |
areaDistributions | List | 地区集合 |
appDistributions | List | 应用集合 |
DateDistribution
字段名 | 类型 | 说明 |
---|
statDate | LocalDate | 日期 |
duration | Integer | 持续时间 |
AreaDistribution
字段名 | 类型 | 说明 |
---|
area | String | 区域 |
duration | Integer | 持续时间 |
AppDistribution
字段名 | 类型 | 说明 |
---|
appName | String | 应用名称 |
duration | Integer | 持续时间 |
返回内容示例:
{
"version": "1.0.0",
"result": true,
"message": "success",
"code": 200,
"data": {
"dateDistributions": [
{
"statDate": "06-05",
"duration": 0
},
{
"statDate": "06-06",
"duration": 0
}
],
"areaDistributions": [
{
"area": "广东省",
"duration": 3
}
],
"appDistributions": [
{
"appName": "周五",
"duration": 2
},
{
"appName": "20220614",
"duration": 1
}
]
},
"serverTime": 1657078446374,
"requestId": "d41c7b55d03d5e44"
}
查询应用使用次数分布详情
说明:请使用 应用id替换{id}
请求方法: Get
请求参数:
字段名 | 类型 | 是否必填 | 说明 |
---|
startDate | LocalDate | 是 | 开始时间 |
endDate | LocalDate | 是 | 结束时间 |
appId | Long | 否 | 应用id |
countDay | int | 否 | 隐藏次数 |
返回结果:
字段名 | 类型 | 说明 |
---|
dateDistributions | List | 日期集合 |
areaDistributions | List | 地区集合 |
appDistributions | List | 应用集合 |
DateDistribution
字段名 | 类型 | 说明 |
---|
statDate | LocalDate | 日期 |
duration | Integer | 持续时间 |
AreaDistribution
字段名 | 类型 | 说明 |
---|
area | String | 区域 |
duration | Integer | 持续时间 |
AppDistribution
字段名 | 类型 | 说明 |
---|
appName | String | 应用名称 |
duration | Integer | 持续时间 |
返回内容示例:
{
"version": "1.0.0",
"result": true,
"message": "success",
"code": 200,
"data": {
"dateDistributions": [
{
"statDate": "06-05",
"duration": 0
},
{
"statDate": "06-06",
"duration": 0
}
],
"areaDistributions": [
{
"area": "广东省",
"duration": 3
}
],
"appDistributions": [
{
"appName": "周五",
"duration": 2
},
{
"appName": "20220614",
"duration": 1
}
]
},
"serverTime": 1657078446374,
"requestId": "d41c7b55d03d5e44"
}