<li>Lockout or unlock the user (enable / disable)</li>
<li>Get overview over all or specific system properties and to create, update or delete system property</li>
<li>Get overview over all or specific chat room and to create, update or delete a chat room</li>
<li>Get overview over all or specific user sessions</li>
</ul>
<h2id="installation">Installation</h2>
<p>Copy restAPI.jar into the plugins directory of your Openfire server. The plugin will then be automatically deployed. To upgrade to a new version, copy the new restAPI.jar file over the existing file.</p>
...
...
@@ -1770,6 +1769,79 @@ If you want to create a resource with JSON data format, please add “<strong>Co
<h3id="session">Session</h3>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Optional</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr>
<td>sessionId</td>
<td>No</td>
<td>Full JID of a user e.g. (testUser@testserver.de/SomeRessource)</td>
</tr>
<tr>
<td>username</td>
<td>No</td>
<td>The username associated with this session. Can be also “Anonymous”.</td>
</tr>
<tr>
<td>ressource</td>
<td>Yes</td>
<td>Ressource name</td>
</tr>
<tr>
<td>node</td>
<td>No</td>
<td>Can be “Local” or “Remote”</td>
</tr>
<tr>
<td>sessionStatus</td>
<td>No</td>
<td>The current status of this session. Can be “Closed”, “Connected”, “Authenticated” or “Unknown”.</td>
</tr>
<tr>
<td>presenceStatus</td>
<td>No</td>
<td>The status of this presence packet, a natural-language description of availability status.</td>
</tr>
<tr>
<td>priority</td>
<td>No</td>
<td>The priority of the session. The valid priority range is -128 through 128.</td>
</tr>
<tr>
<td>hostAddress</td>
<td>No</td>
<td>Tthe IP address string in textual presentation.</td>
</tr>
<tr>
<td>hostName</td>
<td>No</td>
<td>The host name for this IP address.</td>
</tr>
<tr>
<td>creationDate</td>
<td>No</td>
<td>The date the session was created.</td>
</tr>
<tr>
<td>lastActionDate</td>
<td>No</td>
<td>The time the session last had activity.</td>
</tr>
<tr>
<td>secure</td>
<td>No</td>
<td>Is “true” if this connection is secure.</td>
</tr>
</tbody></table>
<h1id="user-related-rest-endpoints">User related REST Endpoints</h1>