You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > DW Product Help > Software Applications > DW Spectrum IPVMS > API > DW Spectrum - Start/Stop Camera Recording with API
DW Spectrum - Start/Stop Camera Recording with API
print icon

How to Start/Stop Camera Recording Schedule with DW Spectrum API

-----------------------------------

Affected Roles: Administrator, Power Users

Related Digital Watchdog VMS Apps: DW Spectrum

Software Version: 6.0

Last Edit: April 18, 2025

-----------------------------------

 

Enable/Disable Recording with DW Spectrum API

DW Spectrum does not have a direct API method to start or stop recording for cameras. However, the saveCameraUserAttributes can change the additional attributes of a specific camera. This can be used with API to enable or disable a camera’s Recording Schedule, otherwise starting or stopping camera recording.

 

Related Articles

 

Using the API to Start/Stop Camera Recording

  1. Find and copy the Camera ID (not MAC/Physical ID) of the target device. For more information, you can refer to DW Spectrum - Camera Identifiers.
  2. Use the id as index and construct the JSON with required parameters of “/ec2/saveCameraAttributes”. For more information, you can refer to DW Spectrum - SDK/API Tools.
  3. Change the parameter “scheduledEnabled” to enable/disable the recording of camera.

**NOTE:True” is enabled and “False” is disabled.

  1. Send a POST request to the DW Spectrum Media Server using the API, “/ec2/saveCameraAttributes”.

 

Authentication

All requests to the DW Spectrum Media Server require user authentication. DW Spectrum Media Server supports HTTP basic and digest authentication.

  • Digest Authentication is more secure and workflow is described in the API documentation.
  • HTTP Basic is simpler to use as you just add the user login and password to the link. 

 

 

 

 

For More Information or Technical Support

DW Technical Support:  866.446.3595 (option 4)

https://www.digital-watchdog.com/contact-tech-support/

______________________________________________________________________________

DW Sales:  866.446.3595                   [email protected]        www.digital-watchdog.com

scroll to top icon