Register
<iq to="localhost" type="set" id="uuid V1 arbitrary id" xmlns:stream="http://etherx.jabber.org/streams" from="[email protected]/TOKEN">
<request>
<metadata>
<jobType>RegisterDevice</jobType>
</metadata>
<rawData>{"type" : "device:generic"}</rawData>
</request>
</iq>
{
"uuid": "some-new-uuid",
"token": "some-new-token",
"type": "device:generic"
}
Updated less than a minute ago