Add Face Data

Last Updated on : 2023-06-15 05:59:58

Add the data of one face, including face and user ID.

API address

POST: /v1.0/iot-02/faces/actions/bind

Request parameter

Parameter name Type IN Required Description
request FaceAddRequest false The request.

Description of request

Parameter name Type IN Required Description
uid String false The ID of a specified user.
img_file_id String false The ID of a specified OSS file.

Return parameter

Parameter name Type Description
result Boolean Indicates whether the operation is successful.

Request example

POST: /v1.0/iot-02/faces/actions/bind
{ "img_file_id": "mic****/1634270460d348e9c****.jpg", "uid": "bay1635497019319****" }

Return example

{ "result": true, "t": 1637654434519, "success": true }

Error code

For more information, see error code.