#API User ## BasePath: http://localhost:8080/linshare/webservice/rest/user ## Api Version: v1 ## Resources ### 0. /rest/user/logs #### Overview #### 0. `/logs/` ##### 0..0 query **POST** `/logs/` Search the user history with specified criteria. ###### URL http://localhost:8080/linshare/webservice/rest/user/logs/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Criteria to search for.</td> <td><a href="#LogCriteria">LogCriteria</a></td> </tr> </table> ###### Response [List[Log]](#Log) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - ### 1. /rest/user/authentication #### Overview #### 1. `/authentication/logout` ##### 1..0 logout **GET** `/authentication/logout` Logout the current user. ###### URL http://localhost:8080/linshare/webservice/rest/user/authentication/logout ###### Parameters ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - #### 1. `/authentication/` ##### 1..0 noop **GET** `/authentication/` No operation. ###### URL http://localhost:8080/linshare/webservice/rest/user/authentication/ ###### Parameters ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - #### 1. `/authentication/authorized` ##### 1..0 isAuthorized **GET** `/authentication/authorized` Check if user is authorized. ###### URL http://localhost:8080/linshare/webservice/rest/user/authentication/authorized ###### Parameters ###### Response [UserDto](#UserDto) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - ### 2. /rest/user/documents #### Overview #### 2. `/documents/{uuid}/thumbnail` ##### 2..0 thumbnail **GET** `/documents/{uuid}/thumbnail` Download the thumbnail of a file. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid}/thumbnail ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td></td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 2. `/documents/` ##### 2..0 findAll **GET** `/documents/` Get all documents. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/ ###### Parameters ###### Response [Set[Document]](#Set[Document]) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 2..0 create **POST** `/documents/` Create a document which will contain the uploaded file. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>File stream.</td> <td><a href="#java.io.InputStream">java.io.InputStream</a></td> </tr> <tr> <th>body</th> <td>false</td> <td>An optional description of a document.</td> <td>string</td> </tr> <tr> <th>body</th> <td>false</td> <td>The given file name of the uploaded file.</td> <td>string</td> </tr> <tr> <th>body</th> <td>false</td> <td></td> <td><a href="#MultipartBody">MultipartBody</a></td> </tr> </table> ###### Response [Document](#Document) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 2. `/documents/{uuid}/upload` ##### 2..0 updateFile **PUT** `/documents/{uuid}/upload` Update the file inside the document. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid}/upload ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>File stream.</td> <td><a href="#java.io.InputStream">java.io.InputStream</a></td> </tr> <tr> <th>body</th> <td>false</td> <td>The given file name of the uploaded file.</td> <td>string</td> </tr> <tr> <th>body</th> <td>false</td> <td></td> <td><a href="#MultipartBody">MultipartBody</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The document uuid.</td> <td>string</td> </tr> </table> ###### Response [Document](#Document) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 2. `/documents/{uuid}/download` ##### 2..0 download **GET** `/documents/{uuid}/download` Download a file. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid}/download ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td></td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 2. `/documents/{uuid}` ##### 2..0 find **GET** `/documents/{uuid}` Get a document. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The document uuid.</td> <td>string</td> </tr> </table> ###### Response [Document](#Document) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 2..0 delete **DELETE** `/documents/{uuid}` Delete a document. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The document uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 2..0 update **PUT** `/documents/{uuid}` Update a document. ###### URL http://localhost:8080/linshare/webservice/rest/user/documents/{uuid} ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>The document dto.</td> <td><a href="#Document">Document</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The document uuid.</td> <td>string</td> </tr> </table> ###### Response [Document](#Document) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 3. /rest/user/threads #### Overview #### 3. `/threads/` ##### 3..0 findAll **GET** `/threads/` Get all threads. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/ ###### Parameters ###### Response [Set[Thread]](#Set[Thread]) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 3..0 create **POST** `/threads/` Create a thread. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Thread to create.</td> <td><a href="#Thread">Thread</a></td> </tr> </table> ###### Response [Thread](#Thread) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 3..0 delete **DELETE** `/threads/` Delete a thread. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Thread to delete.</td> <td><a href="#Thread">Thread</a></td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 3. `/threads/{uuid}` ##### 3..0 find **GET** `/threads/{uuid}` Get a thread. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [Thread](#Thread) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 3..0 delete **DELETE** `/threads/{uuid}` Delete a thread. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 3..0 update **PUT** `/threads/{uuid}` Update a thread. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{uuid} ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Thread to create.</td> <td><a href="#Thread">Thread</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 4. /rest/user/threads/{threadUuid}/entries #### Overview #### 4. `/threads/{threadUuid}/entries/{uuid}/thumbnail` ##### 4..0 thumbnail **GET** `/threads/{threadUuid}/entries/{uuid}/thumbnail` Download the thumbnail of a file. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/{uuid}/thumbnail ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The document uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 4. `/threads/{threadUuid}/entries/` ##### 4..0 findAll **GET** `/threads/{threadUuid}/entries/` Get all thread entries. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/ ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [Set[ThreadEntry]](#Set[ThreadEntry]) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 4..0 create **POST** `/threads/{threadUuid}/entries/` Create a thread entry which will contain the uploaded file. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>File stream.</td> <td><a href="#java.io.InputStream">java.io.InputStream</a></td> </tr> <tr> <th>body</th> <td>false</td> <td>An optional description of a thread entry.</td> <td>string</td> </tr> <tr> <th>body</th> <td>true</td> <td>The given file name of the uploaded file.</td> <td>string</td> </tr> <tr> <th>body</th> <td>false</td> <td></td> <td><a href="#MultipartBody">MultipartBody</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [ThreadEntry](#ThreadEntry) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 4..0 delete **DELETE** `/threads/{threadUuid}/entries/` Delete a thread entry. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>The thread entry to delete.</td> <td><a href="#ThreadEntry">ThreadEntry</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread entry not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 4. `/threads/{threadUuid}/entries/{uuid}/download` ##### 4..0 download **GET** `/threads/{threadUuid}/entries/{uuid}/download` Download a file. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/{uuid}/download ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread entry uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 4. `/threads/{threadUuid}/entries/{uuid}` ##### 4..0 find **GET** `/threads/{threadUuid}/entries/{uuid}` Get a thread entry. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread entry uuid.</td> <td>string</td> </tr> </table> ###### Response [ThreadEntry](#ThreadEntry) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 4..0 delete **DELETE** `/threads/{threadUuid}/entries/{uuid}` Delete a thread entry. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread entry uuid to delete.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread entry not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 4..0 update **PUT** `/threads/{threadUuid}/entries/{uuid}` Update a thread entry. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/{uuid} ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>false</td> <td></td> <td><a href="#ThreadEntry">ThreadEntry</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread entry not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 4. `/threads/{threadUuid}/entries/copy` ##### 4..0 copy **POST** `/threads/{threadUuid}/entries/copy` Create a thread entry which will contain the uploaded file. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/entries/copy ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>entryUuid</th> <td>true</td> <td>The document entry uuid.</td> <td>string</td> </tr> </table> ###### Response [ThreadEntry](#ThreadEntry) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 5. /rest/user/threads/{threadUuid}/members #### Overview #### 5. `/threads/{threadUuid}/members/` ##### 5..0 findAll **GET** `/threads/{threadUuid}/members/` Get all thread members. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/members/ ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [Set[ThreadMember]](#Set[ThreadMember]) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 5..0 create **POST** `/threads/{threadUuid}/members/` Create a thread member. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/members/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>The user domain identifier.</td> <td><a href="#ThreadMember">ThreadMember</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [ThreadMember](#ThreadMember) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 5..0 delete **DELETE** `/threads/{threadUuid}/members/` Delete a thread member. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/members/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>The thread member to delete.</td> <td><a href="#ThreadMember">ThreadMember</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread member not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 5..0 update **PUT** `/threads/{threadUuid}/members/` Update a thread member. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/members/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>The thread member to update.</td> <td><a href="#ThreadMember">ThreadMember</a></td> </tr> </table> - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> </table> ###### Response [ThreadMember](#ThreadMember) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread member not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 5. `/threads/{threadUuid}/members/{uuid}` ##### 5..0 delete **DELETE** `/threads/{threadUuid}/members/{uuid}` Delete a thread member. ###### URL http://localhost:8080/linshare/webservice/rest/user/threads/{threadUuid}/members/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>threadUuid</th> <td>true</td> <td>The thread uuid.</td> <td>string</td> </tr> <tr> <th>uuid</th> <td>true</td> <td>The user uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner or thread member not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 6. /rest/user/shares #### Overview #### 6. `/` ##### 6..0 create **POST** `/` Create a share. ###### URL http://localhost:8080/linshare/webservice/rest/user/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>false</td> <td></td> <td><a href="#ShareCreationDto">ShareCreationDto</a></td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Owner not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 6. `/{uuid}` ##### 6..0 delete **DELETE** `/{uuid}` Delete a share document. ###### URL http://localhost:8080/linshare/webservice/rest/user/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>Share&#39;s to delete uuid.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Share not found.</td> </tr> <tr> <td>400</td> <td>Bad request: missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 7. /rest/user/guests #### Overview #### 7. `/guests/` ##### 7..0 findAll **GET** `/guests/` Find all guests of a user. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/ ###### Parameters ###### Response [Guest](#Guest) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>No permission to list all guests.</td> </tr> <tr> <td>404</td> <td>Guests not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 7..0 create **POST** `/guests/` Create a guest. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Guest to create.</td> <td><a href="#Guest">Guest</a></td> </tr> </table> ###### Response [Guest](#Guest) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>No permission to create.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 7..0 delete **DELETE** `/guests/` Delete a guest. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Guest to delete.</td> <td><a href="#Guest">Guest</a></td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>No permission to delete.</td> </tr> <tr> <td>404</td> <td>Guest not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 7..0 update **PUT** `/guests/` Update a guest. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/ ###### Parameters - body <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>body</th> <td>true</td> <td>Guest to update.</td> <td><a href="#Guest">Guest</a></td> </tr> </table> ###### Response [Guest](#Guest) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>No permission to update.</td> </tr> <tr> <td>404</td> <td>Guest not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - #### 7. `/guests/{uuid}` ##### 7..0 find **GET** `/guests/{uuid}` Find a guest. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>Guest&#39;s uuid.</td> <td>string</td> </tr> </table> ###### Response [Guest](#Guest) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>Current logged in account does not have the delegation role.</td> </tr> <tr> <td>404</td> <td>Guest not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ##### 7..0 delete **DELETE** `/guests/{uuid}` Delete a guest. ###### URL http://localhost:8080/linshare/webservice/rest/user/guests/{uuid} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>uuid</th> <td>true</td> <td>Guest&#39;s uuid to delete.</td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> <tr> <td>403</td> <td>No permission to delete.</td> </tr> <tr> <td>404</td> <td>Guest not found.</td> </tr> <tr> <td>400</td> <td>Bad request : missing required fields.</td> </tr> <tr> <td>500</td> <td>Internal server error.</td> </tr> </table> - - - ### 8. /rest/user/enums #### Overview #### 8. `/enums/` ##### 8..0 findAll **HEAD** `/enums/` Find all enums available. ###### URL http://localhost:8080/linshare/webservice/rest/user/enums/ ###### Parameters ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - #### 8. `/enums/{enum}` ##### 8..0 options **OPTIONS** `/enums/{enum}` Find all values for an enum. ###### URL http://localhost:8080/linshare/webservice/rest/user/enums/{enum} ###### Parameters - path <table border="1"> <tr> <th>Parameter</th> <th>Required</th> <th>Description</th> <th>Data Type</th> </tr> <tr> <th>enum</th> <td>true</td> <td></td> <td>string</td> </tr> </table> ###### Response [](#) ###### Errors <table border="1"> <tr> <th>Status Code</th> <th>Reason</th> </tr> </table> - - - ## Data Types ## <a name="Attachment">Attachment</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>object</td> <td><a href="#Object">Object</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>dataHandler</td> <td><a href="#DataHandler">DataHandler</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>contentDisposition</td> <td><a href="#ContentDisposition">ContentDisposition</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>contentType</td> <td><a href="#MediaType">MediaType</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>contentId</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>headers</td> <td><a href="#javax.ws.rs.core.MultivaluedMap&lt;java.lang.String, java.lang.String&gt;">javax.ws.rs.core.MultivaluedMap&lt;java.lang.String, java.lang.String&gt;</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="CommandInfo">CommandInfo</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>commandName</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>commandClass</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="ContentDisposition">ContentDisposition</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>parameters</td> <td><a href="#Map[string,string]">Map[string,string]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>type</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="DataFlavor">DataFlavor</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>representationClassByteBuffer</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>representationClassSerializable</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>representationClassInputStream</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>defaultRepresentationClassAsString</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>primaryType</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>representationClassReader</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>mimeTypeSerializedObject</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>representationClassRemote</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>subType</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>flavorJavaFileListType</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>representationClassCharBuffer</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>flavorTextType</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>flavorSerializedObjectType</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>humanPresentableName</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>flavorRemoteObjectType</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>mimeType</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="DataHandler">DataHandler</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>allCommands</td> <td><a href="#CommandInfo">Array[CommandInfo]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>preferredCommands</td> <td><a href="#CommandInfo">Array[CommandInfo]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>name</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>dataSource</td> <td><a href="#DataSource">DataSource</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>content</td> <td><a href="#Object">Object</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>transferDataFlavors</td> <td><a href="#DataFlavor">Array[DataFlavor]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>outputStream</td> <td><a href="#OutputStream">OutputStream</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>contentType</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>inputStream</td> <td><a href="#InputStream">InputStream</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="DataSource">DataSource</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>name</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>outputStream</td> <td><a href="#OutputStream">OutputStream</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>contentType</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>inputStream</td> <td><a href="#InputStream">InputStream</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="Document">Document</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>creationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>CreationDate</td> <td>CreationDate</td> </tr> <tr> <td>type</td> <td>string</td> <td>optional</td> <td>-</td> <td>Type</td> <td>Type</td> </tr> <tr> <td>sha256sum</td> <td>string</td> <td>optional</td> <td>-</td> <td>Sha256sum</td> <td>Sha256sum</td> </tr> <tr> <td>size</td> <td>long</td> <td>optional</td> <td>-</td> <td>Size</td> <td>Size</td> </tr> <tr> <td>description</td> <td>string</td> <td>optional</td> <td>-</td> <td>Description</td> <td>Description</td> </tr> <tr> <td>modificationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ModificationDate</td> <td>ModificationDate</td> </tr> <tr> <td>expirationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ExpirationDate</td> <td>ExpirationDate</td> </tr> <tr> <td>name</td> <td>string</td> <td>optional</td> <td>-</td> <td>Name</td> <td>Name</td> </tr> <tr> <td>metaData</td> <td>string</td> <td>optional</td> <td>-</td> <td>MetaData</td> <td>MetaData</td> </tr> <tr> <td>ciphered</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Ciphered</td> <td>Ciphered</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>Uuid</td> <td>Uuid</td> </tr> </table> ## <a name="GenericUser">GenericUser</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>lastName</td> <td>string</td> <td>optional</td> <td>-</td> <td>LastName</td> <td>LastName</td> </tr> <tr> <td>mail</td> <td>string</td> <td>optional</td> <td>-</td> <td>Mail</td> <td>Mail</td> </tr> <tr> <td>domain</td> <td>string</td> <td>optional</td> <td>-</td> <td>Domain identifier</td> <td>Domain identifier</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>User uuid</td> <td>User uuid</td> </tr> <tr> <td>firstName</td> <td>string</td> <td>optional</td> <td>-</td> <td>FirstName</td> <td>FirstName</td> </tr> </table> ## <a name="Guest">Guest</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>lastName</td> <td>string</td> <td>optional</td> <td>-</td> <td>LastName</td> <td>LastName</td> </tr> <tr> <td>comment</td> <td>string</td> <td>optional</td> <td>-</td> <td>Comment</td> <td>Comment</td> </tr> <tr> <td>mail</td> <td>string</td> <td>optional</td> <td>-</td> <td>Mail</td> <td>Mail</td> </tr> <tr> <td>creationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>CreationDate</td> <td>CreationDate</td> </tr> <tr> <td>domain</td> <td>string</td> <td>optional</td> <td>-</td> <td>Domain</td> <td>Domain</td> </tr> <tr> <td>canUpload</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>CanUpload</td> <td>CanUpload</td> </tr> <tr> <td>owner</td> <td><a href="#GenericUser">GenericUser</a></td> <td>optional</td> <td>-</td> <td>Owner</td> <td>Owner</td> </tr> <tr> <td>modificationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ModificationDate</td> <td>ModificationDate</td> </tr> <tr> <td>expirationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>Expiration date</td> <td>Expiration date</td> </tr> <tr> <td>restricted</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Restricted</td> <td>Restricted</td> </tr> <tr> <td>locale</td> <td><a href="#SupportedLanguage">SupportedLanguage</a></td> <td>optional</td> <td>-</td> <td>Locale</td> <td>Locale</td> </tr> <tr> <td>externalMailLocale</td> <td><a href="#Language">Language</a></td> <td>optional</td> <td>-</td> <td>ExternalMailLocale</td> <td>ExternalMailLocale</td> </tr> <tr> <td>restrictedContacts</td> <td><a href="#GenericUser">Array[GenericUser]</a></td> <td>optional</td> <td>-</td> <td>RestrictedContacts</td> <td>RestrictedContacts</td> </tr> <tr> <td>firstName</td> <td>string</td> <td>optional</td> <td>-</td> <td>FirstName</td> <td>FirstName</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>Uuid</td> <td>Uuid</td> </tr> </table> ## <a name="Log">Log</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>actorLastname</td> <td>string</td> <td>optional</td> <td>-</td> <td>Last name of the actor</td> <td>Last name of the actor</td> </tr> <tr> <td>logAction</td> <td><a href="#LogAction">LogAction</a></td> <td>optional</td> <td>-</td> <td>The action</td> <td>The action</td> </tr> <tr> <td>actionDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>Date of the action</td> <td>Date of the action</td> </tr> <tr> <td>targetFirstname</td> <td>string</td> <td>optional</td> <td>-</td> <td>First name of the target</td> <td>First name of the target</td> </tr> <tr> <td>description</td> <td>string</td> <td>optional</td> <td>-</td> <td>A description of the action</td> <td>A description of the action</td> </tr> <tr> <td>fileType</td> <td>string</td> <td>optional</td> <td>-</td> <td>The file MIME type</td> <td>The file MIME type</td> </tr> <tr> <td>expirationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>The expiration date</td> <td>The expiration date</td> </tr> <tr> <td>fileSize</td> <td>long</td> <td>optional</td> <td>-</td> <td>The file size</td> <td>The file size</td> </tr> <tr> <td>actorFirstname</td> <td>string</td> <td>optional</td> <td>-</td> <td>First name of the actor</td> <td>First name of the actor</td> </tr> <tr> <td>fileName</td> <td>string</td> <td>optional</td> <td>-</td> <td>The file name</td> <td>The file name</td> </tr> <tr> <td>targetMail</td> <td>string</td> <td>optional</td> <td>-</td> <td>Mail of the target</td> <td>Mail of the target</td> </tr> <tr> <td>targetLastname</td> <td>string</td> <td>optional</td> <td>-</td> <td>Last name of the target</td> <td>Last name of the target</td> </tr> <tr> <td>actorMail</td> <td>string</td> <td>optional</td> <td>-</td> <td>Mail of the actor</td> <td>Mail of the actor</td> </tr> </table> ## <a name="LogCriteria">LogCriteria</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>targetDomain</td> <td>string</td> <td>optional</td> <td>-</td> <td>Domain of the target</td> <td>Domain of the target</td> </tr> <tr> <td>targetMails</td> <td>Array[string]</td> <td>optional</td> <td>-</td> <td>List of target's mail</td> <td>List of target's mail</td> </tr> <tr> <td>beforeDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>The starting date</td> <td>The starting date</td> </tr> <tr> <td>fileExtension</td> <td>string</td> <td>optional</td> <td>-</td> <td>The file extension</td> <td>The file extension</td> </tr> <tr> <td>afterDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>The ending date</td> <td>The ending date</td> </tr> <tr> <td>targetLastName</td> <td>string</td> <td>optional</td> <td>-</td> <td>Last name of the target</td> <td>Last name of the target</td> </tr> <tr> <td>logActions</td> <td><a href="#LogAction">Array[LogAction]</a></td> <td>optional</td> <td>-</td> <td>A list of actions</td> <td>A list of actions</td> </tr> <tr> <td>targetFirstName</td> <td>string</td> <td>optional</td> <td>-</td> <td>First name of the target</td> <td>First name of the target</td> </tr> <tr> <td>fileName</td> <td>string</td> <td>optional</td> <td>-</td> <td>The file name</td> <td>The file name</td> </tr> </table> ## <a name="MediaType">MediaType</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>parameters</td> <td><a href="#Map[string,string]">Map[string,string]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>wildcardType</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>type</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>wildcardSubtype</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>subtype</td> <td>string</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="MultipartBody">MultipartBody</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>allAttachments</td> <td><a href="#Attachment">Array[Attachment]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>type</td> <td><a href="#MediaType">MediaType</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>childAttachments</td> <td><a href="#Attachment">Array[Attachment]</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>rootAttachment</td> <td><a href="#Attachment">Attachment</a></td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> </table> ## <a name="ShareCreationDto">ShareCreationDto</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>expirationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ExpirationDate</td> <td>ExpirationDate</td> </tr> <tr> <td>message</td> <td>string</td> <td>optional</td> <td>-</td> <td>Message</td> <td>Message</td> </tr> <tr> <td>secured</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Secured</td> <td>Secured</td> </tr> <tr> <td>subject</td> <td>string</td> <td>optional</td> <td>-</td> <td>Subject</td> <td>Subject</td> </tr> <tr> <td>documents</td> <td>Array[string]</td> <td>optional</td> <td>-</td> <td>Document uuids</td> <td>Document uuids</td> </tr> <tr> <td>recipients</td> <td><a href="#GenericUser">Array[GenericUser]</a></td> <td>optional</td> <td>-</td> <td>Recipients</td> <td>Recipients</td> </tr> </table> ## <a name="Thread">Thread</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>domain</td> <td>string</td> <td>optional</td> <td>-</td> <td>Domain</td> <td>Domain</td> </tr> <tr> <td>creationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>CreationDate</td> <td>CreationDate</td> </tr> <tr> <td>modificationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ModificationDate</td> <td>ModificationDate</td> </tr> <tr> <td>members</td> <td><a href="#ThreadMember">Array[ThreadMember]</a></td> <td>optional</td> <td>-</td> <td>Members</td> <td>Members</td> </tr> <tr> <td>name</td> <td>string</td> <td>optional</td> <td>-</td> <td>Name</td> <td>Name</td> </tr> <tr> <td>locale</td> <td><a href="#SupportedLanguage">SupportedLanguage</a></td> <td>optional</td> <td>-</td> <td>Locale</td> <td>Locale</td> </tr> <tr> <td>externalMailLocale</td> <td><a href="#Language">Language</a></td> <td>optional</td> <td>-</td> <td>ExternalMailLocale</td> <td>ExternalMailLocale</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>Uuid</td> <td>Uuid</td> </tr> </table> ## <a name="ThreadEntry">ThreadEntry</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>creationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>CreationDate</td> <td>CreationDate</td> </tr> <tr> <td>type</td> <td>string</td> <td>optional</td> <td>-</td> <td>Type</td> <td>Type</td> </tr> <tr> <td>sha256sum</td> <td>string</td> <td>optional</td> <td>-</td> <td>Sha256sum</td> <td>Sha256sum</td> </tr> <tr> <td>size</td> <td>long</td> <td>optional</td> <td>-</td> <td>Size</td> <td>Size</td> </tr> <tr> <td>description</td> <td>string</td> <td>optional</td> <td>-</td> <td>Description</td> <td>Description</td> </tr> <tr> <td>modificationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ModificationDate</td> <td>ModificationDate</td> </tr> <tr> <td>name</td> <td>string</td> <td>optional</td> <td>-</td> <td>Name</td> <td>Name</td> </tr> <tr> <td>metaData</td> <td>string</td> <td>optional</td> <td>-</td> <td>MetaData</td> <td>MetaData</td> </tr> <tr> <td>ciphered</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Ciphered</td> <td>Ciphered</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>Uuid</td> <td>Uuid</td> </tr> </table> ## <a name="ThreadMember">ThreadMember</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>lastName</td> <td>string</td> <td>optional</td> <td>-</td> <td>LastName</td> <td>LastName</td> </tr> <tr> <td>role</td> <td>string</td> <td>optional</td> <td>-</td> <td>Role</td> <td>Role</td> </tr> <tr> <td>readonly</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Readonly</td> <td>Readonly</td> </tr> <tr> <td>admin</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Admin</td> <td>Admin</td> </tr> <tr> <td>threadUuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>ThreadUuid</td> <td>ThreadUuid</td> </tr> <tr> <td>userDomainId</td> <td>string</td> <td>optional</td> <td>-</td> <td>UserDomainId</td> <td>UserDomainId</td> </tr> <tr> <td>userUuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>UserUuid</td> <td>UserUuid</td> </tr> <tr> <td>userMail</td> <td>string</td> <td>optional</td> <td>-</td> <td>UserMail</td> <td>UserMail</td> </tr> <tr> <td>firstName</td> <td>string</td> <td>optional</td> <td>-</td> <td>FirstName</td> <td>FirstName</td> </tr> <tr> <td>id</td> <td>long</td> <td>optional</td> <td>-</td> <td>Id</td> <td>Id</td> </tr> </table> ## <a name="UserDto">UserDto</a> <table border="1"> <tr> <th>name</th> <th>type</th> <th>required</th> <th>access</th> <th>description</th> <th>notes</th> </tr> <tr> <td>lastName</td> <td>string</td> <td>optional</td> <td>-</td> <td>LastName</td> <td>LastName</td> </tr> <tr> <td>role</td> <td>string</td> <td>optional</td> <td>-</td> <td>Role</td> <td>Role</td> </tr> <tr> <td>comment</td> <td>string</td> <td>optional</td> <td>-</td> <td>Comment</td> <td>Comment</td> </tr> <tr> <td>mail</td> <td>string</td> <td>optional</td> <td>-</td> <td>Mail</td> <td>Mail</td> </tr> <tr> <td>creationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>CreationDate</td> <td>CreationDate</td> </tr> <tr> <td>domain</td> <td>string</td> <td>optional</td> <td>-</td> <td>Domain</td> <td>Domain</td> </tr> <tr> <td>canUpload</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>CanUpload</td> <td>CanUpload</td> </tr> <tr> <td>modificationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>ModificationDate</td> <td>ModificationDate</td> </tr> <tr> <td>expirationDate</td> <td>Date</td> <td>optional</td> <td>-</td> <td>Expiration date</td> <td>Expiration date</td> </tr> <tr> <td>restricted</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>Restricted</td> <td>Restricted</td> </tr> <tr> <td>guest</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>-</td> <td>-</td> </tr> <tr> <td>canCreateGuest</td> <td>boolean</td> <td>optional</td> <td>-</td> <td>CanCreateGuest</td> <td>CanCreateGuest</td> </tr> <tr> <td>accountType</td> <td>string</td> <td>optional</td> <td>-</td> <td>AccountType</td> <td>AccountType</td> </tr> <tr> <td>locale</td> <td><a href="#SupportedLanguage">SupportedLanguage</a></td> <td>optional</td> <td>-</td> <td>Locale</td> <td>Locale</td> </tr> <tr> <td>externalMailLocale</td> <td><a href="#Language">Language</a></td> <td>optional</td> <td>-</td> <td>ExternalMailLocale</td> <td>ExternalMailLocale</td> </tr> <tr> <td>restrictedContacts</td> <td><a href="#UserDto">Array[UserDto]</a></td> <td>optional</td> <td>-</td> <td>RestrictedContacts</td> <td>RestrictedContacts</td> </tr> <tr> <td>firstName</td> <td>string</td> <td>optional</td> <td>-</td> <td>FirstName</td> <td>FirstName</td> </tr> <tr> <td>uuid</td> <td>string</td> <td>optional</td> <td>-</td> <td>Uuid</td> <td>Uuid</td> </tr> </table>