ListTrash

Authentication Methods


  • With a username and password
Input Parameter Type Description
Token String Security token
FileServerName String FileServer name
Path String Path of file/folder to list
Output Parameter Type Description
Success Status Returns status code

EXAMPLES

curl -v 'https://storage.example.com/storage/api.php?Token=ms28lbbsql627i3ftmoq2j00q2&Task=ListTrash&FileserverName=nmsa000001&Path=/'

RESPONSE

<?xml version="1.0" encoding="utf-8" ?>
<Response>
    <Status>1</Status>
    <Message>Success</Message>
    <FileInfos>
        <FileInfo>
            <Name>test.txt</Name>
            <Path>/</Path>
            <IsFolder>false</IsFolder>
            <LastModifiedDstamp>1262683582</LastModifiedDstamp>
            <Size>445</Size>
            <TrashDate>2021-12-02 15:09:50</TrashDate>
            <VersionID>1638457790.059468</VersionID>
        </FileInfo>
        <FileInfo>
            <Name>test</Name>
            <Path>/</Path>
            <IsFolder>true</IsFolder>
            <LastModifiedDstamp>1262683582</LastModifiedDstamp> 
        </FileInfo>
    </FileInfos>
</Response>