/verification/guardians/minors
获取当前用户作为监护人的所有被监护人列表,包含未成年用户的保护设置信息
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 被监护人列表,包含保护设置信息 | dto.ListResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_MinorProfileResponse |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 401 | 未认证或令牌无效 | dto.SimpleResponse |
| 500 | 服务内部错误 | dto.SimpleResponse |
Referenced Schemas
dto.ListResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_MinorProfileResponse
| 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.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 |
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |
gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.MinorProfileResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
age_group |
string |
No | |||
consent_granted |
boolean |
No | |||
daily_limit_minutes |
integer |
No | |||
guardian_user_id |
string |
No | |||
is_minor |
boolean |
No | |||
night_mode_end |
string |
No | |||
night_mode_start |
string |
No | |||
restrictions |
array of string |
No | |||
user_id |
string |
No |