/admin/compliance/gdpr/dsar
分页查询所有数据主体访问请求(DSAR),支持状态过滤
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
status |
query |
string |
No | status filter | |||
page |
query |
integer |
No | page number | |||
page_size |
query |
integer |
No | page size | |||
sort_by |
query |
string |
No | sort field | |||
sort_order |
query |
string |
No | sort order |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | success | dto.DSARListResponse |
| 400 | bad request | dto.ErrorResponse |
Referenced Schemas
dto.DSARItem
GDPR数据主体访问请求记录
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
completed_at |
string |
No | 2026-04-20T14:00:00Z |
完成时间 | |
created_at |
string |
No | 2026-04-15T10:00:00Z |
创建时间 | |
id |
string |
No | dsar_001 |
DSAR ID | |
status |
string |
No | pending |
状态 | |
type |
string |
No | access |
请求类型 | |
user_id |
string |
No | usr_abc123 |
用户ID |
dto.DSARListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of See |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | 400 |
||
message |
string |
No | invalid request |
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 |