GET公开接口

导出本人的事件数据

供最终用户行使访问权与可携带权(GDPR Art.15 / Art.20),导出该匿名标识下的 全部事件明细。按来源 IP 限流,默认每小时 10 次。

URL

/api/v1/public/{projectKey}/events/me

鉴权方式

无需鉴权

请求参数

Path 参数

名称类型必填说明
projectKeystring项目主键 project_key(大小写不敏感)

Query 参数

名称类型必填说明
distinct_idstring客户端持有的匿名标识。

该接口无需请求体。

响应示例

200 响应

{
  "distinct_id": "string",
  "total": 0,
  "data": [
    {
      "event_name": "string",
      "event_id": "string",
      "session_id": "string",
      "occurred_at": 0,
      "received_at": 0,
      "properties": {},
      "ip": "string",
      "user_agent": "string",
      "country_code": "string",
      "country_name": "string",
      "region_name": "string",
      "city": "string",
      "platform": "string",
      "platform_version": "string"
    }
  ]
}
GET

Try It Out

请求 URL 预览

/api/v1/public/verhub/events/me?distinct_id=9f1c2a7e-5b40-4a1d-9d3f-2c8e6b4a1f07