Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GET channels/command/unMonitor/{id}
Resource Information
Requires Authentication?
Response Formats
json
HTTP Methods
GET
Stop monitoring a channel, specified by the required {id} parameter.
Resource URL
http://{host}/api/2.0/channels/command/unMonitor/{id}/.format
Parameters
Parameter
Data Type
Description
id
(required)
integer
The ID of the desired channel.
Example Request
GET
Code Block | ||
---|---|---|
| ||
{
"Task": {
"id": 786122,
"device_id": 9011,
"type": "Toggle Monitoring State",
"type_id": 15,
"mode": "Starting",
"mode_id": 1,
"status": null,
"description": null,
"total": 0,
"completed": 0,
"time_remained": 0,
"modified": "1618156036339"
}
} |
GET channels/command/monitor/{id}/{dev_
GET channels/command/unMonitor/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Start Stop monitoring a channel on a specific device, specified by the required {id} and {dev_id} parametersparameter.
Resource URL
http://{host}/api/2.0/channels/command/monitor/{id}unMonitor/{dev_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
integer
The ID of the target device to monitor the channel.
Example Request
GET
monitor/9011Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
GET channels/command/
enableRecordmonitor/{id}/{dev_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Set a specific channel to be recordable. The recording could be handled manually or by trigger eventStart monitoring a channel on a specific device, specified by the required {id} and {dev_id} parameters.
Resource URL
http://{host}/api/2.0/channels/command/monitor/enableRecord{id}/{dev_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
dev_id | integer | The ID of the target device to monitor the channel. |
Example Request
GET
enableRecordExpand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
GET channels/command/
disableRecordenableRecord/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops Set a specific channel from being recordable.
Resource URL
to be recordable. The recording could be handled manually or by trigger event.
Resource URL
http://{host}/api/2.0/channels/command/disableRecordenableRecord/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
disableRecordExpand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
GET channels/command/
forceProfiledisableRecord/{id}
/{profile_id}Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Force a monitored channel to use a specific profile, overriding any default and scheduled profile changes. Also used to release a channel from a forced profileStops a specific channel from being recordable.
Resource URL
http://{host}/api/2.0/channels/command/forceProfiledisableRecord/{id}/{profile_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
profile_id
(required)
other
Values may be either an Integer profile ID to force that profile or "false" to release the channel.
Example Request
GET
http://Example Request
GET
forceProfile1/Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
GET channels/command/
startRecordforceProfile/{
ch_id}/{
agentprofile_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Start recording the channel. The recording will continue until "stopRecord" action is sent or record timeout limit reachedForce a monitored channel to use a specific profile, overriding any default and scheduled profile changes. Also used to release a channel from a forced profile.
Resource URL
http://{host}/api/2.0/channels/command/startRecordforceProfile/{ch_id}/{agentprofile_id}/.format
Parameters
Parameter | Data Type | Description |
---|
id | integer | The ID of the desired channel. |
profile_id |
integer
other | Values may be either an Integer profile ID to force that profile or "false" to release the channel. |
Example Request
GET
1921680203startRecordExpand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
GET channels/command/
stopRecordstartRecord/{ch_id}/{agent_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops Start recording the recording task on this channelchannel. The recording will continue until "stopRecord" action is sent or record timeout limit reached.
Resource URL
http://{host}/api/2.0/channels/command/stopRecordstartRecord/{ch_taskid}/{agent_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
ch_ |
id | integer | The ID of the desired channel. |
agent_id | integer | The |
ID of the |
file agent to be used for this record action. |
Example Request
GET
stopRecord237030GET channels/command/setSnooze/{id}/{remark}
Resource Information
Requires Authentication?
Response Formats
json
HTTP Methods
GET
Set Snooze on channel, disabling error notifications till snooze is cleared.
Resource URL
http://{host}/api/2.0/channels/command/setSnooze/{id}/{remark}/.format
Parameters
Parameter
Data Type
Description
id
(required)
integer
The ID of the desired channel.
remark
(optional)
string
The string to use as a remark.
Example Request
GET
http://44.235.52.211Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|
|
GET channels/command/stopRecord/{ch_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops the recording task on this channel.
Resource URL
http://{host}/api/2.0/channels/command/
setSnooze/1/this is a snooze remark/.jsonlanguage | json |
---|
stopRecord/{ch_task_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
ch_task_id | integer | The task ID of the currently recording channel. |
Example Request
GET
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
|
GET channels/command/setSnooze/{id}/{remark}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Set Snooze on channel, disabling error notifications till snooze is cleared.
Resource URL
http://{host}/api/2.0/channels/command/setSnooze/{id}/{remark}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
remark | string | The string to use as a remark. |
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
GET channels/command/clearSnooze/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Clears the Snooze state from a channel.
Resource URL
http://{host}/api/2.0/channels/command/clearSnooze/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
is | integer | The ID of the desired channel. |
Example Request
GET
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
GET channels/command/clearSnooze/{id}
Resource Information
Requires Authentication?
Response Formats
json
HTTP Methods
GET
Clears the Snooze state from a channel.
Resource URL
http://{host}/api/2.0/channels/command/clearSnooze/{id}/.format
Parameters
Parameter
Data Type
Description
is
(required)
integer
The ID of the desired channel.
Example Request
GET
Code Block | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
{
"ChannelStatistics": {
|
GET channels/command/acknowledge/{{channel_id}}/{{event_id}}/.json
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Acknowledges the channel events occured.
Resource URL
http://{host}/api/2.0/channels/command/acknowledge/{{channel_id}}/{{event_id}}/.format
** To get the channel ID and Event ID, use GET API command http://{host}/api/2.0/channels/events/.json
Parameters
Parameter | Data Type | Description |
---|---|---|
is | integer | The ID of the desired channel. |
Example Request
GET
Expand | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
|