RestoreTrash

Restores a file/folder from trash.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
Input Parameter Type Description
Token* String Security token
FileserverName* String Fileserver name
Path* String Path to a directory or file
NewPath* String Full path to where the file will be saved
OverwriteFile Boolean Allow overwriting
Output Parameter Type Description
Success Status Returns status code

*=required

CURL EXAMPLE
curl -v 'https://storage.example.com/storage/api.php?Token=aoa8atgb9tqb2lupq508v9ka30&Task=RestoreTrash&Path=/trashfolder/myfile.txt&OriginalPath=/mydirectory/myfile.txt&OverwriteFile=true&FileserverName=nmsa000177'
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>
</Response>