Movedigital.files.getListDownloads
From MoveDigital Docs
| Table of contents |
[edit]
Arguments
Calls are POSTed to http://new.movedigital.com/services/rest/ and should include the following arguments
- method (required) - Must be set to: movedigital.files.getListUser
- 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.
- startyear (required) - The year for the start date.
- startmonth (required) - The month for the start date.
- startday (required) - The day for the start date.
- endyear (required) - The year for the end date.
- endmonth (required) - The month for the end date.
- endday (required) - The day for the end date.
- folderid (optional) - If given, only files in that folder are returned. If left blank, all of the user's files are returned.
[edit]
Example Responses
- Success
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <method>movedigital.files.getListDownloads</method> <format>rest</format> <downloads> <download fileid="143" folderid="48" filename="hello.wmv" foldername="testing" downloadip="192.168.1.1" downloadagent="Mozilla/5.0" downloadsize="3734322" downloadtime="2007-01-01 20:48:05" /> <download fileid="145" folderid="50" filename="text.txt" foldername="uploads" downloadip="192.168.1.2" downloadagent="Mozilla/5.0" downloadsize="43" downloadtime="2007-01-02 12:24:45" /> </downloads> <messages> </messages> </rsp>
- Error
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <method>movedigital.files.getListDownloads</method> <errors> <error code="98" msg="You are not authorized to view the downloads in this folder." /> </errors> </rsp>
[edit]
Error Codes
- 98 - Insufficient permissions.
- 99 - User not signed in.
- 108 - Internal error.
- 109 - Service is currently unavailable.
[edit]

