Command requires field jid to be filled.

  • jid - field contains JID of a user for which we want to retrieve subscriptions
  • node-pattern - field contains regex pattern to match. When field is not empty, request will return only subscribed nodes which match this pattern. If field should be empty it may be omitted in a request.

Example content to retrieve list of nodes to which user is subscribed at which starts with test- (pattern test-.*)

Using XML

Request in XML. 


Response in XML. 

  <nodes label="Nodes" type="text-multi">

Using JSON

Request in JSON. 

  "jid" : "",
  "node-pattern" : "test-.*"

Response in JSON. 

  "nodes" : [