Range

Function

This API is used to obtain the binocular stitching ipc stitching distance parameter range.

Note:

The Range provides reference information for client UI input limits and API request limits. When sending Get and Set requests, the parameters must be strictly limited according to the Range, otherwise the request may be rejected by the device.

Request Message

Parameter Description

Table 1

ParameterRangeTypeDescription
channel“CH1”…”CH1x”
“IP_CH1”…” IP_CH1x”
“WIFI_CH1”…” WIFI_CH1x”
The number of channels depends on the capabilities of the device.
stringThe presence of this field indicates that the request specifies the parameter range of a certain channel. If it is not present, all channels are returned.

Sample:

POST /API/SystemConfig/ImageStitching/Range HTTP/1.1
{
  "version": "1.0",
  "data": {
    "channel": "CH5"
  }
}

Response Message

Parameter Description

Table 2

ParameterRangeTypeDescription
channel_infoJson objectChannel_info object, see Table 3 for more information.

Table 3

ParameterRangeTypeDescription
channel“CH1”…”CH1x”
“IP_CH1”…” IP_CH1x”
“WIFI_CH1”…” WIFI_CH1x”
The number of channels depends on the capabilities of the device.
Json objectChannel object, see Table 4 for more information.

Table 4

ParameterRangeTypeDescription
ds_distance2~200doubleBinocular stitching distance.

Tips:

The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_info": {
            "type": "object",
            "items": {
                "CH5": {
                    "type": "object",
                    "items": {
                        "ds_distance": {
                            "type": "double",
                            "min": 2.0,
                            "max": 200.0
                        }
                    }
                }
            }
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.