获取小时级TOP问题列表
POST
{{env}}/uniform/openapi/getTopIssueHourly小时级TOP问题列表
新加坡: https://crashsight.wetest.net
以上示例中的前缀域名为示例域名,实际使用时以实际环境为准。
下载python代码示例:https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/openapi/crashsight_openapi_v1_getTopIssueHourly.py
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Accept-Encoding
string
可选
示例值:
*
Body 参数application/json
appId
string
产品id
platformId
integer
平台id
version
string
必需
项目版本,-1代表全版本
startHour
string
必需
开始时间 YYMMDDHH
type
string
必需
三种类型-crash,anr,error
limit
integer
必需
行数限制,获取多少行
topIssueDataType
string
必需
行数限制,获取多少行
needCountryDimension
boolean
必需
是否需要过滤出特定国家下的top问题。 true: 获取指定国家下的TOP问题 false: 获取不区分地区的TOP问题
countryList
array[string]
必需
只有在needCountryDimension为true时才生效,指定需要过滤的国家列表。
fsn
string
必需
fsn值可以写死,如上所示
示例
{
"appId": "d98b9f7eec",
"platformId": 1,
"version": "-1",
"startHour": "2022101404",
"type": "crash",
"limit": 5,
"topIssueDataType": "",
"needCountryDimension": true,
"countryList": [
"中国"
],
"fsn": ""
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
versionCrashUser
integer
影响设备数量
preDayVersionCrashUser
integer
前一天影响设备数量
topIssueList
array [object {25}]
必需
appId
string
产品id
platformId
integer
平台id
version
integer
项目版本
date
string
时间
type
string
类型
issueId
string
问题issueId
firstUploadTime
string
首次上报时间
firstUploadTimestamp
integer
可选
crashUser
integer
影响设备数
crashNum
integer
发生次数
accumulateCrashNum
integer
累计影响次数
accumulateCrashUser
integer
累计影响设备
state
integer
处理状态
processors
string
处理人
exceptionName
string
异常类型
exceptionMessage
string
异常信息
keyStack
string
堆栈信息
lastUpdateTime
string
最近更新时间
lastUpdateTimestamp
integer
可选
issueVersions
array [object {7}]
issue版本集合
preDayCrashUser
integer
可选
preDayCrashNum
integer
可选
prevHourCrashDevices
integer
可选
tags
array[string]
可选
is_system_exit
boolean
可选
crashDevices
integer
必需
prevHourCrashDevices
integer
必需
prevDaySameHourCrashDevices
integer
必需
accessDevices
integer
必需
prevHourAccessDevices
integer
必需
prevDaySameHourAccessDevices
integer
必需
示例
{
"versionCrashUser": 200,
"preDayVersionCrashUser": 200,
"topIssueList": [
{
"appId": "d98b9f7eec",
"platformId": 1,
"version": -1,
"date": "",
"type": "",
"issueId": "B0B0C7EAFEF684F2ACCA492E2F194760",
"firstUploadTime": "2021-01-13 14:22:00 671",
"firstUploadTimestamp": 0,
"crashUser": 45,
"crashNum": 45,
"accumulateCrashNum": 511153,
"accumulateCrashUser": 510012,
"state": 2,
"processors": "100006203",
"exceptionName": "java.lang.RuntimeException",
"exceptionMessage": "yyY9Wfe9uXCw6lgPTmpZ2SECbHoQXT",
"keyStack": "",
"lastUpdateTime": "2022-10-14 11:54:02 132",
"lastUpdateTimestamp": 0,
"issueVersions": [
{
"version": "1.0.3",
"firstUploadTimestamp": 0,
"lastUploadTimestamp": 0,
"count": 0,
"deviceCount": 0,
"systemExitCount": 0,
"systemExitDeviceCount": 0
}
],
"preDayCrashUser": 36,
"preDayCrashNum": 36,
"prevHourCrashDevices": 27,
"tags": [],
"is_system_exit": false
}
],
"crashDevices": 200,
"prevHourCrashDevices": 200,
"prevDaySameHourCrashDevices": 200,
"accessDevices": 1000,
"prevHourAccessDevices": 1000,
"prevDaySameHourAccessDevices": 1000
}
最后修改时间: 4 个月前