Documentation for C-Werk 2.0.

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On page:

Get list of presets

GET http://IP-Address:port/prefix/control/telemetry/preset/info/{TELEMETRYCONTROLID} − gets the list of existing presets.

TELEMETRYCONTROLID template from Get list of telemetry devices for specified video source.

Sample request:

GET http://127.0.0.1:80/control/telemetry/preset/info/Server1/DeviceIpint.2/TelemetryControl.0

Sample response:

{
          "0": "Preset1",
          "1": "Preset2",
          "4": "Preset3"
}

Create and edit preset

GET http://IPaddress:port/prefix/control/telemetry/preset/set/{TELEMETRYCONTROLID} − create/edit preset.

ParameterRequiredDescription
posYesPosition. If a preset with specified position already exists, its label will be deleted.
labelYesPreset name.
session_idYesSession id (see Acquire telemetry control session).

Sample request:

GET http://127.0.0.1:80/control/telemetry/preset/set/Server1/DeviceIpint.2/TelemetryControl.0?pos=0&label=Exit&session_id=0

Go to preset and delete preset

GET http://IPaddress:port/prefix/control/telemetry/preset/{go|remove}/{TELEMETRYCONTROLID} − go to preset or delete it.

ParameterRequiredDescription
posYesPreset position.
session_idYesSession id (see Acquire telemetry control session).

Sample request:

Going to preset with pos 1:

GET http://127.0.0.1:80/control/telemetry/preset/go/Server1/DeviceIpint.2/TelemetryControl.0?pos=1&session_id=0

Deleting of preset with position 2:

GET http://127.0.0.1:80/control/telemetry/preset/remove/Server1/DeviceIpint.2/TelemetryControl.0?pos=2&session_id=0

  • No labels