GET /auth/me/consent-history

获取用户的同意授权历史记录,用于GDPR合规审计

身份认证 `bearerAuth` application/json

响应

引用的 Schema

domain.UserConsent

字段类型必填示例约束描述
granted boolean 否
id string 否
ip_address string 否
recorded_at string 否
revoked_at string 否
scope string 否 marketing, analytics, third_party, terms, privacy
tenant_id string 否
user_agent string 否
user_id string 否
version string 否 政策版本号(R4.3 语义分流:DB 列 policy_version,JSON 契约保持 version)

service-identity/internal/handler/dto.ConsentHistoryResponse

用户隐私同意历史

字段类型必填示例约束描述
history array of

参见 domain.UserConsent

否 History
user_id string 否 user-001 User ID