最近更新时间:2024.04.17 17:39:50
首次发布时间:2024.04.03 17:37:04
调用MiniProGetFieldKeys获取筛选条件。
ServiceName : apmplus_openapi Region : cn-beijing X-App-Ids : xxx Content-Type : application/json
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 |
| 接口名称。当前 API 的名称为 |
Version | String | 是 |
| 接口版本。当前 API 的版本为 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
common | Object of Common | 是 |
| 通用参数。 |
ev_type | String | 是 |
| 模块类型。
|
filter_conditions | Object of Filter_conditions | 否 |
| 时间区间。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
aid | Long | 是 |
| 应用ID。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
type | String | 是 |
| 筛选条件类型。
|
field | String | 否 |
| 条件字段。 |
op | String | 否 |
| 条件符号,可选值有eq,neq,lt,lte,gt,gte,in,not_in,regex,not_regex。 |
values | Array of String | 否 |
| 条件值,可选值集合由 |
children | Array of Filter_conditions | 否 |
| 子参数。当type值为 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Array of Data |
| 返回内容。 |
error_msg | String |
| 错误信息。 |
error_no | Integer |
| 错误吗。0为成功。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
name | String |
| 筛选维度。 |
description | String |
| 筛选维度描述。 |
renderForm | String |
| 筛选维度支持的筛选方式。 |
POST ?Action=MiniProGetFieldKeys&Version=2024-03-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 }