Channel Commands
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 | integer | The ID of the desired channel. |
Example Request
GET
GET channels/command/monitor/{id}/{dev_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Start 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/{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
GET channels/command/enableRecord/{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 event.
Resource URL
http://{host}/api/2.0/channels/command/enableRecord/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
GET channels/command/disableRecord/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Stops a specific channel from being recordable.
Resource URL
http://{host}/api/2.0/channels/command/disableRecord/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
Example Request
GET
GET channels/command/forceProfile/{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 profile.
Resource URL
http://{host}/api/2.0/channels/command/forceProfile/{id}/{profile_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired channel. |
profile_id | other | Values may be either an Integer profile ID to force that profile or "false" to release the channel. |
Example Request
GET
GET channels/command/startRecord/{ch_id}/{agent_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 reached.
Resource URL
http://{host}/api/2.0/channels/command/startRecord/{ch_id}/{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
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/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
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
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
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