Path:openapi/v1/metadata/<app_id: int>/virtual_events/<event_id: int>
Method: PATCH
Content-type: application/json
Body:
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
id | int | 是 | 11 | 事件id |
status | int | 否 | 1 | 状态信息
|
description | str | 否 | null | 描述信息 |
show_name | str | 否 | new_show_name | 展示信息 |
dsl_content | object | 否 | null | 虚拟事件的创建规则 |
{ "description": "a", "status": 1, "show_name": "new_show_name" }
Response:
{ "code": 200, "message": "success", "data": { "id": 22839602, "app_id": 2174, "name": "aaaaaa", "show_name": "new_show_name", "status": 1, "dsl_content": { "logic": "or", "queries": [ { "event_id": 234913, "event_name": "predefine_pageview", "event_type": "origin", "filters": [], "show_label": "A", "event_indicator": "", "measure_info": {}, "indicator_show_name": "" } ] }, "used_times": 0, "used_times_updated_ts": 1660707999000, "creator_id": "213697", "updator_id": "245171", "created_at": 1660707999000, "updated_at": 1677063765000, "owners": [ "" ], "event_groups": null, "params": null, "virtual_params": null, "relation_events": null, "dsl": { "logic": "or", "queries": [ { "event_id": 234913, "event_name": "predefine_pageview", "event_type": "origin", "filters": [], "show_label": "A", "event_indicator": "", "measure_info": {}, "indicator_show_name": "" } ] } } }