summaryrefslogtreecommitdiffstats
path: root/module/remote/pyload.thrift
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-21 17:09:01 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-12-21 17:09:01 +0100
commitc22d2aadb41b6014516b31c978634c4979d9a43c (patch)
treee0d1284ef0e591316f083abfccf9404fd95557b3 /module/remote/pyload.thrift
parentremoved pie charts (diff)
downloadpyload-c22d2aadb41b6014516b31c978634c4979d9a43c.tar.xz
added tags attribute to packages
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r--module/remote/pyload.thrift5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift
index 50164c292..183fd3af8 100644
--- a/module/remote/pyload.thrift
+++ b/module/remote/pyload.thrift
@@ -427,7 +427,9 @@ service Pyload {
PackageInfo getPackageInfo(1: PackageID pid) throws (1: PackageDoesNotExists e),
FileInfo getFileInfo(1: FileID fid) throws (1: FileDoesNotExists e),
+
TreeCollection findFiles(1: string pattern),
+ TreeCollection findPackages(1: list<string> tags),
///////////////////////
// Modify Downloads
@@ -445,9 +447,8 @@ service Pyload {
/////////////////////////
// moving package while downloading is not possible, so they will return bool to indicate success
- void setPackagePaused(1: PackageID pid, 2: bool paused) throws (1: PackageDoesNotExists e),
+ void updatePackage(1: PackageInfo pack) throws (1: PackageDoesNotExists e),
bool setPackageFolder(1: PackageID pid, 2: string path) throws (1: PackageDoesNotExists e),
- void setPackageData(1: PackageID pid, 2: map<string, string> data) throws (1: PackageDoesNotExists e),
// as above, this will move files on disk
bool movePackage(1: PackageID pid, 2: PackageID root) throws (1: PackageDoesNotExists e),