HXLPLUS

General notes

API detail

Get Matrix

Description

Retrieves the active matrix configuration. Shows which inputs are routed to the outputs.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetMatrix"
GET /GetMatrix HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "matrix": [
        0,
        1,
        0,
        0
    ]
}

Get Presets

Description

Retrieves all the video matrix presets. HXL44PLUS: 4 total presets. HXL88PLUS: 8 total presets.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetPresets"
GET /GetPresets HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "presets": [
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ]
    ]
}

Get Audio Presets

Description

Retrieves all the audio matrix presets. HXL44PLUS: 4 total presets. HXL88PLUS: 8 total presets.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetAudioPresets"
GET /GetAudioPresets HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "presets": [
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0
        ]
    ]
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "presets": [
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ],
        [
            0,
            0,
            0,
            0
        ]
    ]
}

Get Custom Edid Info

Description

Retrieves the names of all the custom EDID uploads. HXL44PLUS: 4 total slots HXL88PLUS: 8 total slots

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetCustomEdidInfo"
GET /GetCustomEdidInfo HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "customEdids": [
        "HXL88\n       ",
        null,
        null,
        null
    ]
}

Get Active Edid Info

Description

Retrieves the active EDIDs set for all sources. HXL44PLUS: 4 sources. HXL88PLUS: 8 sources.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetActiveEdidInfo"
GET /GetActiveEdidInfo HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "activeEdids": [
        "2160p60  2ch Only No HDR",
        "2160p30  8ch No HDR",
        "1080p60  8ch (No Dolby)",
        "2160p60  2ch Only HDR"
    ]
}

Get Audio Settings

Description

Retrieves the active audio matrix configuration in addition to audio settings of the specified output. HXL44PLUS: 8 outputs. HXL88PLUS: 12 outputs.

Command Usage

Request Format Example:

{
    "output": 0
}

Arguments:

"output"
    Type: Integer
    Parameter: Specifies for which output to retrieve audio settings for.
    Range (HXL44PLUS): 0 - 7
    Range (HXL88PLUS): 0 - 11
curl -X POST -d '{
	"output": 0
}' "/GetAudioSettings"
POST /GetAudioSettings HTTP/1.1
Host: 

{
	"output": 0
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "matrix": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
    ],
    "status": "success",
    "audioInfo": {
        "mute": false,
        "volume": 20,
        "tune mode": "disabled",
        "presets": "flat",
        "band0": 0,
        "band1": 0,
        "band2": 0,
        "band3": 0,
        "band4": 0,
        "basstone": 0,
        "treble": 0,
        "surround": false,
        "surrlevel": 1,
        "basslevel": 31,
        "bass": false,
        "bassfreq": 100,
        "highpass": false
    }
}

Get Sink Name

Description

Retrieves the names of the connected sinks retrieved from the EDID. HXL44PLUS: 4 sinks HXL88PLUS: 8 sinks

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetSinkName"
GET /GetSinkName HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "sinknames": [
        "LG TV RVU\n   ",
        "M50-E1\n      ",
        "SAMSUNG\n     ",
        "43S403\n      "
    ]
}

Get Admin Info

Description

Retrieves device administration information such network, firmware version, and serial.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/GetAdminInfo"
GET /GetAdminInfo HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success",
    "systemInfo": {
        "serial": "HXL44PLUS-0123",
        "firmware": "1.0.20",
        "firmware date": "Aug 20 2020",
        "firmware time": "14:48:46",
        "audio firmware": "0.1",
        "hardware": "AA0",
        "current ip": "192.168.22.107",
        "current netmask": "255.255.255.0",
        "current gateway": "192.168.22.1",
        "static ip": "192.168.0.10",
        "netmask": "255.255.255.0",
        "gateway": "192.168.0.1",
        "mac": "00:11:22:33:44:66",
        "hostname": "HXL44PLUS-0123",
        "dhcp": true
    }
}

Get Video Info

Description

Retrieves video parameter information from specified inputs and outputs or optionally from all inputs and outputs. HXL44PLUS: 4 video inputs and 4 video outputs HXL88PLUS: 8 video inputs and 8 video outputs

Command Usage

Request Format Example:

{
    "output": 0,
    "input": "all"
}

Arguments:

"output" (optional)
    Type: Integer or String
    Parameter: Specifies for which output to retrieve video parameters for. Omit this paramter to get all inputs and outputs.
    Range (HXL44PLUS): 0 - 3, or "all"
    Range (HXL88PLUS): 0 - 7, or "all"
curl -X POST -d '{
    "input": "all",
    "output": "all"
}' "/GetVideoInfo"
POST /GetVideoInfo HTTP/1.1
Host: 

{
    "input": "all",
    "output": "all"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "inputs": [
        {
            "channel": 0,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "296 MHz",
            "framerate": "23.96 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 1,
            "link": true,
            "hdcp status": "started",
            "video stable": false,
            "signal stable": false,
            "resolution": "",
            "scan type": "progressive",
            "color format": "",
            "dynamic range": "",
            "color bit depth": 0,
            "pixel clock": "0 MHz",
            "framerate": "0.00 Hz",
            "audio type": "",
            "audio sample rate": "",
            "audio channels": ""
        },
        {
            "channel": 2,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "1920x1080",
            "scan type": "progressive",
            "color format": "YCbCr444",
            "dynamic range": "CEA (Limit Range)",
            "color bit depth": 8,
            "pixel clock": "147 MHz",
            "framerate": "59.79 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 3,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "YCbCr420",
            "dynamic range": "CEA (Limit Range)",
            "color bit depth": 10,
            "pixel clock": "296 MHz",
            "framerate": "59.89 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "outputs": [
        {
            "channel": 0,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "448 Mhz",
            "framerate": "24.14 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "inputs": [
        {
            "channel": 0,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "296 MHz",
            "framerate": "23.96 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "outputs": [
        {
            "channel": 0,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "448 Mhz",
            "framerate": "24.14 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 1,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "YCbCr420",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "447 Mhz",
            "framerate": "24.11 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": ""
        },
        {
            "channel": 2,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 1,
            "video stable": true,
            "signal stable": true,
            "resolution": "1920x1080",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "224 Mhz",
            "framerate": "60.00 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 3,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "438 Mhz",
            "framerate": "23.62 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "inputs": [
        {
            "channel": 0,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "296 MHz",
            "framerate": "23.96 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 1,
            "link": true,
            "hdcp status": "started",
            "video stable": false,
            "signal stable": false,
            "resolution": "",
            "scan type": "progressive",
            "color format": "",
            "dynamic range": "",
            "color bit depth": 0,
            "pixel clock": "0 MHz",
            "framerate": "0.00 Hz",
            "audio type": "",
            "audio sample rate": "",
            "audio channels": ""
        },
        {
            "channel": 2,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "1920x1080",
            "scan type": "progressive",
            "color format": "YCbCr444",
            "dynamic range": "CEA (Limit Range)",
            "color bit depth": 8,
            "pixel clock": "147 MHz",
            "framerate": "59.79 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 3,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "YCbCr420",
            "dynamic range": "CEA (Limit Range)",
            "color bit depth": 10,
            "pixel clock": "296 MHz",
            "framerate": "59.89 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "outputs": [
        {
            "channel": 0,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "448 Mhz",
            "framerate": "24.14 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 1,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "YCbCr420",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "447 Mhz",
            "framerate": "24.11 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": ""
        },
        {
            "channel": 2,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 1,
            "video stable": true,
            "signal stable": true,
            "resolution": "1920x1080",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "224 Mhz",
            "framerate": "60.00 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        },
        {
            "channel": 3,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "438 Mhz",
            "framerate": "23.62 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "inputs": [
        {
            "channel": 0,
            "link": true,
            "hdcp status": "success 2.2",
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "296 MHz",
            "framerate": "23.96 Hz",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "outputs": [
        {
            "channel": 0,
            "link": true,
            "active": true,
            "hdcp status": "success 2.2",
            "hdcp retries": 0,
            "video stable": true,
            "signal stable": true,
            "resolution": "3840x2160",
            "scan type": "progressive",
            "color format": "RGB444",
            "dynamic range": "VESA (Full Range)",
            "color bit depth": 12,
            "pixel clock": "448 Mhz",
            "framerate": "24.14 Hz;",
            "audio type": "LPCM",
            "audio sample rate": "48 kHz",
            "audio channels": "2 channels"
        }
    ],
    "status": "success"
}

Get Edid Info

Description

Retrieves the decoded EDID information from a specified sink or an uploaded custom edid. HXL44PLUS: 4 sinks and 4 custom edid slots. HXL88PLUS: 8 sinks and 8 custom edid slots.

Command Usage

Request Format Example:

{
    "edid": "sink0"
}

Arguments:

"edid" 
    Type: String
    Parameter: Specifies the sink or custom edid to retrieve EDID parameters for.
    Range (HXL44PLUS): "sink0", "sink1", ... "sink3", or "custom0", custom1", ... "custom3"
    Range (HXL88PLUS): "sink0", "sink1", ... "sink7", or "custom0", custom1", ... "custom7"
curl -X POST -d '{
    "edid": "sink0"
}' "/GetEdidInfo"
POST /GetEdidInfo HTTP/1.1
Host: 

{
    "edid": "sink0"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success",
    "cec address": "10",
    "framerate": "60.00 Hz;",
    "horizontal pixels": 3840,
    "vertical pixels": 2160,
    "scan type": "progressive",
    "pixel clock": "594.00 MHz",
    "YUV422 support": true,
    "YUV444 support": false,
    "YUV444 deep color support": true,
    "30bit support": true,
    "36bit support": true,
    "48bit support": false,
    "HDR support": true,
    "name": "LG TV RVU\n   ",
    "audio": [
        {
            "format": "DTS",
            "channels": 6,
            "bitrate": 0,
            "bitdepth": 20,
            "samplerate": "48 kHz"
        },
        {
            "format": "Dolby Digital",
            "channels": 6,
            "bitrate": 128,
            "bitdepth": 20,
            "samplerate": "48 kHz"
        },
        {
            "format": "LPCM",
            "channels": 2,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        }
    ]
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success",
    "cec address": "44",
    "framerate": "30.00 Hz;",
    "horizontal pixels": 3840,
    "vertical pixels": 2160,
    "scan type": "progressive",
    "pixel clock": "297.00 MHz",
    "YUV422 support": true,
    "YUV444 support": false,
    "YUV444 deep color support": true,
    "30bit support": true,
    "36bit support": true,
    "48bit support": false,
    "HDR support": true,
    "name": "HXL88\n       ",
    "audio": [
        {
            "format": "LPCM",
            "channels": 2,
            "bitrate": 0,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        },
        {
            "format": "LPCM",
            "channels": 8,
            "bitrate": 0,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        },
        {
            "format": "Dolby Digital",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "48 kHz"
        },
        {
            "format": "DTS",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "48 kHz"
        },
        {
            "format": "1-Bit Audio DSD",
            "channels": 6,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "44.1 kHz"
        },
        {
            "format": "Dolby Digital Plus",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "48 kHz"
        },
        {
            "format": "DTS-HD Master Audio",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        },
        {
            "format": "DTS-HD Master Audio",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        },
        {
            "format": "Dolby MAT",
            "channels": 8,
            "bitrate": 128,
            "bitdepth": 24,
            "samplerate": "192 kHz"
        }
    ]
}

Get Update Info

Description

Retrieves firmware update information. The unit checks for an update once a day. If update is available, the request will return “update available”. During update process, will return update progress from 0-100.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X POST -d '{
    "recheck": true
}' "/GetUpdateInfo"
POST /GetUpdateInfo HTTP/1.1
Host: 

{
    "recheck": true
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success",
    "update": {
        "avaliable": true,
        "message": "Update avaliable."
    }
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success",
    "update": {
        "avaliable": true,
        "message": "Update avaliable."
    }
}

Restart System

Description

Restarts the system.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/Restart"
GET /Restart HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Factory Reset System

Description

Completes a factory reset and then restarts the system with factory default settings.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/Reset"
GET /Reset HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Update Firmware

Description

If a firmware update is available, initiates the firmware update process. Use “Get Update Info” to check for updates. Once, process is started, use “Get Update Info” to get process progression.

Command Usage

Request Format Example: “none”

Arguments: “none”

curl -X GET "/Update"
GET /Update HTTP/1.1
Host: 
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set Video Matrix

Description

Sets the active video matrix configuration. Use “matrix” key to specifiy an array as the matrix configuration. Use “preset” key to set the active configuration from one of the saved presets. Use “Get Presets” to retrieve the presets. Use “Set Preset” to save a preset. HXL44PLUS: 4 inputs, 4 outputs, and 4 presets HXL88PLUS: 8 inputs, 8 outputs, and 8 presets

Command Usage

Request Format Example:

{
    "matrix": [0, 1, 2, 3]
}

Arguments:

"matrix"
    Type: Array of Integers
    Parameter: Specifies which inputs are routed to each outputs. Each integer in the array specifies the source to route to that index of output.
    Range (HXL44PLUS): 0 - 3, array size = 4
    Range (HXL88PLUS): 0 - 7, array size = 8
"preset"
    Type: Integer
    Parameter: Specifies which preset is set as the active configuration.
    Range (HXL44PLUS): 0 - 3
    Range (HXL88PLUS): 0 - 7
curl -X POST -d '{
	"preset": 1
}' "/SetMatrix"
POST /SetMatrix HTTP/1.1
Host: 

{
	"preset": 1
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set Audio Matrix

Description

Sets the active audio matrix configuration. Use “matrix” key to specifiy an array as the matrix configuration. Use “preset” key to set the active configuration from one of the saved presets. Use “Get Audio Presets” to retrieve the presets. Use “Set Audio Preset” to save a preset. HXL44PLUS: 4 inputs, 8 outputs, and 8 presets HXL88PLUS: 8 inputs, 12 outputs, and 12 presets

Command Usage

Request Format Example:

{
    "matrix": [0, 1, 2, 3, 0, 1, 2, 3]
}

Arguments:

"matrix"
    Type: Array of Integers
    Parameter: Specifies which inputs are routed to each outputs. Each integer in the array specifies the source to route to that index of output.
    Range (HXL44PLUS): 0 - 3, array size = 8
    Range (HXL88PLUS): 0 - 7, array size = 12
"preset"
    Type: Integer
    Parameter: Specifies which preset is set as the active configuration.
    Range (HXL44PLUS): 0 - 7
    Range (HXL88PLUS): 0 - 11
curl -X POST -d '{
    "preset": 1
}' "/SetAudioMatrix"
POST /SetAudioMatrix HTTP/1.1
Host: 

{
    "preset": 1
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set Preset

Description

Saves a video matrix configuration into a preset slot. Use “Get Presets” to retrieve the presets. Use “Set Matrix” to load a preset. HXL44PLUS: 4 inputs, 4 outputs, and 4 presets HXL88PLUS: 8 inputs, 8 outputs, and 8 presets

Command Usage

Request Format Example:

{
    "presetSlot": 0,
    "preset": [0, 1, 2, 3]
}

Arguments:

"presetSlot"
    Type: Integer
    Parameter: Specifies which preset slot the matrix configuration is saved into.
    Range (HXL44PLUS): 0 - 3
    Range (HXL88PLUS): 0 - 7
"preset"
    Type: Array of Integers
    Parameter: Specifies which inputs are routed to each outputs. Each integer in the array specifies the source to route to that index of output.
    Range (HXL44PLUS): 0 - 3, array size = 4
    Range (HXL88PLUS): 0 - 7, array size = 8
curl -X POST -d '{
	"presetSlot": 0,
    "preset": [
    	0, 1, 2, 3
    	]
}' "/SetPreset"
POST /SetPreset HTTP/1.1
Host: 

{
	"presetSlot": 0,
    "preset": [
    	0, 1, 2, 3
    	]
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set Audio Preset

Description

Saves a audio matrix configuration into a preset slot. Use “Get Audio Presets” to retrieve the presets. Use “Set Audio Matrix” to load a preset. HXL44PLUS: 4 inputs, 8 outputs, and 8 presets HXL88PLUS: 8 inputs, 12 outputs, and 12 presets

Command Usage

Request Format Example:

{
    "presetSlot": 0,
    "preset": [0, 1, 2, 3, 0, 1, 2, 3]
}

Arguments:

"presetSlot"
    Type: Integer
    Parameter: Specifies which preset slot the matrix configuration is saved into.
    Range (HXL44PLUS): 0 - 7
    Range (HXL88PLUS): 0 - 11
"preset"
    Type: Array of Integers
    Parameter: Specifies which inputs are routed to each outputs. Each integer in the array specifies the source to route to that index of output.
    Range (HXL44PLUS): 0 - 3, array size = 8
    Range (HXL88PLUS): 0 - 7, array size = 12
curl -X POST -d '{
	"presetSlot": 1,
    "preset": [
    	0, 1, 2, 3, 0, 1, 2, 3
    	]
}' "/SetAudioPreset"
POST /SetAudioPreset HTTP/1.1
Host: 

{
	"presetSlot": 1,
    "preset": [
    	0, 1, 2, 3, 0, 1, 2, 3
    	]
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set Audio Settings

Description

Sets desired analog settings for an desired output. All settings are optional and only requested settings will take effect.

Command Usage

Request Format Example:

{
    "output": 0,
    "mute": false,
    "volume": 50,
    "tune mode": "disabled",
    "presets": "flat",
    "band0": 0,
    "band1": 0,
    "band2": 0,
    "band3": 0,
    "band4": 0,
    "basstone": 0,
    "treble": 0,
    "surround": false,
    "surrlevel": 1,
    "basslevel": 31,
    "bass": false,
    "bassfreq": 100,
    "highpass": false
}

Arguments:

"output"
    Type: Integer
    Parameter: Specifies the output for which to adjust analog settings for.
    Range (HXL44PLUS): 0 - 7
    Range (HXL88PLUS): 0 - 11
"mute" (optional)
    Type: Boolean
    Parameter: Mutes the analog output when true, unmutes when false.
"volume" (optional)
    Type: Integer
    Parameter: Sets the analog output volume level from 0 to 100.
"tune mode" (optional)
    Type: String
    Parameter: Sets the digital processing unit to "disabled", "presets", "equalizer", or "tonecontrol".
"presets" (optional)
    Type: String
    Parameter: Sets the preset to "flat", "rock", "classical", "dance", or "acoustic". Note that tune mode must be set to "presets" to have an effect.
"band0" (optional)
    Type: Integer
    Parameter: Sets the 115 Hz band of the graphic EQ to -11.75 dB to 12 dB. Note that tune mode must be set to "equalizer" to have an effect.
"band1" (optional)
    Type: Integer
    Parameter: Sets the 330 Hz band of the graphic EQ to -11.75 dB to 12 dB. Note that tune mode must be set to "equalizer" to have an effect.
"band2" (optional)
    Type: Integer
    Parameter: Sets the 990 Hz band of the graphic EQ to -11.75 dB to 12 dB. Note that tune mode must be set to "equalizer" to have an effect.
"band3" (optional)
    Type: Integer
    Parameter: Sets the 3000 Hz band of the graphic EQ to -11.75 dB to 12 dB. Note that tune mode must be set to "equalizer" to have an effect.
"band4" (optional)
    Type: Integer
    Parameter: Sets the 9900 Hz band of the graphic EQ to -11.75 dB to 12 dB. Note that tune mode must be set to "equalizer" to have an effect.
"basstone" (optional)
    Type: Integer
    Parameter: Sets the bass of the tone control to -11.75 dB to 12 dB. Note that tune mode must be set to "tonecontrol" to have an effect.
"treble" (optional)
    Type: Integer
    Parameter: Sets the treble of the tone control to -11.75 dB to 12 dB. Note that tune mode must be set to "tonecontrol" to have an effect.
"surround" (optional)
    Type: Boolean
    Parameter: Enables or disables the surround effect.
"surrlvl" (optional)
    Type: Integer
    Parameter: Sets the surround effect level to a value between 0 (least) and 7 (most).
"bass" (optional)
    Type: Boolean
    Parameter: Enables or disables the bass enchancement effect.
"basslvl" (optional)
    Type: Integer
    Parameter: Sets the surround effect level to a value between 0 (least) and 127 (most).
"bassfreq" (optional)
    Type: Integer
    Parameter: Sets the cutoff frequency for the bass enchancement to 80, 100, 125, 150, 175, 200, or 225.
"highpass" (optional)
    Type: Boolean
    Parameter: Enables or disables the highpass filter for the bass enchancement.
curl -X POST -d '{
	"output": 0,
    "tune mode": "equalizer",
    "band0": 6.5,
    "band1": 3.2,
    "band2": -0.5,
    "band3": 3.2,
    "band4": 7.0
}' "/SetAudioSettings"
POST /SetAudioSettings HTTP/1.1
Host: 

{
	"output": 0,
    "tune mode": "equalizer",
    "band0": 6.5,
    "band1": 3.2,
    "band2": -0.5,
    "band3": 3.2,
    "band4": 7.0
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}

Set EDID

Description

Sets the desired EDID to the desired source. Specify the source and the edid type. For the built-in EDIDs (1080p, 2160p30, 2160p60), set “modify” to true to set the desired audio channels. Set “strip dolby” and “strip dts” to remove all “dts” or “dolby” codecs from the EDID. Use “strip hdr” to remove HDR from EDID (default for 2160p30 and 2160p60 is included with HDR). For sink and custom EDID, you can set “modify” to false leave as is. Or set to true to modify audio and hdr settings.

Command Usage

Request Format Example:

{
    "source": 0,
    "edid": "1080p60",
    "modify": true,
    "channels": 2,
    "strip dolby": false,
    "strip dts": false,
    "strip hdr": true
}

Arguments:

"source" (required)
    Type: Integer or String
    Parameter: Select the desired source specifying the number or "all" for all sources.
    Range (HXL44PLUS): 0 - 3, or "all"
    Range (HXL88PLUS): 0 - 7, or "all"
"edid" (required)
    Type: String
    Parameter: Select the desired edid between "1080p60", "2160p30", "2160p60", "sink0", "sink1" ..., "custom0", "custom1", .... Note if selecting "1080p60", "2160p30", or "2160p60" and modify is to false then last used audio and hdr settings are used.
"modify" (optional)
    Type: Boolean
    Parameter: Set to true to modify audio in the EDID data.
"channels" (dependency)
    Type: Integer
    Parameter: Select the desired audio channels. Must be set if "modify" is set to true. 
    Range: Must be set to 2, 6, or 8.
"strip dolby": (optional)
    Type: Boolean
    Parameter: Removes all dolby codecs from EDID.
"strip dts": (optional)
    Type: Boolean
    Parameter: Removes all dts codecs from EDID.
"strip hdr" (optional)
    Type: Boolean
    Parameter: Removes HDR from the EDID.
curl -X POST -d '{
	"source": 0,
    "edid": "sink0",
    "modify": true,
    "channels": 2
}' "/SetEdid"
POST /SetEdid HTTP/1.1
Host: 

{
	"source": 0,
    "edid": "sink0",
    "modify": true,
    "channels": 2
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}
Status200 OK
ServerzigenIP (http://zigencorp.com)
Content-typeapplication/json
{
    "status": "success"
}