查看卡片指标的历史数据
POST
https://api.flashcat.cloud/api/v2/firemap/history/ui
最后修改时间:2024-03-15 07:21:24
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/v2/firemap/history/ui' \
--header 'Content-Type: application/json' \
--data-raw '{
"start": {% mock '\''timestamp'\''|substr(0,7)|concat('\''000'\'')|number%},
"end": {% mock '\''timestamp'\'' %},
"id": 29,
"metrics": [
"count",
"succrate",
"latency"
],
"offset": [
0
],
"sub_cluster": true
}'
响应示例响应示例
{
"request_id": "string",
"data": [
{
"start": 0,
"end": 0,
"metric": "string",
"offset": 0,
"tags": {
"cluster": "string",
"__dsn__": "string"
},
"values": [
{
"timestamp": 0,
"value": 0
}
]
}
]
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json