You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by rh...@apache.org on 2011/07/17 16:41:33 UTC
svn commit: r1147635 - /esme/site/trunk/content/docs/apis/original-api.mdtext
Author: rhirsch
Date: Sun Jul 17 14:41:33 2011
New Revision: 1147635
URL: http://svn.apache.org/viewvc?rev=1147635&view=rev
Log:
[ESME-351] Move Wiki to CMS
Modified:
esme/site/trunk/content/docs/apis/original-api.mdtext
Modified: esme/site/trunk/content/docs/apis/original-api.mdtext
URL: http://svn.apache.org/viewvc/esme/site/trunk/content/docs/apis/original-api.mdtext?rev=1147635&r1=1147634&r2=1147635&view=diff
==============================================================================
--- esme/site/trunk/content/docs/apis/original-api.mdtext (original)
+++ esme/site/trunk/content/docs/apis/original-api.mdtext Sun Jul 17 14:41:33 2011
@@ -67,16 +67,14 @@ Long Polling
##### GET /api/wait_for_msgs
<esme_api operation="wait_for_msgs" success="true">
- <message id="1134" source="web" date="...">
- <author image="..."
+<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>
+<body>
+Woohoo - got through the rest of the slides quite quickly. I can go home now.
+</body>
+<tags/>
+</message>
</esme_api>
----
@@ -112,7 +110,7 @@ Gets all the users that the current user
##### GET /api/get_following
<esme_api operation="get_following" success="true">
- <user nickname="ewh" image="..." id="13"
+<user nickname="ewh" image="..." id="13"
whole_name="..."/>
</esme_api>
@@ -127,7 +125,7 @@ Gets all the users that follow the curre
##### GET /api/get_followers
<esme_api operation="get_followers" success="true">
- <user nickname="..." image="..." id="13"
+<user nickname="..." image="..." id="13"
whole_name="..."/>
</esme_api>
@@ -170,7 +168,7 @@ List all users in the system
##### GET /api/all_users
<esme_api operation="all_users" success="true">
- <user nickname="..." id="4" whole_name="..."/>
+<user nickname="..." id="4" whole_name="..."/>
</esme_api>
----
@@ -186,12 +184,12 @@ Gets the tags and words for the tag clou
numTags=optional_no_of_tags
<esme_api operation="get_tagcloud" success="true">
- <tag_cloud>
- <tag name="Scrum"
+<tag_cloud>
+<tag name="Scrum"
weight="0.33333334"/>
- <word
+<word
name="meeting" weight="0.13333334"/>
- </tag_cloud>
+</tag_cloud>
</esme_api>
----
@@ -205,9 +203,9 @@ Gets the list of items the user is track
##### GET /api/get_tracking
<esme_api operation="get_tracking" success="true">
- <tracking user="1" removed="true"
+<tracking user="1" removed="true"
createdAt="1219639418277" id="1"/>
- <tracking user="1" removed="false"
+<tracking user="1" removed="false"
createdAt="1220896384128" pattern="#esme" id="24"/>
</esme_api>
@@ -252,13 +250,13 @@ Gets all the messages in a conversation
conversationid=Conversation_id
<esme_api operation="get_conversation" success="true">
- <conversation id="1089">
- <message when="..."
+<conversation id="1089">
+<message when="..."
date="..." source="Web Dynpro ABAP" id="1089" conversation="1089">
-
- <author image="..." name="..." id="24"/>
- </message>
- </conversation>
+
+<author image="..." name="..." id="24"/>
+</message>
+</conversation>
</esme_api>
----
@@ -272,7 +270,7 @@ Gets the actions
##### GET /api/get_actions
<esme_api operation="get_actions" success="true">
- <action action="resend" enabled="true"
+<action action="resend" enabled="true"
name="#0208" test="#o208" id="3"/>
</esme_api>