Create a resource
Creat a resource
Creating a resource. face_resource - Used for analytics cases with the type "Face recognition" (face-recognition) plate_resource - Used for analytics cases with the type "License plate recognition" (licplate-recognition) Resources, in turn, belong to resource groups VMS Admin/Admin Analytics/Resource Groups/Create Resource Group, which are already added to specific analytics cases
{
"name": "name",
"image": "binary",
"type": "face_resource",
"analytic_case_event_uuid": "a535e9ff-8f37-4da7-bcec-0760190c0f86",
"properties": [
{
"type": "full_name",
"value": "Ivanov Ivan"
}
]
}
POST /api/admin/v1/analytics/files |
Parameters
string
name, Name of the resource
binary
image, Resource image.
string
type, Resource group type
201 |
Returns a resource object
JSON
|
401 |
Authorization token not sent or not valid |
422 |
Returns a JSON object with an error.
JSON
|