api docs for the xmpp platform
reorganizing