回读连接关系为文件

555

# 回读连接关系为文件

Path:

/api/rcv_layout_file

Method: GET

Content-type: application/json; charset=utf-8

接口描述: 回读连接关系为文件

请求参数

名称 类型 示例 描述
portIndex int 0 网口序号
returnType String file file: 返回文件二进制 , path: 返回文件路径

返回数据

名称 类型 示例 描述
path String "/sdcard/Android/data/com.color.home
/files/MAPPING/xxx.mapping"
文件路径
errorCode int 0 错误码
apiErrorCode int 0 api错误码

响应
returnType 为 file 返回Body: 返回 连接关系文件binary 错误码:通过HTTP状态码返回 returnType 为 path

返回示例:

{
    "path": "/sdcard/Android/data/com.color.home/files/MAPPING/xxx.mapping",
    "errorCode": 0,
    "apiErrorCode":0
}