Integration Point

Postman

Click link below to access Postman Collection

APIs

Streams/Camera

Add streams

POST 127.0.0.1:4004/streams/0
{
"stream_address" : "/workspaces/visionaire4/command.mp4",
"stream_name" : "Camera 1"
}

Delete streams

DELETE http://127.0.0.1:4004/streams/0/<stream_id>

Get list of streams

GET http://127.0.0.1:4004/streams/0/<stream_id>

Create Pipeline

POST http://127.0.01:4004/pipeline/0/<stream_id>/<analytic_id>
{}

Delete Pipeline

POST http://127.0.01:4004/pipeline/0/<stream_id>/<analytic_id>

Configurations

Create Or Update Settings (Similarity) in Vanilla Dashboard

endpoint : /api/settings
method : POST
content-type : application/jsons
request body :
{
"similarity":0.5
}
response :
- 200
{
"global_setting": {
"id": 3,
"similarity": 0.5,
"created_at": "2021-03-30T09:03:35.490362Z"
},
"message": "Successfully Create or Update result",
"ok": true
}

Get Settings (Similarity) in Vanilla Dashboard

endpoint : /api/settings
method : GET
content-type : application/json
response :
- 200
{
"message": "Succesfully get global setting",
"ok": true,
"setting": {
"id": 0,
"similarity": 0.7,
"created_at": "0001-01-01T00:00:00Z"
}