Skip to content

6.ide_save_project

Save python IDE interface:
Save python IDE project file information.

Message:

json
{
    "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:

datatypeRequired fieldsDescription
versionstringyesLite6 arm passes “lite6”, other types pass null
user_IdstringyesDefault pass test
selectFilePathstringyesPath to the selected project file
expendKeysarrayyesThe name of the file expanded under the project
openListarrayyesName of the currently opened file
projectNamestringyesSpecified name of Project Document

\

Respons:

code=0->Success;
code!=0->Failure, -22 for current project file as folder error; -12 for project path does not exist; -31 save project directory exception.

\