Return supported models
[
{
"name" : " name" ,
"description" : " description" ,
"type" : " IntelDLDT" ,
"version" : 0
}
]
Return supported pipelines
[
{
"description" : " description" ,
"type" : " GStreamer" ,
"parameters" : {
"key" : {
"default" : " "
}
}
}
]
GET
/pipelines/{name}/{version}
Return pipeline description.
Name
Type
In
Accepted values
name (required)
string
path
Any
Name
Type
In
Accepted values
version (required)
string
path
Any
{
"description" : " description" ,
"type" : " GStreamer" ,
"parameters" : {
"key" : {
"default" : " "
}
}
}
POST
/pipelines/{name}/{version}
Start new pipeline instance. Four sections are supported by default: source, destination, parameters, and tags. These sections have special handling based on the default schema and/or the schema defined in the pipeline.json file for the requested pipeline.
Name
Type
In
Accepted values
name (required)
string
path
Any
Name
Type
In
Accepted values
version (required)
integer
path
Any
{
"source" : {
"type" : " uri" ,
"uri" : " file:///root/video-examples/example.mp4"
},
"destination" :{},
"parameters" : {},
"tags" : {}
}
DELETE
/pipelines/{name}/{version}/{instance_id}
Stop pipeline instance.
Name
Type
In
Accepted values
name (required)
string
path
Any
Name
Type
In
Accepted values
version (required)
integer
path
Any
Name
Type
In
Accepted values
instance_id (required)
integer
path
Any
GET
/pipelines/{name}/{version}/{instance_id}
Return pipeline instance summary.
Name
Type
In
Accepted values
name (required)
string
path
Any
Name
Type
In
Accepted values
version (required)
integer
path
Any
Name
Type
In
Accepted values
instance_id (required)
integer
path
Any
{
"request" : {
"destination" : {},
"source" : {},
"parameters" : {},
"tags" : {}
},
"id" : 0 ,
"type" : " type"
}
GET
/pipelines/{name}/{version}/{instance_id}/status
Return pipeline instance status.
Name
Type
In
Accepted values
name (required)
string
path
Any
Name
Type
In
Accepted values
version (required)
integer
path
Any
Name
Type
In
Accepted values
instance_id (required)
integer
path
Any
{
"start_time" : 1 ,
"elapsed_time" : 5 ,
"id" : 0 ,
"state" : " RUNNING" ,
"avg_fps" : 6.027456183070403
}