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:
data | type | Required fields | Description |
---|---|---|---|
version | string | yes | Lite6 arm passes “lite6”, other types pass null |
user_Id | string | yes | Default pass test |
projectName | string | yes | Delete the parent directory of the project |
oldPath | string | yes | Remove the path of a folder relative to its parent directory |
newName | string | yes | Modified 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.