在 ejabberd api 中,我可以填充用户、昵称、房间,但我如何填充节点?有没有例子。谢谢你。
发布 /api/subscribe_room
{
"user": "aaaaa",
"nick": "bbbbb",
"room": "ccccc",
"nodes": "ddddd"
}
HTTP/1.1 200 OK [ "aaaaa", "bbbbb" ]
我的例子:
{
"user":"muuser",
"nick":"ccccdd",
"room":"myRoom",
"nodes": ["urn:xmpp:mucsub:nodes:presence","urn:xmpp:mucsub:nodes:messages","urn:xmpp:mucsub:nodes:affiliations","urn:xmpp:mucsub:nodes:subject", "urn:xmpp:mucsub:nodes:config","urn:xmpp:mucsub:nodes:system"]
}