Skip to content

16.ide_rename_folder

Message:

json
{
    "cmd": "ide_rename_folder",
    "data": {
        "version":"lite6",
        "user_Id":"test",
        "projectName":"213213213",
        "oldPath":"2",
        "newName":"22"
    },
    "id": "1"
}

Request:

datatypeRequired fieldsDescription
versionstringyesLite6 arm passes “lite6”, other types pass null
user_IdstringyesDefault pass test
projectNamestringyesDelete the parent directory of the project
oldPathstringyesRemove the path of a folder relative to its parent directory
newNamestringyesModified folder name

Respons:

code=0->Success;
code!=0->-34 means the renamed folder is abnormal, -11 means the folder with the new name already exists, -12 means the current folder does not exist.