Movedigital.torrents.deleteTorrent

From MoveDigital Docs

Table of contents

Arguments

Calls are POSTed to http://www.prodigem.com/services/rest/ and should include the following arguments

  • method (required) - Must be set to: movedigital.torrents.deleteTorrent
  • userid (required) - The userid of the MoveDigital account.
  • sessionid (required) - The sessionid for the current session.
  • session (required) - The current session value for this sessionid.
  • torrentid (required) - The id of the torrent you wish to delete.

Example Responses

  • Success
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
	<method>movedigital.torrents.deleteTorrent</method>
	<format>rest</format>
	<messages>
		<message msg="Successfully deleted the torrent." />
	</messages>
</rsp>
  • Error
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
	<method>movedigital.torrents.deleteTorrent</method>
	<errors>
		<error code="88" msg="Torrent not found." />
	</errors>
</rsp>

Error Codes

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

Live REST Demo

Navigation