diff options
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r-- | module/remote/pyload.thrift | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift index af4b81cd6..514c3215c 100644 --- a/module/remote/pyload.thrift +++ b/module/remote/pyload.thrift @@ -329,7 +329,7 @@ exception Forbidden { service Pyload { /////////////////////// - // Server Status + // Core Status /////////////////////// string getServerVersion(), @@ -379,7 +379,7 @@ service Pyload { map<string, LinkList> generatePackages(1: LinkList links), /////////////////////// - // Adding/Deleting + // Download /////////////////////// list<PackageID> generateAndAddPackages(1: LinkList links, 2: bool paused), @@ -403,6 +403,15 @@ service Pyload { void deleteFiles(1: list<FileID> fids), void deletePackages(1: list<PackageID> pids), // delete the whole folder recursive + // Modify Downloads + + void restartPackage(1: PackageID pid), + void restartFile(1: FileID fid), + void recheckPackage(1: PackageID pid), + void restartFailed(), + void stopDownloads(1: list<FileID> fids), + void stopAllDownloads(), + /////////////////////// // Collector /////////////////////// @@ -435,20 +444,7 @@ service Pyload { TreeCollection findFiles(1: string pattern), TreeCollection findPackages(1: list<string> tags), - /////////////////////// - // Modify Downloads - /////////////////////// - - void restartPackage(1: PackageID pid), - void restartFile(1: FileID fid), - void recheckPackage(1: PackageID pid), - void restartFailed(), - void stopDownloads(1: list<FileID> fids), - void stopAllDownloads(), - - ///////////////////////// // Modify Files/Packages - ///////////////////////// // moving package while downloading is not possible, so they will return bool to indicate success void updatePackage(1: PackageInfo pack) throws (1: PackageDoesNotExists e), |