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:
data | type | Required fields | Description |
---|---|---|---|
version | string | yes | Lite6 arm passes “lite6”, other types pass null |
user_Id | string | yes | Default pass test |
oldName | string | yes | Original name of Project Document |
newName | string | yes | Modified 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.
\