You need to enable JavaScript to run this app.
导航
获取事件属性
最近更新时间:2024.06.30 18:36:04首次发布时间:2024.06.30 18:36:04

请求说明

Path:openapi/v1/metadata/<app_id: int>/list/params
Method: POST
Content-type: application/json

请求参数

Body:

参数

类型

是否必选

示例值

描述

filter

object

{
"name": "need_refresh"
}

根据某些字段做过滤,可选值通常可用:

  • name 属性名
  • status 属性状态

with

list

events

获取事件时,携带获取关联的元数据信息,可选值为:

  • events 属性关联的事件
  • values 事件属性值
  • alias 属性值对应的前端展示值
  • property_dict 维度字典
  • event_params 事件与属性的关联关系

注意:with更多的关联信息将影响接口性能。

{
    "filter": {
        "name": "need_refresh"
    },
    "with": ["events", "event_params"]
}

返回参数

Response:

{
    "code": 200,
    "message": "success",
    "data": [
        {
            "id": 6718923,
            "app_id": 2174,
            "name": "need_refresh",
            "value_type": "string",
            "show_name": "",
            "backing_show_name": "need_refresh",
            "show_name_en": null,
            "i18n_show_names": {},
            "preset": 0,
            "type": 1,
            "store_location": "string_params",
            "store_value_type": "string",
            "description": "",
            "status": 1,
            "used_users": 0,
            "used_times": 0,
            "used_times_updated_ts": 1649239508,
            "has_property_dict": false,
            "property_dict_version": null,
            "property_dict_updated_ts": 1638835525,
            "property_dict": {},
            "data_reported": 1,
            "platform": [
                "others"
            ],
            "verifier": "",
            "verify_time_ts": null,
            "status_disable_ts": null,
            "origin": 1,
            "creator_id": "",
            "updator_id": "",
            "created_at": 1638835525,
            "updated_at": 1638835525,
            "events": [
                {
                    "id": 3163686,
                    "app_id": 2174,
                    "name": "a",
                    "show_name": "",
                    "backing_show_name": "a",
                    "show_name_en": null,
                    "i18n_show_names": {},
                    "description": "",
                    "preset": 0,
                    "use_slot": 1,
                    "status": 1,
                    "used_users": 0,
                    "used_times": 0,
                    "used_times_updated_ts": 1649239495,
                    "created_at": 1638835525,
                    "updated_at": 1676995246,
                    "verifier": "",
                    "verify_time_ts": null,
                    "status_disable_ts": null,
                    "data_reported": 1,
                    "last_day_amounts": 10979,
                    "platform": [
                        "others"
                    ],
                    "origin": 1,
                    "creator_id": "runninginfo",
                    "updator_id": "runninginfo",
                    "principal": "",
                    "data_date": null,
                    "data_source_name": null,
                    "data_source": null,
                    "priority": null,
                    "event_category": null,
                    "owners": null,
                    "jump_url": null,
                    "param_status": 1,
                    "params": null,
                    "virtual_params": null,
                    "items": null,
                    "source_platform": null,
                    "event_groups": null
                }
            ],
            "event_params": [
                {
                    "id": 30535275,
                    "app_id": 2174,
                    "event_name": "a",
                    "param_name": "need_refresh",
                    "value_type": "string",
                    "slot_name": "_slot_param_2",
                    "slot_index": 2,
                    "store_value_type": "string",
                    "store_location": "string_params",
                    "cardinality": 0,
                    "value": null,
                    "status": 1,
                    "data_reported": 1,
                    "created_at": 1638835525,
                    "updated_at": 1672124621,
                    "show_name": "need_refresh",
                    "platform": "[\"others\"]"
                }
            ],
            "owners": null,
            "attr_classify": null
        }
    ]
}