查询数据--停用,统一走query-batch
开发中
POST
https://api.flashcat.cloud/api/n9e-plus/ds-query
最后修改时间:2025-04-23 09:06:23
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/n9e-plus/ds-query' \
--header 'Content-Type: application/json' \
--data-raw '{
"cate": "string",
"datasource_id": 0,
"query": [
{
"ref": "string",
"from": "string",
"to": "string",
"queries": {
"region": "string",
"namespace": "string",
"metric_name": "string",
"dimensions": {
"name": "string",
"value": [
"string"
]
},
"expression": "string",
"period": 0,
"statistic": "string",
"query_id": "string",
"alias": "string",
"query_type": "string",
"metric_editor_mode": 0,
"offset": 0,
"return_data": true,
"match_exact": true,
"from": 0,
"to": 0,
"ref": "string"
}
}
]
}'
响应示例响应示例
{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"request_id": "string"
}
请求参数
Body 参数application/json