diff options
Diffstat (limited to 'jwebmail.proto')
-rw-r--r-- | jwebmail.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jwebmail.proto b/jwebmail.proto index bf1454a..e4cba3b 100644 --- a/jwebmail.proto +++ b/jwebmail.proto @@ -144,6 +144,14 @@ message RemoveReq { message RemoveResp { } +message AddFolderReq { + string name = 1; +} + +message AddFolderResp { + int32 status = 1; +} + service MailService { rpc List(ListReq) returns (ListResp); rpc Stats(StatsReq) returns (StatsResp); @@ -153,4 +161,5 @@ service MailService { rpc Folders(FoldersReq) returns (FoldersResp); rpc Move(MoveReq) returns (MoveResp); rpc Remove(RemoveReq) returns (RemoveResp); + rpc AddFolder(AddFolderReq) returns (AddFolderResp); } |