/verification/minors/guardians
根据未成年人用户ID查询其所有监护人列表,包含关系类型和授权状态
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
minor_user_id |
query |
string |
Yes | 未成年人用户ID |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 监护人列表,包含关系类型和授权状态 | dto.ListResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_GuardianRelationshipResponse |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 401 | 未认证或令牌无效 | dto.SimpleResponse |
| 500 | 服务内部错误 | dto.SimpleResponse |
Referenced Schemas
dto.ListResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_GuardianRelationshipResponse
| 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.GuardianRelationshipResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
consent_at |
string |
No | |||
consent_given |
boolean |
No | |||
consent_scope |
string |
No | |||
created_at |
string |
No | |||
guardian_user_id |
string |
No | |||
id |
string |
No | |||
minor_user_id |
string |
No | |||
relation_type |
string |
No | |||
verified |
boolean |
No | |||
verified_at |
string |
No |