This is a list of currently available and installed features of REST API.
To see details of each request, click on this item and it will expand showing description of usage.

In this examples we present example request content and response content in form of XML as this is default format used for content by Tigase XMPP Server and it's REST API. However by different format may be used. Currently Tigase XMPP Server supports JSON or XML:
To use JSON format you need to pass application/json as type url paramter of HTTP request or by passing same value as value of Content-Type HTTP request header.
To ensure use of XML format you need to pass application/xml as type url paramter of HTTP request or by passing same value as value of Content-Type HTTP request header.

Note: If no type attribute is passed and Content-Type is set to text/html then response may not be sent in form of JSON or XML but in user readable form of HTML web page.
GET
/rest/adhoc/{component_jid}
List available adhoc commands
POST
/rest/adhoc/{component_jid}
Execute adhoc command
PUT
/rest/avatar/{user_jid}
Change user avatar
GET
/rest/avatar/{user_jid}/{source}
Retrieve user avatar
GET
/rest/pubsub/{pubsub_jid}
Retrieve list of PubSub adhoc commands
POST
/rest/pubsub/{pubsub_jid}
Execute PubSub adhoc command
GET
/rest/pubsub/{pubsub_jid}/{adhoc_command_node}
Retrieve PubSub adhoc command fields
POST
/rest/pubsub/{pubsub_jid}/{adhoc_command_node}
Execute PubSub adhoc command
GET
/rest/stats/
Retrieve statistics of server
GET
/rest/stats/{component_jid}
Retrieve statistics of component
POST
/rest/stream/{to_jid}
Send XMPP stanza
GET
/rest/user/
Retrieve details of active user account
POST
/rest/user/
Change password of active user account
DELETE
/rest/user/
Delete active user account
GET
/rest/user/{user_jid}
Retrieve user account details
PUT
/rest/user/{user_jid}
Create new user account
POST
/rest/user/{user_jid}
Update user account
DELETE
/rest/user/{user_jid}
Delete user account
POST
/rest/user/{user_jid}/status/{resource}
Set user status
GET
/rest/user/confirm/{token}
Retrieve details of active user account
GET
/rest/user/resetPassword/
Reset password for an account
POST
/rest/user/resetPassword/
null
GET
/rest/user/resetPassword/{token}
Reset password for an account
POST
/rest/user/resetPassword/{token}
null
GET
/rest/users/
Retrieve list of registered user jids
GET
/rest/users/{domain}
Retrieve list of registered user jids for domain