Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
Skip to end of metadata
Go to start of metadata

Renames specified file or folder

Parameters 

 

Name TypeDescription

id

required

string

id of specified folder or file

name

required

string

new file or folder name

cb

optional

functioncallback function



Example

this.filecmdRename = function(id, name, cb) {
  return _request({
    method: 'POST',
    url: '/file/rename',
    data: {
    id: id,
      name: name
    },
    callback : cb
  });
};

 

 

  • No labels
Write a comment…
Quatrix JavaSctipt APIs QJA