Movedigital.folders.renameFolder
From MoveDigital Docs
| Table of contents |
[edit]
Arguments
Calls are POSTed to http://www.movedigital.com/services/rest/ and should include the following arguments
- method (required) - Must be set to: movedigital.folders.renameFolder
- userid (required) - The userid of the MoveDigital account.
- sessionid (required) - The sessionid for the current session.
- session (required) - The session value for the associated sessionid.
- folderid (required) - The folderid you wish to rename.
- foldername (required) - The new name you wish to give the folder.
[edit]
Example Responses
- Success
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <method>movedigital.folders.renameFolder</method> <format>rest</format> <messages> <message msg="Successfully renamed the folder." /> </messages> </rsp>
- Error
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <method>movedigital.folders.renameFolder</method> <errors> <error code="85" msg="Cannot rename this folder while its in a torrent." /> </errors> </rsp>
[edit]
Error Codes
- 82 - Another folder already has this name.
- 83 - Folder not found.
- 85 - Action denied while in torrent.
- 98 - Insufficient permissions.
- 99 - User not signed in.
- 108 - Internal error.
- 109 - Service is currently unavailable.
[edit]

