Registration of worker
Worker registration
Worker registration method.
JSON
{
"worker_name": "worker-nsm4kiea",
"host_ip": "192.168.17.78",
"available_cases": [
"licplate-recognition",
"face-recognition",
"camera-obstacle",
"smoke-fire",
"loud-sounds",
"motion-detect",
"person-counting",
"visitors-counting",
"line-intersection"
],
"regions": [
"minsk"
]
}
POST /api/worker_registration/?format=json |
Parameters
array
available_cases REQUIRED, An array of analytics case identifiers.
array
regions REQUIRED, An array of zones (regions).
string
host_ip REQUIRED, The host IP address of the worker.
string
worker_name REQUIRED, The name of the worker.
200 |
Returns a JSON object with the identifier of the created task. |