All Classes Files Functions Variables Enumerations Enumerator Groups Pages
Uploads.idl
Go to the documentation of this file.
1  /**
2  * @file Uploads.idl
3  * @brief Upload management
4  *
5  * @author Frantisek Boranek
6  *
7  * @copyright Copyright © 2017 Kerio Technologies s.r.o.
8  */
9 
10 #import <kerio/web/idl/SharedStructures.idl>
11 
12 module kerio {
13 module jsonapi {
14 
15 /**
16  * Upload management
17  */
18 interface Uploads {
19 
20  /**
21  * Remove uploaded file.
22  *
23  * @param id - identifier of uploaded file
24  */
25  void remove(in string id);
26 
27  /**
28  * Remove uploaded files.
29  *
30  * @param errors - list of errors
31  * @param ids - identifiers of uploaded files
32  */
33  void removeList(out kerio::web::ErrorList errors, in kerio::web::StringList ids);
34 };
35 
36 };}; //end of namespace