查询 Issue 列表
curl --request POST \
--url 'https://api.flashcat.cloud/rum/issue/list?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"application_ids": [
"eWbr4xk3ZRnLabRa6unqwD"
],
"end_time": 1775961914595,
"limit": 20,
"orderby": "updated_at",
"p": 1,
"start_time": 1772611200000,
"statuses": [
"for_review"
]
}
'import requests
url = "https://api.flashcat.cloud/rum/issue/list?app_key="
payload = {
"application_ids": ["eWbr4xk3ZRnLabRa6unqwD"],
"end_time": 1775961914595,
"limit": 20,
"orderby": "updated_at",
"p": 1,
"start_time": 1772611200000,
"statuses": ["for_review"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
application_ids: ['eWbr4xk3ZRnLabRa6unqwD'],
end_time: 1775961914595,
limit: 20,
orderby: 'updated_at',
p: 1,
start_time: 1772611200000,
statuses: ['for_review']
})
};
fetch('https://api.flashcat.cloud/rum/issue/list?app_key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flashcat.cloud/rum/issue/list?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'application_ids' => [
'eWbr4xk3ZRnLabRa6unqwD'
],
'end_time' => 1775961914595,
'limit' => 20,
'orderby' => 'updated_at',
'p' => 1,
'start_time' => 1772611200000,
'statuses' => [
'for_review'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/rum/issue/list?app_key="
payload := strings.NewReader("{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/rum/issue/list?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/rum/issue/list?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_next_page": true,
"items": [
{
"age": 5078684,
"application_id": "eWbr4xk3ZRnLabRa6unqwD",
"application_name": "Flashduty DEV",
"created_at": 1770883154944,
"error": {
"message": "Script error.",
"type": "Error"
},
"error_count": 752,
"first_seen": {
"timestamp": 1770883154944,
"version": "1.0.0"
},
"is_crash": false,
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"last_seen": {
"timestamp": 1775961839090,
"version": "1.0.0"
},
"resolved_at": 0,
"resolved_by": 0,
"service": "fd-console",
"session_count": 381,
"severity": "Info",
"status": "for_review",
"suspected_cause": {
"person_id": 0,
"reason": "The error message 'Script error.' typically indicates an unhandled exception in JavaScript.",
"source": "auto",
"value": "code.exception"
},
"team_id": 2477033058131,
"updated_at": 1775961914595,
"versions": [
"1.0.0"
]
},
{
"age": 48,
"application_id": "eWbr4xk3ZRnLabRa6unqwD",
"application_name": "Flashduty DEV",
"created_at": 1775189479566,
"error": {
"message": "API ERROR: We encountered an internal error | POST /api/access/logout",
"type": "Error"
},
"error_count": 3,
"first_seen": {
"timestamp": 1775189479566,
"version": "1.0.0"
},
"is_crash": false,
"issue_id": "H8kZSmxiE7EgdyD4fCyyNa",
"last_seen": {
"timestamp": 1775189527762,
"version": "1.0.0"
},
"resolved_at": 0,
"resolved_by": 0,
"service": "fd-console",
"session_count": 1,
"severity": "Info",
"status": "for_review",
"suspected_cause": {
"person_id": 0,
"reason": "The error indicates an internal server error during a POST request to /api/access/logout.",
"source": "auto",
"value": "api.failed_request"
},
"team_id": 2477033058131,
"updated_at": 1775191284163,
"versions": [
"1.0.0"
]
}
],
"total": 111
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}RUM 问题跟踪
查询 Issue 列表
返回符合过滤条件的 RUM 异常追踪 Issue 分页列表。
POST
/
rum
/
issue
/
list
查询 Issue 列表
curl --request POST \
--url 'https://api.flashcat.cloud/rum/issue/list?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"application_ids": [
"eWbr4xk3ZRnLabRa6unqwD"
],
"end_time": 1775961914595,
"limit": 20,
"orderby": "updated_at",
"p": 1,
"start_time": 1772611200000,
"statuses": [
"for_review"
]
}
'import requests
url = "https://api.flashcat.cloud/rum/issue/list?app_key="
payload = {
"application_ids": ["eWbr4xk3ZRnLabRa6unqwD"],
"end_time": 1775961914595,
"limit": 20,
"orderby": "updated_at",
"p": 1,
"start_time": 1772611200000,
"statuses": ["for_review"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
application_ids: ['eWbr4xk3ZRnLabRa6unqwD'],
end_time: 1775961914595,
limit: 20,
orderby: 'updated_at',
p: 1,
start_time: 1772611200000,
statuses: ['for_review']
})
};
fetch('https://api.flashcat.cloud/rum/issue/list?app_key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flashcat.cloud/rum/issue/list?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'application_ids' => [
'eWbr4xk3ZRnLabRa6unqwD'
],
'end_time' => 1775961914595,
'limit' => 20,
'orderby' => 'updated_at',
'p' => 1,
'start_time' => 1772611200000,
'statuses' => [
'for_review'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/rum/issue/list?app_key="
payload := strings.NewReader("{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/rum/issue/list?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/rum/issue/list?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"application_ids\": [\n \"eWbr4xk3ZRnLabRa6unqwD\"\n ],\n \"end_time\": 1775961914595,\n \"limit\": 20,\n \"orderby\": \"updated_at\",\n \"p\": 1,\n \"start_time\": 1772611200000,\n \"statuses\": [\n \"for_review\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"has_next_page": true,
"items": [
{
"age": 5078684,
"application_id": "eWbr4xk3ZRnLabRa6unqwD",
"application_name": "Flashduty DEV",
"created_at": 1770883154944,
"error": {
"message": "Script error.",
"type": "Error"
},
"error_count": 752,
"first_seen": {
"timestamp": 1770883154944,
"version": "1.0.0"
},
"is_crash": false,
"issue_id": "NHEacQHi2DhXqobr9qPQz9",
"last_seen": {
"timestamp": 1775961839090,
"version": "1.0.0"
},
"resolved_at": 0,
"resolved_by": 0,
"service": "fd-console",
"session_count": 381,
"severity": "Info",
"status": "for_review",
"suspected_cause": {
"person_id": 0,
"reason": "The error message 'Script error.' typically indicates an unhandled exception in JavaScript.",
"source": "auto",
"value": "code.exception"
},
"team_id": 2477033058131,
"updated_at": 1775961914595,
"versions": [
"1.0.0"
]
},
{
"age": 48,
"application_id": "eWbr4xk3ZRnLabRa6unqwD",
"application_name": "Flashduty DEV",
"created_at": 1775189479566,
"error": {
"message": "API ERROR: We encountered an internal error | POST /api/access/logout",
"type": "Error"
},
"error_count": 3,
"first_seen": {
"timestamp": 1775189479566,
"version": "1.0.0"
},
"is_crash": false,
"issue_id": "H8kZSmxiE7EgdyD4fCyyNa",
"last_seen": {
"timestamp": 1775189527762,
"version": "1.0.0"
},
"resolved_at": 0,
"resolved_by": 0,
"service": "fd-console",
"session_count": 1,
"severity": "Info",
"status": "for_review",
"suspected_cause": {
"person_id": 0,
"reason": "The error indicates an internal server error during a POST request to /api/access/logout.",
"source": "auto",
"value": "api.failed_request"
},
"team_id": 2477033058131,
"updated_at": 1775191284163,
"versions": [
"1.0.0"
]
}
],
"total": 111
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}{
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
},
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
}限制说明
| 项目 | 说明 |
|---|---|
| 速率限制 | 每个账户 1,000 次/分钟;50 次/秒 |
| 权限要求 | 无 —— 持有有效的 app_key 即可调用 |
使用说明
start_time和end_time为毫秒时间戳,最大范围 183 天。statuses按状态过滤,可选值:for_review、reviewed、ignored、resolved。orderby支持:created_at、updated_at、session_count、error_count。- 使用
dql或sql进行高级过滤,两者不可同时使用。
授权
在 Flashduty 控制台 账户 → APP Key 中签发的 app_key。调用任何公开 API 时都必须携带。它等同于所属账户的身份凭证,请妥善保管。
请求体
application/json
查询 Issue 列表的过滤参数。
时间范围结束,Unix 毫秒时间戳。需大于 start_time,最大跨度 183 天。
时间范围起始,Unix 毫秒时间戳。
按应用 ID 过滤;应用 ID 可通过 POST /rum/application/list 获取。
为 true 时升序排列;默认降序。
为 true 时按时间交集匹配:返回在时间窗口内仍有活动的 Issue(last_seen_timestamp 不早于 start_time),即使其创建于窗口之前;默认 false 仅返回创建于窗口内的 Issue。
DQL 高级过滤查询,不能与 sql 同时使用。
为 true 时仅返回有关联错误事件的 Issue。
每页条数,范围 1–100,默认 20。
必填范围:
1 <= x <= 100排序字段;缺省按 updated_at 排序。
| 值 | 含义 |
|---|---|
created_at | Issue 创建时间 |
updated_at | 最近更新时间 |
session_count | 受影响会话数 |
error_count | 错误发生次数 |
severity | 严重性等级(Critical > Warning > Info) |
可用选项:
created_at, updated_at, session_count, error_count, severity 页码(从 1 开始),默认 1。
必填范围:
x >= 1SQL 式高级过滤查询,不能与 dql 同时使用。
按处理状态过滤;传入其他值会被参数校验拒绝。
| 值 | 含义 |
|---|---|
for_review | 待处理 |
reviewed | 已查看 |
ignored | 已忽略 |
resolved | 已解决 |
可用选项:
for_review, reviewed, ignored, resolved 按疑似根因分类过滤。
| 值 | 含义 |
|---|---|
api.failed_request | API/接口请求失败(如 HTTP 4xx/5xx 响应) |
network.error | 网络连接错误(断网、请求中断等) |
code.exception | 代码异常(Syntax/Reference/Range 等运行时异常) |
code.invalid_object_access | 非法对象访问(如对 undefined/null 读取属性) |
code.invalid_argument | 非法参数(向函数传入了无效参数) |
unknown | 无法判定的未知原因 |
可用选项:
api.failed_request, network.error, code.exception, code.invalid_object_access, code.invalid_argument, unknown 按团队 ID 过滤;团队 ID 可通过 POST /team/list 获取。
此页面对您有帮助吗?