Skip to content

5.ide_rename_project

Modify pythonIDE name interface:
Rename the python IDE project file.

Message:

json
{
    "cmd": "ide_rename_project",
    "data": {
        "version":"lite6",
        "user_Id":"test",
        "oldName":"test01",
        "newName":"test02"
    },
    "id": "1"
}

\

Request:

datatypeRequired fieldsDescription
versionstringyesLite6 arm passes “lite6”, other types pass null
user_IdstringyesDefault pass test
oldNamestringyesOriginal name of Project Document
newNamestringyesModified name of Project Document

\

Respons:

code=0->Success;
code!=0->Failed, -11 for modified Name of Project Document already exists; -12 for project path does not exist; -34 rename project directory exception.

\