1. 接口描述
接口请求域名: rum.tencentcloudapi.com 。
查询top问题列表
默认接口请求频率限制:20次/秒。
推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。
2. 输入参数
以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数。
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| Action | 是 | String | 公共参数,本接口取值:DescribeTopIssues。 |
| Version | 是 | String | 公共参数,本接口取值:2021-06-22。 |
| Region | 是 | String | 公共参数,详见产品支持的 地域列表,本接口仅支持其中的: ap-guangzhou, ap-singapore 。 |
| ProductId | 是 | String | 产品Id 示例值:1025 |
| Compare | 否 | CompareCondition | 需要对比的查询条件,没有则不填 |
| Condition | 否 | CompareCondition | 查询条件 |
| IssueType | 否 | Integer | 问题类型 示例值:1 |
| SortField | 否 | String | 排序字段 示例值:report_time |
| SortType | 否 | String | 排序方式 示例值:ASC |
| TopNum | 否 | Integer | topN 示例值:10 |
| ExtraData | 否 | String | 拓展字段 示例值:data |
| RequestHeader | 否 | String | 请求头 |
3. 输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| Data | String | 返回值 |
| Code | Integer | 状态码 示例值:200 |
| Message | String | 消息 示例值:success |
| RequestId | String | 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 |
4. 示例
示例1 拉取top的问题列表
输入示例
POST / HTTP/1.1
Host: rum.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTopIssues
<公共请求参数>
{
"ProductId": "5d4fa0e8d8",
"Compare": {
"StartTime": 1743490267,
"EndTime": 1748065599
},
"Condition": {
"StartTime": 1743490267,
"EndTime": 1748065599
},
"IssueType": 1,
"TopNum": 20,
"RequestHeader": "BEGIN{\"X-ProductId\": \"5d4fa0e8d8\"}END"
}
输出示例
{
"Response": {
"Code": 0,
"Data": "{\"base_rsp\":{\"code\":0,\"msg\":\"success\"},\"issues\":[{\"common_result\":{\"issue_id\":\"6D0914E53B7B0E4CA61005BE48F26D16\",\"key_method\":\"java.lang.NullPointerException\\ncom.example.test.bugly.BuglyTestActivity.testJavaCrash\\ncom.example.test.bugly.BuglyTestActivity.lambda$onCreate$0\\ncom.example.test.bugly.-$$Lambda$BuglyTestActivity$w4izlE_jhOR7z9BZ_ZcfnlYYmLI.onClick\",\"last_report_time\":\"1745408741\",\"tapd_status\":\"unassigned\",\"issue_status\":\"notRepaired\",\"tapd_url\":\"\",\"tapd_handler\":\"\",\"min_app_version\":\"\",\"max_app_version\":\"\",\"tags\":[],\"compare_status\":0,\"remark\":\"\",\"last_client_identify\":\"6e2afeb7-a7d9-4a0d-8046-6bf817a6ed74\",\"exception_name\":\"java.lang.NullPointerException\",\"exception_msg\":\"Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference\",\"first_report_time\":\"1743504799\",\"min_app_version_in_filter\":\"\",\"max_app_version_in_filter\":\"\",\"tags_in_filter\":[],\"bundle_id\":\"\",\"type\":0,\"error_msg\":\"6D0914E53B7B0E4CA61005BE48F26D16\",\"excep_name\":\"\",\"excep_message\":\"\",\"excep_type\":0,\"last_remark_user\":\"\",\"last_remark_time\":\"0\",\"translated_stack\":\"\",\"dimension_trend\":[],\"inferred_labels\":[]},\"statistic_result\":[{\"name\":\"doc_count\",\"value\":38,\"proportion\":0.7755102040816326,\"volatility\":0,\"totalize\":38},{\"name\":\"qimei_count\",\"value\":2,\"proportion\":0.6666666666666666,\"volatility\":0,\"totalize\":2}]},{\"common_result\":{\"issue_id\":\"8B27422300D5C3147B06C463C72099DF\",\"key_method\":\"libBugly_Native.so\\nlibBugly_Native.so\",\"last_report_time\":\"1745302556\",\"tapd_status\":\"unassigned\",\"issue_status\":\"notRepaired\",\"tapd_url\":\"\",\"tapd_handler\":\"\",\"min_app_version\":\"\",\"max_app_version\":\"\",\"tags\":[],\"compare_status\":0,\"remark\":\"\",\"last_client_identify\":\"40169b85-9bde-4cff-891a-647e9f6b6794\",\"exception_name\":\"SIGABRT\",\"exception_msg\":\"JNI DETECTED ERROR IN APPLICATION: jarray was NULL\\n in call to GetObjectArrayElement\\n from void com.tencent.bugly.crashreport.crash.jni.NativeCrashHandler.testCrash()\",\"first_report_time\":\"1741768446\",\"min_app_version_in_filter\":\"\",\"max_app_version_in_filter\":\"\",\"tags_in_filter\":[],\"bundle_id\":\"\",\"type\":0,\"error_msg\":\"8B27422300D5C3147B06C463C72099DF\",\"excep_name\":\"\",\"excep_message\":\"\",\"excep_type\":0,\"last_remark_user\":\"\",\"last_remark_time\":\"0\",\"translated_stack\":\"\",\"dimension_trend\":[],\"inferred_labels\":[]},\"statistic_result\":[{\"name\":\"doc_count\",\"value\":3,\"proportion\":0.061224489795918366,\"volatility\":0,\"totalize\":6},{\"name\":\"qimei_count\",\"value\":2,\"proportion\":0.6666666666666666,\"volatility\":0,\"totalize\":3}]},{\"common_result\":{\"issue_id\":\"2B3D2F51FABFEFA21E9F2BC186120DB3\",\"key_method\":\"\",\"last_report_time\":\"1745302768\",\"tapd_status\":\"unassigned\",\"issue_status\":\"notRepaired\",\"tapd_url\":\"\",\"tapd_handler\":\"\",\"min_app_version\":\"\",\"max_app_version\":\"\",\"tags\":[],\"compare_status\":0,\"remark\":\"\",\"last_client_identify\":\"dongxi6666777\",\"exception_name\":\"\",\"exception_msg\":\"\",\"first_report_time\":\"1745236849\",\"min_app_version_in_filter\":\"\",\"max_app_version_in_filter\":\"\",\"tags_in_filter\":[],\"bundle_id\":\"\",\"type\":0,\"error_msg\":\"2B3D2F51FABFEFA21E9F2BC186120DB3\",\"excep_name\":\"\",\"excep_message\":\"\",\"excep_type\":0,\"last_remark_user\":\"\",\"last_remark_time\":\"0\",\"translated_stack\":\"\",\"dimension_trend\":[],\"inferred_labels\":[]},\"statistic_result\":[{\"name\":\"doc_count\",\"value\":5,\"proportion\":0.10204081632653061,\"volatility\":0,\"totalize\":5},{\"name\":\"qimei_count\",\"value\":1,\"proportion\":0.3333333333333333,\"volatility\":0,\"totalize\":1}]},{\"common_result\":{\"issue_id\":\"8D353316D3B28F4FB88678AD2E699AAF\",\"key_method\":\"java.lang.OutOfMemoryError\\ncom.example.test.bugly.BuglyTestActivity$1.run\",\"last_report_time\":\"1743505285\",\"tapd_status\":\"unassigned\",\"issue_status\":\"notRepaired\",\"tapd_url\":\"\",\"tapd_handler\":\"\",\"min_app_version\":\"\",\"max_app_version\":\"\",\"tags\":[],\"compare_status\":0,\"remark\":\"\",\"last_client_identify\":\"372a5d85-be4a-4eb6-b2e5-2a2ff8467e91\",\"exception_name\":\"java.lang.OutOfMemoryError\",\"exception_msg\":\"Failed to allocate a 409616 byte allocation with 354784 free bytes and 346KB until OOM, target footprint 268435456, growth limit 268435456\",\"first_report_time\":\"1743504818\",\"min_app_version_in_filter\":\"\",\"max_app_version_in_filter\":\"\",\"tags_in_filter\":[],\"bundle_id\":\"\",\"type\":0,\"error_msg\":\"8D353316D3B28F4FB88678AD2E699AAF\",\"excep_name\":\"\",\"excep_message\":\"\",\"excep_type\":0,\"last_remark_user\":\"\",\"last_remark_time\":\"0\",\"translated_stack\":\"\",\"dimension_trend\":[],\"inferred_labels\":[]},\"statistic_result\":[{\"name\":\"doc_count\",\"value\":2,\"proportion\":0.04081632653061224,\"volatility\":0,\"totalize\":2},{\"name\":\"qimei_count\",\"value\":1,\"proportion\":0.3333333333333333,\"volatility\":0,\"totalize\":1}]},{\"common_result\":{\"issue_id\":\"43536A5906063389026B87C7BB2424AD\",\"key_method\":\"\",\"last_report_time\":\"1745302928\",\"tapd_status\":\"unassigned\",\"issue_status\":\"notRepaired\",\"tapd_url\":\"\",\"tapd_handler\":\"\",\"min_app_version\":\"\",\"max_app_version\":\"\",\"tags\":[],\"compare_status\":0,\"remark\":\"\",\"last_client_identify\":\"dongxi6666777999\",\"exception_name\":\"\",\"exception_msg\":\"\",\"first_report_time\":\"1745302928\",\"min_app_version_in_filter\":\"\",\"max_app_version_in_filter\":\"\",\"tags_in_filter\":[],\"bundle_id\":\"\",\"type\":0,\"error_msg\":\"43536A5906063389026B87C7BB2424AD\",\"excep_name\":\"\",\"excep_message\":\"\",\"excep_type\":0,\"last_remark_user\":\"\",\"last_remark_time\":\"0\",\"translated_stack\":\"\",\"dimension_trend\":[],\"inferred_labels\":[]},\"statistic_result\":[{\"name\":\"doc_count\",\"value\":1,\"proportion\":0.02040816326530612,\"volatility\":0,\"totalize\":1},{\"name\":\"qimei_count\",\"value\":1,\"proportion\":0.3333333333333333,\"volatility\":0,\"totalize\":1}]}]}",
"Message": "",
"RequestId": "7548c974-0ae8-4ae7-b23c-b737276a0dc3"
}
}
5. 开发者资源
腾讯云 API 平台
腾讯云 API 平台 是综合 API 文档、错误码、API Explorer 及 SDK 等资源的统一查询平台,方便您从同一入口查询及使用腾讯云提供的所有 API 服务。
API Inspector
用户可通过 API Inspector 查看控制台每一步操作关联的 API 调用情况,并自动生成各语言版本的 API 代码,也可前往 API Explorer 进行在线调试。
SDK
云 API 3.0 提供了配套的开发工具集(SDK),支持多种编程语言,能更方便的调用 API。
- Tencent Cloud SDK 3.0 for Python: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for Java: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for PHP: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for Go: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for Node.js: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for .NET: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for C++: CNB, GitHub, Gitee
- Tencent Cloud SDK 3.0 for Ruby: CNB, GitHub, Gitee
命令行工具
6. 错误码
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码。
| 错误码 | 描述 |
|---|---|
| InvalidParameter | 参数错误。 |
| InvalidParameterValue | 参数取值错误。 |
| MissingParameter | 缺少参数错误。 |