/compliance/privacy/retention
公开端点:获取当前租户的数据保留策略公示信息
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
X-Tenant-ID |
header |
string |
No | 租户ID | |||
page |
query |
integer |
No | 页码 | |||
page_size |
query |
integer |
No | 每页条数 |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 保留策略列表 | dto.RetentionPolicyPublicListResponse |
Referenced Schemas
dto.RetentionPolicyPublicListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.RetentionPolicyPublicResponse
数据保留策略公示信息(公开)
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
data_category |
string |
No | user_profile |
数据类别 | |
description |
string |
No | 用户账户相关数据, 保留至账户注销后365天 |
说明 | |
legal_basis |
string |
No | GDPR Art.6(1)(b) - 合同必要性 |
法律依据 | |
retention_days |
integer |
No | 365 |
保留天数 |
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
has_next |
boolean |
No | HasNext indicates whether there is a next page | ||
has_prev |
boolean |
No | HasPrev indicates whether there is a previous page | ||
page |
integer |
No | Page is the current page number (1-based) | ||
page_size |
integer |
No | PageSize is the number of items per page | ||
total |
integer |
No | Total is the total number of items across all pages | ||
total_pages |
integer |
No | TotalPages is the total number of pages |