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. |