Movedigital.files.getListUser

From MoveDigital Docs

Table of contents

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.
  • folderid (optional) - If given, only files in that folder are returned. If left blank, all of the user's files are returned.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.files.getListUser</method>
	<format>rest</format>
	<files>
		<file fileid="143" folderid="48" filename="LICENSE.txt" foldername="foo-testing" filesize="211"
				filestatus="active" filedownloads="37" filevisibility="public" 													fileurl="http://download.movedigital.com/foo/143/LICENSE.txt" 	
				fileinfourl="http://download.movedigital.com/foo/143" filetags="tag1, tag2" 
				filemobilized="no" bindedits="self"
				licensetype="licenses_cc" licenseid="6" licensename="Creative Commons" licensesubname="Attribution 2.0" 
				licenseurl="http://creativecommons.org/licenses/by/2.0/" filetitle="My Title" 
				filedescription="This is a license file" categoryname="misc" filedate="2004-12-12 14:31:05" />
		<file fileid="141" folderid="48" filename="bar.mpg" foldername="foo-testing" filesize="27039750" 
				filestatus="active" filedownloads="343221" filevisibility="public" 
				fileurl="http://download.movedigital.com/foo/141/bar.mpg" 	
				fileinfourl="http://download.movedigital.com/foo/141"  filetags="a tag, another" 
				filemobilized="yes" bindedits="self"
				licensetype="licenses_cc" licenseid="6" licensename="Creative Commons" licensesubname="Attribution 2.0"
				licenseurl="http://creativecommons.org/licenses/by/2.0/" filetitle="Bar Movie" 
				filedescription="This is a description of my movie." categoryname="video" filedate="2004-12-12 14:24:44" />
	</files>
	<messages>
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.files.getListUser</method>
	<errors>
		<error code="98" msg="You are not authorized to view the files in this folder." />
	</errors>
</rsp>

Error Codes

  • 98 - Insufficient permissions.
  • 99 - User not signed in.
  • 108 - Internal error.
  • 109 - Service is currently unavailable.

Live REST Demo

Navigation