diff options
Diffstat (limited to 'pyload/remote/pyload.thrift')
| -rw-r--r-- | pyload/remote/pyload.thrift | 12 | 
1 files changed, 9 insertions, 3 deletions
| diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift index 9f2cfc8ee..702bd9b94 100644 --- a/pyload/remote/pyload.thrift +++ b/pyload/remote/pyload.thrift @@ -294,7 +294,7 @@ struct AccountInfo {    8: bool premium,    9: bool activated,    10: bool shared, -  11: map<string, string> options, +  11: list <ConfigItem> config,  }  struct OnlineCheck { @@ -335,6 +335,9 @@ exception Unauthorized {  exception Forbidden {  } +exception Conflict { +} +  service Pyload { @@ -489,9 +492,12 @@ service Pyload {    // Account Methods    /////////////////////// -  list<AccountInfo> getAccounts(1: bool refresh),    list<string> getAccountTypes(), -  void updateAccount(1: PluginName plugin, 2: string login, 3: string password), + +  list<AccountInfo> getAccounts(), +  AccountInfo getAccountInfo(1: PluginName plugin, 2: string loginname, 3: bool refresh), + +  AccountInfo updateAccount(1: PluginName plugin, 2: string loginname, 3: string password),    void updateAccountInfo(1: AccountInfo account),    void removeAccount(1: AccountInfo account), | 
