/compliance/public/data-classifications
Trust Center: 获取数据分类信息(无认证)
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.PublicDataClassificationListResponse |
| 500 | 服务内部错误 | dto.ErrorResponse |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | 400 |
||
message |
string |
No | invalid request |
dto.PublicDataClassification
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
classification |
string |
No | confidential |
||
data_category |
string |
No | 用户个人资料 |
||
description |
string |
No | 包含姓名、地址、联系方式等 |
||
retention_required |
boolean |
No | True |
dto.PublicDataClassificationListResponse
| 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 | 总条数(平铺,便于直接读取) |
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 |