创建人脸库
POST
https://api2.hik-cloud.com/api/v1/community/superBrains/faceLibs
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/community/superBrains/faceLibs' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "xxxxxx",
"faceLibs": [{
"index": 1,
"faceLibName": "lib22",
"thresholdValue": 21,
"customFaceLibId": "22222"
}, {
"index": 2,
"faceLibName": "lib33",
"thresholdValue": 92,
"customFaceLibId": "33333"
}]
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json
返回响应
修改于 2022-05-30 09:06:49