What's the status of the session
<esme_api operation="status" success="false"/>
<esme_api operation="status" success="true">
<user nickname="..." id="1"/>
</esme_api>
Create a session
token=API_TOKEN
<esme_api operation="login" success="true"/>
Destroy current session
<esme_api operation="logout" success="true"/>
Gets the 40 most recent messages in the user's mailbox
<esme_api operation="get_msgs" success="true">
<message id="1134" source="web" date="...">
<author image="..." name="..." id="9"/>
<body>
Woohoo - got through the rest of the slides quite quickly. I can go home now.
</body>
<tags/>
</message>
</esme_api>
Waits up to 5 minutes for a new message to appear in the User's mailbox... Long Polling
<esme_api operation="wait_for_msgs" success="true">
<message id="1134" source="web" date="...">
<author image="..." name="..." id="9"/>
<body>
Woohoo - got through the rest of the slides quite quickly. I can go home now.
</body>
<tags/>
</message>
</esme_api>
Sends a message
message=messagebody
via=optional_name_of_client
tags=optional_comma_delimitted_tags
metadata=optional_XML_Element_data
replyto=optional_id_of_message
<esme_api operation="send_msg" success="true"/>
Gets all the users that the current user is following
<esme_api operation="get_following" success="true">
<user nickname="ewh" image="..." id="13" whole_name="..."/>
</esme_api>
Gets all the users that follow the current user
<esme_api operation="get_followers" success="true">
<user nickname="..." image="..." id="13" whole_name="..."/>
</esme_api>
Start following another user
user=id_of_user
<esme_api operation="follow" success="true"/>
Stop following another user
user=id_of_user
<esme_api operation="unfollow" success="true"/>
List all users in the system
<esme_api operation="all_users" success="true">
<user nickname="..." id="4" whole_name="..."/>
</esme_api>
Gets the tags and words for the tag cloud
numTags=optional_no_of_tags
<esme_api operation="get_tagcloud" success="true">
<tag_cloud>
<tag name="Scrum" weight="0.33333334"/>
<word name="meeting" weight="0.13333334"/>
</tag_cloud>
</esme_api>
Gets the list of items the user is tracking
<esme_api operation="get_tracking" success="true">
<tracking user="1" removed="true" createdAt="1219639418277" id="1"/>
<tracking user="1" removed="false" createdAt="1220896384128" pattern="#esme" id="24"/>
</esme_api>
Adds a tracking item
track=text_of_thing_to_track
<esme_api operation="add_tracking" success="true"/>
Removes the tracking item
trackid=id_of_tracking_item
<esme_api operation="remove_tracking" success="true"/>
Gets all the messages in a conversation
conversationid=Conversation_id
<esme_api operation="get_conversation" success="true">
<conversation id="1089">
<message when="..." date="..." source="Web Dynpro ABAP" id="1089" conversation="1089">
<author image="..." name="..." id="24"/>
</message>
</conversation>
</esme_api>
Gets the actions
<esme_api operation="get_actions" success="true">
<action action="resend" enabled="true" name="#0208" test="#o208" id="3"/>
</esme_api>
Adds an Action
name=name_of_action
test=test_that_triggers_action
action=action_to_take
<esme_api operation="add_action" success="true"/>
Enables or Disables an Action
id=action_id
enabled=true|false
<esme_api operation="enable_action" success="true"/>
Deletes an Action
actionid=action_id
<esme_api operation="delete_action" success="true"/>