获取趋势数据(最近N天)(新鉴权)
POST
{{env}}/uniform/openapi/getTrendEx获取趋势数据(最近N天)(新鉴权)
新加坡: https://crashsight.wetest.net
以上示例中的前缀域名为示例域名,实际使用时以实际环境为准。
下载python代码示例: https://crashsight-docs-1258344700.cos.ap-shanghai.myqcloud.com/uniform/crashsight_openapi_v1_getTrendEx.py
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Accept-Encoding
string
必需
示例值:
*
Body 参数application/json
appId
string
必需
platformId
integer
必需
startDate
string
必需
endDate
string
必需
type
string
必需
fsn
string
必需
dataType
string
必需
vm
integer
必需
versionList
array[string]
必需
needCountryDimension
boolean
必需
countryList
string
必需
mergeMultipleVersionsWithInaccurateResult
boolean
必需
userSceneTagList
array[string]
场景筛选(可选)
示例
{
"appId": "4bd2da9ae1",
"platformId": 1,
"startDate": "20230605",
"endDate": "20230704",
"type": "crash",
"fsn": "",
"dataType": "trendData",
"vm": 0,
"versionList": [
"8.4.1.1.804010199",
"3.82.1.4"
],
"needCountryDimension": false,
"countryList": "[]",
"mergeMultipleVersionsWithInaccurateResult": true
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
appId
string
产品id
platformId
integer
平台id
version
string
项目版本
date
string
时间
country
string
国家
crashNum
integer
崩溃次数
crashUser
integer
崩溃用户数
reportNumAllData
integer
必需
reportDeviceAllData
integer
必需
accessNum
integer
联网次数
accessUser
integer
联网用户数
示例
{
"status": 200,
"ret": {
"code": 200,
"message": "OK",
"errorCode": "",
"data": [
{
"appId": "4bd2da9ae1",
"platformId": 1,
"version": "MERGED",
"date": "20230605",
"type": "crash",
"country": "-1",
"crashNum": 0,
"crashUser": 0,
"reportNumAllData": 0,
"reportDeviceAllData": 0,
"accessNum": 0,
"accessUser": 0
},
{
"appId": "4bd2da9ae1",
"platformId": 1,
"version": "MERGED",
"date": "20230704",
"country": "-1",
"crashNum": 0,
"crashUser": 0,
"reportNumAllData": 0,
"reportDeviceAllData": 0,
"accessNum": 13,
"accessUser": 1
}
]
}
}
最后修改时间: 2 个月前