6.ide_save_project

192.168.1.66:18333/ws

保存pythonIDE接口: 保存python IDE工程文件信息。

Message:

{
    "cmd": "ide_save_project",
    "data": {
        "version":"lite6",
        "user_Id":"test",
        "selectFilePath":"BlocklyToPython/test00001.py",
        "expendKeys":['/', 'BlocklyToPython/test00001.py'],
        "openList":['BlocklyToPython/test00001.py'],
        "projectName":'BlocklyToPython'
    },
    "id": "1"
}

\

Request:

  • cmd

    • string,必填,请求接口

  • date

    • Application/json,必填,请求数据

  • id

    • string,必填,请求序列号

\

Respons:

code=0->成功;
code!=0->失败,-22为当前工程文件为文件夹错误;-12为工程路径不存在;-31保存工程目录异常。

\

请求参数

Last updated