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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Renames specified file or folder

Parameters 

 

Name TypeDescription

id

string

id of specified folder or file

name

string

new file or folder name

cb

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
Quatrix JavaSctipt APIs QJA