Command requires field jid
to be filled.
jid
- field contains JID of a user for which we want to retrieve subscriptionsnode-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 test@example.com
is subscribed at pubsub.example.com
which starts with test-
(pattern test-.*
)
Request in XML.
<data> <jid>test@example.com</jid> <node-pattern>test-.*</node-pattern> </data>
Response in XML.
<result> <nodes label="Nodes" type="text-multi"> <value>test-123</value> <value>test-342</value> </nodes> </result>