HTTP URI: /rest/pubsub/pubsub.example.com/list-items
Available HTTP methods:
Method returns example content which contains all required and optional parameters that may be passed.
Command requires field node
to be filled
node
- field contains id of node which items we want to list
Example content to list of items published on node with id example
.
Request in XML.
<data> <node>example</node> </data>
Response in XML.
<result> <title>List of PubSub node items</title> <node label="Node" type="text-single"> <value>example</value> </node> <items label="Items" type="text-multi"> <value>item-1</value> <value>item-2</value> </items> </result>
where item-1
and item-2
are identifiers of published items for node example
.