You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by su...@apache.org on 2014/08/08 04:08:19 UTC
svn commit: r1616662 [4/5] - in /incubator/usergrid/site: content/community/
content/img/ publish/community/ publish/docs/access-token/
publish/docs/activity/ publish/docs/admin-portal/ publish/docs/admin-user/
publish/docs/app-security/ publish/docs/a...
Modified: incubator/usergrid/site/publish/docs/organizations-admins 2/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/organizations-admins%202/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/organizations-admins 2/index.html (original)
+++ incubator/usergrid/site/publish/docs/organizations-admins 2/index.html Fri Aug 8 02:08:18 2014
@@ -173,11 +173,13 @@
<p>An organization represents the highest level of the Apache Usergrid data hierarchy. It contains applications (and the entities and collections they contain) and is associated with one or more administrators. An organization can be representative of a company, team, or project. It allows multiple applications  to be shared within the organization with other administrators.</p>
<p>Using the App services API, you can create an organization through a form post and get an organization by UUID or name. In addition, you can activate or reactivate an organization, generate and retrieve an organizationâs client credentials, and get an organizationâs activity feed. You can also create an organization application through a form post, generate and retrieve credentials for the application, and delete the application. You can also get the applications in an organization. Additionally, you can add an admin user to an organization, get the admin users in an organization, and remove an admin user from an organization.</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Property</th>
<th align="left">Type</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">uuid</td>
@@ -227,16 +229,19 @@
<td align="left">The password of the administrator. (create-only)</td>
</tr>
</tbody>
-</table><h3 id="activating-an-organization">Activating an organization</h3>
+</table>
+<h3 id="activating-an-organization">Activating an organization</h3>
<p>Use the GET method to activate an organization from a link provided in an email notification.</p>
<h4 id="request-url">Request URL</h4>
<p>GET /organizations|orgs/{org_name}|{uuid}/activate?token={token}&confirm={confirm_email}</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg uuid</td>
@@ -251,14 +256,18 @@
<td align="left">Send confirmation email (false is the default).</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request">Example - Request</h4>
<ul>
<li><a href="#curl_activate_org">cURL</a></li>
<li><a href="#javascript_activate_org">JavaScript (HTML5)</a></li>
<li><a href="#ruby_activate_org">Ruby</a></li>
<li><a href="#nodejs_activate_org">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -289,22 +298,30 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{uuid}/reactivate</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-1">Example - Request</h4>
<ul>
<li><a href="#curl_reactivate_org">cURL</a></li>
<li><a href="#javascript_reactivate_org">JavaScript (HTML5)</a></li>
<li><a href="#ruby_reactivate_org">Ruby</a></li>
<li><a href="#nodejs_reactivate_org">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/reactivate"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/reactivate"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -335,15 +352,20 @@ client.request(options, function (err, d
<p>POST /organizations|orgs/{org_name}|{uuid}/credentials</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</tr>
+</tbody>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-2">Example - Request</h4>
<ul>
@@ -351,7 +373,10 @@ client.request(options, function (err, d
<li><a href="#javascript_gen_org_credentials">JavaScript</a></li>
<li><a href="#ruby_gen_org_credentials">Ruby</a></li>
<li><a href="#nodejs_gen_org_credentials">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X POST "https://api.usergrid.com/management/orgs/credentials"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/management/orgs/credentials"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -385,15 +410,20 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{uuid}/credentials</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</tr>
+</tbody>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-3">Example - Request</h4>
<ul>
@@ -401,7 +431,10 @@ client.request(options, function (err, d
<li><a href="#javascript_get_org_credentials">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_org_credentials">Ruby</a></li>
<li><a href="#nodejs_get_org_credentials">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/credentials"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/credentials"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -435,15 +468,20 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{uuid}/feed</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</tr>
+</tbody>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-4">Example - Request</h4>
<ul>
@@ -451,7 +489,10 @@ client.request(options, function (err, d
<li><a href="#javascript_get_org_feed">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_org_feed">Ruby</a></li>
<li><a href="#nodejs_get_org_feed">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/feed"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/feed"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -525,7 +566,10 @@ client.request(options, function (err, d
<li><a href="#javascript_create_org_app">JavaScript (HTML5)</a></li>
<li><a href="#ruby_create_org_app">Ruby</a></li>
<li><a href="#nodejs_create_org_app">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X -i POST "https://api.usergrid.com/management/orgs/testorg/apps" -d '{"access_token":"YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ","name":"testapp1"}'</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X -i POST "https://api.usergrid.com/management/orgs/testorg/apps" -d '{"access_token":"YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ","name":"testapp1"}'</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -560,10 +604,12 @@ client.request(options, function (err, d
<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/apps/{app_name}|{app_uuid}</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg uuid</td>
@@ -574,7 +620,8 @@ client.request(options, function (err, d
<td align="left">Application name or application UUID.</td>
</tr>
</tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-6">Example - Request</h4>
<ul>
@@ -582,7 +629,10 @@ client.request(options, function (err, d
<li><a href="#javascript_delete_org_app">JavaScript (HTML5)</a></li>
<li><a href="#ruby_delete_org_app">Ruby</a></li>
<li><a href="#nodejs_delete_org_app">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/apps/testapp1"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/apps/testapp1"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -613,10 +663,12 @@ client.request(options, function (err, d
<p>POST /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg uuid</td>
@@ -627,7 +679,8 @@ client.request(options, function (err, d
<td align="left">Application name or application UUID.</td>
</tr>
</tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-7">Example - Request</h4>
<ul>
@@ -635,7 +688,10 @@ client.request(options, function (err, d
<li><a href="#javascript_gen_app_credentials">JavaScript (HTML5)</a></li>
<li><a href="#ruby_gen_app_credentials">Ruby</a></li>
<li><a href="#nodejs_gen_app_credentials">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X POST "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -669,10 +725,12 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg uuid</td>
@@ -683,7 +741,8 @@ client.request(options, function (err, d
<td align="left">Application name or application UUID.</td>
</tr>
</tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-8">Example - Request</h4>
<ul>
@@ -691,7 +750,10 @@ client.request(options, function (err, d
<li><a href="#javascript_get_app_credentials">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_app_credentials">Ruby</a></li>
<li><a href="#nodejs_get_app_credentials">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -725,15 +787,20 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps</p>
<p>Parameters</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+</tr>
+</tbody>
+</table>
+<p><strong>Note:</strong>Â You also need to provide a valid access token with the API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
<p>Â </p>
<h4 id="example---request-9">Example - Request</h4>
<ul>
@@ -741,7 +808,10 @@ client.request(options, function (err, d
<li><a href="#javascript_get_apps_org">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_apps_org">Ruby</a></li>
<li><a href="#nodejs_get_apps_org">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -778,10 +848,12 @@ client.request(options, function (err, d
<p>PUT /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
<h4 id="parameters-1">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg org_uuid</td>
@@ -792,14 +864,18 @@ client.request(options, function (err, d
<td align="left">User name, user email address, or user UUID.</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request-10">Example - Request</h4>
<ul>
<li><a href="#curl_add_admin_user">cURL</a></li>
<li><a href="#javascript_add_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_add_admin_user">Ruby</a></li>
<li><a href="#nodejs_add_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X PUT "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X PUT "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -844,22 +920,30 @@ client.request(options, function (err, d
<p>GET /organizations|orgs/{org_name}|{org_uuid}/users</p>
<h4 id="parameters-2">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string org_name|arg org_uuid</td>
<td align="left">Organization name or organization UUID.</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-11">Example - Request</h4>
<ul>
<li><a href="#curl_get_admin_users">cURL</a></li>
<li><a href="#javascript_get_admin_users">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_admin_users">Ruby</a></li>
<li><a href="#nodejs_get_admin_users">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/users"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/orgs/testorg/users"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -903,10 +987,12 @@ client.request(options, function (err, d
<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
<h4 id="parameters-3">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string org_name|arg org_uuid</td>
@@ -917,14 +1003,18 @@ client.request(options, function (err, d
<td align="left">User name, user email address, or user UUID.</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request-12">Example - Request</h4>
<ul>
<li><a href="#curl_delete_admin_user">cURL</a></li>
<li><a href="#javascript_delete_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_delete_admin_user">Ruby</a></li>
<li><a href="#nodejs_delete_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/users/test123"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -974,13 +1064,18 @@ client.request(options, function (err, d
<p>POST /management/organizations/{org}/users {request body}</p>
<h4 id="parameters-4">Parameters</h4>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left"><p>request body</p></td>
<td align="left">
<p>One or more sets of user properties, of which username is mandatory and must be unique:</p>
@@ -989,15 +1084,20 @@ client.request(options, function (err, d
"email" : "jim.admin@gmail.com</code></pre>
<p>â,âname" : âJim Adminâ, âpasswordâ : âtest12345â }</p>
</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-13">Example - Request</h4>
<ul>
<li><a href="#curl_create_admin_user">cURL</a></li>
<li><a href="#javascript_create_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_create_admin_user">Ruby</a></li>
<li><a href="#nodejs_create_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X -i POST "https://api.usergrid.com/management/organizations/my-org/users" -d '{"username":"jim.admin","name":"Jim Admin","email":"jim.admin@gmail.com","password":"test12345"}'</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X -i POST "https://api.usergrid.com/management/organizations/my-org/users" -d '{"username":"jim.admin","name":"Jim Admin","email":"jim.admin@gmail.com","password":"test12345"}'</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1045,12 +1145,16 @@ client.request(options, function (err, d
<p>PUT /management/organizations/{org}/users/{user|username|email|uuid} {request body}</p>
<h4 id="parameters-5">Parameters</h4>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>string user|string username|string email|arg uuid</p></td>
@@ -1067,14 +1171,18 @@ client.request(options, function (err, d
</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request-14">Example - Request</h4>
<ul>
<li><a href="#curl_update_admin_user">cURL</a></li>
<li><a href="#javascript_update_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_update_admin_user">Ruby</a></li>
<li><a href="#nodejs_update_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin" -d '{"city":"San Francisco","state":"California"}'</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin" -d '{"city":"San Francisco","state":"California"}'</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1108,22 +1216,30 @@ client.request(options, function (err, d
<p>GET /management/organizations/{org}/users/{user|username|email|uuid}</p>
<h4 id="parameters-6">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string user|string username|string email|arg uuid</td>
<td align="left">Admin username, name, email address, or UUID.</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-15">Example - Request</h4>
<ul>
<li><a href="#curl_get_admin_user">cURL</a></li>
<li><a href="#javascript_get_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_admin_user">Ruby</a></li>
<li><a href="#nodejs_get_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1181,12 +1297,16 @@ client.request(options, function (err, d
<p>PUT /management/organizations/{org}/users/{user|username|email|uuid}/password {request body}</p>
<h4 id="parameters-7">Parameters</h4>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>string user|string username|string email|arg uuid</p></td>
@@ -1202,14 +1322,18 @@ client.request(options, function (err, d
</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request-16">Example - Request</h4>
<ul>
<li><a href="#curl_set_admin_pw">cURL</a></li>
<li><a href="#javascript_set_admin_pw">JavaScript (HTML5)</a></li>
<li><a href="#ruby_set_admin_pw">Ruby</a></li>
<li><a href="#nodejs_set_admin_pw">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/password" -d '{"password":"test123"}'</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/password" -d '{"password":"test123"}'</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -1249,7 +1373,10 @@ client.request(options, function (err, d
<li><a href="#javascript_init_pw_reset">JavaScript (HTML5)</a></li>
<li><a href="#ruby_init_pw_reset">Ruby</a></li>
<li><a href="#nodejs_init_pw_reset">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/resetpw"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/resetpw"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1309,13 +1436,18 @@ client.request(options, function (err, d
<p>POST /management/organizations/{org}/users/resetpw {request body}</p>
<h4 id="parameters-8">Parameters</h4>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left"><p>request body</p></td>
<td align="left">
<p>Parameters and value for the Captcha challenge, the admin userâs response to the Captcha challenge, and the admin userâs email address, for example:</p>
@@ -1323,15 +1455,20 @@ client.request(options, function (err, d
"recaptcha_response_field" : "</code></pre>
<p>Atistophanes tseFiaâ,ârecaptcha_challenge_field" : âAtistophanes tseFiaâ, âemailâ : âjim.admin@gmail.comâ }</p>
</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-18">Example - Request</h4>
<ul>
<li><a href="#curl_complete_pw_reset">cURL</a></li>
<li><a href="#javascript_complete_pw_reset">JavaScript (HTML5)</a></li>
<li><a href="#ruby_complete_pw_reset">Ruby</a></li>
<li><a href="#nodejs_complete_pw_reset">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X -i POST "https://api.usergrid.com/management/organizations/my-org/users/resetpw" -d '{"recaptcha_response_field":"Atistophanes tseFia","recaptcha_challenge_field":"Atistophanes tseFia","email":"jim.admin@gmail.com"}'</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X -i POST "https://api.usergrid.com/management/organizations/my-org/users/resetpw" -d '{"recaptcha_response_field":"Atistophanes tseFia","recaptcha_challenge_field":"Atistophanes tseFia","email":"jim.admin@gmail.com"}'</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>Â </p>
@@ -1368,10 +1505,12 @@ client.request(options, function (err, d
<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/activate?token={token}&confirm={confirm_email}</p>
<h4 id="parameters-9">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">string user|string username|string email|arg uuid</td>
@@ -1386,14 +1525,18 @@ client.request(options, function (err, d
<td align="left">Send confirmation email (false is the default).</td>
</tr>
</tbody>
-</table><p>Â </p>
+</table>
+<p>Â </p>
<h4 id="example---request-19">Example - Request</h4>
<ul>
<li><a href="#curl_activate_admin_user">cURL</a></li>
<li><a href="#javascript_activate_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_activate_admin_user">Ruby</a></li>
<li><a href="#nodejs_activate_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1424,22 +1567,30 @@ client.request(options, function (err, d
<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/reactivate</p>
<h4 id="parameters-10">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string user|string username|string email|arg uuid</td>
<td align="left">Admin username, name, email address, or UUID.</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
<h4 id="example---request-20">Example - Request</h4>
<ul>
<li><a href="#curl_reactivate_admin_user">cURL</a></li>
<li><a href="#javascript_reactivate_admin_user">JavaScript (HTML5)</a></li>
<li><a href="#ruby_reactivate_admin_user">Ruby</a></li>
<li><a href="#nodejs_reactivate_admin_user">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/reactivate"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/reactivate"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
@@ -1469,21 +1620,29 @@ client.request(options, function (err, d
<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/feed</p>
<h4 id="parameters-11">Parameters</h4>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">string user|string username|string email|arg uuid</td>
<td align="left">Admin username, name, email address, or UUID.</td>
-</tr></tbody>
-</table><h4 id="example---request-21">Example - Request</h4>
+</tr>
+</tbody>
+</table>
+<h4 id="example---request-21">Example - Request</h4>
<ul>
<li><a href="#curl_get_user_feed">cURL</a></li>
<li><a href="#javascript_get_user_feed">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_user_feed">Ruby</a></li>
<li><a href="#nodejs_get_user_feed">Node.js</a></li>
-</ul><!-- --><pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/feed"</code></pre>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/feed"</code></pre>
<p>It is recommended that you use the <a href="http://apigee.com/usergrid">Admin Portal</a> for administrative activities instead of using JavaScript to do them programmatically in your app.</p>
<p><strong>Note:</strong>You can see the response below in the Admin Portal by using the <a href="/docs/usergrid/content/displaying-app-services-api-calls-curl-commands">JavaScript Console</a>.</p>
<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
Modified: incubator/usergrid/site/publish/docs/organizations-admins/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/organizations-admins/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/organizations-admins/index.html (original)
+++ incubator/usergrid/site/publish/docs/organizations-admins/index.html Fri Aug 8 02:08:18 2014
@@ -145,11 +145,13 @@
<h2 id="organizations">Organizations</h2>
<p>An organization represents the highest level of the Apache Usergrid data hierarchy. It contains applications (and the entities and collections they contain) and is associated with one or more administrators. An organization can be representative of a company, team, or project. It allows multiple applications  to be shared within the organization with other administrators.</p>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Property</th>
<th align="left">Type</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">uuid</td>
@@ -199,7 +201,8 @@
<td align="left">The password of the administrator. (create-only)</td>
</tr>
</tbody>
-</table><h2 id="admins">Admins</h2>
+</table>
+<h2 id="admins">Admins</h2>
<p>An admin user has full access to perform any operation on all organization accounts of which the admin user is a member. Using the App services API, you can create, update, or retrieve an admin user. You can also set or reset an admin userâs password, activite or reactivate an admin user, and get an admin userâs activity feed.</p>
</div>
</div>
Modified: incubator/usergrid/site/publish/docs/overview/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/overview/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/overview/index.html (original)
+++ incubator/usergrid/site/publish/docs/overview/index.html Fri Aug 8 02:08:18 2014
@@ -149,9 +149,10 @@
<li>In your Apache Usergrid application, use the admin portal to define your app usersâ access to your appâs data and features. You do this by creating permission rules, then associating those rules with your users. For more information, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</li>
<li>In your app, write code through which your appâs users can verify who they are to your Apache Usergrid application. You do this by writing code that uses their username and password as credentials to initially authenticate with the Apache Usergrid application, then uses a token thereafter. (This authentication style supports the OAuth 2.0 model.) For more information, see <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a>.</li>
<li>Be sure to use coding best practices that help ensure that your app is protected from malicious attacks. For more information, see <a href="/securing-your-app">Securing your app</a>.</li>
-</ol><p>The following illustration describes these high-level areas.</p>
+</ol>
+<p>The following illustration describes these high-level areas.</p>
<div class="figure">
-<embed src="/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL"></embed>
+<img src="/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL">
</div>
</div>
</div>
Modified: incubator/usergrid/site/publish/docs/query-language/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/query-language/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/query-language/index.html (original)
+++ incubator/usergrid/site/publish/docs/query-language/index.html Fri Aug 8 02:08:18 2014
@@ -181,7 +181,8 @@
</li>
<li>Not equal <code>NOT</code>
</li>
-</ul><p>Logical operations</p>
+</ul>
+<p>Logical operations</p>
<ul>
<li>Intersection of results <code>and</code>
</li>
@@ -189,7 +190,8 @@
</li>
<li>Subtraction of results <code>not</code>
</li>
-</ul><h2 id="query-response-format">Query Response Format</h2>
+</ul>
+<h2 id="query-response-format">Query Response Format</h2>
<p>the queryâs response is formatted in JavaScript Object Notation (JSON). This is a common format used for parameter and return values in REST web services.</p>
<p>So for the following query:</p>
<pre><code>/users?ql=select * where name = âGladys Kravitzâ</code></pre>
@@ -263,14 +265,18 @@
<p>For example, in the default entity <code>User</code>, the <code>name</code> property is stored as a <code>string</code>, the created date as a <code>long</code>, and metadata is stored as a JSON object. Your queries must be data type-aware so that you can be sure that query results are as you expect them to be.</p>
<p>So imagine you define an entity with a <code>price</code> property whose value might be <code>100.00</code>. Querying for <code>100</code> will return no results even if there are occurrences of <code>100.00</code> as <code>price</code> values in your data set. Thatâs because the database expected a decimal-delimited <code>float</code> value in your query.</p>
<table>
+<colgroup>
<col width="33%">
<col width="33%">
<col width="33%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Data Type</th>
<th align="left">Examples</th>
<th align="left">Notes</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p><code>string</code></p></td>
@@ -325,7 +331,8 @@
<td align="left"><p>Objects are often used to contain entity metadata, such as the activities associated with a user, the users associated with a role, and so on.</p></td>
</tr>
</tbody>
-</table><h2 id="retrieving-values-for-multiple-properties">Retrieving values for multiple properties</h2>
+</table>
+<h2 id="retrieving-values-for-multiple-properties">Retrieving values for multiple properties</h2>
<p>Your query can return multiple kinds of values â such as the values of multiple properties â by specifying the property names in your select statement as a comma-separated list.</p>
<p>For example, the following request returns the address and phone number of users whose name is Gladys Kravitz:</p>
<pre><code>/users?ql=select address,phone_number where name = 'Gladys Kravitz'</code></pre>
@@ -380,14 +387,18 @@
<p>For example, you might execute a query that could potentially return hundreds of results, but you want to display 20 of those at a time to users. To do this, your code sets the limit parameter to 20 when querying for data, then provides a way for the user to request more of the results when theyâre ready.</p>
<p>You would use the following parameters in your query:</p>
<table>
+<colgroup>
<col width="33%">
<col width="33%">
<col width="33%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Type</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p><code>limit</code></p></td>
@@ -411,7 +422,8 @@
<td align="left"><p>An encoded representation of the query position pointing to a set of results. To retrieve the next set of results, pass the cursor with your next call for most results.</p></td>
</tr>
</tbody>
-</table><p>For example:</p>
+</table>
+<p>For example:</p>
<p>Select all users whose name starts with fred, and returns the first 50 results:</p>
<pre><code>/users?ql=select * where name = 'fred*'&limit=50</code></pre>
<p>Retrieve the next batch of users whose name is âfredâ, passing the cursor received from the last request to specify where the next set of results should begin:</p>
Modified: incubator/usergrid/site/publish/docs/querying-data-admin-portal/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/querying-data-admin-portal/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/querying-data-admin-portal/index.html (original)
+++ incubator/usergrid/site/publish/docs/querying-data-admin-portal/index.html Fri Aug 8 02:08:18 2014
@@ -159,7 +159,8 @@
<p>In the <strong>Query String</strong> box, enter your query string.</p>
<p>Note that you put the path and query string in separate fields, rather than appending the query string to the path in the <strong>Path</strong> box.</p>
</li>
-</ol><p>The admin portal transforms queries into standard URL-encoded parameters before issuing HTTP requests. For example, given the following query resulting from what youâve entered in the portal:</p>
+</ol>
+<p>The admin portal transforms queries into standard URL-encoded parameters before issuing HTTP requests. For example, given the following query resulting from what youâve entered in the portal:</p>
<pre><code>/users?ql=select * where name = 'gladys*'</code></pre>
<p>The string received by Apigee would be the following:</p>
<pre><code>/users?ql=select%20*%20where%20name%20%3d%20'gladys*'</code></pre>
Modified: incubator/usergrid/site/publish/docs/querying-your-app-services-data/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/querying-your-app-services-data/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/querying-your-app-services-data/index.html (original)
+++ incubator/usergrid/site/publish/docs/querying-your-app-services-data/index.html Fri Aug 8 02:08:18 2014
@@ -163,7 +163,7 @@
<li>
<p>Go to the <strong>Data Explorer</strong> using the left navigation pane.</p>
<div class="figure">
-<embed src="/docs/sites/docs/files/styles/large/public/as_push_console_delete.png?itok=BFAfMReE"></embed>
+<img src="/docs/sites/docs/files/styles/large/public/as_push_console_delete.png?itok=BFAfMReE">
</div>
</li>
<li>Under <strong>Method</strong>, select the HTTP method you want to use, as follows:<br>- GET to retrieve data.
@@ -178,7 +178,8 @@
<p>In the <strong>Query String</strong> box, enter your query string.</p>
<p>Note that you put the path and query string in separate fields, rather than appending the query string to the path in the <strong>Path</strong> box.</p>
</li>
-</ol><p>The admin portal transforms queries into standard URL-encoded parameters before issuing HTTP requests. For example, given the following query resulting from what youâve entered in the portal:</p>
+</ol>
+<p>The admin portal transforms queries into standard URL-encoded parameters before issuing HTTP requests. For example, given the following query resulting from what youâve entered in the portal:</p>
<pre><code>/users?ql=select * where name = 'gladys*'</code></pre>
<p>The string received by Apigee would be the following:</p>
<pre><code>/users?ql=select%20*%20where%20name%20%3d%20'gladys*'</code></pre>
Modified: incubator/usergrid/site/publish/docs/rest-endpoints/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/rest-endpoints/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/rest-endpoints/index.html (original)
+++ incubator/usergrid/site/publish/docs/rest-endpoints/index.html Fri Aug 8 02:08:18 2014
@@ -242,9 +242,14 @@
<p>Get an admin userâs feed</p>
<p><a href="/docs/usergrid/content/admin-user#getting-an-admin-user-s-activity-feed">Detail</a></p>
<h3 id="applications">Applications</h3>
-<table><tbody><tr class="odd">
+<table>
+<tbody>
+<tr class="odd">
<td align="left">See Organizations</td>
-</tr></tbody></table><h3 id="client-authorization">Client authorization</h3>
+</tr>
+</tbody>
+</table>
+<h3 id="client-authorization">Client authorization</h3>
<p>URI</p>
<p>Verb</p>
<p>Content Types</p>
@@ -354,9 +359,14 @@
<p>Post an activity to a group</p>
<p><a href="/docs/usergrid/content/activity#posting-an-activity-to-a-group">Detail</a></p>
<h3 id="assets">Assets</h3>
-<table><tbody><tr class="odd">
+<table>
+<tbody>
+<tr class="odd">
<td align="left">See Collections (other than users, groups, and roles)</td>
-</tr></tbody></table><h3 id="collections-other-than-users-groups-and-roles">Collections (other than users, groups, and roles)</h3>
+</tr>
+</tbody>
+</table>
+<h3 id="collections-other-than-users-groups-and-roles">Collections (other than users, groups, and roles)</h3>
<p>URI</p>
<p>Verb</p>
<p>Content Types</p>
@@ -413,9 +423,14 @@
<p>Remove an entity from a collection or delete a connection</p>
<p><a href="/docs/usergrid/content/general-purpose-endpoints#remove_entity">Detail</a></p>
<h3 id="devices">Devices</h3>
-<table><tbody><tr class="odd">
+<table>
+<tbody>
+<tr class="odd">
<td align="left">See Collections (other than users, groups, and roles)</td>
-</tr></tbody></table><h3 id="events">Events</h3>
+</tr>
+</tbody>
+</table>
+<h3 id="events">Events</h3>
<p>URI</p>
<p>Verb</p>
<p>Content Types</p>
@@ -427,9 +442,14 @@
<p>Create an event</p>
<p><a href="/docs/usergrid/content/events-and-counters#new_event">Detail</a></p>
<h3 id="folders">Folders</h3>
-<table><tbody><tr class="odd">
+<table>
+<tbody>
+<tr class="odd">
<td align="left">See Collections (other than users, groups, and roles)</td>
-</tr></tbody></table><h3 id="groups">Groups</h3>
+</tr>
+</tbody>
+</table>
+<h3 id="groups">Groups</h3>
<p>URI</p>
<p>Verb</p>
<p>Content Types</p>
@@ -578,10 +598,15 @@
<p>Get a userâs feed</p>
<p><a href="/docs/usergrid/content/user#getting-a-user-s-feed">Detail</a></p>
<h3 id="notifications-notifiers-and-receipts">Notifications, Notifiers, and Receipts</h3>
-<table><tbody><tr class="odd">
+<table>
+<tbody>
+<tr class="odd">
<td align="left">See <a href="/create-manage-notifications">Create & Manage Notifications</a>
</td>
-</tr></tbody></table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
</div>
</div>
</div>
Modified: incubator/usergrid/site/publish/docs/retrieving-collections/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/retrieving-collections/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/retrieving-collections/index.html (original)
+++ incubator/usergrid/site/publish/docs/retrieving-collections/index.html Fri Aug 8 02:08:18 2014
@@ -178,7 +178,8 @@
<li><a href="#javascript_get_collection">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_collection">Ruby</a></li>
<li><a href="#nodejs_get_collection">Node.js</a></li>
-</ul><h3 id="example-requestresponse">Example Request/Response</h3>
+</ul>
+<h3 id="example-requestresponse">Example Request/Response</h3>
<h4 id="request">Request:</h4>
<pre><code>curl -X GET "https://api.usergrid.com/your-org/your-app/items"</code></pre>
<h4 id="response">Response:</h4>
@@ -221,10 +222,12 @@
<pre><code>curl -X GET https://api.usergrid.com/<org>/<app>/<collection></code></pre>
<h3 id="parameters">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">org</td>
@@ -239,7 +242,8 @@
<td align="left">Collection UUID or collection name</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
<h3 id="example-requestresponse-1">Example Request/Response</h3>
<h4 id="request-1">Request:</h4>
<pre><code>-(NSString*)getCollection {
@@ -305,15 +309,20 @@
<pre><code>(ApigeeCollection*)getCollection:(NSString*)type</code></pre>
<h3 id="properties">Properties</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">type</td>
<td align="left">The entity type associated with the collection to be retrieved</td>
-</tr></tbody>
-</table><p>This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
<h3 id="example-requestresponse-2">Example Request/Response</h3>
<h4 id="request-2">Request:</h4>
<pre><code>//Create client entity
@@ -392,10 +401,12 @@ dataClient.getCollectionAsync(type, quer
<pre><code>ApiResponse getCollection(String type, Map<String,Object> queryString)</code></pre>
<h3 id="properties-1">Properties</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">type</td>
@@ -410,7 +421,8 @@ dataClient.getCollectionAsync(type, quer
<td align="left">Callback function (Asynchronous calls only)</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
<h3 id="example-requestresponse-3">Example Request/Response</h3>
<h4 id="request-3">Request:</h4>
<pre><code>var dataClient = new Usergrid.Client({
@@ -475,15 +487,20 @@ collection.fetch(
<pre><code>Collection.fetch(callback);</code></pre>
<h3 id="parameters-1">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">callback</td>
<td align="left">Callback function to handle the API response</td>
-</tr></tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
<h3 id="example-requestresponse-4">Example Request/Response</h3>
<h4 id="request-4">Request:</h4>
<pre><code> #Create a client object
@@ -543,15 +560,20 @@ collection.fetch(
<pre><code>Application.[<entity_type>].entity</code></pre>
<h3 id="parameters-2">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">entity_type</td>
<td align="left">The entity type associated with the collection to be retrieved</td>
-</tr></tbody>
-</table><p>This example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
<h3 id="example-requestresponse-5">Example Request/Response</h3>
<h4 id="request-5">Request:</h4>
<pre><code> var dataClient = new Usergrid.client({
@@ -606,15 +628,20 @@ collection.fetch(
<pre><code>Collection.fetch(callback)</code></pre>
<h3 id="parameters-3">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
-<tbody><tr class="odd">
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
<td align="left">callback</td>
<td align="left">Callback function to handle the API response</td>
-</tr></tbody>
-</table><p>Â </p>
+</tr>
+</tbody>
+</table>
+<p>Â </p>
</div>
</div>
</div>
Modified: incubator/usergrid/site/publish/docs/retrieving-data-entities/index.html
URL: http://svn.apache.org/viewvc/incubator/usergrid/site/publish/docs/retrieving-data-entities/index.html?rev=1616662&r1=1616661&r2=1616662&view=diff
==============================================================================
--- incubator/usergrid/site/publish/docs/retrieving-data-entities/index.html (original)
+++ incubator/usergrid/site/publish/docs/retrieving-data-entities/index.html Fri Aug 8 02:08:18 2014
@@ -201,7 +201,8 @@
<li><a href="#javascript_get_entity">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_entity">Ruby</a></li>
<li><a href="#nodejs_get_entity">Node.js</a></li>
-</ul><h3 id="example-requestresponse">Example Request/Response</h3>
+</ul>
+<h3 id="example-requestresponse">Example Request/Response</h3>
<h4 id="request">Request:</h4>
<p>Retrieve by UUID:</p>
<pre><code>curl -X GET "https://api.usergrid.com/your-org/your-app/items/da4a50dc-38dc-11e2-b2e4-02e81adcf3d0"</code></pre>
@@ -235,10 +236,12 @@
<pre><code>curl -X GET https://api.usergrid.com/<org>/<app>/<collection>/<entity></code></pre>
<h3 id="parameters">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">org</td>
@@ -257,7 +260,8 @@
<td align="left">Entity UUID or entity name</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
<h3 id="example-requestresponse-1">Example Request/Response</h3>
<h4 id="request-1">Request:</h4>
<pre><code>-(NSString*)getEntity {
@@ -313,12 +317,16 @@
<pre><code>(ApigeeClientResponse *)getEntities: (NSString *)endpoint query:(NSString *)query</code></pre>
<h3 id="properties">Properties</h3>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>endpoint</p></td>
@@ -333,7 +341,8 @@
<td align="left"><p>An optional query string. Requests for a specific entity should set the value to <code>nil</code></p></td>
</tr>
</tbody>
-</table><p><br> This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
+</table>
+<p><br> This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
<h3 id="example-requestresponse-2">Example Request/Response</h3>
<h4 id="request-2">Request:</h4>
<pre><code>//Create client entity
@@ -466,12 +475,16 @@ public void onResponse(ApiResponse respo
<pre><code>ApiResponse getEntities(String type, String queryString)</code></pre>
<h3 id="properties-1">Properties</h3>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>type</p></td>
@@ -490,7 +503,8 @@ public void onResponse(ApiResponse respo
<td align="left"><p>Callback function (Asynchronous calls only)</p></td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
<h3 id="example-requestresponse-3">Example Request/Response</h3>
<h4 id="request-3">Request:</h4>
<pre><code>var properties = {
@@ -536,12 +550,16 @@ client.getEntity(properties, function (e
<h3 id="parameters-1">Parameters</h3>
<h4 id="getentity">getEntity():</h4>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>properties</p></td>
@@ -560,7 +578,8 @@ client.getEntity(properties, function (e
<td align="left"><p>Callback function</p></td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
<h3 id="example-requestresponse-4">Example Request/Response</h3>
<h4 id="request-4">Request:</h4>
<pre><code>#Create a client object
@@ -665,7 +684,8 @@ client.getEntity(properties, function (e
<li>type: the entity type to be retrieved</li>
<li>name: the name of the entity to be retrieved</li>
<li>uuid: the uuid of the entity to be retrieved</li>
-</ul><p>You only need to specify name or uuid, not both.</p>
+</ul>
+<p>You only need to specify name or uuid, not both.</p>
<p>callback</p>
<p>Callback function</p>
<h2 id="retrieving-multiple-entities">Retrieving multiple entities</h2>
@@ -676,7 +696,8 @@ client.getEntity(properties, function (e
<li><a href="#javascript_get_multentity">JavaScript (HTML5)</a></li>
<li><a href="#ruby_get_multentity">Ruby</a></li>
<li><a href="#nodejs_get_multentity">Node.js</a></li>
-</ul><p>This example describes how to retrieve multiple entities by UUID. You can also retrieve a set of entities by using a query string. For more information on querying your data, see <a href="/basic-query-syntax">Basic query syntax</a>.</p>
+</ul>
+<p>This example describes how to retrieve multiple entities by UUID. You can also retrieve a set of entities by using a query string. For more information on querying your data, see <a href="/basic-query-syntax">Basic query syntax</a>.</p>
<h3 id="example-requestresponse-6">Example Request/Response</h3>
<h4 id="request-6">Request:</h4>
<pre><code>//note the url-encoded query string
@@ -725,12 +746,16 @@ curl -X GET "https://api.usergrid.com/yo
<pre><code>curl -X GET https://api.usergrid.com/<org_id>/<app_id>/<collection>?ql= uuid = <entity_uuid> OR uuid = <entity_uuid>; ...</code></pre>
<h3 id="parameters-4">Parameters</h3>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>org_id</p></td>
@@ -756,7 +781,8 @@ curl -X GET "https://api.usergrid.com/yo
</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
<h3 id="example-requestresponse-7">Example Request/Response</h3>
<h4 id="request-7">Request:</h4>
<pre><code>-(NSString*)getEntity {
@@ -827,12 +853,16 @@ NSString *query = @"uuid = b3aad0a4-f322
<pre><code>(ApigeeClientResponse *)getEntities: (NSString *)type queryString:(NSString *)queryString</code></pre>
<h3 id="properties-2">Properties</h3>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>type</p></td>
@@ -843,7 +873,8 @@ NSString *query = @"uuid = b3aad0a4-f322
<td align="left"><p>A query string of entity properties to be matched for the entities to be retrieved in the following format: <property>=<value> OR <property> =<value> OR â¦</value></property></value></property></p></td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
<h3 id="example-requestresponse-8">Example Request/Response</h3>
<h4 id="request-8">Request:</h4>
<pre><code>//Create client entity
@@ -924,10 +955,12 @@ public void onResponse(ApiResponse respo
<pre><code>ApiResponse getEntities(String type, String queryString)</code></pre>
<h3 id="properties-3">Properties</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">type</td>
@@ -942,7 +975,8 @@ public void onResponse(ApiResponse respo
<td align="left">Callback function (Asynchronous calls only)</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) module</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) module</a>.</p>
<h3 id="example-requestresponse-9">Example Request/Response</h3>
<h4 id="request-9">Request:</h4>
<pre><code>var dataClient = new Usergrid.Client({
@@ -1005,10 +1039,12 @@ if (err) {
<pre><code>request(properties,callback)</code></pre>
<h3 id="parameters-5">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">properties</td>
@@ -1019,7 +1055,8 @@ if (err) {
<td align="left">Callback function</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
<h3 id="example-requestresponse-10">Example Request/Response</h3>
<h4 id="request-10">Request:</h4>
<p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
@@ -1081,12 +1118,16 @@ end
<pre><code>Application.[<collection>].query(<query>)</code></pre>
<h3 id="parameters-6">Parameters</h3>
<table>
+<colgroup>
<col width="50%">
<col width="50%">
-<thead><tr class="header">
+</colgroup>
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left"><p>collection</p></td>
@@ -1100,7 +1141,8 @@ end
</td>
</tr>
</tbody>
-</table><p>This example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
+</table>
+<p>This example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
<h3 id="example-requestresponse-11">Example Request/Response</h3>
<h4 id="request-11">Request:</h4>
<pre><code>var dataClient = new Usergrid.client({
@@ -1155,10 +1197,12 @@ dataClient.request(options, function (er
<pre><code>request(properties,callback)</code></pre>
<h3 id="parameters-7">Parameters</h3>
<table>
-<thead><tr class="header">
+<thead>
+<tr class="header">
<th align="left">Parameter</th>
<th align="left">Description</th>
-</tr></thead>
+</tr>
+</thead>
<tbody>
<tr class="odd">
<td align="left">properties</td>
@@ -1169,7 +1213,8 @@ dataClient.request(options, function (er
<td align="left">Callback function</td>
</tr>
</tbody>
-</table><h2 id="add-new-comment">Add new comment</h2>
+</table>
+<h2 id="add-new-comment">Add new comment</h2>
<p>Your name</p>
<p>Email</p>
<p>Provide your email address if you wish to be contacted offline about your comment.<br>We will not display your email address as part of your comment.</p>