Create Identifier Entity from uploaded image file
Creates Identifier Entity from uploaded image file.
Image format 'jpeg/jpg'.
Image must be part of multipart/form-data, so need to set multipart/form-data and specify boundary in the Content-Type header.
Example:
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBt6yZ7ZOwRAbyeF5 ------WebKitFormBoundaryBt6yZ7ZOwRAbyeF5 Content-Disposition: form-data; name="status"; filename="out3.jpg" Content-Type: image/jpeg ------WebKitFormBoundaryBt6yZ7ZOwRAbyeF5--
Path Parameters
- identifier-uid integer required
Possible values:
>= 1
Unique Id for physical/input code identifier
- multipart/form-data
Request Body
- file binary required
Face image upload model, only jpeg/jpg can be used
- 200
- 400
- 401
- 403
OK
- Wrong image file
- Face hasn't been detected on image
- Loading file error
- Loading file in progress. Wait for result
- Wrong file format
- Wrong identifier-uid. Missed temporary identifier for adding faceId
- application/json
- Schema
- Example (from schema)
- Wrong identifier-uid
- Wrong file
- Wrong format
- In progress
- Loading error
- Face not detected
Schema
- error string
Error message
{
"error": "Wrong JSON body"
}
{
"error": "Wrong identifier-uid. Missed temporary identifier for adding faceId"
}
{
"error": "Wrong image file"
}
{
"error": "Wrong file format"
}
{
"error": "Loading file in progress. Wait for result"
}
{
"error": "Loading file error"
}
{
"error": "Face hasn't been detected on image"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
Error message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}