/verification/liveness/verify
提交活体检测视频Base64数据,验证用户活体动作,返回活体检测分数和是否通过
Request Body
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
session_token |
string |
Yes | |||
video_data |
string |
No |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 活体检测结果,包含分数和通过状态 | dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_LivenessResultResponse |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 401 | 未认证或令牌无效 | dto.SimpleResponse |
| 500 | 服务内部错误 | dto.SimpleResponse |
Referenced Schemas
dto.DataResponse-gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto_LivenessResultResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
data |
gitee_com_linmes_authms_micro-services_verification-service_internal_handler_dto.LivenessResultResponse |
No | |||
message |
string |
No | |||
timestamp |
string |
No |
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.LivenessResultResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
passed |
boolean |
No | |||
score |
number |
No |