You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wookie.apache.org by bu...@apache.org on 2012/03/23 13:04:03 UTC

svn commit: r809708 - in /websites/staging/wookie/trunk/content: ./ wookie/docs/api.html

Author: buildbot
Date: Fri Mar 23 12:04:03 2012
New Revision: 809708

Log:
Staging update by buildbot for wookie

Modified:
    websites/staging/wookie/trunk/content/   (props changed)
    websites/staging/wookie/trunk/content/wookie/docs/api.html

Propchange: websites/staging/wookie/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Mar 23 12:04:03 2012
@@ -1 +1 @@
-1304291
+1304293

Modified: websites/staging/wookie/trunk/content/wookie/docs/api.html
==============================================================================
--- websites/staging/wookie/trunk/content/wookie/docs/api.html (original)
+++ websites/staging/wookie/trunk/content/wookie/docs/api.html Fri Mar 23 12:04:03 2012
@@ -203,10 +203,18 @@ If an instance already exists for the gi
 <h2 id="representation_2">Representation</h2>
 <p>Participants are represented in XML as a &lt;participants&gt; document, containing a &lt;participant&gt; element for each participant, with the attributes:</p>
 <ul>
-<li>id: the participant id (not to be confused with Wookie's internal id of a participant)</li></li>
-<li>display_name: the participant display name</li></li>
-<li>thumbnail_url: the url of the thumbnail image for the participant</li></li>
+<li>id: the participant id (not to be confused with Wookie's internal id of a participant)</li>
+<li>display_name: the participant display name</li>
+<li>thumbnail_url: the url of the thumbnail image for the participant</li>
 </ul>
+<p>For example:</p>
+<div class="codehilite"><pre><span class="nt">&lt;participants&gt;</span>
+  <span class="nt">&lt;participant</span> <span class="na">id=</span><span class="s">&quot;testuser&quot;</span> <span class="na">display_name=</span><span class="s">&quot;First Test User&quot;</span> <span class="na">thumbnail_url=</span><span class="s">&quot;&quot;</span><span class="nt">/&gt;</span>
+  <span class="nt">&lt;participant</span> <span class="na">id=</span><span class="s">&quot;testuser2&quot;</span> <span class="na">display_name=</span><span class="s">&quot;Second Test User&quot;</span> <span class="na">thumbnail_url=</span><span class="s">&quot;&quot;</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;/participants&gt;</span>
+</pre></div>
+
+
 <table border="1"><tbody>
 <tr>
 <th >Request</th>
@@ -268,6 +276,13 @@ If an instance already exists for the gi
 
 <h2 id="api-keys_1">API Keys</h2>
 <p>This API is used to manage API Keys for applications accessing Wookie.</p>
+<h3 id="representation_3">Representation</h3>
+<div class="codehilite"><pre><span class="nt">&lt;keys&gt;</span>
+  <span class="nt">&lt;key</span> <span class="na">id=</span><span class="s">&quot;401&quot;</span> <span class="na">value=</span><span class="s">&quot;TEST&quot;</span> <span class="na">email=</span><span class="s">&quot;test@127.0.0.1&quot;</span><span class="nt">/&gt;</span>
+<span class="nt">&lt;/keys&gt;</span>
+</pre></div>
+
+
 <p><TABLE border="1"><TBODY>
 <TR>
 <TH>Request</TH>