POST /verification/guardians/{guardian_id}/verify

监护人通过JWT确认身份,完成对指定监护关系的身份验证,验证后可为未成年人授权

未成年人保护 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
guardian_id path string 是 监护关系ID

响应

状态描述Schema
200监护人身份验证成功dto.DataResponse-service-verification/internal/handler/dto/GuardianRelationshipResponse
400请求参数错误dto.SimpleResponse
401未认证或令牌无效dto.SimpleResponse
404监护关系不存在dto.SimpleResponse
500服务内部错误dto.SimpleResponse

引用的 Schema

dto.DataResponse-service-verification/internal/handler/dto/GuardianRelationshipResponse

字段类型必填示例约束描述
code integer 否
data service-verification/internal/handler/dto.GuardianRelationshipResponse 否
message string 否
timestamp string 否

dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-verification/internal/handler/dto.GuardianRelationshipResponse

字段类型必填示例约束描述
consent_at string 否
consent_given boolean 否
consent_scope string 否
created_at string 否
guardian_user_id string 否
id string 否
minor_user_id string 否
relation_type string 否
verified boolean 否
verified_at string 否