/auth/me/consent-history
获取用户的同意授权历史记录,用于GDPR合规审计
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | dto.ConsentHistoryResponse |
Referenced Schemas
domain.UserConsent
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
granted |
boolean |
No | |||
id |
string |
No | |||
ip_address |
string |
No | |||
recorded_at |
string |
No | |||
revoked_at |
string |
No | |||
scope |
string |
No | marketing, analytics, third_party, terms, privacy | ||
tenant_id |
string |
No | |||
user_agent |
string |
No | |||
user_id |
string |
No | |||
version |
string |
No | 政策版本号 |
dto.ConsentHistoryResponse
用户隐私同意历史
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
history |
array of |
No | History | ||
user_id |
string |
No | user-001 |
User ID |