火山引擎提供了如下两种方式供客户进行埋点自测(验证数据回传),推荐使用方式一。
埋点自测通过后,请提供测试包由火山引擎进行二次验收。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | VerifyLog | 要执行的操作,取值:VerifyLog。 |
Version | String | 是 | 2021-01-01 | API的版本,取值:2021-01-01。 |
Partner | String | 是 | xxx_default_content | 渠道号。 |
AccessToken | String | 是 | AT6zTZuXzffKpQamxxxKVv8mp94LR2ARdNJBp2BT86GrLpa3brqLmscGCUipuJNh2piKTT12 | 用户唯一标识。 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Result | String | [{"req_id":"20220721103117010210043037253714CD","partner":"xxx","ut_uid":"14_1736492712420376","event":"go_detail","params":"{\"group_id\":6938426748178530823,\"item_id\":6938426748178530823,\"category_name\":\"standard_default_content_feed_1_59_v1\",\"enter_from\":\"click_category\",\"open_scene\":\"feed_2\",\"open_channel\":\"xxx\",\"app_version\":\"7.3.25\",\"os\":\"iOS\",\"dt\":\"iphone6s\",\"os_version\":\"12\",\"device_brand\":\"Apple\",\"mi_new_data\":\"-1\"}","event_time":"2022-07-21 10:31:17","timestamp":"2022-07-21 10:31:17"}] | 已上报的事件列表。 说明 Result字符串中的params是经过映射后的结果,和数据回传接口中传入的参数名称会有所差异。 |
GET /?Action=VerifyLog&Version=2021-01-01&Partner=xxx_default_content&AccessToken=AT6zTZuXzffKpQamxxxKVv8mp94LR2ARdNJBp2BT86GrLpa3brqLmscGCUipuJNh2piKTT12 HTTP/1.1 Host: https://mercury.volcengineapi.com/?Action=VerifyLog&Version=2021-01-01 X-Date: 20240527T105311Z Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240527/cn-beijing/content/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
{ "ResponseMetadata": { "RequestId": "20240527185342030062147193D6A536", "Action": "VerifyLog", "Version": "2021-01-01", "Service": "content", "Region": "cn-beijing" }, "Result": "[{\\\"req_id\\\":\\\"20220721103117010210043037253714CD\\\",\\\"partner\\\":\\\"xxx\\\",\\\"ut_uid\\\":\\\"14_1736492712420376\\\",\\\"event\\\":\\\"go_detail\\\",\\\"params\\\":\\\"{\\\\\\\"group_id\\\\\\\":6938426748178530823,\\\\\\\"item_id\\\\\\\":6938426748178530823,\\\\\\\"category_name\\\\\\\":\\\\\\\"standard_default_content_feed_1_59_v1\\\\\\\",\\\\\\\"enter_from\\\\\\\":\\\\\\\"click_category\\\\\\\",\\\\\\\"open_scene\\\\\\\":\\\\\\\"feed_2\\\\\\\",\\\\\\\"open_channel\\\\\\\":\\\\\\\"xxx\\\\\\\",\\\\\\\"app_version\\\\\\\":\\\\\\\"7.3.25\\\\\\\",\\\\\\\"os\\\\\\\":\\\\\\\"iOS\\\\\\\",\\\\\\\"dt\\\\\\\":\\\\\\\"iphone6s\\\\\\\",\\\\\\\"os_version\\\\\\\":\\\\\\\"12\\\\\\\",\\\\\\\"device_brand\\\\\\\":\\\\\\\"Apple\\\\\\\",\\\\\\\"mi_new_data\\\\\\\":\\\\\\\"-1\\\\\\\"}\\\",\\\"event_time\\\":\\\"2022-07-21 10:31:17\\\",\\\"timestamp\\\":\\\"2022-07-21 10:31:17\\\"}]" }
您可访问公共错误码,获取更多错误码信息。