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:
data | type | Required fields | Description |
---|---|---|---|
version | string | yes | Lite6 arm passes “lite6”, other types pass null |
user_Id | string | yes | Default pass test |
selectFilePath | string | yes | Path to the selected project file |
expendKeys | array | yes | The name of the file expanded under the project |
openList | array | yes | Name of the currently opened file |
projectName | string | yes | Specified 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.
\