# Get

## Function

This API is used to get the binocular stitching ipc stitching distance parameters.

## Request Message

See System > ImageStitching > Range > Parameter Description > Table 1 for parameter description.

Sample:

    POST /API/SystemConfig/ImageStitching/Get HTTP/1.1

    {
      "version": "1.0",
      "data": {
        "channel": "CH5"
      }
    }

## Response Message

#### Table 1

Parameter | Range | Type | Description
--- | --- | --- | ---
channel_info |  | Json object | channel_info object, seeTable 2 for more information.

#### Table 2

Parameter | Range | Type | Description
--- | --- | --- | ---
channel | “CH1”…”CH1x” “IP_CH1”…” IP_CH1x” “WIFI_CH1”…” WIFI_CH1x” The number of channels depends on the capabilities of the device. | Json object | channel obejct, seeTable 3 for more information.

#### Table 3

Parameter | Range | Type | Description
--- | --- | --- | ---
ds_distance | 2~200 | double | Binocular stitching distance.
ds_distance_range |  | Json Object | Binocular stitching distance parameter range ds_distance_range object, see Table 4 for more information.Web does not request Range, but brings Range when Get.

#### Table 4

Parameter | Range | Type | Description
--- | --- | --- | ---
type | “double” | string |
min |  | double | Minimum value of binocular stitching distance parameter range.
max |  | double | Maximum value of binocular stitching distance parameter range

Sample:

    HTTP/1.1 200 OK
    Content-Type: application/json

    {
        "result": "success",
        "data": {
            "channel_info": {
                "CH5": {
                    "ds_distance": 13.0,
                    "ds_distance_range": {
                        "type": "double",
                        "min": 2.0,
                        "max": 200.0
                    }
                }
            }
        }
    }

## Error Code

See Response Messages Body and Common error_code for more information.