更新时间:2023.04.11 16:11:01
调用GetFieldKeys接口获取筛选条件。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 请求名称。 |
Version | String | 是 |
| 请求版本。 |
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必填 | 示例值 | 说明 |
---|---|---|---|---|
ev_type | string | 是 |
| 模块类型。
|
common | object of common | 是 | - | 通用参数。 |
filter_conditions | object of time_filter | 是 | - | 时间区间。 |
参数 | 类型 | 是否必填 | 示例值 | 说明 |
---|---|---|---|---|
aid | int64 | 是 |
| 应用ID。 |
参数 | 类型 | 是否必填 | 示例值 | 说明 |
---|---|---|---|---|
type | string | 否 |
| 筛选条件类型。
|
children | object of common | 否 | - | 子参数。当type值为and时必填。 |
参数 | 类型 | 是否必填 | 示例值 | 说明 |
---|---|---|---|---|
op | string | 是 |
| 条件符号,可选值有eq,neq,lt,lte,gt,gte,in,not_in,regex,not_regex。 |
field | string | 是 |
| 条件字段。 |
values | []string | 是 |
| 条件值,可选值集合由 |
参数 | 类型 | 示例值 | 说明 |
---|---|---|---|
err_detail | int32 | - | 错误详情。 |
data | object of data | - | 返回内容。 |
error_msg | string | - | 错误信息。 |
error_no | int |
| 错误码。0为成功。 |
参数 | 类型 | 示例值 | 说明 |
---|---|---|---|
name | string |
| 筛选维度。 |
description | string |
| 筛选维度描述。 |
renderForm | string |
| 筛选维度支持的筛选方式。 |
POST https://open.volcengineapi.com/?Action=GetFieldKeys&Version=2022-10-12 { "ev_type": "performance", "common": { "aid": 12345 }, "filter_conditions": { "type": "and", "children": [ { "op": "in", "field": "pid", "values": [ "数据探索" ] } ] }, }
{ "err_detail":"", "data":[ { "name":"pid", "description":"pid", "renderForm":"RegexAndNotRegexEqAndNeqSymbol", "isDefault":false } ], "error_msg":"", "error_no":0 }