SubC Inspector API Commands
The following API commands are sent to the DVR+O SCI / RCS applications from SubC API Inspector application.
Last updated: 2025-11-17 16:34:09 | ||
|---|---|---|
Path To | Name | Description/Function |
/api/inspector | /apply | Controller for applying settings to recording VMs. |
/api/inspector | /startall | Start recording on each channel. |
/api/inspector | /stopall | Stop recording on each channel. |
/apply
Function | Controller for applying settings to recording VMs. |
|---|---|
Method | POST |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
/startall
Function | Start recording on each channel. |
|---|---|
Method | GET |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
/stopall
Function | Stop recording on each channel. |
|---|---|
Method | GET |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
Last updated: 2025-11-17 16:34:09 | ||
|---|---|---|
Path To | Name | Description/Function |
/api/inspector | /addevent/{eventName} | Responsible for controlling the inspector capabilities over rest. |
/api/inspector | /createevent/{eventName} | Responsible for controlling the inspector capabilities over rest. |
/api/inspector | /addevent/{eventName}/{fieldNames} | Adds an event with specific field names. |
/api/inspector | /createevent/{eventName}/{fieldNames} | Adds an event with specific field names. |
/api/inspector | /configureinspection | Set the inspection options. |
/api/inspector | /countinputs | Returns the number of initialized channels. |
/api/inspector | /createaddresses | Tells the DVR to prepare an SRT streaming address for each initialized channel. |
/api/inspector | /createdirectory | Creates a directory. |
/api/inspector | /getdirectories | Get all the directories in the given directory. |
/api/inspector | /getdrives | Get all the drives on the DVR PC. |
/api/inspector | /getdatafields | Gets the list of defined data fields. |
/api/inspector | /getdataforeventcsv/{eventName} | Get the data for the given event. |
/api/inspector | /getdirectoriesrecursive | Recursively get all the directories inside the given directory. |
/api/inspector | /inspection | Get the inspection directory. |
/api/inspector | /getdirectorycontentscount | Get the total number of files and directories of the specified directory. |
/api/inspector | /getdatainfo/{eventName} | Get the timestamp and data for the given event. |
/api/inspector | /beginevent/{eventName} | Get the timestamp and data for the given event. |
/api/inspector | /getevents | Get all the events. |
/api/inspector | /getinspectionconfiguration | Get the inspection options. |
/api/inspector | /previousinspections | Get a list of previous inspections. |
/api/inspector | /getrecordingstate | Gets a value indicating whether the DVR is recording. |
/api/inspector | /getrecordingstates | Gets a list of recording states for each channel. |
/api/inspector | /getstartedchannelnames | Get the names of the channels that are started. |
/api/inspector | /timestamp | Get the timestamp of the DVR. |
/api/inspector | /isaudioconnected | Gets a value indicating whether the audio is connected. |
/api/inspector | /isaudiorecording | Gets a value indicating whether the audio is recording. |
/api/inspector | /iscliprecording | Gets a value indicating whether a clip is recording. |
/api/inspector | /isrecording | Gets a value indicating whether any channel is recording. |
/api/inspector | /logevent/{eventName} | Take an event. |
/api/inspector | /takeevent/{eventName} | Take an event. |
/api/inspector | /openaudio | Open an audio stream. |
/api/inspector | /reevaluatetags/{value} | Set reevaluate tags on split. |
/api/inspector | /removeinspection | removes an inspection from the list of previous inspections. |
/api/inspector | /inspectiondirectory | Set the inspection directory on all channels. |
/api/inspector | /recordingdirectory | Set the inspection directory on all channels. |
/api/inspector | /splittime/{splitTime} | Sets the split time in minutes. |
/api/inspector | /startclip | Start recording a clip. |
/api/inspector | /startinspection | Start an inspection. |
/api/inspector | /startrecording | Start recording. |
/api/inspector | /startstreaming | Start streaming all the initialized inputs. |
/api/inspector | /stopclip | Stop recording a clip. |
/api/inspector | /stoprecording | Stop recording. |
/api/inspector | /stopstreaming | Stop streaming all the initialized inputs. |
/api/inspector | /takeframegrab | Take a framegrab. |
/addevent/{eventName}
Function | Responsible for controlling the inspector capabilities over rest. |
|---|---|
Method | GET |
Example | |
Response | None |
Response Type | none |
Response Example |
CODE
|
/createevent/{eventName}
Function | Responsible for controlling the inspector capabilities over rest. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/createevent/eventName |
Response | None |
Response Type | none |
Response Example |
CODE
|
/addevent/{eventName}/{fieldNames}
Function | Adds an event with specific field names. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/addevent/eventName/fieldNames |
Response | None |
Response Type | none |
Response Example |
CODE
|
/createevent/{eventName}/{fieldNames}
Function | Adds an event with specific field names. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/createevent/eventName/fieldNames |
Response | None |
Response Type | none |
Response Example |
CODE
|
/configureinspection
Function | Set the inspection options. |
|---|---|
Method | POST |
Example | http://192.168.2.186:13000/api/inspector/configureinspection |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/countinputs
Function | Returns the number of initialized channels. |
|---|---|
Method | GET |
Example | |
Response | Addresses of all the inputs that are streaming. |
Response Type | number |
Response Example |
CODE
|
/createaddresses
Function | Tells the DVR to prepare an SRT streaming address for each initialized channel. |
|---|---|
Method | POST |
Example | |
Response | Addresses of all the inputs that are streaming. |
Response Type | object |
Response Example |
CODE
|
/createdirectory
Function | Creates a directory. |
|---|---|
Method | POST |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/getdirectories
Function | Get all the directories in the given directory. |
|---|---|
Method | POST |
Example | |
Response | All the directories in a given directory. |
Response Type | string |
Response Example |
CODE
|
/getdrives
Function | Get all the drives on the DVR PC. |
|---|---|
Method | GET |
Example | |
Response | All the directories in the inspection folder. |
Response Type | object |
Response Example |
CODE
|
/getdatafields
Function | Gets the list of defined data fields. |
|---|---|
Method | GET |
Example | |
Response | An IEnumerable. |
Response Type | object |
Response Example |
CODE
|
/getdataforeventcsv/{eventName}
Function | Get the data for the given event. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/getdataforeventcsv/eventName |
Response | Data for the given event. |
Response Type | none |
Response Example |
CODE
|
/getdirectoriesrecursive
Function | Recursively get all the directories inside the given directory. |
|---|---|
Method | POST |
Example | http://192.168.2.186:13000/api/inspector/getdirectoriesrecursive |
Response | All the directories in a given directory. |
Response Type | object |
Response Example |
CODE
|
/inspection
Function | Get the inspection directory. |
|---|---|
Method | GET |
Example | |
Response | The project directory. |
Response Type | object |
Response Example |
CODE
|
/getdirectorycontentscount
Function | Get the total number of files and directories of the specified directory. |
|---|---|
Method | POST |
Example | http://192.168.2.186:13000/api/inspector/getdirectorycontentscount |
Response | A dictionary containing the path of the directory and the number of files or directories inside it. |
/getdatainfo/{eventName}
Function | Get the timestamp and data for the given event. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/getdatainfo/eventName |
Response | Timestamp and data for the given event. |
Response Type | object |
Response Example |
CODE
|
/beginevent/{eventName}
Function | Get the timestamp and data for the given event. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/beginevent/eventName |
Response | Timestamp and data for the given event. |
Response Type | object |
Response Example |
CODE
|
/getevents
Function | Get all the events. |
|---|---|
Method | GET |
Example | |
Response | All the events. |
Response Type | object |
Response Example |
CODE
|
/getinspectionconfiguration
Function | Get the inspection options. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/getinspectionconfiguration |
Response | Inspection options. |
Response Type | object |
Response Example |
CODE
|
/previousinspections
Function | Get a list of previous inspections. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/previousinspections |
Response | The project directory. |
Response Type | object |
Response Example |
CODE
|
/getrecordingstate
Function | Gets a value indicating whether the DVR is recording. |
|---|---|
Method | GET |
Example | |
Response | True if the DVR is recording. |
Response Type | none |
Response Example |
CODE
|
/getrecordingstates
Function | Gets a list of recording states for each channel. |
|---|---|
Method | GET |
Example | |
Response | A list of recording states for each channel. |
Response Type | object |
Response Example |
CODE
|
/getstartedchannelnames
Function | Get the names of the channels that are started. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/getstartedchannelnames |
Response | All the names of started channels. |
Response Type | object |
Response Example |
CODE
|
/timestamp
Function | Get the timestamp of the DVR. |
|---|---|
Method | GET |
Example | |
Response | The current timestamp. |
Response Type | string |
Response Example |
CODE
|
/isaudioconnected
Function | Gets a value indicating whether the audio is connected. |
|---|---|
Method | GET |
Example | |
Response | True if audio is connected. |
Response Type | boolean |
Response Example |
CODE
|
/isaudiorecording
Function | Gets a value indicating whether the audio is recording. |
|---|---|
Method | GET |
Example | |
Response | True if audio is recording. |
Response Type | boolean |
Response Example |
CODE
|
/iscliprecording
Function | Gets a value indicating whether a clip is recording. |
|---|---|
Method | GET |
Example | |
Response | True if the clip is recording. |
Response Type | string |
Response Example |
CODE
|
/isrecording
Function | Gets a value indicating whether any channel is recording. |
|---|---|
Method | GET |
Example | |
Response | True if DRV+O is recording. |
Response Type | boolean |
Response Example |
CODE
|
/logevent/{eventName}
Function | Take an event. |
|---|---|
Method | GET |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
/takeevent/{eventName}
Function | Take an event. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/takeevent/eventName |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
/openaudio
Function | Open an audio stream. |
|---|---|
Method | POST |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | string |
Response Example |
CODE
|
/reevaluatetags/{value}
Function | Set reevaluate tags on split. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/reevaluatetags/value |
Response | None |
Response Type | string |
Response Example |
CODE
|
/removeinspection
Function | removes an inspection from the list of previous inspections. |
|---|---|
Method | POST |
Example | |
Response | Addresses of all the inputs that are streaming. |
Response Type | none |
Response Example |
CODE
|
/inspectiondirectory
Function | Set the inspection directory on all channels. |
|---|---|
Method | POST |
Example | http://192.168.2.186:13000/api/inspector/inspectiondirectory |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/recordingdirectory
Function | Set the inspection directory on all channels. |
|---|---|
Method | POST |
Example | |
Response | A Task representing the asynchronous operation. |
/splittime/{splitTime}
Function | Sets the split time in minutes. |
|---|---|
Method | GET |
Example | http://192.168.2.186:13000/api/inspector/splittime/splitTime |
Response | None |
Response Type | string |
Response Example |
CODE
|
/startclip
Function | Start recording a clip. |
|---|---|
Method | GET |
Example | |
Response | None |
Response Type | string |
Response Example |
CODE
|
/startinspection
Function | Start an inspection. |
|---|---|
Method | POST |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/startrecording
Function | Start recording. |
|---|---|
Method | GET |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/startstreaming
Function | Start streaming all the initialized inputs. |
|---|---|
Method | POST |
Example | |
Response | Addresses of all the inputs that are streaming. |
/stopclip
Function | Stop recording a clip. |
|---|---|
Method | GET |
Example | |
Response | None |
Response Type | none |
Response Example |
CODE
|
/stoprecording
Function | Stop recording. |
|---|---|
Method | GET |
Example | |
Response | A Task representing the asynchronous operation. |
Response Type | none |
Response Example |
CODE
|
/stopstreaming
Function | Stop streaming all the initialized inputs. |
|---|---|
Method | GET |
Example | |
Response | None |
Response Type | none |
Response Example |
CODE
|
/takeframegrab
Function | Take a framegrab. |
|---|---|
Method | GET |
Example | |
Response | True when taking a framegrab. |
Response Type | boolean |
Response Example |
CODE
|