Skip to content

12.ide_delete_file ​

Message: ​

json
{
    "cmd": "ide_delete_file",
    "data": {
        "version":"lite6",
        "user_Id":"test",
        "projectName":"BlocklyToPython",
        "filePath":"/test_0907.py"
    },
    "id": "1"
}

\

Request: ​

datatypeRequired fieldsDescription
versionstringyesLite6 arm passes “lite6”, other types pass null
user_IdstringyesDefault pass test
projectNamestringyesThe parent directory of the project
filePathstringyesRelative path to the pythonide file

\

Respons: ​

code=0->Success;
code!=0->-31 means write exception, -12 means write file does not exist, -22 means the path file is a folder.

\