You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2015/06/25 22:49:30 UTC

[01/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Repository: incubator-usergrid
Updated Branches:
  refs/heads/asf-site c8b7d6c54 -> a46faae10


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/querying-your-app-services-data/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/querying-your-app-services-data/index.html b/content/publish/docs/querying-your-app-services-data/index.html
new file mode 100644
index 0000000..c1ad261
--- /dev/null
+++ b/content/publish/docs/querying-your-app-services-data/index.html
@@ -0,0 +1,308 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Querying your Apache Usergrid data</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Querying your Apache Usergrid data</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/querying-your-app-services-data.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#querying-your-apache-usergrid-data">Querying your Apache Usergrid data</a><ul>
+<li><a href="#querying-data-from-the-admin-portal">Querying data from the admin portal</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="querying-your-apache-usergrid-data">Querying your Apache Usergrid data</h1>
+<p>You can write code to query for data you’ve stored in your Apache Usergrid application. You’ll most likely use queries as filters to retrieve specific entities. For example, you might want to get data about users who are “following” a specific other user, businesses in specific geographical locations, and so on.</p>
+<p>The following example retrieves a list of restaurants (from a restaurants collection) whose name property contains the value “diner”, sorting the list in ascending order by name:</p>
+<pre><code>/restaurants?ql=select * where name contains 'diner' order by name asc</code></pre>
+<p>Having retrieved the list of restaurants, your code could display the list to your users. You could also use a query to retrieve a list of diners that are located within a particular geographical area (such as near your user’s current location).</p>
+<blockquote>
+<p><strong>Important:</strong> By default, results from queries of your Apache Usergrid data are limited to 10 items at a time. You can control this with the <code>limit</code> parameter, as discussed <a href="/working-queries#cursor">Working with queries</a>.</p>
+</blockquote>
+<p>You query your Apache Usergrid data by using a query syntax that’s like Structured Query Language (SQL), the query language for relational databases. Unlike a relational database, where you specify tables and columns containing the data you want to query, in your Apache Usergrid queries you specify collections and entities.</p>
+<p>The examples in this section illustrate queries using simple strings to make the queries easier to read. You can also use one of the Apigee SDKs, which provide functions through which you can pass query strings, and in some cases shortcuts for bypassing queries altogether.</p>
+<p><strong>Note:</strong> Queries replace filters, which are deprecated.</p>
+<h2 id="querying-data-from-the-admin-portal">Querying data from the admin portal</h2>
+<p>The easiest way to try out queries you’re considering is to use the admin portal, which you can reach at <a href="https://apigee.com/usergrid/">https://apigee.com/usergrid/</a>.</p>
+<p>To try out queries in the portal, use the following steps:</p>
+<ol style="list-style-type: decimal">
+<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>
+</div>
+</li>
+<li>Under <strong>Method</strong>, select the HTTP method you want to use, as follows:<br>- GET to retrieve data.
+<ul>
+<li>POST to create data.</li>
+<li>PUT to update data.</li>
+<li>DELETE to delete data.</li>
+</ul>
+</li>
+<li>In the <strong>Path</strong> box, enter the path to the collection you’re querying.</li>
+<li>
+<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>
+<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>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/querying-your-app-services-data.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[08/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/group/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/group/index.html b/content/publish/docs/group/index.html
new file mode 100644
index 0000000..7aa230b
--- /dev/null
+++ b/content/publish/docs/group/index.html
@@ -0,0 +1,1301 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Group</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Group</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/group.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#group">Group</a><ul>
+<li>
+<a href="#creating-a-new-group">Creating a new group</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#adding-a-user-to-a-group">Adding a user to a group</a><ul>
+<li><a href="#request-uri-1">Request URI</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example---request-1">Example - Request</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-group">Getting a group</a><ul>
+<li><a href="#request-uri-2">Request URI</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example---request-2">Example - Request</a></li>
+<li><a href="#example---response-2">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#updating-a-group">Updating a group</a><ul>
+<li><a href="#request-uri-3">Request URI</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example---request-3">Example - Request</a></li>
+<li><a href="#example---response-3">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#deleting-a-user-from-a-group">Deleting a user from a group</a><ul>
+<li><a href="#request-uri-4">Request URI</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+<li><a href="#curl-example---request">cURL Example - Request</a></li>
+<li><a href="#example---response-4">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#deleting-a-group">Deleting a group</a><ul>
+<li><a href="#request-uri-5">Request URI</a></li>
+<li><a href="#parameters-5">Parameters</a></li>
+<li><a href="#example---request-4">Example - Request</a></li>
+<li><a href="#example---response-5">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-groups-feed">Getting a group’s feed</a><ul>
+<li><a href="#request-uri-6">Request URI</a></li>
+<li><a href="#parameters-6">Parameters</a></li>
+<li><a href="#example---request-5">Example - Request</a></li>
+<li><a href="#example---response-6">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-all-users-in-a-group">Getting all users in a group</a><ul>
+<li><a href="#request-uri-7">Request URI</a></li>
+<li><a href="#parameters-7">Parameters</a></li>
+<li><a href="#example---request-6">Example - Request</a></li>
+<li><a href="#example---response-7">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#group-properties">Group properties</a><ul>
+<li><a href="#general-properties">General properties</a></li>
+<li><a href="#set-properties">Set properties</a></li>
+<li><a href="#collections">Collections</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="group">Group</h1>
+<p>A group entity organizes users into a group. Using Apache Usergrid APIs you can create, retrieve, update, or delete a group. You can also add or delete a user to or from a group.</p>
+<p>See <a href="#group_properties">Group entity properties</a> for a list of the system-defined properties for group entities. In addition, you can create group properties specific to your application.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-a-new-group">Creating a new group</h2>
+<p>Use the POST method to create a new group. Groups use paths to indicate their unique names. This allows you to create group hierarchies by using slashes. For this reason, you need to specify a path property for a new group.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /{org_id}/{app_id}/groups</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_group">cURL</a></li>
+<li><a href="#javascript_create_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_group">Ruby</a></li>
+<li><a href="#nodejs_create_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups" -d '{"path":"mynewgroup"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups',
+    body:{ path:'mynewgroup' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups'].post path: 'mynewgroup'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups',
+    body:{ path:'mynewgroup' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+"action": "post",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066016571,
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+ ],
+"timestamp": 1331066016563,
+"duration": 35,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="adding-a-user-to-a-group">Adding a user to a group</h2>
+<p>Use the POST method to add a user to a group. If the named group does not yet exist, an error message is returned.</p>
+<h3 id="request-uri-1">Request URI</h3>
+<p>POST /{org_id}/{app_id}/groups/{uuid|groupname}/users/{uuid|username}</p>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or username of user</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-1">Example - Request</h3>
+<ul>
+<li><a href="#curl_add_user">cURL</a></li>
+<li><a href="#javascript_add_user">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_add_user">Ruby</a></li>
+<li><a href="#nodejs_add_user">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mynewgroup/users/john.doe"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup/users/john.doe'].post nil</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-1">Example - Response</h3>
+<pre><code>{
+"action": "post",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+"entities": [
+      {
+        "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+        "type": "user",
+        "nanme": "John Doe",
+        "created": 1327517852364015,
+        "modified": 1327517852364015,
+        "activated": true,
+        "email": "john.doe@mail.com",
+        "metadata": {
+          "connecting": {
+            "owners":   "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+             },
+          "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+          "sets": {
+            "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+            "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+             },
+          "collections": {
+            "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+            "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+            "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+            "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+            "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+            "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+            "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+             }
+        },
+        "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+        "username": "john.doe"
+      }
+   ],
+   "timestamp": 1331066031380,
+   "duration": 64,
+   "organization" : "my-org",
+   "applicationName": "my-app"
+}</code></pre>
+<h2 id="getting-a-group">Getting a group</h2>
+<p>Use the GET method to retrieve a group.</p>
+<h3 id="request-uri-2">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}</p>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-2">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group">cURL</a></li>
+<li><a href="#javascript_get_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group">Ruby</a></li>
+<li><a href="#nodejs_get_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mynewgroup"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+user = app['mynewgroup'].entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-2">Example - Response</h3>
+<pre><code>{
+"action": "get",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+      "_": [
+        "1331066049869"
+      ]
+},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066016571,
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066050106,
+"duration": 18,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="updating-a-group">Updating a group</h2>
+<p>Use the PUT method to update a group.</p>
+<h3 id="request-uri-3">Request URI</h3>
+<p>PUT /{org_id}{app_id}/groups/{uuid|groupname} {request body}</p>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">request body</td>
+<td align="left">Set of entity properties</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-3">Example - Request</h3>
+<ul>
+<li><a href="#curl_update_group">cURL</a></li>
+<li><a href="#javascript_update_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_update_group">Ruby</a></li>
+<li><a href="#nodejs_update_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X PUT "https://api.usergrid.com/my-org/my-app/groups/mynewgroup" -d '("foo":"bar"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'groups/mynewgroup',
+    body:{ foo:'bar' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+mynewgroup = app['groups/mynewgroup'].put foo: 'bar'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'groups/mynewgroup',
+    body:{ foo:'bar' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-3">Example - Response</h3>
+<pre><code>{
+"action": "put",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066092191,
+      "foo": "bar",
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066092178,
+"duration": 31,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="deleting-a-user-from-a-group">Deleting a user from a group</h2>
+<p>Use the DELETE method to delete a user from the specified group.</p>
+<h3 id="request-uri-4">Request URI</h3>
+<p>DELETE /{org_id}/{app_id}/groups/{uuid|groupname}/users/{uuid|username}</p>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or username of user to be deleted</td>
+</tr>
+</tbody>
+</table>
+<h3 id="curl-example---request">cURL Example - Request</h3>
+<ul>
+<li><a href="#curl_delete_user_group">cURL</a></li>
+<li><a href="#javascript_delete_user_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_user_group">Ruby</a></li>
+<li><a href="#nodejs_delete_user_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup/users/john.doe"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup/users/john.doe'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-4">Example - Response</h3>
+<pre><code>{
+"action": "delete",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+      "_": [
+        "1331066118009"
+      ]
+},
+"path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+"entities": [
+      {
+        "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+        "type": "user",
+        "name": "John Doe",
+        "created": 1327517852364015,
+        "modified": 1327517852364015,
+        "activated": true,
+        "email": "john.doe@mail.com",
+        "metadata": {
+          "connecting": {
+            "owners": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+          },
+          "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+          "sets": {
+            "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+            "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+          },
+          "collections": {
+            "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+            "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+            "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+            "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+            "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+            "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+            "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+          }
+        },
+        "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+        "username": "john.doe"
+      }
+],
+"timestamp": 1331066118193,
+"duration": 236,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="deleting-a-group">Deleting a group</h2>
+<p>Use the DELETE method to delete a group.</p>
+<h3 id="request-uri-5">Request URI</h3>
+<p>DELETE /{org_id}/{app_id}/groups/{uuid|groupname}</p>
+<h3 id="parameters-5">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-4">Example - Request</h3>
+<ul>
+<li><a href="#curl_delete_group">cURL</a></li>
+<li><a href="#javascript_delete_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_group">Ruby</a></li>
+<li><a href="#nodejs_delete_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-5">Example - Response</h3>
+<pre><code>{
+"action": "delete",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+    "_": [
+      "1331066144280"
+    ]
+},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066092191,
+      "foo": "bar",
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066144462,
+"duration": 302,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="getting-a-groups-feed">Getting a group’s feed</h2>
+<p>Use the GET method to retrieve the feed for a group. This gets a list of all the activities that have been posted to this group, that is, the activities for which this group has a relationship (owns).</p>
+<h3 id="request-uri-6">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/feed</p>
+<h3 id="parameters-6">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-5">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_feed">cURL</a></li>
+<li><a href="#javascript_get_group_feed">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_feed">Ruby</a></li>
+<li><a href="#nodejs_get_group_feed">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+activities = app['groups/mygroup/feed'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-6">Example - Response</h3>
+<pre><code>{
+    "action": "get",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params":  {},
+    "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "entities":  [
+       {
+        "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+        "type": "activity",
+        "created": 1353952903811,
+        "modified": 1353952903811,
+        "actor":  {
+          "displayName": "John Doe",
+          "image":  {
+            "duration": 0,
+            "height": 80,
+            "url": "http://www.gravatar.com/avatar/",
+            "width": 80
+          },
+          "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email": "john.doe@gmail.com",
+        "username": "john.doe"
+        },
+        "content": "Hello World!",
+        "metadata":  {
+          "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+          "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+        },
+        "published": 1353952903811,
+        "verb": "post"
+      }
+    ],
+  "timestamp": 1353953272756,
+  "duration": 29,
+  "organization": "my-org",
+  "applicationName": "my-app"</code></pre>
+<h2 id="getting-all-users-in-a-group">Getting all users in a group</h2>
+<p>Use the GET method to retrieve all the users in a group.</p>
+<h3 id="request-uri-7">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/users</p>
+<h3 id="parameters-7">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-6">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_users">cURL</a></li>
+<li><a href="#javascript_get_group_users">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_users">Ruby</a></li>
+<li><a href="#nodejs_get_group_users">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/users"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+activities = app['groups/mygroup/users'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-7">Example - Response</h3>
+<pre><code>{
+  "action" : "get",
+  "application" : "e7127751-6985-11e2-8078-02e81aeb2129",
+  "params" : { },
+  "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users",
+  "uri" : "http://api.usergrid.com/myorg/sandbox/groups/d20976ff-802f-11e2-b690-02e81ae61238/users",
+  "entities" : [ {
+    "uuid" : "cd789b00-698b-11e2-a6e3-02e81ae236e9",
+    "type" : "user",
+    "name" : "barney",
+    "created" : 1359405994314,
+    "modified" : 1361894320470,
+    "activated" : true,
+    "email" : "barney@apigee.com",
+    "metadata" : {
+      "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9",
+      "sets" : {
+        "rolenames" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/rolenames",
+        "permissions" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/permissions"
+      },
+      "collections" : {
+        "activities" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/activities",
+        "devices" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/devices",
+        "feed" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/feed",
+        "groups" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/groups",
+        "roles" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/roles",
+        "following" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/following",
+        "followers" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/followers"
+      }
+    },
+    "name" : "barney",
+    "picture" : "http://www.gravatar.com/avatar/00767101f6b4f2cf5d02ed510dbcf0b4",
+    "test" : "fred",
+    "username" : "barney"
+  } ],
+  "timestamp" : 1361903248398,
+  "duration" : 24,
+  "organization" : "myorg",
+  "applicationName" : "sandbox"
+}</code></pre>
+<h2 id="group-properties">Group properties</h2>
+<p>The following are the system-defined properties for group entities. The system-defined properties are reserved. You cannot use these names to create other properties for a group entity. In addition the groups name is reserved for the group collection — you can’t use it to name another collection.</p>
+<p>The look-up properties for the entities of type group are UUID and path, that is, you can use the uuid or path property to reference a group in an API call. However, you can search on a group using any property of the group entity. See <a href="/queries-and-parameters">Queries and parameters</a> for details on searching.</p>
+<h3 id="general-properties">General properties</h3>
+<p>Groups have the following general properties.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Group’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">Type of entity, in this case “user”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">path</td>
+<td align="left">string</td>
+<td align="left">Valid slash-delimited group path (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Display name</td>
+</tr>
+</tbody>
+</table>
+<h3 id="set-properties">Set properties</h3>
+<p>Groups have the following set properties.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">connections</td>
+<td align="left">string</td>
+<td align="left">Set of connection types (e.g., likes)</td>
+</tr>
+<tr class="even">
+<td align="left">rolenames</td>
+<td align="left">string</td>
+<td align="left">Set of roles assigned to a group</td>
+</tr>
+<tr class="odd">
+<td align="left">credentials</td>
+<td align="left">string</td>
+<td align="left">Set of group credentials</td>
+</tr>
+</tbody>
+</table>
+<h3 id="collections">Collections</h3>
+<p>Groups have the following collections.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users in the group</td>
+</tr>
+<tr class="even">
+<td align="left">activities</td>
+<td align="left">activity</td>
+<td align="left">Collection of activities a user has performed</td>
+</tr>
+<tr class="odd">
+<td align="left">feed</td>
+<td align="left">activity</td>
+<td align="left">Inbox of activity notifications a group has received</td>
+</tr>
+<tr class="even">
+<td align="left">roles</td>
+<td align="left">role</td>
+<td align="left">Set of roles to which a group belongs</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/group.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/groups/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/groups/index.html b/content/publish/docs/groups/index.html
new file mode 100644
index 0000000..20bc073
--- /dev/null
+++ b/content/publish/docs/groups/index.html
@@ -0,0 +1,375 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Groups</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Groups</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/groups.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#general-properties">General properties</a></li>
+<li><a href="#set-properties">Set properties</a></li>
+<li><a href="#collections">Collections</a></li>
+</ul>
+</div>
+<p>You can organize app users into groups. Groups have their own Activity Feed, their own permissions and be a useful alternative to Roles, depending on how you model your data. Groups were originaly designed to emulate Facebook Groups, so they will tend to function about the same way Facebook Groups would.</p>
+<p>Groups are hierarchical. Every member of the group /groups/california/san-francisco is also a member of the group /groups/california.</p>
+<p>Groups are also a great way to model things such a topic subscriptions. For example, you could allow people to subscribe (i.e. become a member of the group and be alerted via Activities) to /groups/memes/dogs/doge or subscribe to all /groups/memes/dogs</p>
+<h3 id="general-properties">General properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Group’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">Type of entity, in this case “user”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">path</td>
+<td align="left">string</td>
+<td align="left">Valid slash-delimited group path (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Display name</td>
+</tr>
+</tbody>
+</table>
+<h3 id="set-properties">Set properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">connections</td>
+<td align="left">string</td>
+<td align="left">Set of connection types (e.g., likes)</td>
+</tr>
+<tr class="even">
+<td align="left">rolenames</td>
+<td align="left">string</td>
+<td align="left">Set of roles assigned to a group</td>
+</tr>
+<tr class="odd">
+<td align="left">credentials</td>
+<td align="left">string</td>
+<td align="left">Set of group credentials</td>
+</tr>
+</tbody>
+</table>
+<h3 id="collections">Collections</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users in the group</td>
+</tr>
+<tr class="even">
+<td align="left">activities</td>
+<td align="left">activity</td>
+<td align="left">Collection of activities a user has performed</td>
+</tr>
+<tr class="odd">
+<td align="left">feed</td>
+<td align="left">activity</td>
+<td align="left">Inbox of activity notifications a group has received</td>
+</tr>
+<tr class="even">
+<td align="left">roles</td>
+<td align="left">role</td>
+<td align="left">Set of roles to which a group belongs</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/groups.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[22/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/admin-portal/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/admin-portal/index.html b/content/publish/docs/admin-portal/index.html
new file mode 100644
index 0000000..8df9d31
--- /dev/null
+++ b/content/publish/docs/admin-portal/index.html
@@ -0,0 +1,626 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Admin portal</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Admin portal</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/admin-portal.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#admin-portal">Admin portal</a><ul>
+<li><a href="#account-home-page">Account Home page</a></li>
+<li>
+<a href="#applications">Applications</a><ul>
+<li><a href="#application-dashboard">Application Dashboard</a></li>
+<li><a href="#administration-for-multiple-organizations">Administration for multiple organizations</a></li>
+</ul>
+</li>
+<li><a href="#authentication-credentials">Authentication credentials</a></li>
+<li>
+<a href="#exploring-the-api-using-the-shell">Exploring the API using the shell</a><ul>
+<li><a href="#entering-api-requests-in-the-shell">Entering API requests in the shell</a></li>
+<li><a href="#adding-properties-using-the-shell">Adding properties using the shell</a></li>
+</ul>
+</li>
+<li><a href="#analytics">Analytics</a></li>
+<li><a href="#creating-a-sandbox-app">Creating a sandbox app</a></li>
+<li><a href="#displaying-api-calls-as-curl-commands">Displaying API calls as cURL commands</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="admin-portal">Admin portal</h1>
+<p>The <em>admin portal</em> is the primary administrative user interface for working with App services. The portal is also the most complete reference application that demonstrates how to incorporate App services with JavaScript.</p>
+<p>The admin portal is available online at <a href="https://apigee.com/usergrid/">https://apigee.com/usergrid/</a>. The portal source code is fully open source and forkable, available for download on GitHub at <a href="https://github.com/usergrid/portal">https://github.com/usergrid/portal</a>. You can easily extend the portal, embed it into your own applications, or inspect the code to learn best practices associated with the App services API. The App services JavaScript client is also part of the GitHub portal project.</p>
+<p>The portal opens in your default web browser, either Safari, Firefox, or Google Chrome. The article <a href="/messagee-example">Messagee Example</a> describes how to use the portal to run a sample application, whereas this section describes portal components in more detail and highlights App services features.</p>
+<h2 id="account-home-page">Account Home page</h2>
+<p>When you log in to the portal, you are presented with a Home page for managing applications and data for your organization. The Home page displays:</p>
+<ul>
+<li>Applications associated with the currently selected organization</li>
+<li>Administrators that are part of that organization</li>
+<li>API credentials for the organization</li>
+<li>Activities performed recently by administrators</li>
+<li>A menu for building, organizing, and managing application content</li>
+</ul>
+<h2 id="applications">Applications</h2>
+<p>For every app that you build, you need a defined application space within App services.  By default, a test application called “sandbox” is created for you automatically. For ease of use, this default app has all authentication disabled and should be used for learning / testing purposes only. You may also create as many additional applications as needed.</p>
+<p>This unique application space allows each app to have its own private infrastructure to store its objects and data. In some cases, if you have multiple apps that share much of the same data and users, you might represent them in App services as a single application, which would allow those apps to share the same data space.</p>
+<h3 id="application-dashboard">Application Dashboard</h3>
+<p>The Dashboard shows a variety of statistical data for the selected application. You can see the activity level, the total number of entities, entities created in the last day, week, and month, and other vital statistics for monitoring application health as well as quota limits.</p>
+<h3 id="administration-for-multiple-organizations">Administration for multiple organizations</h3>
+<p>The portal is designed to let you work within the context of a single organization at any one point in time. Because it is possible to be an administrator for multiple organizations, you can switch between organizations using the menu in the upper right corner.</p>
+<h2 id="authentication-credentials">Authentication credentials</h2>
+<p>The portal provides a convenient way to set and retrieve credentials for API access. If you click your email address at the top of the Home page, you can set your password for both the portal and for OAuth2 username/password Admin-level access. On the Home page for the selected organization, you can see OAuth2 client credentials for organization-wide access to applications owned by that organization. Clicking the Settings button (on the left sidebar) displays OAuth2 credentials for the selected application. See the discussion on the <a href="/app-services-security-model">App services security model</a> for more information on specifying credentials and authentication.</p>
+<h2 id="exploring-the-api-using-the-shell">Exploring the API using the shell</h2>
+<p>When you first create a new Organization account, there are no applications associated with the account. To create an application, click New Application in your organization’s Home page. You are presented with a dialog box that prompts you for the information needed to create a new app. When the app is created, a number of options are enabled in the left sidebar for viewing and administering that application’s data. Before you get started with the high-level tools, create a new application, go to the left sidebar, and click the Shell button to try out a few basic API commands.</p>
+<h3 id="entering-api-requests-in-the-shell">Entering API requests in the shell</h3>
+<p>The shell interface is a simple way to get started using the App services API. It provides a command-line environment within your web browser for trying out interactive commands. One thing to keep in mind when using the shell is that App services API endpoints usually take the form of:</p>
+<pre><code>https://api.usergrid.com/my-org-id/my-app-id/users</code></pre>
+<p>where my-org-id is the organization identifier(uuid), my-app-id is your application identifier(uuid) and users refers to the collection of user objects defined for your application. Refer to the <a href="/using-api">Using the API</a> section for more information on constructing API requests.</p>
+<p>When using the shell, you can abbreviate a fully qualified path name, omitting everything through the application identifier. The above URL request, which lists all the users in the application my-app-id, simply becomes:</p>
+<pre><code>/users</code></pre>
+<p>If you type /users into the shell, it’s the same as an HTTP GET command to the API endpoint for the currently selected portal application. (The current application is selected using the Applications menu in the left sidebar.)</p>
+<p>To create a new user entity using the shell, enter the following and press return:</p>
+<pre><code>post /users {"username":"john.doe","email":"john.doe@gmail.com"}</code></pre>
+<p>Note that there is a space after the path and before the JSON representation.</p>
+<p>You’ve now created a new user in your application. You should see something like the following displayed as a result:</p>
+<pre><code>&gt; post /users {"username":"john.doe","email":"john.doe@gmail.com"}
+/users
+{
+  "action": "post",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {},
+  "path": "/users",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+  "entities": [
+    {
+      "uuid": "0e47f040-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "username": "john.doe",
+      "email": "john.doe@gmail.com",
+      "created": 1315523992687007,
+      "modified": 1315523992687007,
+      "metadata": {
+        "path": "/users/0e47f040-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      }
+    }
+  ],
+  "timestamp": 1315523992585,
+  "duration": 162
+}
+&gt;</code></pre>
+<p>Enter the following to create another user:</p>
+<pre><code>post /users {"username":"jane.doe","email":"jane.doe@gmail.com"}</code></pre>
+<p>You should see something like the following result:</p>
+<pre><code>&gt; post /users {"username":"jane.doe","email":"jane.doe@gmail.com"}
+/users
+{
+  "action": "post",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {},
+  "path": "/users",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+  "entities": [
+    {
+      "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "username": "jane.doe",
+      "email": "jane.doe@gmail.com",
+      "created": 1315524171347008,
+      "modified": 1315524171347008,
+      "metadata": {
+        "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      }
+    }
+  ],
+  "timestamp": 1315524171329,
+  "duration": 110
+}
+&gt;</code></pre>
+<p>Now enter the command to list the elements of the users collection again:</p>
+<pre><code>/users</code></pre>
+<p>This time the results should show the two users you added:</p>
+<pre><code>&gt; /users
+/users
+{
+  "action": "get",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {
+    "_": [
+      "1315524221412"
+    ]
+  },
+  "path": "/users",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+  "entities": [
+    {
+      "uuid": "0e47f040-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "created": 1315523992687007,
+      "modified": 1315523992687007,
+      "email": "john.doe@gmail.com",
+      "metadata": {
+        "path": "/users/0e47f040-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      },
+      "username": "john.doe"
+    },
+    {
+      "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "created": 1315524171347008,
+      "modified": 1315524171347008,
+      "email": "jane.doe@gmail.com",
+      "metadata": {
+        "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      },
+      "username": "jane.doe"
+    }
+  ],
+  "timestamp": 1315524225021,
+  "duration": 59
+}
+&gt;</code></pre>
+<p>To retrieve a specific user, try the following:</p>
+<pre><code>/users/jane.doe</code></pre>
+<p>You should see results similar to this:</p>
+<pre><code>&gt; /users/jane.doe
+/users/jane.doe
+{
+  "action": "get",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {
+    "_": [
+      "1315524419746"
+    ]
+  },
+  "path": "/users",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+  "entities": [
+    {
+      "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "created": 1315524171347008,
+      "modified": 1315524171347008,
+      "email": "jane.doe@gmail.com",
+      "metadata": {
+        "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      },
+      "username": "jane.doe"
+    }
+  ],
+  "timestamp": 1315524421071,
+  "duration": 107
+}
+&gt;</code></pre>
+<h3 id="adding-properties-using-the-shell">Adding properties using the shell</h3>
+<p>Now, let’s add some information (entity properties) for the user jane.doe. You can assign application-specific or system-defined properties to user entities. (See the You do not have access to view this node for a list of predefined properties for each system-defined entity type.) As an example of adding an application-specific property, let’s add the property city to the user jane.doe by typing:</p>
+<pre><code>put /users/jane.doe {"city" : "san francisco" }</code></pre>
+<p>You should see results similar to this:</p>
+<pre><code>&gt; put /users/jane.doe {"city" : "san francisco" }
+/users/jane.doe
+{
+  "action": "put",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {},
+  "path": "/users",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+  "entities": [
+    {
+      "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+      "type": "user",
+      "created": 1315524171347008,
+      "modified": 1315524526405008,
+      "city": "san francisco",
+      "email": "jane.doe@gmail.com",
+      "metadata": {
+        "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+        "collections": {
+          "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+          "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+          "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+          "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+          "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+          "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+          "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+          "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+        },
+        "sets": {
+          "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+          "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+        }
+      },
+      "username": "jane.doe"
+    }
+  ],
+  "timestamp": 1315524526343,
+  "duration": 84
+}
+&gt;</code></pre>
+<p>Let’s create another type of object. Type the following:</p>
+<pre><code>post /cats {"name" : "felix"}</code></pre>
+<p>You should see results for the collection cats that you created with the entity felix:</p>
+<pre><code>&gt; post /cats {"name" : "felix"}
+/cats
+{
+  "action": "post",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {},
+  "path": "/cats",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/cats",
+  "entities": [
+    {
+      "uuid": "89a05d85-da72-11e0-b93d-12313f0204bb",
+      "type": "cat",
+      "created": 1315524629123008,
+      "modified": 1315524629123008,
+      "metadata": {
+        "path": "/cats/89a05d85-da72-11e0-b93d-12313f0204bb"
+      },
+      "name": "felix"
+    }
+  ],
+  "timestamp": 1315524629068,
+  "duration": 107
+}
+&gt;</code></pre>
+<p>Now let’s update this object by assigning a property color:</p>
+<pre><code>put /cats/felix {"color" : "black"}</code></pre>
+<p>You should see something like the following results:</p>
+<pre><code>&gt; put /cats/felix {"color" : "black"}
+/cats/felix
+{
+  "action": "put",
+  "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+  "params": {},
+  "path": "/cats",
+  "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/cats",
+  "entities": [
+    {
+      "uuid": "89a05d85-da72-11e0-b93d-12313f0204bb",
+      "type": "cat",
+      "created": 1315524629123008,
+      "modified": 1315524724093008,
+      "color": "black",
+      "metadata": {
+        "path": "/cats/89a05d85-da72-11e0-b93d-12313f0204bb"
+      },
+      "name": "felix"
+    }
+  ],
+  "timestamp": 1315524724058,
+  "duration": 57
+}
+&gt;</code></pre>
+<p>You can now click the Collections button in the sidebar to see all of the collections in your application. There are two entities in the users collection and one in the cats collection. Feel free to look around and see how the portal provides a high-level alternative to the API for viewing and manipulating application objects.</p>
+<p>Subsequent sections give details about using the API to access and modify application entities. If you’re ready to start using the App services API, see the You do not have access to view this node for details and examples for each API endpoint.</p>
+<h2 id="analytics">Analytics</h2>
+<p>On the left sidebar, click Analytics to explore this functionality. You can specify parameters for data collection, including what data points you’d like to collect, over what time period, and at what resolution. When you click the Generate button, the results are displayed in tabular form and graphically in the lower portion of the window.</p>
+<h2 id="creating-a-sandbox-app">Creating a sandbox app</h2>
+<p>When you create a new Apache Usergrid account, an app named sandbox is automatically created. In some cases you may want to create (or re-create) the sandbox app. For example, you may want to create a sandbox app for another organization or you may want to create another app for testing purposes. See <a href="/using-sandbox-application">Using a Sandbox Application</a> for details.</p>
+<h2 id="displaying-api-calls-as-curl-commands">Displaying API calls as cURL commands</h2>
+<p>You can display the equivalent cURL syntax for each API call that you make through the admin portal. The calls are displayed in the console area of any of the following browsers: Chrome, Internet Explorer (in the debugger), Firefox (in Firebug), and Safari. For details, see <a href="/displaying-app-services-api-calls-curl-commands">Displaying Apache Usergrid API calls as Curl commands</a>.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/admin-portal.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/admin-user/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/admin-user/index.html b/content/publish/docs/admin-user/index.html
new file mode 100644
index 0000000..1751dcc
--- /dev/null
+++ b/content/publish/docs/admin-user/index.html
@@ -0,0 +1,967 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Admin user</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Admin user</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/admin-user.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#admin-user">Admin user</a><ul>
+<li>
+<a href="#creating-an-admin-user">Creating an admin user</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#updating-an-admin-user">Updating an admin user</a><ul>
+<li><a href="#request-uri-1">Request URI</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example---request-1">Example - Request</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-an-admin-user">Getting an admin user</a><ul>
+<li><a href="#request-uri-2">Request URI</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example---request-2">Example - Request</a></li>
+<li><a href="#example---response-2">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#setting-an-admin-users-password">Setting an admin user’s password</a><ul>
+<li><a href="#request-uri-3">Request URI</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example---request-3">Example - Request</a></li>
+<li><a href="#example---response-3">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#resetting-an-admin-users-password">Resetting an admin user’s password</a><ul>
+<li><a href="#initiating-a-password-reset">Initiating a password reset</a></li>
+<li><a href="#request-uri-4">Request URI</a></li>
+<li><a href="#example---request-4">Example - Request</a></li>
+<li><a href="#example---response-4">Example - Response</a></li>
+<li><a href="#completing-a-password-reset">Completing a password reset</a></li>
+<li><a href="#request-uri-5">Request URI</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+<li><a href="#example---request-5">Example - Request</a></li>
+<li><a href="#example---response-5">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#activating-an-admin-user">Activating an admin user</a><ul>
+<li><a href="#request-uri-6">Request URI</a></li>
+<li><a href="#parameters-5">Parameters</a></li>
+<li><a href="#example---request-6">Example - Request</a></li>
+<li><a href="#example---response-6">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#reactivating-an-admin-user">Reactivating an admin user</a><ul>
+<li><a href="#request-uri-7">Request URI</a></li>
+<li><a href="#parameters-6">Parameters</a></li>
+<li><a href="#example---request-7">Example - Request</a></li>
+<li><a href="#example---response-7">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-an-admin-users-activity-feed">Getting an admin user’s activity feed</a><ul>
+<li><a href="#request-uri-8">Request URI</a></li>
+<li><a href="#parameters-7">Parameters</a></li>
+<li><a href="#example---request-8">Example - Request</a></li>
+<li><a href="#example---response-8">Example - Response</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="admin-user">Admin user</h1>
+<p><a href="/docs/usergrid/content/management-resources">See all management resources</a><a href="/docs/usergrid/content/management-resources"><img src="/docs/sites/docs/files/learnmore%20arrow_0.png"></a></p>
+<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>
+<p>In addition, you can add,  retrieve, or remove an admin user from an organization. For information on these organization-related operations, see <a href="/organization">Organization</a>.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-an-admin-user">Creating an admin user</h2>
+<p>Use the POST method to create an admin user.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /management/organizations/{org}/users {request body}</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<pre><code>{
+  "username" : "jim.admin",
+  "email" : "jim.admin@gmail.com</code></pre>
+<p>“,”name" : “Jim Admin”, “password” : “test12345” }</p>
+</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+result = mgmt.create_user username: 'jim.admin', name: 'Jim Admin', email: 'jim.admin@gmail.com', password: 'test12345'
+jim_admin = result.entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/organizations/my-org/users',
+    body:{ username:'jim.admin', name:'Jim Admin', email:'jim.admin@gmail.com',  
+    password:'test12345' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+  "action": "post",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "jim.admin",
+      "name": "Jim Admin",
+      "email": "jim.admin@gmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+      "htmldisplayEmailAddress": "jim.admin &lt;a href="mailto:jim.admin@gmail.com"&gt;jinm.admin@gmail.com&lt;/a&gt;"
+    }
+  },
+  "timestamp": 1349390189106,
+  "duration": 11808
+}</code></pre>
+<h2 id="updating-an-admin-user">Updating an admin user</h2>
+<p>Use the PUT method to update an admin user.</p>
+<h3 id="request-uri-1">Request URI</h3>
+<p>PUT /management/organizations/{org}/users/{user|username|email|uuid} {request body}</p>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>string user|string username|string email|arg uuid</p></td>
+<td align="left"><p>Admin username, name, email address, or UUID.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of user properties:</p>
+<pre><code>{
+  "city" : "San Francisco",
+  "state" : "California"
+}</code></pre>
+</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-1">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+jim_admin = mgmt['users/jim.admin'].entity
+jim_admin.city = 'San Francisco'
+jim_admin.state = 'California'
+jim_admin.save</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/organizations/my-org/users/jim.admin',
+    body:{ email:'john.doe@mail.com', city:'San Francisco', state:'California' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h3 id="example---response-1">Example - Response</h3>
+<pre><code>{
+  "action": "update user info",
+  "timestamp": 1349479321874,
+  "duration": 0
+}</code></pre>
+<h2 id="getting-an-admin-user">Getting an admin user</h2>
+<p>Use the GET method to retrieve details about an admin user.</p>
+<h3 id="request-uri-2">Request URI</h3>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}</p>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example---request-2">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+jim_admin = mgmt['users/jim.admin'].entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-2">Example - Response</h3>
+<pre><code>{
+  "action": "get admin user",
+  "status": "ok",
+  "data":  {
+    "username": "jim.admin",
+    "token": "YWMt4NqE8Q9GEeLYJhIxPSiO4AAAATo5fQfcG0cEd2h9nwmDmRorkNNrEeQyDOF",
+    "email": "edort1@gmail.com",
+    "organizations":  {
+      "jim.admin":  {
+        "users":  {
+          "jim.admin":  {
+            "applicationId": "00000000-0000-0000-0000-000000000001",
+            "username": "jim.admin",
+            "name": "Jim Admin",
+            "email": "jim.admin@gmail.com",
+            "activated": true,
+            "disabled": false,
+            "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+            "adminUser": true,
+            "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+            "htmldisplayEmailAddress": "jim.admin &lt;&lt;a href="mailto:jim.admin@gmail.com"&gt;jim.admin@gmail.com&gt;"
+    },
+    ...
+    "adminUser": true,
+    "activated": true,
+    "name": "edort1",
+    "applicationId": "00000000-0000-0000-0000-000000000001",
+    "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+    "htmldisplayEmailAddress": "jim.admin &lt;&lt;a href="mailto:jim.admin@gmail.com"&gt;jim.admin@gmail.com&gt;&gt;",
+    "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+    "disabled": false
+  },
+  "timestamp": 1349480786906,</code></pre>
+<h2 id="setting-an-admin-users-password">Setting an admin user’s password</h2>
+<p>Use the PUT method to update an admin user’s password.</p>
+<h3 id="request-uri-3">Request URI</h3>
+<p>PUT /management/organizations/{org}/users/{user|username|email|uuid}/password {request body}</p>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>string user|string username|string email|arg uuid</p></td>
+<td align="left"><p>Admin username, name, email address, or UUID.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>The password property and value:</p>
+<pre><code>{
+  "password": "test123"
+}</code></pre>
+</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-3">Example - Request</h3>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org'
+jim_admin = mgmt['users/jim.admin'].entity
+jim_admin.password = 'test123'
+jim_admin.save</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/organizations/my-org/users/jim.admin',
+    body:{ password:'test123' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-3">Example - Response</h3>
+<pre><code>{
+  "action": "set user password",
+  "timestamp": 1349714010142,
+  "duration": 0
+}</code></pre>
+<h2 id="resetting-an-admin-users-password">Resetting an admin user’s password</h2>
+<p>Resetting an admin user’s password is a two step process. In the first step, you initiate the password reset. This returns a browser page. The page includes a field for the user to enter his or her email address, and a field to enter a response to a Captcha challenge. In the second step, you handle the user’s responses from the form.</p>
+<h3 id="initiating-a-password-reset">Initiating a password reset</h3>
+<p>Use the GET method to initiate the password reset.</p>
+<h3 id="request-uri-4">Request URI</h3>
+<p>GET /management/organizations/{org}/users/resetpw</p>
+<h3 id="example---request-4">Example - Request</h3>
+<ul>
+<li><a href="#curl_init_pw_reset">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+resetpw = mgmt['users/resetpw']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/resetpw'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-4">Example - Response</h3>
+<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
+    &lt;title&gt;Reset Password&lt;/title&gt;
+    &lt;link rel="stylesheet" type="text/css" href="../../css/styles.css" /&gt;
+    &lt;script type="text/javascript"&gt;&gt;
+        var RecaptchaOptions = {
+            theme : 'clean'
+        };
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+    &lt;div class="dialog-area"&gt;
+        &lt;div class="dialog-form-message"&gt;Incorrect Captcha, try again...&lt;/div&gt;
+        &lt;form class="dialog-form" action="" method="post"&gt;
+            &lt;fieldset&gt;
+                &lt;p&gt;
+                    &lt;label for="email"&gt;Please type your &lt;strong&gt;email
+                            address&lt;/strong&gt; or &lt;strong&gt;username&lt;/strong&gt; below.&lt;/label&gt;
+                &lt;/p&gt;
+                &lt;p&gt;
+                    &lt;input class="text_field" id="email" name="email" type="text" /&gt;
+                &lt;/p&gt;
+                &lt;p id="human-proof"&gt;&lt;/p&gt;
+                &lt;script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LdSTNESAAAAAKHdVglHmMu86_EoYxsJjqQD1IpZ"&gt;&lt;/script&gt;
+
+                &lt;p class="buttons"&gt;
+                    &lt;button type="submit"&gt;Submit&lt;/button&gt;
+                &lt;/p&gt;
+            &lt;/fieldset&gt;
+        &lt;/form&gt;
+    &lt;/div&gt;
+&lt;/pre&gt;</code></pre>
+<h3 id="completing-a-password-reset">Completing a password reset</h3>
+<p>Use the POST method to complete the password reset.</p>
+<h3 id="request-uri-5">Request URI</h3>
+<p>POST /management/organizations/{org}/users/resetpw {request body}</p>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<pre><code>{
+  "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>
+<h3 id="example---request-5">Example - Request</h3>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+resetpw = mgmt['users/resetpw']
+resetpw { recaptcha_response_field: 'Atistophanes tseFia', recaptcha_challenge_field: 'Atistophanes tseFia', email: 'jim.admin@gmail.com' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/organizations/my-org/users/resetpw',
+    body:{ 
+       recaptcha_response_field:'Atistophanes tseFia', 
+       recaptcha_challenge_field:'Atistophanes tseFia', 
+       email:'jim.admin@gmail.com' 
+    }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-5">Example - Response</h3>
+<pre><code>{
+  "action": "reset user password",
+  "timestamp": 13546154010321,
+  "duration": 0
+}</code></pre>
+<h2 id="activating-an-admin-user">Activating an admin user</h2>
+<p>Use the GET method to activate an admin user from a link provided in an email notification.</p>
+<h3 id="request-uri-6">Request URI</h3>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/activate?token={token}&amp;confirm={confirm_email}</p>
+<h3 id="parameters-5">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string token</td>
+<td align="left">Activation token (supplied via email).</td>
+</tr>
+<tr class="odd">
+<td align="left">boolean confirm_email</td>
+<td align="left">Send confirmation email (false is the default).</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-6">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/activate',
+    qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-6">Example - Response</h3>
+<pre><code>{
+  "action": "activate user",
+  "timestamp": 1349718021324,
+  "duration": 0
+}</code></pre>
+<h2 id="reactivating-an-admin-user">Reactivating an admin user</h2>
+<p>Use the GET method to reactivate an admin user.</p>
+<h3 id="request-uri-7">Request URI</h3>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/reactivate</p>
+<h3 id="parameters-6">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example---request-7">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/reactivate']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/reactivate'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-7">Example - Response</h3>
+<pre><code>{
+  "action": "reactivate user",
+  "timestamp": 1349735217217,
+  "duration": 3541
+}</code></pre>
+<h2 id="getting-an-admin-users-activity-feed">Getting an admin user’s activity feed</h2>
+<p>Use the GET method to retrieve an admin user’s activity feed.</p>
+<h3 id="request-uri-8">Request URI</h3>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/feed</p>
+<h3 id="parameters-7">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example---request-8">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/feed'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-8">Example - Response</h3>
+<pre><code>{
+  "action": "get admin user feed",
+  "status": "ok",
+ "entities":  [
+     {
+      "uuid": "cf3e981c-fe80-11e1-95c8-12331b144c65",
+      "type": "activity",
+      "created": 1347643370454,
+      "modified": 1347643370454,
+      "actor":  {
+        "displayName": "jim.admin",
+        "objectType": "person",
+        "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+        "entityType": "user"
+      },
+      "category": "admin",
+      "metadata":  {
+        "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz4ZbYf6QEeGVyBIxOxIsVgA",
+        "path": "/users/327b527f-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+      },
+    "object":  {
+    ...
+    },
+    "published": 1342198809251,
+            "title": "&lt;a mailto="jim.admingmail.com"&gt;jim.admin (jim.admin@gmail.com)&lt;/a&gt; created a new organization account named jim.admin",
+            "verb": "create"
+          }
+        ],
+  "timestamp": 1349735719320,</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/admin-user.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[23/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/activity/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/activity/index.html b/content/publish/docs/activity/index.html
new file mode 100644
index 0000000..02ca848
--- /dev/null
+++ b/content/publish/docs/activity/index.html
@@ -0,0 +1,1338 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Activity</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Activity</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/activity.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#activity">Activity</a><ul>
+<li>
+<a href="#creating-an-activity">Creating an activity</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#posting-an-activity-to-a-group">Posting an activity to a group</a><ul>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example---request-1">Example - Request</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#creating-an-activity-for-a-users-followers-in-a-group">Creating an activity for a user’s followers in a group</a><ul>
+<li><a href="#request-uri-1">Request URI</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example---request-2">Example - Request</a></li>
+<li><a href="#example---response-2">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-users-activities">Getting a user’s activities</a><ul>
+<li><a href="#request-uri-2">Request URI</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example---request-3">Example - Request</a></li>
+<li><a href="#example---response-3">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-groups-activities">Getting a group’s activities</a><ul>
+<li><a href="#request-uri-3">Request URI</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+<li><a href="#example---request-4">Example - Request</a></li>
+<li><a href="#example---response-4">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-users-feed">Getting a user’s feed</a><ul>
+<li><a href="#request-uri-4">Request URI</a></li>
+<li><a href="#parameters-5">Parameters</a></li>
+<li><a href="#example---request-5">Example - Request</a></li>
+<li><a href="#example---response-5">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-groups-feed">Getting a group’s feed</a><ul>
+<li><a href="#request-uri-5">Request URI</a></li>
+<li><a href="#parameters-6">Parameters</a></li>
+<li><a href="#example---request-6">Example - Request</a></li>
+<li><a href="#example---response-6">Example - Response</a></li>
+</ul>
+</li>
+<li><a href="#activity-properties">Activity properties</a></li>
+<li><a href="#set-property">Set property </a></li>
+<li><a href="#sample-app">Sample app</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="activity">Activity</h1>
+<p>Most modern applications struggle to manage data streams, such as those that contain an ongoing list of comments, activities, and tweets. In particular, mobile applications are prone to generating very large amounts of data in a data stream. Beyond that, additions to a data stream must often be routed automatically to subscribers or filtered or counted.</p>
+<p>App services provides an activity entity that is specifically designed for data streams. An activity is an entity type that represents activity stream actions (see the <a href="http://activitystrea.ms/specs/json/1.0/">JSON Activity Streams 1.0 specification</a> for more information about these actions).</p>
+<p>When a user creates an activity, it creates a relationship between the activity and the user who created it. Because this relationship exists, the activity will appear in the feed of any of the user’s followers. Think of the Activities endpoint (/users/{uuid|username}/activities) as an “outbox” of news items created by the user. Think of the Feed endpoint (/users/{uuid|username}/feed) as an “inbox” of news items meant to be seen or consumed by the user.</p>
+<p>A user can also post an activity to a group (located at /groups/{uuid|groupname}/activities). This allows you to emulate Facebook-style group functionality, where a limited number of users can share content on a common “wall”. In any of these cases, there is no need to construct publish/subscribe relationships manually.</p>
+<p>Activity entities are particularly useful in applications that enable users to post content to activity streams (also called feeds) and to display activity streams. Some examples of these applications are Twitter, foursquare, and Pinterest. For example, when a Twitter user posts a short, 140-character or less, “tweet”, that activity gets added to the user’s activity stream for display as well as to the activity streams of any of the user’s followers.</p>
+<p>Using App services APIs you can create, retrieve, update, and delete activity entities. See You do not have access to view this node for descriptions of these APIs.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-an-activity" dir="ltr">Creating an activity</h2>
+<p>Use the  POST method to create an activity in the activities collection.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /{org_id}/{app_id}/users/{uuid|username}/activities {request body}</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>arg uuid|string org_id</p></td>
+<td align="left"><p>Organization UUID or organization name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>arg uuid|string app_id</p></td>
+<td align="left"><p>Application UUID or application name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of activity properties:</p>
+<pre><code>{
+  "actor":
+    {
+    "displayName":"John Doe",
+    "uuid":"1f3567aa-da83-11e1-a</code></pre>
+<p>fad-12313b01d5c1“,     ”username“:”john.doe“,     ”image“:{       ”duration“:0,       ”height“:80,       ”url“:”http://www.gravatar .com/avatar/“,”width“:80},   ”email“:”john.doe@gmail.com“},   ”verb“:”post“,   ”content“:”Hello World!“     }</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_activity">cURL</a></li>
+<li><a href="#javascript_create_activity">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_activity">Ruby</a></li>
+<li><a href="#nodejs_create_activity">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/users/john.doe/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+"image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+"email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'users/john.doe/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        // success — POST worked. Data will contain raw results from API call        
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app.create_activity { actor: { displayName: 'John Doe', uuid: '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'users/john.doe/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        // success — POST worked. Data will contain raw results from API call        
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+ "action" : "post",
+ "application" : "5111c463-6a42-11e1-b6dd-1231380a0284",
+ "params" : {
+ },
+ "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities",
+ "uri" : "https://api.usergrid.com/5111c463-6a42-11e1-b6dd-1231380a0284/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities",
+ "entities" : [ {
+   "uuid" : "da448955-f3aa-11e1-8042-12313d331ae8",
+   "type" : "activity",
+   "created" : 1346445092974,
+   "modified" : 1346445092974,
+   "actor" : {
+     "displayName" : "John Doe",
+     "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+     "username" : "john.doe",
+     "image" : {
+       "duration" : 0,
+       "height" : 80,
+       "url" : "http://www.gravatar.com/avatar/",
+       "width" : 80
+     },
+     "email" : "john.doe@gmail.com"
+   },
+   "content" : "Hello World!",
+   "metadata" : {
+     "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities/da448955-f3aa-11e1-8042-12313d331ae8"
+   },
+   "published" : 1346445092974,
+   "verb" : "post"
+ } ],
+ "timestamp" : 1346445092827,
+ "duration" : 1406,
+ "organization": "my-org",
+ "applicationName": "my-app"
+}</code></pre>
+<p><strong>Note:</strong> Anytime a logged-in user makes a request, you can substitute “me” for the uuid or username. So the format of a request to create an activity for the currently logged-in user would look like this:</p>
+<p>POST /{org_id}/{app_id}/users/me/activities {request body}</p>
+<p>The users/me endpoint is accessible only if you provide an access token with the request. If you don’t provide an access token with the request, that is, you make an anonymous (or “guest”) call, the system will not be able to determine which user to return as /users/me.</p>
+<p>When you create an activity it creates a relationship between the activity and the user who created it. In other words, the newly created activity above belongs to john.doe. Another way of saying this is the user “owns” the activity. And because this relationship exists, the activity will appear in the feed of any of the user’s followers (in this example, anyone who is following john.doe). However, it will not appear in the feed of people the user follows. The activity is accessible at the /activites endpoint to users who have the permission to read that endpoint.</p>
+<p>Notice the properties specified in the request body in the previous example are <em>actor</em>, <em>verb</em>, and <em>content</em>. The <em>actor</em>, <em>verb</em>, and <em>content</em> properties are built into the Activity entity (see <a href="#properties">System-defined activity properties</a>). The actor property specifies properties of the entity that performs the action (here, user john.doe). The gravatar URL is used to create an icon for the activity. And because an Activity is simply an Apache Usergrid entity, you can also create custom properties.</p>
+<p>The <em>verb</em> parameter is descriptive. You can use it to indicate what type of activity is posted, for example, an image versus text. The value<em>post</em> is defined in the JSON Activity Streams specification as “the act of authoring an object and then publishing it online.“</p>
+<h2 id="posting-an-activity-to-a-group" dir="ltr">Posting an activity to a group</h2>
+<p>Use the POST method to post an activity to a specific group. In this case the activity is created in the activities collection and is accessible at the /activities endpoint to users who have the permission to read that endpoint. In addition, a relationship is established between the activity and the group, and because of that, the activity will appear in the group’s feed. The group “owns” the activity. Also, the activity will be published in the feed of all users that are members of the group.</p>
+<p>Request URI</p>
+<p>POST /{org_id}/{app_id}/groups/{uuid|groupname}/activities {request body}</p>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>arg uuid|string org_id</p></td>
+<td align="left"><p>Organization UUID or organization name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>arg uuid|string app_id</p></td>
+<td align="left"><p>Application UUID or application name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>arg uuid|string groupname</p></td>
+<td align="left"><p>UUID or name of the group</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of activity properties:</p>
+<pre><code>{
+  "actor":
+    {
+    "displayName":"John Doe",
+    "uuid":"1f3567aa-da83-11e1-a</code></pre>
+<p>fad-12313b01d5c1“,     ”username“:”john.doe“,     ”image“:{       ”duration“:0,       ”height“:80,       ”url“:”http://www.gravatar .com/avatar/“,”width“:80},   ”email“:”john.doe@gmail.com“},   ”verb“:”post“,   ”content“:”Hello World!“     }</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-1">Example - Request</h3>
+<ul>
+<li><a href="#curl_post_activity_group">cURL</a></li>
+<li><a href="#javascript_post_activity_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_post_activity_group">Ruby</a></li>
+<li><a href="#nodejs_post_activity_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mygroup/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+"image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+"email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mygroup/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — POST worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mygroup/activities'].post { actor:{ displayName: 'John Doe', uuid : '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mygroup/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — POST worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<p>Because this relationship exists, this activity will appear in the feed of all users who are members of mygroup. It won’t appear in the feeds of the group members’ followers or in feeds of users they follow.</p>
+<h3 id="example---response-1">Example - Response</h3>
+<pre><code>{
+  "action": "post",
+  "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+  "params":  {},
+  "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+  "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+  "entities":  [
+     {
+      "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+      "type": "activity",
+      "created": 1353952903811,
+      "modified": 1353952903811,
+      "actor":  {
+        "displayName": "John Doe",
+        "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+        "username": "john.doe",
+        "image":  {
+          "duration": 0,
+          "height": 80,
+          "url": "http://www.gravatar.com/avatar/",
+          "width": 80
+        },
+        "email": "john.doe@gmail.com"
+      },
+      "content": "Hello World!",
+      "metadata":  {
+        "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+      },
+      "published": 1353952903811,
+      "verb": "post"
+    }
+  ],
+  "timestamp": 1353952903800,
+  "duration": 81,
+  "organization": "my-org",
+  "applicationName": "my-app"</code></pre>
+<h2 id="creating-an-activity-for-a-users-followers-in-a-group" dir="ltr">Creating an activity for a user’s followers in a group</h2>
+<p>Use the POST method to create an activity that will be published only in the feeds of users who (1) follow you, and (2) are in the same group to which you posted the activity. This is useful if you want to create specific groups of friends (for example, acquaintances or colleagues) and publish content to them with more precise privacy settings. This allows you to re-create a privacy model similar to Google+’s Circles or Facebook current privacy system.</p>
+<p>When you create an activity for a user’s followers in a group:</p>
+<ul>
+<li>The activity is accessible at the /activities endpoint to users who have the permission to read that endpoint. The activity will not be cross-posted to the group’s activity endpoint (/groups/{uuid|groupname}/activities)</li>
+<li>A relationship is automatically created between the activity entity that was just created and the user within that group (/groups/{uuid|groupname}/users/{uuid|username})</li>
+<li>The user within the group (/groups/{uuid|groupname}/users/{uuid|username}) becomes the owner of the activity (through the owner property in the activity).</li>
+</ul>
+<h3 id="request-uri-1">Request URI</h3>
+<p>POST /{org_id}/{app_id}/groups/{uuid|groupname}/users/{uuid|username}/activities {request body}</p>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>arg uuid|string org_id</p></td>
+<td align="left"><p>Organization UUID or organization name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>arg uuid|string app_id</p></td>
+<td align="left"><p>Application UUID or application name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>arg uuid|string groupname</p></td>
+<td align="left"><p>UUID or name of the group</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>arg uuid|string username</p></td>
+<td align="left"><p>UUID or name of the user</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of activity properties:</p>
+<pre><code>{
+  "actor":
+    {
+    "displayName":"John Doe",
+    "uuid":"1f3567aa-da83-11e1-a</code></pre>
+<p>fad-12313b01d5c1“,     ”username“:”john.doe“,     ”image“:{       ”duration“:0,       ”height“:80,       ”url“:”http://www.gravatar .com/avatar/“,”width“:80},   ”email“:”john.doe@gmail.com“},   ”verb“:”post“,   ”content“:”Hello World!“     }</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-2">Example - Request</h3>
+<ul>
+<li><a href="#curl_post_activity_user_group">cURL</a></li>
+<li><a href="#javascript_post_activity_user_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_post_activity_user_group">Ruby</a></li>
+<li><a href="#nodejs_post_activity_user_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mygroup/users/john.doe/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+"image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+"email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mygroup/users/john.doe/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — POST worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mygroup/users/john.doe/activities'].post { actor:{ displayName: 'John Doe', uuid : '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mygroup/users/john.doe/activities',
+    body:{"actor":
+           {"displayName":"John Doe",
+            "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username":"john.doe",
+            "image":
+             {"duration":0,
+              "height":80,
+              "url":"http://www.gravatar.com/avatar/",
+              "width":80},
+              "email":"john.doe@gmail.com"},
+             "verb":"post",
+             "content":"Hello World!"}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — POST worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<p>Because this relationship exists, this activity will appear in the feed of all users who are members of mygroup. It won’t appear in the feeds of the group members’ followers or in feeds of users they follow.</p>
+<h3 id="example---response-2">Example - Response</h3>
+<pre><code>{
+  "action" : "post",
+  "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+  "params" : { },
+  "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+  "uri" : "https://api.usergrid.com/my-org/my-app/
+/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+  "entities" : [ {
+    "uuid" : "2440ca58-49ff-11e2-84c0-02e81adcf3d0",
+    "type" : "activity",
+    "created" : 1355937094825,
+    "modified" : 1355937094825,
+    "actor" : {
+      "displayName" : "John Doe",
+      "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+      "username" : "john.doe",
+      "image" : {
+        "duration" : 0,
+        "height" : 80,
+        "url" : "http://www.gravatar.com/avatar/",
+        "width" : 80
+      },
+      "email" : "john.doe@gmail.com"
+    },
+    "content" : "Happy New Year!",
+    "metadata" : {
+      "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities/2440ca58-49ff-11e2-84c0-02e81adcf3d0"
+    },
+    "published" : 1355937094825,
+    "verb" : "post"
+  } ],
+  "timestamp" : 1355937094789,
+  "duration" : 95,
+  "organization" : "my-org",
+  "applicationName" : "my-app"</code></pre>
+<h2 id="getting-a-users-activities" dir="ltr">Getting a user’s activities</h2>
+<p>Use the GET method to retrieve a user’s activities. This returns the activities posted on the user (that is, to /users/{uuid|username}/activities), but not the activities of the people that user follows. To retrieve the user’s activities and activities of the users he follows, you need to get the user’s feed.</p>
+<h3 id="request-uri-2">Request URI</h3>
+<p>GET /{org_id}/{app_id}/users/{uuid|username}/activities</p>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or name of the user</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-3">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_user_activities">cURL</a></li>
+<li><a href="#javascript_get_user_activities">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_user_activities">Ruby</a></li>
+<li><a href="#nodejs_get_user_activities">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/users/john.doe/activities"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'users/john.doe/activities'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['users/john.doe/activities'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'users/john.doe/activities'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<h3 id="example---response-3">Example - Response</h3>
+<pre><code>{
+  "action" : "get",
+  "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+  "params" : { },
+  "path" : "/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities",
+  "uri" : "https://api.usergrid.com/my-org/my-app/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities",
+  "entities" : [ {
+    "uuid" : "d57e5b00-37f1-11e2-a0f7-02e81ae640dc",
+    "type" : "activity",
+    "created" : 1353952258301,
+    "modified" : 1353952258301,
+    "actor" : {
+      "displayName" : "John Doe",
+      "image" : {
+        "duration" : 0,
+        "height" : 80,
+        "url" : "http://www.gravatar.com/avatar/",
+        "width" : 80
+      },
+      "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+      "email" : "john.doe@gmail.com",
+      "username" : "john.doe"
+    },
+    "content" : "Hello World!",
+    "metadata" : {
+      "path" : "/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities/d57e5b00-37f1-11e2-a0f7-02e81ae640dc"
+    },
+    "published" : 1353952258301,
+    "verb" : "post"
+  }, 
+  "timestamp" : 1355933909077,
+  "duration" : 39,
+  "organization" : "my-org",
+  "applicationName" : "my-app"}</code></pre>
+<h2 id="getting-a-groups-activities" dir="ltr">Getting a group’s activities</h2>
+<p>Use the GET method to retrieve a group’s activities. This returns the activities created on or by the group (that is, to /groups/{uuid|groupname}/activities), but not the activities of followers of group members. To retrieve the group’s activities and activities of followers, you need to get the group’s feed.</p>
+<h3 id="request-uri-3">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/activities</p>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-4">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_activities">cURL</a></li>
+<li><a href="#javascript_get_group_activities">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_activities">Ruby</a></li>
+<li><a href="#nodejs_get_group_activities">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/activities"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/activities'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mygroup/activities'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/activities'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<h3 id="example---response-4">Example - Response</h3>
+<pre><code>{
+  "action" : "get",
+  "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+  "params" : { },
+  "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+  "uri" : "https://api.usergrid.com/my-org/my-app//groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+  "entities" : [ {
+    "uuid" : "e7a47a41-4310-11e2-8861-02e81adcf3d0",
+    "type" : "activity",
+    "created" : 1355175065939,
+    "modified" : 1355175065939,
+    "actor" : {
+      "displayName" : "Martin Smith",
+      "id" : "tag:example.org,2011:martin",
+      "image" : {
+        "duration" : 0,
+        "height" : 250,
+        "url" : "http://example.org/martin/image",
+        "width" : 250
+      },
+      "objectType" : "person",
+      "url" : "http://example.org/martin"
+    },
+    "metadata" : {
+      "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/e7a47a41-4310-11e2-8861-02e81adcf3d0"
+    },
+    "object" : {
+      "id" : "tag:example.org,2011:abc123/xyz",
+      "url" : "http://example.org/blog/2011/02/entry"
+    },
+    "published" : 1355175065939,
+    "target" : {
+      "url" : "http://example.org/blog/",
+      "objectType" : "blog",
+      "id" : "tag:example.org,2011:abc123",
+      "displayName" : "Martin's Blog"
+    },
+    "verb" : "post"
+  }, {
+    "uuid" : "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+    "type" : "activity",
+    "created" : 1353952903811,
+    "modified" : 1353952903811,
+    "actor" : {
+      "displayName" : "John Doe",
+      "image" : {
+        "duration" : 0,
+        "height" : 80,
+        "url" : "http://www.gravatar.com/avatar/",
+        "width" : 80
+      },
+      "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+      "email" : "john.doe@gmail.com",
+      "username" : "john.doe"
+    },
+    "content" : "Hello World!",
+    "metadata" : {
+      "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+    },
+    "published" : 1353952903811,
+    "verb" : "post"
+  } ],
+  "timestamp" : 1355934203039,
+  "duration" : 141,
+  "organization" : "my-org",
+  "applicationName" : "my-app"
+}</code></pre>
+<h2 id="getting-a-users-feed" dir="ltr">Getting a user’s feed</h2>
+<p>Use the GET method to retrieve a user’s feed.</p>
+<h3 id="request-uri-4">Request URI</h3>
+<p>GET /{org_id}/{app_id}/users/{uuid|username}/feed</p>
+<h3 id="parameters-5">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or name of the user</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-5">Example - Request</h3>
+<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/my-org/my-app/users/john.doe/feed"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'users/john.doe/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['users/john.doe/feed'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'users/john.doe/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success GET worked. Data will contain raw results from API call.       
+    }
+});</code></pre>
+<h3 id="example---response-5">Example - Response</h3>
+<pre><code>{
+  "action" : "get",
+  "application" : "5111c463-6a42-11e1-b6dd-1231380a0284",
+  "params" : {
+    "_" : [ "1346438183429" ]
+  },
+  "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed",
+  "uri" : "https://api.usergrid.com/5111c463-6a42-11e1-b6dd-1231380a0284/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed",
+  "entities" : [ {
+    "uuid" : "ffd79647-f399-11e1-aec3-12313b06ae01",
+    "type" : "activity",
+    "created" : 1346437854569,
+    "modified" : 1346437854569,
+    "actor" : {
+      "displayName" : "John Doe",
+      "image" : {
+        "duration" : 0,
+        "height" : 80,
+        "url" : "http://www.gravatar.com/avatar/",
+        "width" : 80
+      },
+      "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+      "email" : "john.doe@gmail.com",
+      "username" : "john.doe"
+    },
+    "content" : "Hello World!",
+    "metadata" : {
+      "cursor" : "gGkAAQMAgGkABgE5ffM1aQCAdQAQ_9eWR_OZEeGuwxIxOwauAQCAdQAQABlaOvOaEeGuwxIxOwauAQA",
+      "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed/ffd79647-f399-11e1-aec3-12313b06ae01"
+    },
+    "published" : 1346437854569,
+    "verb" : "post"
+  }, {
+    "uuid" : "2482a1c5-e7d0-11e1-96f6-12313b06d112",
+    "type" : "activity",
+    "created" : 1345141694958,
+    "modified" : 1345141694958,
+    "actor" : {
+      "displayName" : "moab",
+      "image" : {
+        "duration" : 0,
+        "height" : 80,
+        "url" : "http://www.gravatar.com/avatar/",
+        "width" : 80
+      },
+      "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+      "email" : "massoddb@mfdsadfdsaoabl.com",
+      "username" : "moab"
+    },
+    "content" : "checking in code left and right!!",
+    "metadata" : {
+      "cursor" : "gGkAAQMAgGkABgE5MLFh7gCAdQAQJIKhxefQEeGW9hIxOwbREgCAdQAQJNEP6ufQEeGW9hIxOwbREgA",
+      "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed/2482a1c5-e7d0-11e1-96f6-12313b06d112"
+    },
+    "published" : 1345141694958,
+    "verb" : "post"
+  } ],
+  "timestamp" : 1346438331316,
+  "duration" : 144,
+  "organization": "my-org",
+  "applicationName": "my-app"
+}</code></pre>
+<p>When a user creates an activity, a relationship is established between the activity and the user who created it. The activities in the user’s feed are based on this relationship as well as  any following relationships that the user has, and any groups in which the user belongs. So when a user asks to get his feed, what he gets is a list of (1) all the activities that the user owns, (2) all the activities posted by any users this user is following, and (3) any activities owned by any groups in which this user belongs.</p>
+<p>The user john.doe’s feed includes activities posted by user moab because john.doe follows moab.</p>
+<h2 id="getting-a-groups-feed" dir="ltr">Getting a group’s feed</h2>
+<p>Use the GET method to retrieve the feed for a group. This gets a list of all the activities that have been posted to this group, that is, the activities for which this group has a relationship (owns).</p>
+<h3 id="request-uri-5">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/feed</p>
+<h3 id="parameters-6">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-6">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_feed">cURL</a></li>
+<li><a href="#javascript_get_group_feed">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_feed">Ruby</a></li>
+<li><a href="#nodejs_get_group_feed">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — GET worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mygroup/feed'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — GET worked. Data will contain raw results from API call.        
+    }
+});</code></pre>
+<h3 id="example---response-6">Example - Response</h3>
+<pre><code>{
+    "action": "get",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params":  {},
+    "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "entities":  [
+       {
+        "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+        "type": "activity",
+        "created": 1353952903811,
+        "modified": 1353952903811,
+        "actor":  {
+          "displayName": "John Doe",
+          "image":  {
+            "duration": 0,
+            "height": 80,
+            "url": "http://www.gravatar.com/avatar/",
+            "width": 80
+          },
+          "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email": "john.doe@gmail.com",
+        "username": "john.doe"
+        },
+          "content": "Hello World!",
+          "metadata":  {
+            "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+            "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+          },
+          "published": 1353952903811,
+          "verb": "post"
+        }
+      ],
+  "timestamp": 1353953272756,
+  "duration": 29,
+  "organization": "my-org",
+  "applicationName": "my-app"</code></pre>
+<h2 id="activity-properties">Activity properties</h2>
+<p>The following are the system-defined properties for activity entities. You can create application-specific properties for an activity entity in addition to the system-defined properties. The system-defined properties are reserved. You cannot use these names to create other properties for an activity entity. In addition the activities name is reserved for the activities collection — you can’t use it to name another collection.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Activity’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“activity”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">actor</td>
+<td align="left">ActivityObject</td>
+<td align="left">Entity that performs the action of the activity (see <a href="http://activitystrea.ms/specs/json/1.0/">JSON Activity Streams 1.0 specification</a>)</td>
+</tr>
+<tr class="even">
+<td align="left">content</td>
+<td align="left">string</td>
+<td align="left">Description of the activity</td>
+</tr>
+<tr class="odd">
+<td align="left">icon</td>
+<td align="left">MediaLink</td>
+<td align="left">Visual representation of a media link resource (see <a href="http://activitystrea.ms/specs/json/1.0/">JSON Activity Streams 1.0 specification</a>)</td>
+</tr>
+<tr class="even">
+<td align="left">category</td>
+<td align="left">string</td>
+<td align="left">Category used to organize activities</td>
+</tr>
+<tr class="odd">
+<td align="left">verb</td>
+<td align="left">string</td>
+<td align="left">Action that the actor performs (for example, <em>post</em>)</td>
+</tr>
+<tr class="even">
+<td align="left">published</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> when the activity was published</td>
+</tr>
+<tr class="odd">
+<td align="left">object</td>
+<td align="left">ActivityObject</td>
+<td align="left">Object on which the action is performed (see <a href="http://activitystrea.ms/specs/json/1.0/">JSON Activity Streams 1.0 specification</a>)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Title or headline for the activity</td>
+</tr>
+</tbody>
+</table>
+<h2 id="set-property">Set property </h2>
+<p>Activities have the following set property.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">connections</td>
+<td align="left">string</td>
+<td align="left">Set of connections for the activity</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h2 id="sample-app">Sample app</h2>
+<p>The Messagee sample app is a simple Twitter-style messaging application that leverages the activity stream functionality of App services. The source for the application is available in HTML5 (JavaScript), iOS, and Android. You can download the source from github at:</p>
+<ul>
+<li>
+<a href="https://github.com/apigee/usergrid-sample-html5-messagee">https://github.com/apigee/usergrid-sample-html5-messagee</a>  (HTML5)</li>
+<li>
+<a href="https://github.com/apache/incubator-usergrid-sample-ios-messagee">https://github.com/apache/incubator-usergrid-sample-ios-messagee</a> (iOS)</li>
+<li>
+<a href="https://github.com/apigee/usergrid-sample-android-messagee">https://github.com/apigee/usergrid-sample-android-messagee</a> (Android)</li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/activity.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[21/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/app-security/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/app-security/index.html b/content/publish/docs/app-security/index.html
new file mode 100644
index 0000000..ba75d69
--- /dev/null
+++ b/content/publish/docs/app-security/index.html
@@ -0,0 +1,281 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — App security</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>App security</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/app-security.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#app-security">App security</a></li>
+</ul>
+</div>
+<h1 id="app-security">App security</h1>
+<p>Any app you put into production should feature security that protects your app, your users, and your app’s data. Implementing security means taking steps in your mobile app’s code and in your Apache Usergrid application.</p>
+<blockquote>
+<p><strong>Important:</strong> When you register for Apache Usergrid, you get a sandbox application that you can use to try things out. This application is not for use in production. By default, the sandbox application is not protected by any security measures whatsoever. Use the sandbox only for experimentation, and only with data that isn’t in any way sensitive.</p>
+</blockquote>
+<p>When securing your app, follow these high-level steps:</p>
+<ol style="list-style-type: decimal">
+<li>Define the rules that will govern access by your app’s users to your app’s data and features. You do this with the admin portal 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>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>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL"></embed>
+</div>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/app-security.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/application/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/application/index.html b/content/publish/docs/application/index.html
new file mode 100644
index 0000000..b42eb94
--- /dev/null
+++ b/content/publish/docs/application/index.html
@@ -0,0 +1,459 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Application</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Application</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/application.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#application">Application</a><ul>
+<li><a href="#application-properties">Application properties</a></li>
+<li><a href="#set-properties">Set properties</a></li>
+<li><a href="#collections">Collections</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="application">Application</h1>
+<p>You can create a new application in an organization through the <a href="/admin-portal">Admin portal</a>. The Admin portal creates the new application by issuing a post against the management endpoint (see the “Creating an organization application” section in <a href="/organization">Organization</a> for details). If you need to create an application programmatically in your app, you can also use the API to do this. You can access application entities using your app name or UUID, prefixed with the organization name or UUID:</p>
+<p><a href="http://api.usergrid.com/">https://api.usergrid.com</a>/{org_name|uuid}/{app_name|uuid}</p>
+<p>Most mobile apps never access the application entity directly. For example you might have a server-side web app that accesses the application entity for configuration purposes. If you want to access your application entity programmatically, you can use the API.</p>
+<h2 id="application-properties">Application properties</h2>
+<p>The following are the system-defined properties for application entities. You can create application-specific properties for an application entity in addition to the system-defined properties. The system-defined properties are reserved. You cannot use these names to create other properties for an application entity. In addition the applications name is reserved for the applications collection — you can’t use it to name another collection.</p>
+<p>The look-up properties for the entities of type application are uuid and name, that is, you can use the uuid and name properties to reference an application entity in an API call. However, you can search on a role using any property of the application entity. See <a href="/queries-and-parameters">Queries and parameters</a> for details on searching.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Application’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“application”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">Application name (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Application title</td>
+</tr>
+<tr class="odd">
+<td align="left">description</td>
+<td align="left">string</td>
+<td align="left">Application description</td>
+</tr>
+<tr class="even">
+<td align="left">activated</td>
+<td align="left">boolean</td>
+<td align="left">Whether application is activated</td>
+</tr>
+<tr class="odd">
+<td align="left">disabled</td>
+<td align="left">boolean</td>
+<td align="left">Whether application is administratively disabled</td>
+</tr>
+<tr class="even">
+<td align="left">allowOpenRegistration</td>
+<td align="left">boolean</td>
+<td align="left">Whether application allows any user to register</td>
+</tr>
+<tr class="odd">
+<td align="left">registrationRequiresEmailConfirmation</td>
+<td align="left">boolean</td>
+<td align="left">Whether registration requires email confirmation</td>
+</tr>
+<tr class="even">
+<td align="left">registrationRequiresAdminApproval</td>
+<td align="left">boolean</td>
+<td align="left">Whether registration requires admin approval</td>
+</tr>
+<tr class="odd">
+<td align="left">accesstokenttl</td>
+<td align="left">long</td>
+<td align="left">Time to live value for an access token obtained within the application</td>
+</tr>
+</tbody>
+</table>
+<h2 id="set-properties">Set properties</h2>
+<p>The set properties for applications are listed in the table below.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">collections</td>
+<td align="left">string</td>
+<td align="left">Set of collections</td>
+</tr>
+<tr class="even">
+<td align="left">rolenames</td>
+<td align="left">string</td>
+<td align="left">Set of roles assigned to an application</td>
+</tr>
+<tr class="odd">
+<td align="left">counters</td>
+<td align="left">string</td>
+<td align="left">Set of counters assigned to an application</td>
+</tr>
+<tr class="even">
+<td align="left">oauthproviders</td>
+<td align="left">string</td>
+<td align="left">Set of OAuth providers for the application</td>
+</tr>
+<tr class="odd">
+<td align="left">credentials</td>
+<td align="left">string</td>
+<td align="left">Set of credentials required to run the application</td>
+</tr>
+</tbody>
+</table>
+<h2 id="collections">Collections</h2>
+<p>The collections for applications are listed in the table below.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users</td>
+</tr>
+<tr class="even">
+<td align="left">groups</td>
+<td align="left">group</td>
+<td align="left">Collection of groups</td>
+</tr>
+<tr class="odd">
+<td align="left">folders</td>
+<td align="left">folder</td>
+<td align="left">Collection of assets that represent folder-like objects</td>
+</tr>
+<tr class="even">
+<td align="left">events</td>
+<td align="left">event</td>
+<td align="left">Collection of events posted by the application</td>
+</tr>
+<tr class="odd">
+<td align="left">assets</td>
+<td align="left">asset</td>
+<td align="left">Collection of assets that represent file-like objects</td>
+</tr>
+<tr class="even">
+<td align="left">activities</td>
+<td align="left">activity</td>
+<td align="left">Collection of activity stream actions</td>
+</tr>
+<tr class="odd">
+<td align="left">devices</td>
+<td align="left">device</td>
+<td align="left">Collection of devices in the service</td>
+</tr>
+<tr class="even">
+<td align="left">notifiers</td>
+<td align="left">notifier</td>
+<td align="left">Collection of notifiers used for push notifications</td>
+</tr>
+<tr class="odd">
+<td align="left">notifications</td>
+<td align="left">notification</td>
+<td align="left">Collection of push notifications that have been sent or are scheduled to be sent</td>
+</tr>
+<tr class="even">
+<td align="left">receipts</td>
+<td align="left">receipt</td>
+<td align="left">Collection of receipts from push notifications that were sent</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/application.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/applications/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/applications/index.html b/content/publish/docs/applications/index.html
new file mode 100644
index 0000000..914932b
--- /dev/null
+++ b/content/publish/docs/applications/index.html
@@ -0,0 +1,458 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Applications</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Applications</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/applications.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#applications">Applications</a><ul>
+<li><a href="#application-properties">Application properties</a></li>
+<li><a href="#set-properties">Set properties</a></li>
+<li><a href="#collections">Collections</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h2 id="applications">Applications</h2>
+<p>You can create a new application in an organization through the <a href="/admin-portal">Admin portal</a>. The Admin portal creates the new application by issuing a post against the management endpoint (see the “Creating an organization application” section in <a href="/organization">Organization</a> for details). If you need to create an application programmatically in your app, you can also use the API to do this. You can access application entities using your app name or UUID, prefixed with the organization name or UUID:</p>
+<p><a href="http://api.usergrid.com/">https://api.usergrid.com</a>/{org_name|uuid}/{app_name|uuid}</p>
+<p>Most mobile apps never access the application entity directly. For example you might have a server-side web app that accesses the application entity for configuration purposes. If you want to access your application entity programmatically, you can use the API.</p>
+<h3 id="application-properties">Application properties</h3>
+<p>The following are the system-defined properties for application entities. You can create application-specific properties for an application entity in addition to the system-defined properties. The system-defined properties are reserved. You cannot use these names to create other properties for an application entity. In addition the applications name is reserved for the applications collection — you can’t use it to name another collection.</p>
+<p>The look-up properties for the entities of type application are uuid and name, that is, you can use the uuid and name properties to reference an application entity in an API call. However, you can search on a role using any property of the application entity. See <a href="/queries-and-parameters">Queries and parameters</a> for details on searching.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Application’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“application”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">Application name (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Application title</td>
+</tr>
+<tr class="odd">
+<td align="left">description</td>
+<td align="left">string</td>
+<td align="left">Application description</td>
+</tr>
+<tr class="even">
+<td align="left">activated</td>
+<td align="left">boolean</td>
+<td align="left">Whether application is activated</td>
+</tr>
+<tr class="odd">
+<td align="left">disabled</td>
+<td align="left">boolean</td>
+<td align="left">Whether application is administratively disabled</td>
+</tr>
+<tr class="even">
+<td align="left">allowOpenRegistration</td>
+<td align="left">boolean</td>
+<td align="left">Whether application allows any user to register</td>
+</tr>
+<tr class="odd">
+<td align="left">registrationRequiresEmailConfirmation</td>
+<td align="left">boolean</td>
+<td align="left">Whether registration requires email confirmation</td>
+</tr>
+<tr class="even">
+<td align="left">registrationRequiresAdminApproval</td>
+<td align="left">boolean</td>
+<td align="left">Whether registration requires admin approval</td>
+</tr>
+<tr class="odd">
+<td align="left">accesstokenttl</td>
+<td align="left">long</td>
+<td align="left">Time to live value for an access token obtained within the application</td>
+</tr>
+</tbody>
+</table>
+<h3 id="set-properties">Set properties</h3>
+<p>The set properties for applications are listed in the table below.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">collections</td>
+<td align="left">string</td>
+<td align="left">Set of collections</td>
+</tr>
+<tr class="even">
+<td align="left">rolenames</td>
+<td align="left">string</td>
+<td align="left">Set of roles assigned to an application</td>
+</tr>
+<tr class="odd">
+<td align="left">counters</td>
+<td align="left">string</td>
+<td align="left">Set of counters assigned to an application</td>
+</tr>
+<tr class="even">
+<td align="left">oauthproviders</td>
+<td align="left">string</td>
+<td align="left">Set of OAuth providers for the application</td>
+</tr>
+<tr class="odd">
+<td align="left">credentials</td>
+<td align="left">string</td>
+<td align="left">Set of credentials required to run the application</td>
+</tr>
+</tbody>
+</table>
+<h3 id="collections">Collections</h3>
+<p>The collections for applications are listed in the table below.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users</td>
+</tr>
+<tr class="even">
+<td align="left">groups</td>
+<td align="left">group</td>
+<td align="left">Collection of groups</td>
+</tr>
+<tr class="odd">
+<td align="left">folders</td>
+<td align="left">folder</td>
+<td align="left">Collection of assets that represent folder-like objects</td>
+</tr>
+<tr class="even">
+<td align="left">events</td>
+<td align="left">event</td>
+<td align="left">Collection of events posted by the application</td>
+</tr>
+<tr class="odd">
+<td align="left">assets</td>
+<td align="left">asset</td>
+<td align="left">Collection of assets that represent file-like objects</td>
+</tr>
+<tr class="even">
+<td align="left">activities</td>
+<td align="left">activity</td>
+<td align="left">Collection of activity stream actions</td>
+</tr>
+<tr class="odd">
+<td align="left">devices</td>
+<td align="left">device</td>
+<td align="left">Collection of devices in the service</td>
+</tr>
+<tr class="even">
+<td align="left">notifiers</td>
+<td align="left">notifier</td>
+<td align="left">Collection of notifiers used for push notifications</td>
+</tr>
+<tr class="odd">
+<td align="left">notifications</td>
+<td align="left">notification</td>
+<td align="left">Collection of push notifications that have been sent or are scheduled to be sent</td>
+</tr>
+<tr class="even">
+<td align="left">receipts</td>
+<td align="left">receipt</td>
+<td align="left">Collection of receipts from push notifications that were sent</td>
+</tr>
+</tbody>
+</table>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/applications.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[35/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/using-sandbox-application.md
----------------------------------------------------------------------
diff --git a/content/content/docs/using-sandbox-application.md b/content/content/docs/using-sandbox-application.md
new file mode 100644
index 0000000..ed39ba3
--- /dev/null
+++ b/content/content/docs/using-sandbox-application.md
@@ -0,0 +1,71 @@
+---
+title: Using a Sandbox Application
+category: docs
+layout: docs
+---
+
+Using a Sandbox Application
+===========================
+
+When you create a new Apigee account (see [Creating an Apigee
+Account](/creating-apigee-account)) for Apache Usergrid, Apigee creates a
+new application for you on its servers. With the new application, called
+"sandbox," you can add your own example data and try out API calls that
+do things with the data. Be sure to see [Using the API](/using-api) for
+suggestions.
+
+To keep things simple and make it easier for you to try things out, the
+sandbox application has all authentication disabled. That way, it
+doesn’t require an access token for application-level calls to the API.
+Permissions are so open on the sandbox application because its "guest"
+role offers full permissions for all access paths -- that is, GET, POST,
+PUT, and DELETE for /\*\*. Learn more about roles and permissions in
+[Managing access by defining permission
+rules](/managing-access-defining-permission-rules).
+
+### A note about security
+
+Keep in mind that the lack of authentication means that **a sandbox
+application is not secure enough for important or sensitive data**. A
+sandbox is just for experimentation while you learn how Apache Usergrid
+works, and should never be used for a production application.
+
+As with other kinds of Apache Usergrid applications, a sandbox application
+is an area of the Apache Usergrid data store where you can put your own
+data. You can create as many other applications as you like, including
+more sandbox applications. When it comes to production (secured)
+applications, a good rule of thumb is to create one Apache Usergrid
+application for each mobile app you develop.
+
+Creating a New Sandbox Application
+----------------------------------
+
+You may want to create (or re-create) a sandbox application. For
+example, you may want to create a sandbox application for another
+organization or you may want to create another application for testing
+purposes.
+
+Giving the guest role full permissions should be used only for testing
+and should not be used in production. Before you make your app “live”,
+you should remove the guest permissions for /\*\*.
+
+Use the following steps to create a sandbox app:
+
+1.  Create a new application using the admin portal. You can name the
+    application whatever you like (including "sandbox").
+2.  Set full access permissions for the guest role, as follows:
+    1.  In the admin portal, click **Users**, then click **Roles**.
+    2.  On the **Roles** page, in the list of roles, click **Guest**.
+    3.  For the Guest role, under** Permissions**, click **Add
+        Permission**.
+    4.  In the **New Permission** dialog, enter the following in the
+        **Path** box:\
+
+            /**
+
+    5.  Select the following check boxes: **get**, **post**, **put**,
+        and **delete**.
+    6.  Click the **Add** button.
+    7.  If there are other permissions listed, delete them.
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/videos.md
----------------------------------------------------------------------
diff --git a/content/content/docs/videos.md b/content/content/docs/videos.md
new file mode 100644
index 0000000..c4c1304
--- /dev/null
+++ b/content/content/docs/videos.md
@@ -0,0 +1,15 @@
+---
+title: Videos
+category: docs
+layout: docs
+---
+
+## How to Contribute to Apache Usergrid
+- David Johnson, [ApacheCon NA 2014](http://apacheconnorthamerica2014.sched.org/event/29971aabd3c86398be2ae93403c7d1d2)
+
+<iframe width="640" height="360" src="//www.youtube.com/embed/cfwGmvUhFzY?rel=0" frameborder="0" allowfullscreen></iframe>
+
+## C* 2012: Cassandra at Apigee: Usergrid Powering Mobile
+- Ed Anuff
+
+<iframe width="640" height="360" src="//www.youtube.com/embed/RuJwIBu3jvs?rel=0" frameborder="0" allowfullscreen></iframe>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/favicon.ico
----------------------------------------------------------------------
diff --git a/content/content/favicon.ico b/content/content/favicon.ico
new file mode 100644
index 0000000..11720d6
Binary files /dev/null and b/content/content/favicon.ico differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/font/FontAwesome.otf
----------------------------------------------------------------------
diff --git a/content/content/font/FontAwesome.otf b/content/content/font/FontAwesome.otf
new file mode 100755
index 0000000..7012545
Binary files /dev/null and b/content/content/font/FontAwesome.otf differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/font/fontawesome-webfont-eot.eot
----------------------------------------------------------------------
diff --git a/content/content/font/fontawesome-webfont-eot.eot b/content/content/font/fontawesome-webfont-eot.eot
new file mode 100755
index 0000000..0662cb9
Binary files /dev/null and b/content/content/font/fontawesome-webfont-eot.eot differ


[24/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/usergrid-site/index.html
----------------------------------------------------------------------
diff --git a/content/publish/css/usergrid-site/index.html b/content/publish/css/usergrid-site/index.html
new file mode 100644
index 0000000..2d3939a
--- /dev/null
+++ b/content/publish/css/usergrid-site/index.html
@@ -0,0 +1,1324 @@
+@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,800,700,400italic,600italic,700italic,800italic,300italic");
+/* @import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700"); */
+/* Key scaffolding
+-------------------------------------------------- */
+body {
+  position: relative; /* For scrollyspy */
+  padding-top: 50px; /* Account for fixed navbar */
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-size:14px;
+  background-color: #FAFBFC;
+  /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; */
+}
+h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-weight: 300;
+}
+a:hover {text-decoration: none;}
+h2>a, h3>a { color: rgb(51,51,51);}
+h2>a:hover, h3>a:hover { color: rgb(51,51,51);}
+h2:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 12px;
+  vertical-align: 15%;
+  font-size: 20px;
+}
+h3:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 8px;
+  vertical-align: 15%;
+  font-size: 15px;
+}
+h5, h6, .h5, .h6 {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+}
+.bf-sidebar .nav-list code{
+  margin-left: -3px;
+}
+.nav-list > li {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 400 !important;
+  opacity: 0.8;
+  margin-bottom: 3px;
+}
+header .navbar-nav {
+  font-size: 120%;
+}
+.nav-list > li > ul {
+  padding-left: 0;
+}
+.nav-list > li ul ul {
+  padding-left: 19px;
+}
+.nav-list > li ul > li {
+  list-style-type: none !important;
+}
+.nav-list > li ul > li:before {
+  content:"\221F";
+  font-weight: 200;
+  opacity: 0.5;
+  line-height: 50%;
+  vertical-align: 60%;
+  padding-left: 3px;
+}
+.nav-list > li ul > li > a {
+  padding: 0 0 0 3px;
+  margin-bottom: 0px;
+}
+.nav-list > li > a {
+  padding: 0;
+}
+.nav-list > li > a.icns-apple:before {
+  text-align: right;
+  content: "\F179";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-android:before {
+  text-align: right;
+  content: "\F17B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-html5:before {
+  text-align: right;
+  content: "\F13B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-windows:before {
+  text-align: right;
+  content: "\F17A";
+  font-family: 'FontAwesome';
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+li.nav-header {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 600 !important;
+  opacity: 1.0;
+  padding-top: 0 !important;
+  padding-left: 0 !important;
+  font-size: 120%;
+}
+.bf-docs-container .nav-list li.nav-header {
+  padding: 0 !important;
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  margin-top: 33px;
+  margin-bottom: 13px;
+}
+.bf-docs-container .nav-list li.nav-header span {
+  background-color: #FAFBFC;
+  padding-right: 8px;
+}
+.bf-docs-container .github-callout {
+  padding: 20px 0 40px 0;
+  font-style: italic;
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  opacity: 0.8;
+}
+.navbar-nav > li a {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  opacity: 0.8;
+}
+
+.navbar-nav > li > a.major {
+  font-weight: 400 !important;
+  opacity: 1.0;
+}
+
+.navbar-collapse {
+    max-height: none;
+}
+
+.bf-masthead-bg p {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 200;
+  font-size: 120%;
+  line-height: 120%;
+}
+.bf-features p {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-features p a {
+  /*font-weight: 600;*/
+  /*color: rgb(52,73,94);*/
+}
+a.btn {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 500 !important;
+  font-style: normal;
+  letter-spacing: 110%;
+}
+h1 {
+  font-weight: 200;
+  letter-spacing: 110%;
+  font-size: 200%;
+}
+.page-header h1 {
+  padding-top:20px;
+  font-weight: 400;
+  font-size:350%;
+}
+.page-header small{
+  float: right;
+  background-color: #fff;
+  padding-left: 10px;
+}
+.page-header small a {
+  color: #ddd;
+  font-style: italic;
+}
+.page-header small a:hover {
+  color: #2481A6;
+}
+h2 {
+  font-weight: 400;
+}
+h3 {
+  padding-top: 20px;
+  font-weight: 400 !important;
+}
+.bf-features h3 {
+  padding-top: 0;
+}
+#copyright {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  font-style: italic;
+  opacity: 0.8;
+}
+#copyright .credits {
+  color: #fff;
+  font-weight: 600;
+  opacity: 1 !important;
+  font-style: normal;
+}
+.table {
+  margin: 20px 0 0 0;
+  background-color: transparent;
+}
+.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td {
+  padding-left: 0;
+}
+.toc {
+  margin-bottom:40px;
+  /*background-color: #fff;
+  border-radius: 4px;*/
+  /*padding: 20px;*/
+}
+/*.toc > h4 {
+  padding-top: 0;
+  margin-top: 0;
+  font-size: 150%;
+  font-weight:400;
+}*/
+.toc > ul {
+  margin-bottom: 0;
+  padding-left: 20px;
+}
+section > .container > h2 {
+  color: #2481A6 !important;
+}
+div.row > div.text-left > h2 {
+  margin-top: 40px;
+  margin-bottom: 10px;
+}
+.bf-docs-container h2 {
+  margin-top: 60px;
+  font-size: 250%;
+}
+/* font-face
+-------------------------------------------------- */
+@font-face {
+  font-family: 'icomoon';
+  src:url('../fonts/icomoon.eot');
+  src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
+    url('../fonts/icomoon.woff') format('woff'),
+    url('../fonts/icomoon.ttf') format('truetype'),
+    url('../fonts/icomoon.svg#icomoon') format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+[data-icon]:before {
+  font-family: 'icomoon';
+  content: attr(data-icon);
+  speak: none;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer, .icon-phone-portrait, .icon-rocket, .icon-github, .icon-twitter, .icon-thumbf-up, .icon-earth, .icon-bug, .icon-window {
+  font-family: 'icomoon';
+  speak: none;
+  font-style: normal;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer:before {
+  content: "\e000";
+}
+.icon-phone-portrait:before {
+  content: "\e002";
+}
+.icon-rocket:before {
+  content: "\e003";
+}
+.icon-github:before {
+  content: "\e001";
+}
+.icon-twitter:before {
+  content: "\e004";
+}
+.icon-thumbf-up:before {
+  content: "\e005";
+}
+.icon-earth:before {
+  content: "\e006";
+}
+.icon-bug:before {
+  content: "\e007";
+}
+.icon-window:before {
+  content: "\e008";
+}
+
+/* Custom docs button */
+.btn-bf {
+  color: #563d7c;
+  background-color: #fff;
+  border-color: #e5e5e5;
+}
+.btn-bf:hover,
+.btn-bf:focus,
+.btn-bf:active {
+  color: #fff;
+  background-color: #563d7c;
+  border-color: #563d7c;
+}
+/* Haddock-style syntax highlighting
+-------------------------------------------------- */
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode, pre.sourceCode {
+  background-color: #eee;
+}
+table.sourceCode { width: 100%; line-height: 100%; }
+td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; color: #aaaaaa; border-right: 1px solid #aaaaaa; }
+td.sourceCode { padding-left: 5px; }
+code > span.kw { color: #0000ff; }
+code > span.ch { color: #008080; }
+code > span.st { color: #008080; }
+code > span.co { color: #008000; }
+code > span.ot { color: #ff4000; }
+code > span.al { color: #ff0000; }
+code > span.er { font-weight: bold; }
+/* Navs and headers
+-------------------------------------------------- */
+header.navbar .container {
+  padding-right: 0;
+}
+footer > .container {
+  padding-right: 0;
+  padding-left: 0;
+}
+header.navbar.secondary {
+  box-shadow: 0px 1px 2px rgb(36,129,166);
+}
+.navbar-inverse {
+    background-color: rgb(36,129,166);
+}
+nav.navbar-collapse {
+  border-color: rgb(52, 73, 94) !important;
+  border-width: 1px;
+  box-shadow: none;
+  padding-left: 15px;
+}
+.bf-docs-nav {
+  border-bottom: 0px;
+  padding-left: 20px;
+  padding-right: 20px;
+}
+.navbar-nav {
+  margin: 0;
+}
+
+.navbar-brand {
+  padding-left: 0;
+}
+.bf-docs-nav .navbar-nav > li > a {
+  margin: 10px 0 0 10px;
+  padding: 10px;
+  -webkit-border-radius: 4px;
+  -moz-border-radius: 4px;
+  border-radius: 4px;
+  color: #fff;
+}
+.bf-docs-nav .navbar-nav > li > a:hover {
+  color: #fff;
+  background-color: #34495e;
+}
+.bf-docs-nav .navbar-nav > .active > a,
+.bf-docs-nav .navbar-nav > .active > a:hover {
+  color: #fff;
+  background-color: #34495e !important;
+}
+li.divider {
+  margin-left: 0 !important;
+}
+
+/* Homepage masthead
+-------------------------------------------------- */
+.bf-masthead {
+  position: relative;
+  text-align: left;
+  /*background: #cbcbcd url(../img/rende.png) no-repeat 50% 100px;*/
+}
+.bf-masthead .bf-masthead-bg {
+    /*margin-top: 10px;*/
+    padding: 30px 15px;
+    color:#fff;
+    background-color: rgb(36,129,166);
+}
+/*.bf-masthead .logo {
+  height: 203px;
+}*/
+.bf-masthead .logo-title {
+  width: 600px;
+  padding: 20px 0 0 0;
+  margin-left: 0;
+}
+.bf-masthead .text-container {
+  margin-left: auto;
+  margin-right: auto;
+  text-align: left;
+}
+.bf-masthead .tagline {
+  font-style:normal;
+  font-weight:200;
+  font-size: 300%;
+  margin-bottom: 0;
+  padding-bottom: 20px;
+  color: white;
+  line-height: 90%;
+}
+.bf-masthead .tagline em {
+  font-style: italic;
+}
+.bf-masthead .description {
+  font-style: normal;
+  font-size: 150%;
+  margin-bottom: 40px;
+  /*line-height: 100%;*/
+}
+.bf-masthead .btn-wrapper {
+  text-align: center;
+  margin-bottom: 20px;
+  clear:both;
+}
+.bf-masthead .btn-wrapper {
+  text-align: left;
+  width: 100%;
+  margin-right: 20px;
+}
+.bf-masthead .social-btn {
+  float: left;
+  margin: 0 20px 10px 0;
+}
+.bf-masthead .or {
+  margin-left: 0px;
+  font-style: normal;
+  font-weight: 200;
+  opacity: 0.8;
+}
+
+.bf-masthead a {
+  line-height: 30px;
+  color: #FAFBFC;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-masthead h1 {
+  font-size: 30px;
+  line-height: 1.4;
+  color: #fff;
+}
+.bf-masthead .bf-masthead-links a,
+.bf-masthead .bf-masthead-links a:hover {
+  color: #fff;
+}
+.bf-masthead-info {
+  padding: 80px 20px; 
+  font-size: 28px;
+  text-align: center;
+  background-color: #fc5d7b;
+  color: rgba(0, 0, 0, .3)
+}
+.bf-masthead-info .icon-angle-down {
+  font-size: 40px;
+}
+
+/* Download button */
+.bf-masthead .btn-outline {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  border: 1px solid #fff;
+  padding: 18px 24px;
+  font-size: 21px;
+  color: #fff;
+}
+.bf-masthead .btn-outline:hover {
+  background-color: #fff;
+  color: #42a8d2;
+}
+
+.bf-masthead-links {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  padding-left: 0;
+  list-style: none;
+  text-align: center;
+}
+.bf-masthead-links li {
+  margin-bottom: 15px;
+  color: #fff;
+}
+.bf-masthead-links a {
+  color: #c8c7c6;
+}
+
+/* Homepage features
+-------------------------------------------------- */
+section > .container > h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  /* border-bottom: 1px solid #e5e5e5; */
+}
+.bf-features {
+  color: #292929;
+  text-align: center;
+  padding: 20px 0;
+}
+.bf-features h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features .bf-icon-wrap {
+  margin: 0 auto 10px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: rgb(52,73,94);
+  width: 90px;
+  height: 90px;
+  line-height: 90px;
+  font-size: 50px;
+  color: #FAFBFC;
+}
+.bf-features h3 {
+  margin: 0 0 10px;
+  color: rgb(52,73,94);
+  font-weight: 400 !important;
+}
+.bf-features h3 ~ p {
+  color: #656565;
+}
+/*
+.bf-features2 {
+  color: #292929;
+  text-align: center;
+}
+.bf-features2 {
+  padding: 40px 0;
+}
+.bf-features2 h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-features2 h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features2 .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #e5e9ed;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #a5b6c7;
+}
+.bf-features2 h3 {
+  margin: 0 0 10px;
+  color: #696969;
+}
+.bf-features2 h3 ~ p {
+  color: #656565;
+} */
+.bf-features-inverse {
+  padding: 140px 0;
+  font-size: 16px;
+  color: #fff;
+  text-align: center;
+  background-color: #34495e;
+}
+.bf-features-inverse h2 {
+  margin-bottom: 20px;
+  font-size: 40px;
+}
+.bf-features-inverse h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features-inverse .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #fff;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #3dc0f1;
+}
+.bf-features-inverse h3 ~ p {
+  font-size: 14px;
+}
+.bf-features-inverse a,
+.bf-features-inverse a:hover {
+  color: #fff;
+  text-decoration: underline;
+}
+.bf-news ul {
+  margin-bottom: 20px;
+}
+
+.bf-questions .container {
+  border-top: 1px solid rgb(52,73,94);
+  border-bottom: 1px solid rgb(52,73,94);
+  padding: 60px 0;
+  margin-top: 0px;
+}
+
+.bf-questions div {
+  line-height: 30px;
+}
+
+/* Docs pages and sections
+-------------------------------------------------- */
+
+/* Page headers */
+.bf-header {
+  padding: 5px 20px 10px;
+  font-size: 16px;
+  color: #5a5a5a;
+  text-align: center;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-header p {
+  font-weight: 300;
+  line-height: 1.5;
+}
+.bf-header .container {
+  position: relative;
+}
+
+.bf-docs-container {
+  margin-top: 60px;
+}
+
+.bf-docs-container .col-md-3 {
+  padding-left: 0;
+}
+
+.bf-docs-container .col-md-9.main-article {
+  background-color: #fff;
+  border-radius: 4px;
+  border: 1px solid #ccc;
+  padding-bottom: 15px;
+  min-height: 820px;
+}
+
+.bf-docs-section + .bf-docs-section {
+  padding-top: 20px;
+}
+
+.bf-docs-container .nav-list {
+  padding-top: 20px;
+}
+
+/* Bootstrap code examples
+-------------------------------------------------- */
+
+/* Base class */
+.bf-example {
+  position: relative;
+  margin: 20px 0 40px;
+}
+.bf-example > .btn-toolbar + .btn-toolbar {
+  margin-top: 10px;
+}
+
+.bf-example .row {
+  margin-bottom: 20px;
+}
+
+/* Tweak display of the examples */
+.bf-example + .highlight {
+  margin: 0 -15px;
+  border-radius: 0;
+  border-width: 0 0 1px;
+}
+
+/* Tweak content of examples for optimum awesome */
+.bf-example > p:last-child,
+.bf-example > ul:last-child,
+.bf-example > ol:last-child,
+.bf-example > blockquote:last-child,
+.bf-example > input:last-child,
+.bf-example > select:last-child,
+.bf-example > textarea:last-child,
+.bf-example > .table:last-child,
+.bf-example > .navbar:last-child
+.bf-example > .jumbotron:last-child,
+.bf-example > .alert:last-child,
+.bf-example > .panel:last-child,
+.bf-example > .list-group:last-child,
+.bf-example > .well:last-child {
+  margin-bottom: 0;
+}
+.bf-example > p > .close {
+  float: none;
+}
+.bf-example-title {
+  border-left: 3px solid #08d;
+  padding-left: 10px;
+  line-height: 24px;
+  margin: 20px 0;
+  font-size: 16px;
+}
+.bf-example-align .btn {
+  margin-top: 4px;
+}
+.bf-example-align .btn-xs {
+  margin-top: 16px;
+}
+.bf-example-align .btn-sm {
+  margin-top: 8px;
+}
+.bf-example-align .btn-lg {
+  margin-top: -7px;
+}
+
+/* Navbar examples */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  min-height: 110px;
+  overflow: hidden; /* cut the drop shadows off */
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-top-example {
+  -webkit-border-radius: 0 0 4px 4px;
+     -moz-border-radius: 0 0 4px 4px;
+          border-radius: 0 0 4px 4px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+  -webkit-border-radius: 0 4px 0 4px;
+     -moz-border-radius: 0 4px 0 4px;
+          border-radius: 0 4px 0 4px;
+}
+.bf-navbar-bottom-example {
+  -webkit-border-radius: 4px 4px 0 0;
+     -moz-border-radius: 4px 4px 0 0;
+          border-radius: 4px 4px 0 0;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example.bf-example:after {
+  bottom: -1px;
+  border-radius: 0 4px;
+}
+
+/* Example modals */
+.bf-example-modal {
+  background-color: #f5f5f5;
+}
+.bf-example-modal .modal {
+  position: relative;
+  top: auto;
+  right: auto;
+  left: auto;
+  bottom: auto;
+  z-index: 1;
+  display: block;
+}
+.bf-example-modal .modal-dialog {
+  left: auto;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+/* Example dropdowns */
+.bf-example > .dropdown > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropup > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropdown > .dropdown-menu {
+  position: static;
+  display: block;
+  margin-bottom: 5px;
+}
+.bf-example-submenu {
+  min-height: 230px;
+}
+.bf-example-submenu > .pull-left + .pull-left {
+  margin-left: 20px;
+}
+
+/* Tooltips */
+.bf-example-tooltips {
+  text-align: center;
+}
+
+/* Popovers */
+.bf-example-popover {
+  padding-bottom: 24px;
+}
+.bf-example-popover .popover {
+  position: relative;
+  display: block;
+  float: left;
+  width: 260px;
+  margin: 20px;
+}
+
+/* Example templates
+-------------------------------------------------- */
+
+.bf-examples h4 {
+  margin-bottom: 5px;
+}
+.bf-examples p {
+  margin-bottom: 20px;
+}
+
+/* Responsive docs
+-------------------------------------------------- */
+
+/* Responsive (scrollable) doc tables */
+@media (max-width: 768px) {
+  .bf-table-scrollable {
+    width: 100%;
+    margin-bottom: 15px;
+    overflow-y: hidden;
+    overflow-x: scroll;
+    border: 1px solid #ddd;
+  }
+  .bf-table-scrollable .table {
+    margin-bottom: 0;
+    border: 0;
+  }
+  .bf-table-scrollable .table th,
+  .bf-table-scrollable .table td {
+    white-space: nowrap;
+  }
+  .bf-table-scrollable .table th:first-child,
+  .bf-table-scrollable .table td:first-child {
+    border-left: 0;
+  }
+  .bf-table-scrollable .table th:last-child,
+  .bf-table-scrollable .table td:last-child {
+    border-right: 0;
+  }
+  .bf-table-scrollable .table tr:last-child th,
+  .bf-table-scrollable .table tr:last-child td {
+    border-bottom: 0;
+  }
+}
+
+/* Footer
+-------------------------------------------------- */
+
+.bf-footer {
+  margin-top: 40px;
+  padding: 30px 5px;
+  /*text-align: left;*/
+  background:#34495e;
+  color:#f0f0f0;
+}
+
+.bf-footer a {
+    color:#f0f0f0 !important;
+}
+.bf-footer.bf-footer-margin {
+    margin-top: 100px;
+    margin-bottom: 20px;
+}
+
+.bf-footer .bf-icon-wrap {
+    font-size: 40px;
+    color: #a5b6c7;
+    display: inline;
+    margin: 10px;
+}
+
+#footer-icons {
+    float: right;
+    display: inline;
+    line-height: 20px;
+    margin: 40px 10px 20px 10px;
+}
+
+#copyright {
+    float: left;
+    display: inline;
+    line-height: 20px;
+    margin: 100px 10px 20px 10px;
+}
+
+/* Social proof buttons from GitHub & Twitter */
+.bf-social {
+  margin-bottom: 20px;
+}
+.bf-social-buttons {
+  display: inline-block;
+  margin-bottom: 0;
+  padding-left: 0;
+  list-style: none;
+}
+.bf-social-buttons li {
+  display: inline-block;
+  line-height: 1;
+}
+.bf-social-buttons li + li {
+  margin-left: 15px;
+}
+.bf-social-buttons .twitter-follow-button {
+  width: 225px !important;
+}
+.bf-social-buttons .twitter-share-button {
+  width: 98px !important;
+}
+/* Style the GitHub buttons via CSS instead of inline attributes */
+.github-btn {
+  border: 0;
+  overflow: hidden;
+}
+
+.highlight {
+  padding: 9px 14px;
+  margin-bottom: 40px;
+  background-color: #FAFBFC;
+  border: 1px solid #e1e1e8;
+  border-radius: 4px;
+}
+.highlight pre {
+  padding: 0;
+  margin-top: 0;
+  margin-bottom: 0;
+  background-color: transparent;
+  border: 0;
+  white-space: nowrap;
+}
+.highlight pre code {
+  font-size: inherit;
+  color: #333; /* Effectively the base text color */
+}
+.highlight pre .lineno {
+  display: inline-block;
+  width: 22px;
+  padding-right: 5px;
+  margin-right: 10px;
+  text-align: right;
+  color: #bebec5;
+}
+
+.hll { background-color: #ffffcc }
+.c { color: #999988; font-style: italic } /* Comment */
+.err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.k { color: #000000; font-weight: bold } /* Keyword */
+.o { color: #000000; font-weight: bold } /* Operator */
+.cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
+.c1 { color: #999988; font-style: italic } /* Comment.Single */
+.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.ge { color: #000000; font-style: italic } /* Generic.Emph */
+.gr { color: #aa0000 } /* Generic.Error */
+.gh { color: #999999 } /* Generic.Heading */
+.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #555555 } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #aaaaaa } /* Generic.Subheading */
+.gt { color: #aa0000 } /* Generic.Traceback */
+.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.m { color: #009999 } /* Literal.Number */
+.s { color: #d01040 } /* Literal.String */
+.na { color: #008080 } /* Name.Attribute */
+.nb { color: #0086B3 } /* Name.Builtin */
+.nc { color: #445588; font-weight: bold } /* Name.Class */
+.no { color: #008080 } /* Name.Constant */
+.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
+.ni { color: #800080 } /* Name.Entity */
+.ne { color: #990000; font-weight: bold } /* Name.Exception */
+.nf { color: #990000; font-weight: bold } /* Name.Function */
+.nl { color: #990000; font-weight: bold } /* Name.Label */
+.nn { color: #555555 } /* Name.Namespace */
+.nt { color: #000080 } /* Name.Tag */
+.nv { color: #008080 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #009999 } /* Literal.Number.Float */
+.mh { color: #009999 } /* Literal.Number.Hex */
+.mi { color: #009999 } /* Literal.Number.Integer */
+.mo { color: #009999 } /* Literal.Number.Oct */
+.sb { color: #d01040 } /* Literal.String.Backtick */
+.sc { color: #d01040 } /* Literal.String.Char */
+.sd { color: #d01040 } /* Literal.String.Doc */
+.s2 { color: #d01040 } /* Literal.String.Double */
+.se { color: #d01040 } /* Literal.String.Escape */
+.sh { color: #d01040 } /* Literal.String.Heredoc */
+.si { color: #d01040 } /* Literal.String.Interpol */
+.sx { color: #d01040 } /* Literal.String.Other */
+.sr { color: #009926 } /* Literal.String.Regex */
+.s1 { color: #d01040 } /* Literal.String.Single */
+.ss { color: #990073 } /* Literal.String.Symbol */
+.bp { color: #999999 } /* Name.Builtin.Pseudo */
+.vc { color: #008080 } /* Name.Variable.Class */
+.vg { color: #008080 } /* Name.Variable.Global */
+.vi { color: #008080 } /* Name.Variable.Instance */
+.il { color: #009999 } /* Literal.Number.Integer.Long */
+
+.css .o,
+.css .o + .nt,
+.css .nt + .nt { color: #999; }
+/* Show code snippets when we have the space */
+@media screen and (min-width: 481px) {
+  .highlight {
+    display: block;
+  }
+}
+
+.demoColorSwatches {
+    color: #FFF;
+}
+.demoColorSwatches h4 {
+    color: #292929;
+}
+.demoColorSwatches .colorPanel {
+    padding: 15px;
+}
+.demoColorSwatches .colorPanel:hover {
+    opacity: 0.85;
+    filter: alpha(opacity=85);
+}
+
+/* Responsive variations
+-------------------------------------------------- */
+
+/* Hide code snippets on mobile devices */
+@media screen and (max-width: 480px) {
+  .highlight {
+    display: none;
+  }
+}
+
+
+.bf-docs-container {
+    margin-top: 40px;
+}
+
+/* Navbars */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  overflow: hidden; /* cut the drop shadows off */
+  border: 1px solid #ddd ;
+}
+.bf-navbar-top-example .navbar-header,
+.bf-navbar-bottom-example .navbar-header {
+  margin-left: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example {
+  padding-bottom: 45px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example {
+  padding-top: 65px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+
+/* Phone and below */
+@media screen and (max-width: 768px) {
+  #home-logo { opacity: 1; height: 25px;}
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Trello";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "StackOverflow";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Twitter";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "IRC";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Mailing List";
+  }
+  div.cta {
+    line-height: 60px;
+  }
+  span.avoidwrap { display:inline-block; }
+  .navbar-nav > li > a {
+    opacity: 1.0;
+  }
+  .bf-masthead .tagline {
+    line-height: 90%;
+  }
+  .bf-masthead .description {
+    margin-bottom: 30px;
+  }
+  .bf-masthead p {
+    clear:both;
+    line-height: 100%;
+    padding-top: 5px;
+  }
+  .bf-masthead .or {
+    margin-right: 0;
+  }
+  .bf-questions .container{
+    padding: 30px 0;
+  }
+}
+
+/* Phones and Tablets */
+/*@media screen and (min-width: 768px) and (max-width: 992px) {
+  
+  .bf-masthead .tagline {
+    padding-bottom: 20px;
+  }
+
+}*/
+
+
+/* Tablets and up */
+@media screen and (min-width: 768px) {
+  header.secondary #home-logo { opacity: 1; }
+  #home-logo { opacity: 0; height: 30px;}
+  .bf-header {
+    font-size: 21px;
+    text-align: left;
+  }
+  .bf-header h1 {
+    font-size: 60px;
+    line-height: 1;
+  }
+
+  .bf-masthead p {
+    float:left;
+  }
+
+  .bf-masthead .or {
+    margin-right: 20px;
+  }
+  .bf-features .row {
+    padding: 20px 0;
+  } 
+  .bf-docs-container {
+    margin-top: 80px;
+  }
+
+  .bf-example {
+    margin-left: 0;
+    margin-right: 0;
+    border-radius: 4px;
+    background-color: #fff;
+    border-width: 1px;
+    border-color: #ddd;
+    box-shadow: none;
+  }
+  .bf-example + .prettyprint,
+  .bf-example + .highlight {
+    margin-top: -16px;
+    margin-left: 0;
+    margin-right: 0;
+    border-width: 1px;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+  }
+
+  /* Show the docs nav */
+  .bf-sidebar {
+    display: block;
+  }
+  .bf-sidebar > .nav > li > a {
+    display: inline-block;
+  }
+
+  .bf-navbar-top-example .navbar-fixed-top,
+  .bf-navbar-bottom-example .navbar-fixed-bottom {
+    position: absolute;
+  }
+  .bs-navbar-top-example {
+    border-radius: 0 0 4px 4px;
+  }
+  .bs-navbar-bottom-example {
+    border-radius: 4px 4px 0 0;
+  }
+}
+
+/* Tablets */
+@media screen and (min-width: 768px) and (max-width: 1200px) {
+  span.icns {
+    font-size: 140%;
+  }
+}
+
+/* Tablets/desktops and up */
+@media screen and (min-width: 1200px) {
+  span.icon-book:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Docs";
+  }
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Trello";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "StackOverflow";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Twitter";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "IRC";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "Mailing List";
+  }
+  .bf-header h1,
+  .bf-header p {
+    margin-right: 380px;
+  }
+  .bf-docs-container {
+    margin-top: 40px;
+  }
+
+  .bf-masthead .tagline, .bf-masthead .description, .bf-masthead .btn-wrapper {
+    margin-left: 140px;
+  }
+
+}
+
+.navbar-toggle {
+  background-color: rgb(36,129,166);
+  margin: 12px 0 0 0;
+}

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/access-token/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/access-token/index.html b/content/publish/docs/access-token/index.html
new file mode 100644
index 0000000..8282b0c
--- /dev/null
+++ b/content/publish/docs/access-token/index.html
@@ -0,0 +1,472 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Access token</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Access token</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/access-token.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#access-token">Access token</a><ul>
+<li>
+<a href="#requesting-an-access-token">Requesting an access token</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request-application-user">Example - Request (Application user)</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+<li><a href="#example---request-admin-user">Example - Request (Admin user)</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="access-token">Access token</h1>
+<p><a href="/docs/usergrid/content/management-resources">See all management resources</a><a href="/docs/usergrid/content/management-resources"><img src="/docs/sites/docs/files/learnmore%20arrow_0.png"></a></p>
+<p>An access token carries the credentials and authorization information needed to access other resources through the Apache Usergrid API. Using the API, you can obtain an access token.</p>
+<h2 id="requesting-an-access-token">Requesting an access token</h2>
+<p>Use the POST method to obtain an access token.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>The request URL depends on the access type:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Access Type</th>
+<th align="left">Request URL</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">Application user</td>
+<td align="left">POST /&lt;org_id&gt;/&lt;app_id&gt;/token ‘{“grant_type”:“password”, “username”:“&lt;username&gt;”, “password”:“&lt;password&gt;”[, “ttl”:“&lt;token_time_to_live&gt;”]}’</td>
+</tr>
+<tr class="even">
+<td align="left">Application</td>
+<td align="left">POST /&lt;org_id&gt;/&lt;app_id&gt;/token ‘{“grant_type”:“client_credentials”, “client_id”:“&lt;client_id&gt;”, “client_secret”:“&lt;client_secret&gt;”[, “ttl”:“&lt;token_time_to_live&gt;”]}’</td>
+</tr>
+<tr class="odd">
+<td align="left">Admin User</td>
+<td align="left">POST /token ‘{“grant_type”:“password”, “username”:“&lt;username&gt;”, “password”:“&lt;password&gt;”[, “ttl”:“&lt;token_time_to_live&gt;”]}’</td>
+</tr>
+<tr class="even">
+<td align="left">Organization</td>
+<td align="left">POST /token ‘{“grant_type”:“client_credentials”, “client_id”:“&lt;client_id&gt;”, “client_secret”:“&lt;client_secret&gt;”}’</td>
+</tr>
+</tbody>
+</table>
+<p>See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for further details about access types.</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter Name</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">client_id</td>
+<td align="left">string</td>
+<td align="left">Organization client ID. You can find this in the admin portal.</td>
+</tr>
+<tr class="even">
+<td align="left">client_secret</td>
+<td align="left">string</td>
+<td align="left">Organization client secret. You can find this in the admin portal</td>
+</tr>
+<tr class="odd">
+<td align="left">username</td>
+<td align="left">string</td>
+<td align="left">Value of the User entity username property. </td>
+</tr>
+<tr class="even">
+<td align="left">password</td>
+<td align="left">string</td>
+<td align="left">Password stored for this user.</td>
+</tr>
+<tr class="odd">
+<td align="left">ttl</td>
+<td align="left">long</td>
+<td align="left">
+<em>Optional.</em> The amount of time, in miliseconds, that this token will be valid before authentication is required again. This must be less than the accesstokenttl property of the application entity the token is being requested for.</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-application-user">Example - Request (Application user)</h3>
+<ul>
+<li><a href="#curl_get_token_appuser">cURL</a></li>
+<li><a href="#javascript_get_token_appuser">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_token_appuser">Ruby</a></li>
+<li><a href="#nodejs_get_token_appuser">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST -i -H "Content-Type: application/json" “https://api.usergrid.com/&lt;org_name&gt;/&lt;app_name&gt;/token”  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var username = 'testuser';
+var password = 'testpasswd';
+client.login(username, password,
+    function (err) {
+        if (err) {
+            //error — could not log user in
+        } else {
+            //success — user has been logged in
+            var token = client.token;
+        }
+    }
+);</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app.login 'testuser', 'testpasswd'
+token = app.auth_token</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var username = 'testuser';
+var password = 'testpasswd';
+client.login(username, password,
+    function (err) {
+        if (err) {
+            //error — could not log user in
+        } else {
+            //success — user has been logged in
+            var token = client.token;
+        }
+    }
+);</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+  "access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+  "expires_in": 3600,
+  "user": {
+    "uuid": "e70b8677-e95c-11e0-9407-005056c00008",
+    "type": "user",
+    "username": "testuser",
+    "email": "testuser@mail.com",
+    "activated": true,
+    "created": 1317164604367013,
+    "modified": 1317164604367013
+  }</code></pre>
+<h3 id="example---request-admin-user">Example - Request (Admin user)</h3>
+<ul>
+<li><a href="#curl_get_token_adminuser">cURL</a></li>
+<li><a href="#javascript_get_token_adminuser">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_token_adminuser">Ruby</a></li>
+<li><a href="#nodejs_get_token_adminuser">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST -i -H "Content-Type: application/json" “https://api.usergrid.com/management/token”  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'</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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt.login test, testpass
+token = mgmt.auth_token</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var username = 'testuser';
+var password = 'testpasswd';
+client.login(username, password,
+    function (err) {
+        if (err) {
+            //error — could not log admin user in
+        } else {
+            //success — admin user has been logged in
+            var token = client.token;
+        }
+    }
+);</code></pre>
+<h3 id="example---response-1">Example - Response</h3>
+<pre><code>{
+  "access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+  "expires_in": 3600,
+  "user": {
+    "username": "test",
+    "email": "test@usergrid.com",
+    "organizations": {
+      "test-organization": {
+        "users": {
+          "test": {
+            "name": "Test User",
+            "disabled": false,
+            "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+            "activated": true,
+            "username": "test",
+            "applicationId": "00000000-0000-0000-0000-000000000001",
+            "email": "test@usergrid.com",
+            "adminUser": true,
+            "mailTo": "Test User "
+          }
+        },
+        "name": "test-organization",
+        "applications": {
+          "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+        },
+        "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+      }
+    },
+    "adminUser": true,
+    "activated": true,
+    "name": "Test User",
+    "mailTo": "Test User ",
+    "applicationId": "00000000-0000-0000-0000-000000000001",
+    "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+    "disabled": false
+  }
+}</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/access-token.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/activities/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/activities/index.html b/content/publish/docs/activities/index.html
new file mode 100644
index 0000000..089d878
--- /dev/null
+++ b/content/publish/docs/activities/index.html
@@ -0,0 +1,240 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Activities</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up & Running Locally</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li>REST API — Coming Soon</li>
+                    <li><a class="icns-apple" href="https://github.com/usergrid/usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/usergrid/usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/usergrid/usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>
+                    <li><a href="/docs/contributing/">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li>Deploying — Coming Soon</li>
+                    <li>Monitoring — Coming Soon</li>
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <li>Security — Coming Soon</li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Activities</h1>
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/activities.md">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	
+</div>
+<p>Activities are a special type of Collection. They can be used to model short updates such as tweets, newsfeed items, social shares, updates, etc.</p>
+<p>They are heavily inspired by Twitter and ActivityStreams, so they will tend to work the way you expect these to work.</p>
+<p>Activities are attached to the User or Group that produced them, and will be automatically propagated to the Users that follow the Group or User. e.g. if Tim “follows” Ed, all Activities posted by Ed at /users/ed/activities will be automatically propagated so that a GET to /users/tim/feed will list all updates by Ed (and other users &amp; groups Tim follows).</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/activities.md">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file


[31/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/jquery-1.10.1.min.js
----------------------------------------------------------------------
diff --git a/content/content/js/jquery-1.10.1.min.js b/content/content/js/jquery-1.10.1.min.js
new file mode 100755
index 0000000..e407e76
--- /dev/null
+++ b/content/content/js/jquery-1.10.1.min.js
@@ -0,0 +1,6 @@
+/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
+//@ sourceMappingURL=jquery-1.10.1.min.map
+*/
+(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;
 if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){retur
 n x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.ran
 dom()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);fo
 r(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t)
 {e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length
 =i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply
 (e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=lt(),k=lt(),E=lt(),S=!1,A=function(){return 0},j=typeof t,D=1<<31,L={}.hasOwnPro
 perty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|od
 d|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a
 ||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=bt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+xt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return At(e.replace(z,"$1"),t,n,i)}function st(e){return K.test(e+"")}function lt(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function ut(e){return e[b]=!0,e}function ct(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finall
 y{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pt(e,t,n){e=e.split("|");var r,i=e.length,a=n?null:t;while(i--)(r=o.attrHandle[e[i]])&&r!==t||(o.attrHandle[e[i]]=a)}function ft(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:e[t]===!0?t.toLowerCase():null}function dt(e,t){return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function ht(e){return"input"===e.nodeName.toLowerCase()?e.defaultValue:t}function gt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function mt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function yt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function vt(e){return ut(function(t){return t=+t,ut(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.o
 wnerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.parentWindow;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.frameElement&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ct(function(e){return e.innerHTML="<a href='#'></a>",pt("type|href|height|width",dt,"#"===e.firstChild.getAttribute("href")),pt(B,ft,null==e.getAttribute("disabled")),e.className="i",!e.getAttribute("className")}),r.input=ct(function(e){return e.innerHTML="<input>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}),pt("value",ht,r.attributes&&r.input),r.getElementsByTagName=ct(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ct(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.
 getById=ct(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=st(n.querySelectorAll))&&(ct(function(e){e.innerHTML="<select><option selected=''></option></sel
 ect>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ct(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=st(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ct(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=st(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if
 (t===e)return!0;return!1},r.sortDetached=ct(function(e){return 1&e.compareDocumentPosition(n.createElement("div"))}),A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return gt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?gt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n|
 |r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPs
 eudo:ut,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=bt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,functio
 n(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop()
 )if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?ut(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ut(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?ut(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ut(function(e){return function(t){return at(e,t).length>0}}),contains:ut(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>
 -1}}),lang:ut(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function
 (e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:vt(function(){return[0]}),last:vt(function(e,t){return[t-1]}),eq:vt(function(e,t,n){return[0>n?n+t:n]}),even:vt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:vt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:vt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:vt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=mt(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=yt(n);function bt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.pu
 sh(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function xt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function wt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function Tt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Ct(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.pu
 sh(o),u&&t.push(s));return a}function Nt(e,t,n,r,i,o){return r&&!r[b]&&(r=Nt(r)),i&&!i[b]&&(i=Nt(i,o)),ut(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||St(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:Ct(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=Ct(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=Ct(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function kt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=wt(function(e){return e===t},s,!0),p=wt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[wt(Tt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;retur
 n Nt(l>1&&Tt(f),l>1&&xt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&kt(e.slice(l,r)),i>r&&kt(e=e.slice(r)),i>r&&xt(e))}f.push(n)}return Tt(f)}function Et(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=Ct(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?ut(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=bt(e)),n=t.length;while(n--)o=kt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Et(i,r))}return o};function St(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function At(e,t,n,i){var a,s,u,c,p
 ,f=bt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&xt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}o.pseudos.nth=o.pseudos.eq;function jt(){}jt.prototype=o.filters=o.pseudos,o.setFilters=new jt,r.sortStable=b.split("").sort(A).join("")===b,p(),[0,0].sort(A),r.detectDuplicates=S,x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.ext
 end({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!l||i&&!u||(n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),th
 is},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&
 &e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.node
 Type,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.a
 ppendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHei
 ght,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapB
 locks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)
+}),n=s=l=u=r=o=null,t}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:
 {},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(f
 unction(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn
 .extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.
 attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(
 U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=x(this),l=t,u=e.match(T)||[];while(o=u[a++])l=r?l:!s.hasClass(o),s[l?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(
 o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o
 ,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"
 get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.a
 ttrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"]
 ,function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]|
 |"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace
 )||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.deleg
 ateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropa
 gationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(
 t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:
 l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this in
 stanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.or
 igType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_chan
 ged&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=ty
 peof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.matc
 h.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o
 ):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e)
 {return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeTy
 pe)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[
 1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,func
 tion(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)
 ||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x
 .clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({}
 ,a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElem
 entsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);
 else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;
 for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
+u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,
 $t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style
 &&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)re
 turn s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.max
 Width=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style
 [t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentSt
 yle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:
 "",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encod
 eURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},und
 elegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOpti
 ons||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents
 :{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:funct
 ion(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.l
 astModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResp
 onseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for
 (s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",funct
 ion(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.is
 Function(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n
 .type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(
 e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],create
 Tween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[
 n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data
 (e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototyp
 e.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.qu
 eue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]

<TRUNCATED>

[42/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/folder.md
----------------------------------------------------------------------
diff --git a/content/content/docs/folder.md b/content/content/docs/folder.md
new file mode 100644
index 0000000..dfa831d
--- /dev/null
+++ b/content/content/docs/folder.md
@@ -0,0 +1,45 @@
+---
+title: Folder
+category: docs
+layout: docs
+---
+
+Folder
+======
+
+Folder entities are used primarily to organize content into a structure.
+For example, you can create a folders collection for media content, and
+within it have a ‘music’ folder for music content, and a ‘video’ folder
+for video content.
+
+Using Apache Usergrid APIs you can create, retrieve, update, delete, and
+query folder entities. See You do not have access to view this node for
+descriptions of these APIs.
+
+Folder properties
+-----------------
+
+The following are the system-defined properties for foldetr entities.
+You can create application-specific properties for a folder entity in
+addition to the system-defined properties. The system-defined properties
+are reserved. You cannot use these names to create other properties for
+a folder entity. In addition the folders name is reserved for the
+folders collection — you can't use it to name another collection.
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     the folder’s unique entity ID
+  type       string   "folder"
+  name       string   Folder name (mandatory)
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  owner      UUID     UUID of the folder’s owner (mandatory)
+  path       string   Relative path to the folder (mandatory)
+
+Folders have the following set properties.
+
+  Set           Type     Description
+  ------------- -------- -----------------------------------
+  connections   string   set of connections for the folder
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/geolocation.md
----------------------------------------------------------------------
diff --git a/content/content/docs/geolocation.md b/content/content/docs/geolocation.md
new file mode 100644
index 0000000..e59a7fa
--- /dev/null
+++ b/content/content/docs/geolocation.md
@@ -0,0 +1,87 @@
+---
+title: Geolocation
+category: docs
+layout: docs
+---
+
+Geolocation
+===========
+
+Many of today's apps are enhanced by the use of *geolocation*, wireless
+detection of the physical location of a remote device. These apps are
+said to be *geolocation-aware* in that they query the device to
+determine the user's position and then use this data to further enhance
+the user's experience. For example, apps can capture the exact location
+where a picture was taken or a message was created.
+
+App services support geolocation on any entity, both built in (e.g.,
+users, groups) and user defined.
+
+Adding a location to an entity
+------------------------------
+
+To add a location to any entity, include the following member to the
+JSON in a POST or PUT call:
+
+    "location": {
+        "latitude": 37.779632,
+        "longitude": -122.395131  
+    } 
+
+For example, to store a listing of restaurants and their locations,
+start by creating a collection called restaurants:
+
+    POST https://api.usergrid.com/org_name/app_name/restaurants
+
+Next, add a new entity to the collection:
+
+    POST https://api.usergrid.com/org_name/app_name/restaurants
+    {
+      "name": "Rockadero",
+      "address": "21 Slate Street, Bedrock, CA",
+      "location": {
+        "latitude": 37.779632,
+        "longitude": -122.395131
+      }
+    }
+
+This creates a new restaurant entity called "Rockadero" with the
+longitude and latitude included as part of the object.
+
+You can also use geolocation to keep track of the location of a user. In
+this case, the user already exists, so you just need to update that user
+entity. Use POST and include the location member:
+
+    POST https://api.usergrid.com/org_name/app_name/users/fred
+    {
+      "location": {
+        "latitude": 37.779632,
+        "longitude": -122.395131
+      }
+    }
+
+This either adds or updates the location member of the user object for
+the user fred.
+
+Making queries against an entity's location
+-------------------------------------------
+
+When a location is added to an entity, it is easy to make queries
+against that data. For example, to see all restaurants within a 10 mile
+radius of the user's location, make a GET call against that entity, and
+include a search query in the following format:
+
+    location within <distance in meters> of <latitude>, <longitude>
+
+If we use the location of our user Fred, we first need to convert miles
+to meters. 1 mile is equivalent to 1609.344 meters, so 10 miles is about
+16093 meters. Thus, the API call looks like this:
+
+    GET https://api.usergrid.com/org_name/app_name/restaurants?ql=location within 16093 of 37.776753, -122.407846
+
+The url-encoded version looks like this:
+
+    https://api.usergrid.com/org_name/app_name/restaurants?ql=location%20within%2016093%20of%2037.776753%2C%20-122.407846&_=1337570474469
+
+In this case, the API call returns one entry for the Rockadero, which is
+exactly where Fred happens to be. Bon Appetit!

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/getting-up-and-running-locally.md
----------------------------------------------------------------------
diff --git a/content/content/docs/getting-up-and-running-locally.md b/content/content/docs/getting-up-and-running-locally.md
new file mode 100644
index 0000000..a58ef0e
--- /dev/null
+++ b/content/content/docs/getting-up-and-running-locally.md
@@ -0,0 +1,74 @@
+---
+title: Getting Up & Running Locally
+category: docs
+layout: docs
+---
+
+## Requirements
+
+* [JDK 1.7](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
+* [Maven](http://maven.apache.org/)
+
+## Download
+
+Start by [downloading our latest code](https://github.com/apache/incubator-usergrid/archive/master.zip) and extract it.
+
+## Building
+
+From the command line, navigate to stack directory and type the following:
+
+    mvn clean install -DskipTests=true
+
+## Running
+
+Usergrid-core contains the persistence layer and shared utilities for powering the Usergrid service. The services layer is contained in usergrid-services and exposes a higher-level API that's used by the usergrid-rest web services tier.
+
+You can run Usergrid from the command-line from the
+jar in the usergrid/standalone project:
+
+    cd launcher; java -jar target/usergrid-launcher-*.jar
+
+After startup, your instance will be available on localhost, port 8080.
+To check it’s running properly, you can try loading our status page:
+
+    curl http://localhost:8080/status
+
+You can also run it as a webapp in Tomcat, by deploying the ROOT.war file generated in the usergrid/rest project.
+
+## Getting Started with the HTTP API
+
+Start by creating an Organization. It’s the top-level structure in Usergrid:
+all Apps and Administrators must belong to an Organization. Here’s how you create one:
+
+    curl -X POST  \
+         -d 'organization=myfirstorg&username=myadmin&name=Admin&email=admin@example.com&password=password' \
+         http://localhost:8080/management/organizations
+
+You can see that creating an Organization creates an Administrator in the process. Let’s authenticate as him:
+
+    curl 'http://localhost:8080/management/token?grant_type=password&username=myadmin&password=password'
+
+This will return an access\_token. We’ll use this to authenticate the next two calls.
+Next, let’s create an Application:
+
+    curl -H "Authorization: Bearer [the management token from above]" \
+         -H "Content-Type: application/json" \
+         -X POST -d '{ "name":"myapp" }' \
+         http://localhost:8080/management/orgs/myfirstorg/apps
+
+… And a User for the Application:
+
+    curl -H "Authorization: Bearer [the management token from above]" \
+         -X POST "http://localhost:8080/myfirstorg/myapp/users" \
+         -d '{ "username":"myuser", "password":"mypassword", "email":"user@example.com" }'
+
+Let’s now generate an access token for this Application User:
+
+    curl 'http://localhost:8080/myfirstorg/myapp/token?grant_type=password&username=myuser&password=mypassword'
+
+This will also send back an access\_token, but limited in scope.
+Let’s use it to create a collection with some data in it:
+
+    curl -H "Authorization: Bearer [the user token]" \
+         -X POST -d '[ { "cat":"fluffy" }, { "fish": { "gold":2, "oscar":1 } } ]' \
+         http://localhost:8080/myfirstorg/myapp/pets

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/group 2.md
----------------------------------------------------------------------
diff --git a/content/content/docs/group 2.md b/content/content/docs/group 2.md
new file mode 100644
index 0000000..03f3242
--- /dev/null
+++ b/content/content/docs/group 2.md	
@@ -0,0 +1,936 @@
+---
+title: Group
+category: docs
+layout: docs
+---
+
+Group
+=====
+
+A group entity organizes users into a group. Using Apache Usergrid APIs you
+can create, retrieve, update, or delete a group. You can also add or
+delete a user to or from a group.
+
+See [Group entity properties](#group_properties) for a list of the
+system-defined properties for group entities. In addition, you can
+create group properties specific to your application.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating a new group
+--------------------
+
+Use the POST method to create a new group. Groups use paths to indicate
+their unique names. This allows you to create group hierarchies by using
+slashes. For this reason, you need to specify a path property for a new
+group.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/groups
+
+### Parameters
+
+  Parameter                 Description
+  ------------------------- ----------------------------------------
+  arg uuid|string org\_id   Organization UUID or organization name
+  arg uuid|string app\_id   Application UUID or application name
+
+### Example - Request
+
+-   [cURL](#curl_create_group)
+-   [JavaScript (HTML5)](#javascript_create_group)
+-   [Ruby](#ruby_create_group)
+-   [Node.js](#nodejs_create_group)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups" -d '{"path":"mynewgroup"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups',
+        body:{ path:'mynewgroup' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups'].post path: 'mynewgroup'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups',
+        body:{ path:'mynewgroup' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066016571,
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+     ],
+    "timestamp": 1331066016563,
+    "duration": 35,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Adding a user to a group
+------------------------
+
+Use the POST method to add a user to a group. If the named group does
+not yet exist, an error message is returned.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  arg uuid|string username    UUID or username of user
+
+### Example - Request
+
+-   [cURL](#curl_add_user)
+-   [JavaScript (HTML5)](#javascript_add_user)
+-   [Ruby](#ruby_add_user)
+-   [Node.js](#nodejs_add_user)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mynewgroup/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup/users/john.doe'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+    "entities": [
+          {
+            "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+            "type": "user",
+            "nanme": "John Doe",
+            "created": 1327517852364015,
+            "modified": 1327517852364015,
+            "activated": true,
+            "email": "john.doe@mail.com",
+            "metadata": {
+              "connecting": {
+                "owners":   "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+                 },
+              "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+              "sets": {
+                "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+                "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+                 },
+              "collections": {
+                "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+                "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+                "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+                "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+                "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+                "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+                "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+                 }
+            },
+            "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+            "username": "john.doe"
+          }
+       ],
+       "timestamp": 1331066031380,
+       "duration": 64,
+       "organization" : "my-org",
+       "applicationName": "my-app"
+    }
+
+Getting a group
+---------------
+
+Use the GET method to retrieve a group.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group)
+-   [JavaScript (HTML5)](#javascript_get_group)
+-   [Ruby](#ruby_get_group)
+-   [Node.js](#nodejs_get_group)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mynewgroup"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    user = app['mynewgroup'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "get",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+          "_": [
+            "1331066049869"
+          ]
+    },
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066016571,
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066050106,
+    "duration": 18,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Updating a group
+----------------
+
+Use the PUT method to update a group.
+
+### Request URI
+
+PUT /{org\_id}{app\_id}/groups/{uuid|groupname} {request body}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  request body                Set of entity properties
+
+### Example - Request
+
+-   [cURL](#curl_update_group)
+-   [JavaScript (HTML5)](#javascript_update_group)
+-   [Ruby](#ruby_update_group)
+-   [Node.js](#nodejs_update_group)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/my-org/my-app/groups/mynewgroup" -d '("foo":"bar"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'PUT',
+        endpoint:'groups/mynewgroup',
+        body:{ foo:'bar' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    mynewgroup = app['groups/mynewgroup'].put foo: 'bar'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'groups/mynewgroup',
+        body:{ foo:'bar' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "put",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066092191,
+          "foo": "bar",
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066092178,
+    "duration": 31,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Deleting a user from a group
+----------------------------
+
+Use the DELETE method to delete a user from the specified group.
+
+### Request URI
+
+DELETE
+/{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  arg uuid|string username    UUID or username of user to be deleted
+
+### cURL Example - Request
+
+-   [cURL](#curl_delete_user_group)
+-   [JavaScript (HTML5)](#javascript_delete_user_group)
+-   [Ruby](#ruby_delete_user_group)
+-   [Node.js](#nodejs_delete_user_group)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup/users/john.doe'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "delete",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+          "_": [
+            "1331066118009"
+          ]
+    },
+    "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+    "entities": [
+          {
+            "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+            "type": "user",
+            "name": "John Doe",
+            "created": 1327517852364015,
+            "modified": 1327517852364015,
+            "activated": true,
+            "email": "john.doe@mail.com",
+            "metadata": {
+              "connecting": {
+                "owners": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+              },
+              "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+              "sets": {
+                "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+                "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+              },
+              "collections": {
+                "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+                "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+                "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+                "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+                "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+                "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+                "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+              }
+            },
+            "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+            "username": "john.doe"
+          }
+    ],
+    "timestamp": 1331066118193,
+    "duration": 236,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Deleting a group
+----------------
+
+Use the DELETE method to delete a group.
+
+### Request URI
+
+DELETE /{org\_id}/{app\_id}/groups/{uuid|groupname}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_delete_group)
+-   [JavaScript (HTML5)](#javascript_delete_group)
+-   [Ruby](#ruby_delete_group)
+-   [Node.js](#nodejs_delete_group)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "delete",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+        "_": [
+          "1331066144280"
+        ]
+    },
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066092191,
+          "foo": "bar",
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066144462,
+    "duration": 302,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Getting a group’s feed
+----------------------
+
+Use the GET method to retrieve the feed for a group. This gets a list of
+all the activities that have been posted to this group, that is, the
+activities for which this group has a relationship (owns).
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/feed
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_feed)
+-   [JavaScript (HTML5)](#javascript_get_group_feed)
+-   [Ruby](#ruby_get_group_feed)
+-   [Node.js](#nodejs_get_group_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    activities = app['groups/mygroup/feed'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+        "action": "get",
+        "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+        "params":  {},
+        "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "entities":  [
+           {
+            "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+            "type": "activity",
+            "created": 1353952903811,
+            "modified": 1353952903811,
+            "actor":  {
+              "displayName": "John Doe",
+              "image":  {
+                "duration": 0,
+                "height": 80,
+                "url": "http://www.gravatar.com/avatar/",
+                "width": 80
+              },
+              "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+              "email": "john.doe@gmail.com",
+            "username": "john.doe"
+            },
+            "content": "Hello World!",
+            "metadata":  {
+              "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+              "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+            },
+            "published": 1353952903811,
+            "verb": "post"
+          }
+        ],
+      "timestamp": 1353953272756,
+      "duration": 29,
+      "organization": "my-org",
+      "applicationName": "my-app"
+
+Getting all users in a group
+----------------------------
+
+Use the GET method to retrieve all the users in a group.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/users
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_users)
+-   [JavaScript (HTML5)](#javascript_get_group_users)
+-   [Ruby](#ruby_get_group_users)
+-   [Node.js](#nodejs_get_group_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/users"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    activities = app['groups/mygroup/users'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "e7127751-6985-11e2-8078-02e81aeb2129",
+      "params" : { },
+      "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users",
+      "uri" : "http://api.usergrid.com/myorg/sandbox/groups/d20976ff-802f-11e2-b690-02e81ae61238/users",
+      "entities" : [ {
+        "uuid" : "cd789b00-698b-11e2-a6e3-02e81ae236e9",
+        "type" : "user",
+        "name" : "barney",
+        "created" : 1359405994314,
+        "modified" : 1361894320470,
+        "activated" : true,
+        "email" : "barney@apigee.com",
+        "metadata" : {
+          "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9",
+          "sets" : {
+            "rolenames" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/rolenames",
+            "permissions" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/permissions"
+          },
+          "collections" : {
+            "activities" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/activities",
+            "devices" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/devices",
+            "feed" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/feed",
+            "groups" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/groups",
+            "roles" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/roles",
+            "following" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/following",
+            "followers" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/followers"
+          }
+        },
+        "name" : "barney",
+        "picture" : "http://www.gravatar.com/avatar/00767101f6b4f2cf5d02ed510dbcf0b4",
+        "test" : "fred",
+        "username" : "barney"
+      } ],
+      "timestamp" : 1361903248398,
+      "duration" : 24,
+      "organization" : "myorg",
+      "applicationName" : "sandbox"
+    }
+
+Group properties
+----------------
+
+The following are the system-defined properties for group entities. The
+system-defined properties are reserved. You cannot use these names to
+create other properties for a group entity. In addition the groups name
+is reserved for the group collection — you can't use it to name another
+collection.
+
+The look-up properties for the entities of type group are UUID and path,
+that is, you can use the uuid or path property to reference a group in
+an API call. However, you can search on a group using any property of
+the group entity. See [Queries and parameters](/queries-and-parameters)
+for details on searching.
+
+### General properties
+
+Groups have the following general properties.
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Group’s unique entity ID
+  type       string   Type of entity, in this case “user”
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  path       string   Valid slash-delimited group path (mandatory)
+  title      string   Display name
+
+### Set properties
+
+Groups have the following set properties.
+
+  Set           Type     Description
+  ------------- -------- ---------------------------------------
+  connections   string   Set of connection types (e.g., likes)
+  rolenames     string   Set of roles assigned to a group
+  credentials   string   Set of group credentials
+
+### Collections
+
+Groups have the following collections.
+
+  Collection   Type       Description
+  ------------ ---------- ------------------------------------------------------
+  users        user       Collection of users in the group
+  activities   activity   Collection of activities a user has performed
+  feed         activity   Inbox of activity notifications a group has received
+  roles        role       Set of roles to which a group belongs
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/group.md
----------------------------------------------------------------------
diff --git a/content/content/docs/group.md b/content/content/docs/group.md
new file mode 100644
index 0000000..03f3242
--- /dev/null
+++ b/content/content/docs/group.md
@@ -0,0 +1,936 @@
+---
+title: Group
+category: docs
+layout: docs
+---
+
+Group
+=====
+
+A group entity organizes users into a group. Using Apache Usergrid APIs you
+can create, retrieve, update, or delete a group. You can also add or
+delete a user to or from a group.
+
+See [Group entity properties](#group_properties) for a list of the
+system-defined properties for group entities. In addition, you can
+create group properties specific to your application.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating a new group
+--------------------
+
+Use the POST method to create a new group. Groups use paths to indicate
+their unique names. This allows you to create group hierarchies by using
+slashes. For this reason, you need to specify a path property for a new
+group.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/groups
+
+### Parameters
+
+  Parameter                 Description
+  ------------------------- ----------------------------------------
+  arg uuid|string org\_id   Organization UUID or organization name
+  arg uuid|string app\_id   Application UUID or application name
+
+### Example - Request
+
+-   [cURL](#curl_create_group)
+-   [JavaScript (HTML5)](#javascript_create_group)
+-   [Ruby](#ruby_create_group)
+-   [Node.js](#nodejs_create_group)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups" -d '{"path":"mynewgroup"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups',
+        body:{ path:'mynewgroup' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups'].post path: 'mynewgroup'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups',
+        body:{ path:'mynewgroup' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066016571,
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+     ],
+    "timestamp": 1331066016563,
+    "duration": 35,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Adding a user to a group
+------------------------
+
+Use the POST method to add a user to a group. If the named group does
+not yet exist, an error message is returned.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  arg uuid|string username    UUID or username of user
+
+### Example - Request
+
+-   [cURL](#curl_add_user)
+-   [JavaScript (HTML5)](#javascript_add_user)
+-   [Ruby](#ruby_add_user)
+-   [Node.js](#nodejs_add_user)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mynewgroup/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup/users/john.doe'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+    "entities": [
+          {
+            "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+            "type": "user",
+            "nanme": "John Doe",
+            "created": 1327517852364015,
+            "modified": 1327517852364015,
+            "activated": true,
+            "email": "john.doe@mail.com",
+            "metadata": {
+              "connecting": {
+                "owners":   "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+                 },
+              "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+              "sets": {
+                "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+                "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+                 },
+              "collections": {
+                "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+                "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+                "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+                "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+                "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+                "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+                "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+                 }
+            },
+            "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+            "username": "john.doe"
+          }
+       ],
+       "timestamp": 1331066031380,
+       "duration": 64,
+       "organization" : "my-org",
+       "applicationName": "my-app"
+    }
+
+Getting a group
+---------------
+
+Use the GET method to retrieve a group.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group)
+-   [JavaScript (HTML5)](#javascript_get_group)
+-   [Ruby](#ruby_get_group)
+-   [Node.js](#nodejs_get_group)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mynewgroup"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    user = app['mynewgroup'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "get",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+          "_": [
+            "1331066049869"
+          ]
+    },
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066016571,
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066050106,
+    "duration": 18,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Updating a group
+----------------
+
+Use the PUT method to update a group.
+
+### Request URI
+
+PUT /{org\_id}{app\_id}/groups/{uuid|groupname} {request body}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  request body                Set of entity properties
+
+### Example - Request
+
+-   [cURL](#curl_update_group)
+-   [JavaScript (HTML5)](#javascript_update_group)
+-   [Ruby](#ruby_update_group)
+-   [Node.js](#nodejs_update_group)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/my-org/my-app/groups/mynewgroup" -d '("foo":"bar"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'PUT',
+        endpoint:'groups/mynewgroup',
+        body:{ foo:'bar' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    mynewgroup = app['groups/mynewgroup'].put foo: 'bar'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'groups/mynewgroup',
+        body:{ foo:'bar' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "put",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066092191,
+          "foo": "bar",
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066092178,
+    "duration": 31,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Deleting a user from a group
+----------------------------
+
+Use the DELETE method to delete a user from the specified group.
+
+### Request URI
+
+DELETE
+/{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  arg uuid|string username    UUID or username of user to be deleted
+
+### cURL Example - Request
+
+-   [cURL](#curl_delete_user_group)
+-   [JavaScript (HTML5)](#javascript_delete_user_group)
+-   [Ruby](#ruby_delete_user_group)
+-   [Node.js](#nodejs_delete_user_group)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup/users/john.doe'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "delete",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+          "_": [
+            "1331066118009"
+          ]
+    },
+    "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+    "entities": [
+          {
+            "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+            "type": "user",
+            "name": "John Doe",
+            "created": 1327517852364015,
+            "modified": 1327517852364015,
+            "activated": true,
+            "email": "john.doe@mail.com",
+            "metadata": {
+              "connecting": {
+                "owners": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+              },
+              "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+              "sets": {
+                "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+                "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+              },
+              "collections": {
+                "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+                "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+                "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+                "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+                "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+                "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+                "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+              }
+            },
+            "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+            "username": "john.doe"
+          }
+    ],
+    "timestamp": 1331066118193,
+    "duration": 236,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Deleting a group
+----------------
+
+Use the DELETE method to delete a group.
+
+### Request URI
+
+DELETE /{org\_id}/{app\_id}/groups/{uuid|groupname}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_delete_group)
+-   [JavaScript (HTML5)](#javascript_delete_group)
+-   [Ruby](#ruby_delete_group)
+-   [Node.js](#nodejs_delete_group)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/mynewgroup'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "delete",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {
+        "_": [
+          "1331066144280"
+        ]
+    },
+    "path": "/groups",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+    "entities": [
+        {
+          "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+          "type": "group",
+          "created": 1331066016571,
+          "modified": 1331066092191,
+          "foo": "bar",
+          "metadata": {
+            "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+            "sets": {
+              "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+              "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+            },
+            "collections": {
+              "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+              "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+              "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+              "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+            }
+          },
+          "path": "mynewgroup"
+        }
+    ],
+    "timestamp": 1331066144462,
+    "duration": 302,
+    "organization" : "my-org",
+    "applicationName": "my-app"
+    }
+
+Getting a group’s feed
+----------------------
+
+Use the GET method to retrieve the feed for a group. This gets a list of
+all the activities that have been posted to this group, that is, the
+activities for which this group has a relationship (owns).
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/feed
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_feed)
+-   [JavaScript (HTML5)](#javascript_get_group_feed)
+-   [Ruby](#ruby_get_group_feed)
+-   [Node.js](#nodejs_get_group_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    activities = app['groups/mygroup/feed'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+        "action": "get",
+        "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+        "params":  {},
+        "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "entities":  [
+           {
+            "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+            "type": "activity",
+            "created": 1353952903811,
+            "modified": 1353952903811,
+            "actor":  {
+              "displayName": "John Doe",
+              "image":  {
+                "duration": 0,
+                "height": 80,
+                "url": "http://www.gravatar.com/avatar/",
+                "width": 80
+              },
+              "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+              "email": "john.doe@gmail.com",
+            "username": "john.doe"
+            },
+            "content": "Hello World!",
+            "metadata":  {
+              "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+              "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+            },
+            "published": 1353952903811,
+            "verb": "post"
+          }
+        ],
+      "timestamp": 1353953272756,
+      "duration": 29,
+      "organization": "my-org",
+      "applicationName": "my-app"
+
+Getting all users in a group
+----------------------------
+
+Use the GET method to retrieve all the users in a group.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/users
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_users)
+-   [JavaScript (HTML5)](#javascript_get_group_users)
+-   [Ruby](#ruby_get_group_users)
+-   [Node.js](#nodejs_get_group_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/users"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    activities = app['groups/mygroup/users'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "e7127751-6985-11e2-8078-02e81aeb2129",
+      "params" : { },
+      "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users",
+      "uri" : "http://api.usergrid.com/myorg/sandbox/groups/d20976ff-802f-11e2-b690-02e81ae61238/users",
+      "entities" : [ {
+        "uuid" : "cd789b00-698b-11e2-a6e3-02e81ae236e9",
+        "type" : "user",
+        "name" : "barney",
+        "created" : 1359405994314,
+        "modified" : 1361894320470,
+        "activated" : true,
+        "email" : "barney@apigee.com",
+        "metadata" : {
+          "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9",
+          "sets" : {
+            "rolenames" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/rolenames",
+            "permissions" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/permissions"
+          },
+          "collections" : {
+            "activities" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/activities",
+            "devices" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/devices",
+            "feed" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/feed",
+            "groups" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/groups",
+            "roles" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/roles",
+            "following" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/following",
+            "followers" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/followers"
+          }
+        },
+        "name" : "barney",
+        "picture" : "http://www.gravatar.com/avatar/00767101f6b4f2cf5d02ed510dbcf0b4",
+        "test" : "fred",
+        "username" : "barney"
+      } ],
+      "timestamp" : 1361903248398,
+      "duration" : 24,
+      "organization" : "myorg",
+      "applicationName" : "sandbox"
+    }
+
+Group properties
+----------------
+
+The following are the system-defined properties for group entities. The
+system-defined properties are reserved. You cannot use these names to
+create other properties for a group entity. In addition the groups name
+is reserved for the group collection — you can't use it to name another
+collection.
+
+The look-up properties for the entities of type group are UUID and path,
+that is, you can use the uuid or path property to reference a group in
+an API call. However, you can search on a group using any property of
+the group entity. See [Queries and parameters](/queries-and-parameters)
+for details on searching.
+
+### General properties
+
+Groups have the following general properties.
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Group’s unique entity ID
+  type       string   Type of entity, in this case “user”
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  path       string   Valid slash-delimited group path (mandatory)
+  title      string   Display name
+
+### Set properties
+
+Groups have the following set properties.
+
+  Set           Type     Description
+  ------------- -------- ---------------------------------------
+  connections   string   Set of connection types (e.g., likes)
+  rolenames     string   Set of roles assigned to a group
+  credentials   string   Set of group credentials
+
+### Collections
+
+Groups have the following collections.
+
+  Collection   Type       Description
+  ------------ ---------- ------------------------------------------------------
+  users        user       Collection of users in the group
+  activities   activity   Collection of activities a user has performed
+  feed         activity   Inbox of activity notifications a group has received
+  roles        role       Set of roles to which a group belongs
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/groups.md
----------------------------------------------------------------------
diff --git a/content/content/docs/groups.md b/content/content/docs/groups.md
new file mode 100644
index 0000000..bfe466b
--- /dev/null
+++ b/content/content/docs/groups.md
@@ -0,0 +1,42 @@
+---
+title: Groups
+category: docs
+layout: docs
+---
+
+You can organize app users into groups. Groups have their own Activity Feed, their own permissions and be a useful alternative to Roles, depending on how you model your data. Groups were originaly designed to emulate Facebook Groups, so they will tend to function about the same way Facebook Groups would.
+
+Groups are hierarchical. Every member of the group /groups/california/san-francisco is also a member of the group /groups/california.
+
+Groups are also a great way to model things such a topic subscriptions. For example, you could allow people to subscribe (i.e. become a member of the group and be alerted via Activities) to /groups/memes/dogs/doge or subscribe to all /groups/memes/dogs
+
+
+### General properties
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Group’s unique entity ID
+  type       string   Type of entity, in this case “user”
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  path       string   Valid slash-delimited group path (mandatory)
+  title      string   Display name
+
+### Set properties
+
+  Set           Type     Description
+  ------------- -------- ---------------------------------------
+  connections   string   Set of connection types (e.g., likes)
+  rolenames     string   Set of roles assigned to a group
+  credentials   string   Set of group credentials
+
+### Collections
+
+  Collection   Type       Description
+  ------------ ---------- ------------------------------------------------------
+  users        user       Collection of users in the group
+  activities   activity   Collection of activities a user has performed
+  feed         activity   Inbox of activity notifications a group has received
+  roles        role       Set of roles to which a group belongs
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/html-5-example-messagee.md
----------------------------------------------------------------------
diff --git a/content/content/docs/html-5-example-messagee.md b/content/content/docs/html-5-example-messagee.md
new file mode 100644
index 0000000..e9ec380
--- /dev/null
+++ b/content/content/docs/html-5-example-messagee.md
@@ -0,0 +1,192 @@
+---
+title: Messagee Example
+category: docs
+layout: docs
+---
+
+Messagee Example
+================
+
+*Messagee* is a simple Twitter-style messaging application that
+leverages the extensive functionality of App services. This section
+describes some of the features of Messagee.
+
+There are three client versions of Messagee:
+
+-   An [iOS client](#iOS_client)
+-   An [Android client](#android_client)
+-   An [HTML5 client](#html5_client)
+
+The sections below describe how to create a new app, enter some test
+users, and run the app. You also learn how to use the App services admin
+portal, a user interface that streamlines data and application
+management in the App services system. The portal is also a reference
+application that shows how to incorporate App services APIs with
+JavaScript. For a more detailed discussion of the portal's
+functionality, see [Admin portal](/admin-portal).
+
+Creating a user account in App services
+---------------------------------------
+
+Go to [https://apigee.com/usergrid/](https://apigee.com/usergrid/) to
+access the login screen for the App services admin portal. If you are
+new to App services, sign up for an account to access the portal,
+specifying an organization (e.g., the name of your company or project
+team) and a username and password that you can use to authenticate.
+Because App services are designed for use by development teams, the same
+username can be associated with one or more organizations.
+
+If you create a new account, you receive a confirmation email that
+contains a URL that you must click to activate the account. After this,
+simply log in to the portal with your username and password.
+
+![](/docs/sites/docs/files/styles/large/public/login.png?itok=ws5DhLDI)
+
+Creating an app and users
+-------------------------
+
+When you have logged in, you need to create a new application.
+
+![](/docs/sites/docs/files/styles/large/public/portal-1.png?itok=4o63Ia-y)
+
+1.  2.  Enter a unique application name. The name must be unique to
+    avoid a conflict with another user running the same application.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-2.png?itok=yz8QznI7)
+
+3.  4.  Make sure that the portal shows the application name you entered
+    as the active application beneath the Applications menu **(1)**.
+
+    If the correct name is not displayed, click the menu and select your
+    application.
+
+    Next, you need to populate a test user *user-test-1* that is going
+    to log in to your copy of the server-side Messagee app.
+
+5.  6.  Click the Users box on the left side of the console **(2)**.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-3.png?itok=ncRlqPGQ)
+
+7.  8.  Click the Add button and enter the user information for your
+    application in the pop-up window (be sure to create a password you
+    can remember), and then click the Create button. Repeat these steps
+    to create a second username *test-user-2*.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-4.png?itok=X_kKe5Ke)
+
+9.  
+
+When you have finished all these steps, you have a new application and
+two new users.
+
+![](/docs/sites/docs/files/styles/large/public/portal-5.png?itok=jSmAcwc3)
+
+Now that you have created a uniquely named copy of the Messagee
+application as well as two user accounts (*test-user-1* and
+*test-user-2*), you are ready to test out the Messagee app. Use
+test-user-1 to log in to the app, and test-user-2 as the user to follow.
+
+To continue with the example, follow the instructions for a client app
+([iOS client](#iOS_client), [Android client](#android_client), or [HTML5
+client](#html5_client)).
+
+iOS client
+----------
+
+Messagee is available as an iPhone app that uses Apache Usergrid and
+RestKit. The source for the iOS version of Messagee is available in the
+/samples/messagee directory of the [Apache Usergrid iOS SDK](#ios_sdk)
+
+Here are the steps to run the Messagee app on iOS:
+
+1.  2.  Run Steps 1-6 under [Creating an app and users](#app_user).
+
+    These steps create a unique instance of the Messagee app on the
+    server and two test users, *test-user-1* and *test-user-2*.
+
+3.  4.  Access the Messagee server app by typing a URL similar to the
+    following into your iOS mobile client (replace \<Messagee\> with the
+    unique name of your application):
+
+    [https://api.usergrid.com](https://api.usergrid.com)/\<Messagee\>/index.html
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-1-chooseapp.jpg?itok=NSQcdJrj)
+
+5.  6.  On the mobile client, complete the registration information and
+    click Register.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-2-register.jpg?itok=Xzqe7mXV)
+
+7.  8.  Log in to the Messagee app by entering the *test-user-1* account
+    information created previously, and click the Sign in button.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-4-signin.jpg?itok=0M9QYU7b)
+
+    At this point, the message board is empty:
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-5-emptyfeed.jpg?itok=EWcUVMQN)
+
+9.  10. To post a message using the app, click the top-right icon in the
+    message board to create a message, write the message text, and send
+    it by clicking Post.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-6-newmsg.jpg?itok=Wj16l_5V)
+
+    **Note:** The posted message should appear in the message board
+    within few seconds.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-7-feed1msg.jpg?itok=RclSnHuU)
+
+    For your instance of the Messagee application to act like Twitter,
+    you need to "follow" another user.
+
+11. 12. In the message board, click Add People and add *test-user-2* as
+    a person that *test-user-1* follows.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-9-follow.jpg?itok=yJeaYnEj)
+
+13. 14. Log in as *test-user-2* and post a message as this user to the
+    message board.
+15. 16. Go back and log in as user *test-user-1*.
+
+    Because *test-user-1* follows *test-user-2*, you should see the
+    message sent by *test-user-2* in the message board.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-10-seeusermsg.jpg?itok=Wcd7avBh)
+
+17. 
+
+iOS SDK
+-------
+
+If you want to write iOS applications that connect to App services,
+[download the Apache Usergrid iOS
+SDK](http://www.apigee.com/docs/content/ios-sdk-redirect)
+
+**Note:** The Messagee iOS application uses RestKit, a popular REST
+framework for iOS, to communicate with App services. Because App
+services use a REST API, you can use any REST framework to talk with the
+service. However, the official App services iOS SDK provides a more
+convenient communication mechanism that you should use unless you're
+already using RestKit or some other framework in your project.
+
+Android client and SDK
+----------------------
+
+Messagee is available as a sample Android app that acts as a App
+services client. The source for the Android version is packaged with the
+Apache Usergrid Android SDK in the /samples/messagee directory.
+
+[Download the Apache Usergrid Android
+SDK](http://www.apigee.com/docs/content/android-sdk-redirect).
+
+Javascript/HTML5 client and SDK
+-------------------------------
+
+Messagee is also available as a sample HTML5 app that behaves in much
+the same way as the two previous examples. The source for the HTML5
+version is packaged with the Apache Usergrid Javascript/HTML5 SDK in the
+/samples/messagee directory.
+
+[Download the Apache Usergrid Javascript/HTML5
+SDK](http://www.apigee.com/docs/content/javascript-sdk-redirect).

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/index.html
----------------------------------------------------------------------
diff --git a/content/content/docs/index.html b/content/content/docs/index.html
new file mode 100644
index 0000000..ec5bf46
--- /dev/null
+++ b/content/content/docs/index.html
@@ -0,0 +1,9 @@
+---
+title: Overview
+---
+
+<p>Usergrid is an open-source Backend-as-a-Service (“BaaS” or “mBaaS”) composed of an integrated distributed NoSQL database, application layer and client tier with SDKs for developers looking to rapidly build web and/or mobile applications. It provides elementary services (user registration & management, data storage, file storage, queues) and retrieval features (full text search, geolocation search, joins) to power common app features.</p>
+
+<p>It is a multi-tenant system designed for deployment to public cloud environments (such as Amazon Web Services, Rackspace, etc.) or to run on traditional server infrastructures so that anyone can run their own private BaaS deployment.</p>
+
+<p>For architects and back-end teams, it aims to provide a distributed, easily extendable, operationally predictable and highly scalable solution. For front-end developers, it aims to simplify the development process by enabling them to rapidly build and operate mobile and web applications without requiring backend expertise.</p>
\ No newline at end of file


[07/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/html-5-example-messagee/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/html-5-example-messagee/index.html b/content/publish/docs/html-5-example-messagee/index.html
new file mode 100644
index 0000000..fa929e5
--- /dev/null
+++ b/content/publish/docs/html-5-example-messagee/index.html
@@ -0,0 +1,421 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Messagee Example</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Messagee Example</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/html-5-example-messagee.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#messagee-example">Messagee Example</a><ul>
+<li><a href="#creating-a-user-account-in-app-services">Creating a user account in App services</a></li>
+<li><a href="#creating-an-app-and-users">Creating an app and users</a></li>
+<li><a href="#ios-client">iOS client</a></li>
+<li><a href="#ios-sdk">iOS SDK</a></li>
+<li><a href="#android-client-and-sdk">Android client and SDK</a></li>
+<li><a href="#javascripthtml5-client-and-sdk">Javascript/HTML5 client and SDK</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="messagee-example">Messagee Example</h1>
+<p><em>Messagee</em> is a simple Twitter-style messaging application that leverages the extensive functionality of App services. This section describes some of the features of Messagee.</p>
+<p>There are three client versions of Messagee:</p>
+<ul>
+<li>An <a href="#iOS_client">iOS client</a>
+</li>
+<li>An <a href="#android_client">Android client</a>
+</li>
+<li>An <a href="#html5_client">HTML5 client</a>
+</li>
+</ul>
+<p>The sections below describe how to create a new app, enter some test users, and run the app. You also learn how to use the App services admin portal, a user interface that streamlines data and application management in the App services system. The portal is also a reference application that shows how to incorporate App services APIs with JavaScript. For a more detailed discussion of the portal’s functionality, see <a href="/admin-portal">Admin portal</a>.</p>
+<h2 id="creating-a-user-account-in-app-services">Creating a user account in App services</h2>
+<p>Go to <a href="https://apigee.com/usergrid/">https://apigee.com/usergrid/</a> to access the login screen for the App services admin portal. If you are new to App services, sign up for an account to access the portal, specifying an organization (e.g., the name of your company or project team) and a username and password that you can use to authenticate. Because App services are designed for use by development teams, the same username can be associated with one or more organizations.</p>
+<p>If you create a new account, you receive a confirmation email that contains a URL that you must click to activate the account. After this, simply log in to the portal with your username and password.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/login.png?itok=ws5DhLDI"></embed>
+</div>
+<h2 id="creating-an-app-and-users">Creating an app and users</h2>
+<p>When you have logged in, you need to create a new application.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-1.png?itok=4o63Ia-y"></embed>
+</div>
+<ol style="list-style-type: decimal">
+<li>
+<ol start="2" style="list-style-type: decimal">
+<li>Enter a unique application name. The name must be unique to avoid a conflict with another user running the same application.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-2.png?itok=yz8QznI7"></embed>
+</div>
+</li>
+<li>
+<ol start="4" style="list-style-type: decimal">
+<li>Make sure that the portal shows the application name you entered as the active application beneath the Applications menu <strong>(1)</strong>.</li>
+</ol>
+<p>If the correct name is not displayed, click the menu and select your application.</p>
+<p>Next, you need to populate a test user <em>user-test-1</em> that is going to log in to your copy of the server-side Messagee app.</p>
+</li>
+<li>
+<ol start="6" style="list-style-type: decimal">
+<li>Click the Users box on the left side of the console <strong>(2)</strong>.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-3.png?itok=ncRlqPGQ"></embed>
+</div>
+</li>
+<li>
+<ol start="8" style="list-style-type: decimal">
+<li>Click the Add button and enter the user information for your application in the pop-up window (be sure to create a password you can remember), and then click the Create button. Repeat these steps to create a second username <em>test-user-2</em>.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-4.png?itok=X_kKe5Ke"></embed>
+</div>
+</li>
+<li>
+</ol>
+<p>When you have finished all these steps, you have a new application and two new users.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-5.png?itok=jSmAcwc3"></embed>
+</div>
+<p>Now that you have created a uniquely named copy of the Messagee application as well as two user accounts (<em>test-user-1</em> and <em>test-user-2</em>), you are ready to test out the Messagee app. Use test-user-1 to log in to the app, and test-user-2 as the user to follow.</p>
+<p>To continue with the example, follow the instructions for a client app (<a href="#iOS_client">iOS client</a>, <a href="#android_client">Android client</a>, or <a href="#html5_client">HTML5 client</a>).</p>
+<h2 id="ios-client">iOS client</h2>
+<p>Messagee is available as an iPhone app that uses Apache Usergrid and RestKit. The source for the iOS version of Messagee is available in the /samples/messagee directory of the <a href="#ios_sdk">Apache Usergrid iOS SDK</a></p>
+<p>Here are the steps to run the Messagee app on iOS:</p>
+<ol style="list-style-type: decimal">
+<li>
+<ol start="2" style="list-style-type: decimal">
+<li>Run Steps 1-6 under <a href="#app_user">Creating an app and users</a>.</li>
+</ol>
+<p>These steps create a unique instance of the Messagee app on the server and two test users, <em>test-user-1</em> and <em>test-user-2</em>.</p>
+</li>
+<li>
+<ol start="4" style="list-style-type: decimal">
+<li>Access the Messagee server app by typing a URL similar to the following into your iOS mobile client (replace &lt;Messagee&gt; with the unique name of your application):</li>
+</ol>
+<p><a href="https://api.usergrid.com">https://api.usergrid.com</a>/&lt;Messagee&gt;/index.html</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-1-chooseapp.jpg?itok=NSQcdJrj"></embed>
+</div>
+</li>
+<li>
+<ol start="6" style="list-style-type: decimal">
+<li>On the mobile client, complete the registration information and click Register.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-2-register.jpg?itok=Xzqe7mXV"></embed>
+</div>
+</li>
+<li>
+<ol start="8" style="list-style-type: decimal">
+<li>Log in to the Messagee app by entering the <em>test-user-1</em> account information created previously, and click the Sign in button.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-4-signin.jpg?itok=0M9QYU7b"></embed>
+</div>
+<p>At this point, the message board is empty:</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-5-emptyfeed.jpg?itok=EWcUVMQN"></embed>
+</div>
+</li>
+<li>
+<ol start="10" style="list-style-type: decimal">
+<li>To post a message using the app, click the top-right icon in the message board to create a message, write the message text, and send it by clicking Post.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-6-newmsg.jpg?itok=Wj16l_5V"></embed>
+</div>
+<p><strong>Note:</strong> The posted message should appear in the message board within few seconds.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-7-feed1msg.jpg?itok=RclSnHuU"></embed>
+</div>
+<p>For your instance of the Messagee application to act like Twitter, you need to “follow” another user.</p>
+</li>
+<li>
+<ol start="12" style="list-style-type: decimal">
+<li>In the message board, click Add People and add <em>test-user-2</em> as a person that <em>test-user-1</em> follows.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-9-follow.jpg?itok=yJeaYnEj"></embed>
+</div>
+</li>
+<li><ol start="14" style="list-style-type: decimal">
+<li>Log in as <em>test-user-2</em> and post a message as this user to the message board.</li>
+</ol></li>
+<li>
+<ol start="16" style="list-style-type: decimal">
+<li>Go back and log in as user <em>test-user-1</em>.</li>
+</ol>
+<p>Because <em>test-user-1</em> follows <em>test-user-2</em>, you should see the message sent by <em>test-user-2</em> in the message board.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-10-seeusermsg.jpg?itok=Wcd7avBh"></embed>
+</div>
+</li>
+<li>
+</ol>
+<h2 id="ios-sdk">iOS SDK</h2>
+<p>If you want to write iOS applications that connect to App services, <a href="http://www.apigee.com/docs/content/ios-sdk-redirect">download the Apache Usergrid iOS SDK</a></p>
+<p><strong>Note:</strong> The Messagee iOS application uses RestKit, a popular REST framework for iOS, to communicate with App services. Because App services use a REST API, you can use any REST framework to talk with the service. However, the official App services iOS SDK provides a more convenient communication mechanism that you should use unless you’re already using RestKit or some other framework in your project.</p>
+<h2 id="android-client-and-sdk">Android client and SDK</h2>
+<p>Messagee is available as a sample Android app that acts as a App services client. The source for the Android version is packaged with the Apache Usergrid Android SDK in the /samples/messagee directory.</p>
+<p><a href="http://www.apigee.com/docs/content/android-sdk-redirect">Download the Apache Usergrid Android SDK</a>.</p>
+<h2 id="javascripthtml5-client-and-sdk">Javascript/HTML5 client and SDK</h2>
+<p>Messagee is also available as a sample HTML5 app that behaves in much the same way as the two previous examples. The source for the HTML5 version is packaged with the Apache Usergrid Javascript/HTML5 SDK in the /samples/messagee directory.</p>
+<p><a href="http://www.apigee.com/docs/content/javascript-sdk-redirect">Download the Apache Usergrid Javascript/HTML5 SDK</a>.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/html-5-example-messagee.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/html5-javascript-sdk/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/html5-javascript-sdk/index.html b/content/publish/docs/html5-javascript-sdk/index.html
new file mode 100644
index 0000000..45e08ef
--- /dev/null
+++ b/content/publish/docs/html5-javascript-sdk/index.html
@@ -0,0 +1,235 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — HTML5 / JavaScript SDK</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>HTML5 / JavaScript SDK</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/html5-javascript-sdk/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	
+</div>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/html5-javascript-sdk/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/index.html b/content/publish/docs/index.html
new file mode 100644
index 0000000..0783526
--- /dev/null
+++ b/content/publish/docs/index.html
@@ -0,0 +1,275 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Overview</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Overview</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	
+</div>
+<p>
+Usergrid is an open-source Backend-as-a-Service (“BaaS” or “mBaaS”) composed of an integrated distributed NoSQL database, application layer and client tier with SDKs for developers looking to rapidly build web and/or mobile applications. It provides elementary services (user registration &amp; management, data storage, file storage, queues) and retrieval features (full text search, geolocation search, joins) to power common app features.
+</p>
+
+<p>
+It is a multi-tenant system designed for deployment to public cloud environments (such as Amazon Web Services, Rackspace, etc.) or to run on traditional server infrastructures so that anyone can run their own private BaaS deployment.
+</p>
+
+<p>
+For architects and back-end teams, it aims to provide a distributed, easily extendable, operationally predictable and highly scalable solution. For front-end developers, it aims to simplify the development process by enabling them to rapidly build and operate mobile and web applications without requiring backend expertise.
+</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/managing-access-defining-permission-rules/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/managing-access-defining-permission-rules/index.html b/content/publish/docs/managing-access-defining-permission-rules/index.html
new file mode 100644
index 0000000..40659ec
--- /dev/null
+++ b/content/publish/docs/managing-access-defining-permission-rules/index.html
@@ -0,0 +1,357 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Managing access by defining permission rules</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Managing access by defining permission rules</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/managing-access-defining-permission-rules.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#managing-access-by-defining-permission-rules">Managing access by defining permission rules</a><ul>
+<li><a href="#roles-included-by-default">Roles included by default</a></li>
+<li><a href="#defining-your-own-roles-andpermissions">Defining your own roles and permissions</a></li>
+<li><a href="#permission-rule-examples">Permission rule examples</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="managing-access-by-defining-permission-rules">Managing access by defining permission rules</h1>
+<p>You control your app users’ access to application resources by defining roles and permission rules. In your Apache Usergrid application, you assign application users a <em>role</em> that represents a set of permissions. Through these permissions, you allow users to perform certain operations (GET, POST, PUT, or DELETE) on specific resources. When the user submits a request via your app code to the Apache Usergrid API, the user’s permissions are checked against the resource paths that the user is trying to access. The request succeeds only if access to the resource is allowed by the permission rules you specify.</p>
+<p>You specify roles for unauthenticated users and those who authenticate as an Application User, as defined in <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a>. Roles are not applied for the other authentication levels: Application, Admin User, and Organization. Access at these levels can’t be restricted by roles and permission rules. You should allow clients to authenticate at these levels sparingly and carefully.</p>
+<h2 id="roles-included-by-default">Roles included by default</h2>
+<p>When defining user access to your application’s data, you create roles, specify permission rules for them, then associate users with the roles. Apache Usergrid includes three predefined roles when you create an application.</p>
+<p>The following table lists the three roles included by default. Note that two of these are in effect and applied from the time your application is created (until you change them). Apache Usergrid applies the following default behavior:</p>
+<ol style="list-style-type: decimal">
+<li>An unauthenticated user is automatically added to the Guest role so that they can register for a user account.</li>
+<li>A user who has a user account and authenticates with it is automatically added to the Default role. <strong>Note that by default, this role is very permissive.</strong> Be sure to restrict it with specific permission rules before deploying to production.</li>
+</ol>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Role</th>
+<th align="left">Description</th>
+<th align="left">Notes</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>Guest</p></td>
+<td align="left"><p>Default for unauthenticated users. Includes a basic set of permissions for unregistered or unauthenticated users. Users are automatically added to the Guest role before they’re authenticated. After they’re authenticated, users are automatically added to the Default role.</p></td>
+<td align="left"><p>Grants permission for a user to create a user account and for their device to be registered. You can change permission rules based on your goals for unregistered user access. This role is designed to provide access for people who haven’t yet registered, and allow them to register.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>Default</p></td>
+<td align="left"><p>Default for authenticated users. Includes permissions for the set of operations you want an authenticated user to be able to perform. Users are added to this role after they’re authenticated.</p></td>
+<td align="left"><p>By default, <strong>grants full access for all resources in your application</strong>. A first task in securing your application should be to restrict access by redefining this role to narrow the access it provides. Remove the default full permission rule and add restrictive permission rules for a production deployment.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>Administrator</p></td>
+<td align="left"><p>Unused until you associate it with users or groups. By default, includes no permissions that provide access.</p></td>
+<td align="left">
+<p>Grants no access. Consider this a blank slate. Add permission rules and associate this role with users and groups as needed.</p>
+<p><strong>Note</strong>: The Administrator role is <em>not the same</em> as an organization administrator – that is, someone who authenticates as an Admin User. The Admin User is an implicit user created when you create an organization. After authenticating, the Admin User has full access to all of the administration features of the Apache Usergrid API. By comparison, the Administrator role is simply a role (initially without permissions) that can be assigned to any user.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="defining-your-own-roles-andpermissions">Defining your own roles and permissions</h2>
+<p>When preparing an application for production use, a good first step is to edit permission rules for the Default role. This role will be applied for every user who authenticates as an Application User.</p>
+<p>The admin portal is the best place to manage roles. While you can manage roles and permissions programmatically (see <a href="/role">Role</a>), security-related calls from a mobile app will pose a security risk. Consider doing so only from a server-side web application.</p>
+<p>For easy-to-read examples, this section expresses permission rules in this way:</p>
+<pre><code>&lt;operations&gt;:&lt;entity path pattern&gt;</code></pre>
+<ul>
+<li>&lt;operations&gt; is a comma-delimited set of REST operations (GET, PUT, POST, DELETE) that are allowed for the specified entity path.</li>
+<li>&lt;entity path pattern&gt; is a parameter evaluated using Apache Ant pattern matching (see <a href="http://ant.apache.org/manual/dirtasks.html#patterns">http://ant.apache.org/manual/dirtasks.html#patterns</a>).</li>
+</ul>
+<p>For example, in the Default role, first remove the permission rule that grants full access to all authenticated users. You could then begin by creating a rule that grants access for the authenticated user to makes changes only to data associated with their account. </p>
+<pre><code>GET,PUT,POST,DELETE:/users/me/**</code></pre>
+<p>Use the Admin Portal to make role and permission rule changes. On the left sidebar of the portal, click Users, then click Roles. This displays the roles defined for the application. To create a role, click the Add button (it looks like a person’s silhouette). To delete a role, select the role you want to delete and click the Remove button (it looks like a trash can). To view the privileges in a role, click the role.</p>
+<p>Suppose you created a role named “customer”. Here’s what the privileges for the role might look like:</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/worker_permissions.png">
+</div>
+<p>Notice that specific privileges for operations are represented using checkboxes in the Permission Rules section. The path indicates the resource path for which the permissions apply. The permissions apply to all resources in the specified path directory and its subdirectories. As currently specified, the worker role has GET permission on the base directory path (/) and all resource paths below it (in other words, all resource paths).</p>
+<p>You can add a permission, by entering the entity path pattern in the Path field of the Add Permission Rule section, and checking the operation checkboxes (get, post, put, and delete) as appropriate. For example, the following adds permission to create a user:</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/add_permission.png">
+</div>
+<p>Click Add, and the permission is added to the role.</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/pemission_list.png">
+</div>
+<h2 id="permission-rule-examples">Permission rule examples</h2>
+<p>Here are some examples to illustrate how permissions are specified:</p>
+<ul>
+<li><p>Authenticated user can change any data related to the:<br> POST:/users/*</p></li>
+<li><p>A permission the permits the current user to make any changes to resources associated with them:<br> GET,PUT,POST,DELETE:/users/me/**</p></li>
+<li><p>A permission that allows someone to look at a specific user:<br> GET:/users/john.doe</p></li>
+<li>
+<p>A permission that allows the current user to see his activity feed:<br> GET:/users/${user}/feed/*</p>
+<p>The ${user} in the entity path refers to a variable that represents the current user’s UUID.</p>
+</li>
+<li>
+<p>A permission allowing linked entities to be read:<br> GET:/users/${user}/**</p>
+<p>The /** in the entity path is a wildcard that matches everything under that path. This means that the full specification matches multiple resource paths, including, but not limited to, the following:</p>
+<pre><code>/users/${user}/feed
+/users/${user}/feed/item1/a/b/c</code></pre>
+</li>
+<li><p>A permission that allows the current user to add himself or another user to a group:<br> POST:/groups/${user}/users/**</p></li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/managing-access-defining-permission-rules.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[26/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat.css
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat.css b/content/publish/css/bootflat.css
new file mode 100644
index 0000000..180823b
--- /dev/null
+++ b/content/publish/css/bootflat.css
@@ -0,0 +1,1560 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $typography
+\*------------------------------------*/
+a {
+    text-decoration: none;
+}
+a:hover {
+    text-decoration: underline;
+}
+a {
+    color: #2986b9;
+}
+a:hover {
+    color: #1b71a0;
+}
+ins {
+    background-color: #ff0; 
+    text-decoration: none;   
+}
+dfn[title] {
+    cursor: help;
+    border-bottom: 1px dotted;
+    font-style: normal;
+}
+q, blockquote {
+    font-style: italic;
+}
+q::before {
+    content: open-quote;
+}
+q::after {
+    content: close-quote;
+}
+hr.hr-line {
+  display: block;
+  padding: 0;
+  border: 0;
+  border-top: 1px solid #d3d7d7;
+}
+.first-letter::first-letter {
+    font-size: 5em;
+    line-height: 0.8em;
+    float: left;
+    position: relative;
+    padding-right: 6px;
+    font-weight: normal;
+}
+/*------------------------------------*\
+    $close
+\*------------------------------------*/
+.close:hover, .close:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $text
+\*------------------------------------*/
+.muted {
+    color: #d3d7d7;
+}
+a.muted:hover,
+a.muted:focus {
+    color: #aeb1b1;
+}
+.text-warning {
+    color: #d7af0d;
+}
+a.text-warning:hover,
+a.text-warning:focus {
+    color: #b1900b;
+}
+.text-danger,
+.text-error {
+    color: #c0392b;
+}
+a.text-danger:hover,
+a.text-danger:focus,
+a.text-error:hover,
+a.text-error:focus {
+    color: #a5281b;
+}
+.text-info {
+    color: #4fbeba;
+}
+a.text-info:hover,
+a.text-info:focus {
+    color: #1ba5a0;
+}
+.text-success {
+    color: #64b92a;
+}
+a.text-success:hover,
+a.text-success:focus {
+    color: #50a118;
+}
+.text-inverse {
+    color: #34495e;
+}
+a.text-inverse:hover,
+a.text-inverse:focus {
+    color: #263544;
+}
+/*------------------------------------*\
+    $lead
+\*------------------------------------*/
+.lead {
+    margin: 20px 0;
+    padding: 15px 30px 15px 15px;
+    border-left: 5px solid #d3d7d7;
+    font-size: 14px;
+    background-color: #f9f9f9;
+}
+/*------------------------------------*\
+    $page
+\*------------------------------------*/
+.page-header {
+    margin: 0 0 20px;
+}
+.page-header h1 {
+    margin-top: 0;
+}
+.page-article:before,
+.page-article:after {
+    display: table;
+    content: " ";
+}
+.page-article:after {
+    clear: both;
+}
+.page-article .meta {
+    font-size: 12px;
+    line-height: 18px;
+    color: #aeb1b1;
+}
+/*------------------------------------*\
+    $thumbnail
+\*------------------------------------*/
+a.thumbnail:hover, a.thumbnail:focus {
+    border-color: #2986b9;
+}
+.thumbnail .caption {
+    color: #292929;
+}
+.thumbnail .caption h1,
+.thumbnail .caption h2,
+.thumbnail .caption h3 {
+    margin-top: 9px;
+    font-size: 16px;
+    font-weight: bold;
+}
+/*------------------------------------*\
+    $list-group
+\*------------------------------------*/
+.list-group-item:hover,
+.list-group-item:active {
+    color: inherit;
+}
+.list-group-item.active, 
+.list-group-item.active:hover, 
+.list-group-item.active:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $btn
+\*------------------------------------*/
+.btn:focus {
+    outline: none;
+}
+.btn,
+.btn.disabled, 
+.btn[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+}
+.btn.disabled, 
+.btn[disabled] {
+    opacity: .45;
+    filter: alpha(opacity=45);
+}
+.btn {
+    -webkit-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    -moz-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    color: #333;
+}
+.btn:hover,
+.btn:focus,
+.btn:active,
+.btn.active {
+    border-color: #aeb1b1;
+    background-color: #aeb1b1;
+}
+.btn-link {
+    border: 1px solid transparent !important;
+    color: #2986b9;
+    background-color: transparent;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px; 
+}
+.btn-link.btn-lg {
+    -webkit-border-radius: 6px;
+    -moz-border-radius: 6px;
+    border-radius: 6px;     
+}
+.btn-link.btn-sm,
+.btn-link.btn-xs {
+    -webkit-border-radius: 3px;
+    -moz-border-radius: 3px;
+    border-radius: 3px;     
+}
+.btn-link:hover, 
+.btn-link:focus {
+    text-decoration: none;
+}
+.btn-link:hover, 
+.btn-link:focus, 
+.btn-link:active, 
+.btn-link.active {
+    color: #333;
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;  
+}
+.btn-link.disabled,
+.btn-link[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+    color: #333;
+}
+.btn-default {
+    margin-left: 0;
+    /*border: 1px solid #ddd !important;*/
+    background-color: #fff;
+}
+.btn-default:hover, 
+.btn-default:focus, 
+.btn-default:active, 
+.btn-default.active, 
+.open .dropdown-toggle.btn-default {
+    border-color: #aeb1b1;
+    background-color: #d3d7d7;    
+}
+.btn-default.disabled,
+.btn-default[disabled] {
+    background-color: #fff;
+}
+.btn-primary,
+.btn-info,
+.btn-success,
+.btn-warning,
+.btn-danger,
+.btn-inverse {
+    color: #fff;
+}
+.btn-primary,
+.btn-primary.disabled,
+.btn-primary[disabled] {
+    border-color: #2986b9;
+    background-color: #2986b9;
+}
+.btn-primary:hover, 
+.btn-primary:focus, 
+.btn-primary:active, 
+.btn-primary.active, 
+.open .dropdown-toggle.btn-primary {
+    border-color: #1b71a0;
+    background-color: #1b71a0;    
+}
+.btn-info,
+.btn-info.disabled,
+.btn-info[disabled] {
+    border-color: #4fbeba;
+    background-color: #4fbeba;
+}
+.btn-info:hover, 
+.btn-info:focus, 
+.btn-info:active, 
+.btn-info.active, 
+.open .dropdown-toggle.btn-info {
+    border-color: #1ba5a0;
+    background-color: #1ba5a0;
+}
+.btn-success,
+.btn-success.disabled,
+.btn-success[disabled] {
+    border-color: #64b92a;
+    background-color: #64b92a;
+}
+.btn-success:hover,
+.btn-success:focus,
+.btn-success:active,
+.btn-success.active,
+.open .dropdown-toggle.btn-success {
+    border-color: #50a118;
+    background-color: #50a118;
+}
+.btn-warning,
+.btn-warning.disabled,
+.btn-warning[disabled] {
+    border-color: #d7af0d;
+    background-color: #d7af0d;
+}
+.btn-warning:hover,
+.btn-warning:focus,
+.btn-warning:active,
+.btn-warning.active,
+.open .dropdown-toggle.btn-warning {
+    border-color: #b1900b;
+    background-color: #b1900b;
+}
+.btn-danger,
+.btn-danger.disabled,
+.btn-danger[disabled] {
+    border-color: #c0392b;
+    background-color: #c0392b;
+}
+.btn-danger:hover,
+.btn-danger:focus,
+.btn-danger:active,
+.btn-danger.active,
+.open .dropdown-toggle.btn-danger {
+    border-color: #a5281b;
+    background-color: #a5281b;
+}
+.btn-inverse,
+.btn-inverse.disabled,
+.btn-inverse[disabled] {
+    border-color: #34495e;
+    background-color: #34495e;
+    color: #fff;
+}
+.btn-inverse:hover,
+.btn-inverse:focus,
+.btn-inverse:active,
+.btn-inverse.active
+.open .dropdown-toggle.btn-inverse {
+    border-color: #263544;
+    background-color: #263544;
+    color: #fff;
+}
+.btn-inverse .caret {
+    border-top-color: #fff;
+}
+.dropup .btn-inverse .caret {
+    border-bottom-color: #fff;
+}
+/*------------------------------------*\
+    $btn-group
+\*------------------------------------*/
+.btn-group .btn {
+    border-left-color: #aeb1b1;
+    border-right-color: #aeb1b1;
+}
+.btn-group .btn:first-child {
+    border-left-color: #d3d7d7;
+}
+.btn-group .btn:last-child,
+.btn-group .btn + .dropdown-toggle {
+    border-right-color: #d3d7d7;
+}
+.btn-group-vertical .btn:first-child {
+    border-top-color: #d3d7d7;
+}
+.btn-group-vertical .btn:last-child {
+    border-bottom-color: #d3d7d7;
+}
+.btn-group-vertical .btn,
+.btn-group-vertical .btn-group .btn {
+    border-top-color: #aeb1b1;
+    border-bottom-color: #aeb1b1;
+}
+.btn-group .btn-default {
+    border-left-color: #d3d7d7;
+    border-right-color: #d3d7d7;
+}
+.btn-group .btn-default:hover, 
+.btn-group .btn-default:focus, 
+.btn-group .btn-default:active, 
+.btn-group .btn-default.active,
+.btn-group-vertical .btn-default:hover, 
+.btn-group-vertical .btn-default:focus, 
+.btn-group-vertical .btn-default:active, 
+.btn-group-vertical .btn-default.active {
+    border-top-color: #d3d7d7;
+    border-bottom-color: #d3d7d7;   
+}
+.btn-group-vertical .btn-default,
+.btn-group-vertical .btn-group .btn-default,
+.btn-group-vertical .btn-default {
+    border-top-color: #d3d7d7 !important;
+    border-bottom-color: #d3d7d7;    
+}
+.btn-group .btn-primary {
+    border-left-color: #1b71a0;
+    border-right-color: #1b71a0;
+}
+.btn-group .btn-primary:first-child {
+    border-left-color: #2986b9;
+}
+.btn-group .btn-primary:last-child,
+.btn-group .btn-primary + .dropdown-toggle {
+    border-right-color: #2986b9;
+}
+.btn-group-vertical .btn-primary:first-child {
+    border-top-color: #1b71a0;
+}
+.btn-group-vertical .btn-primary,
+.btn-group-vertical .btn-group .btn-primary,
+.btn-group-vertical .btn-primary:last-child {
+    border-bottom-color: #2986b9;
+}
+.btn-group-vertical .btn-primary {
+    border-top-color: #1b71a0;
+    border-bottom-color: #1b71a0;
+}
+.btn-group .btn-info {
+    border-left-color: #1ba5a0;
+    border-right-color: #1ba5a0;
+}
+.btn-group .btn-info:first-child {
+    border-left-color: #4fbeba;
+}
+.btn-group .btn-info:last-child,
+.btn-group .btn-info + .dropdown-toggle {
+    border-right-color: #4fbeba;
+}
+.btn-group-vertical .btn-info:first-child {
+    border-top-color: #1ba5a0;
+}
+.btn-group-vertical .btn-info,
+.btn-group-vertical .btn-group .btn-info,
+.btn-group-vertical .btn-info:last-child {
+    border-bottom-color: #4fbeba;
+}
+.btn-group-vertical .btn-info {
+    border-top-color: #1ba5a0;
+    border-bottom-color: #1ba5a0;
+}
+.btn-group .btn-success {
+    border-left-color: #50a118;
+    border-right-color: #50a118;
+}
+.btn-group .btn-success:first-child {
+    border-left-color: #64b92a;
+}
+.btn-group .btn-success:last-child,
+.btn-group .btn-success + .dropdown-toggle {
+    border-right-color: #64b92a;
+}
+.btn-group-vertical .btn-success:first-child {
+    border-top-color: #50a118;
+}
+.btn-group-vertical .btn-success,
+.btn-group-vertical .btn-group .btn-success,
+.btn-group-vertical .btn-success:last-child {
+    border-bottom-color: #64b92a;
+}
+.btn-group-vertical .btn-success {
+    border-top-color: #50a118;
+    border-bottom-color: #50a118;
+}
+.btn-group .btn-warning {
+    border-left-color: #b1900b;
+    border-right-color: #b1900b;
+}
+.btn-group .btn-warning:first-child {
+    border-left-color: #d7af0d;
+}
+.btn-group .btn-warning:last-child,
+.btn-group .btn-warning + .dropdown-toggle {
+    border-right-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning:first-child {
+    border-top-color: #b1900b;
+}
+.btn-group-vertical .btn-warning,
+.btn-group-vertical .btn-group .btn-warning,
+.btn-group-vertical .btn-warning:last-child {
+    border-bottom-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning {
+    border-top-color: #b1900b;
+    border-bottom-color: #b1900b;
+}
+.btn-group .btn-danger {
+    border-left-color: #a5281b;
+    border-right-color: #a5281b;
+}
+.btn-group .btn-danger:first-child {
+    border-left-color: #c0392b;
+}
+.btn-group .btn-danger:last-child,
+.btn-group .btn-danger + .dropdown-toggle {
+    border-right-color: #c0392b;
+}
+.btn-group-vertical .btn-danger:first-child {
+    border-top-color: #a5281b;
+}
+.btn-group-vertical .btn-danger,
+.btn-group-vertical .btn-group .btn-danger,
+.btn-group-vertical .btn-danger:last-child {
+    border-bottom-color: #c0392b;
+}
+.btn-group-vertical .btn-danger {
+    border-top-color: #a5281b;
+    border-bottom-color: #a5281b;
+}
+.btn-group .btn-inverse {
+    border-left-color: #2c3e50;
+    border-right-color: #2c3e50;
+}
+.btn-group .btn-inverse:first-child {
+    border-left-color: #34495e;
+}
+.btn-group .btn-inverse:last-child,
+.btn-group .btn-inverse + .dropdown-toggle {
+    border-right-color: #34495e;
+}
+.btn-group-vertical .btn-inverse:first-child {
+    border-top-color: #2c3e50;
+}
+.btn-group-vertical .btn-inverse,
+.btn-group-vertical .btn-group .btn-inverse,
+.btn-group-vertical .btn-inverse:last-child {
+    border-bottom-color: #34495e;
+}
+.btn-group-vertical .btn-inverse {
+    border-top-color: #2c3e50;
+    border-bottom-color: #2c3e50;
+}
+/*------------------------------------*\
+    $btn-group-justified
+\*------------------------------------*/
+.btn-group-justified .btn {
+    border-right: none;
+}
+/*------------------------------------*\
+    $input-group-btn
+\*------------------------------------*/
+.input-group-btn .btn + .btn {
+    border-left: 1px solid #aeb1b1;
+}
+.input-group-btn .btn + .btn.btn-default {
+    margin-left: -5px;
+    border-left: 1px solid #d3d7d7;
+}
+.input-group-btn .btn + .btn.btn-primary {
+    border-left: 1px solid #1b71a0;
+}
+.input-group-btn .btn + .btn.btn-info {
+    border-left: 1px solid #1ba5a0;
+}
+.input-group-btn .btn + .btn.btn-success {
+    border-left: 1px solid #50a118;
+}
+.input-group-btn .btn + .btn.btn-warning {
+    border-left: 1px solid #b1900b;
+}
+.input-group-btn .btn + .btn.btn-danger {
+    border-left: 1px solid #a5281b;
+}
+.input-group-btn .btn + .btn.btn-inverse {
+    border-left: 1px solid #263544;
+}
+/*------------------------------------*\
+    $dropdown-menu
+\*------------------------------------*/
+.dropdown-menu {
+    border: none;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    background-color: #292929;
+}
+.dropdown-menu .dropdown-header {
+    font-size: 14px;
+    font-weight: bold;
+    padding: 5px 20px;
+}
+.dropdown-menu li a {
+    padding:5px 20px;
+    color: #fff;
+}
+.dropdown-menu li a:hover,
+.dropdown-menu li a:focus,
+.dropdown-menu .active a,
+.dropdown-menu .active a:hover,
+.dropdown-menu .active a:focus{
+    background-color: #2986b9;
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline: none;
+}
+.dropdown-menu .disabled a,
+.dropdown-menu .disabled a:hover,
+.dropdown-menu .disabled a:focus {
+    color:#9B9B9B !important;
+    cursor: default;
+}
+.dropdown-menu .divider {
+    margin:3px 0 0;
+    background-color: #373737;
+    border-bottom: none;
+}
+/*------------------------------------*\
+    $dropdown-submenu
+\*------------------------------------*/
+.dropdown-submenu {
+    position: relative;
+}
+.dropdown-submenu .dropdown-menu {
+    top: 0;
+    left: 100%;
+    margin-top: -6px;
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 4px;
+    -moz-border-radius: 0 4px 4px 4px;
+    border-radius: 0 4px 4px 4px;
+}
+.dropdown-submenu:hover .dropdown-menu {
+    display: block;
+}
+.dropup .dropdown-submenu .dropdown-menu {
+    top: auto;
+    bottom: 0;
+    margin-top: 0;
+    margin-bottom: -2px;
+    -webkit-border-radius: 4px 4px 4px 0;
+    -moz-border-radius: 4px 4px 4px 0;
+    border-radius: 4px 4px 4px 0;
+}
+.dropdown-submenu > a:after {
+    display: block;
+    content: " ";
+    float: right;
+    width: 0;
+    height: 0;
+    border-color: transparent;
+    border-style: solid;
+    border-width: 5px 0 5px 5px;
+    border-left-color: #fff;
+    margin-top: 5px;
+    margin-right: -10px;
+}
+.dropdown-submenu:hover a:after {
+    border-left-color: #ffffff;
+}
+.dropdown-submenu.pull-left {
+    float: none;
+}
+.dropdown-submenu.pull-left .dropdown-menu {
+    left: -100%;
+    margin-left: 10px;
+    -webkit-border-radius: 4px 0 4px 4px;
+    -moz-border-radius: 4px 0 4px 4px;
+    border-radius: 4px 0 4px 4px;
+}
+/*------------------------------------*\
+    $table
+\*------------------------------------*/
+.table {
+    background-color: #fff;
+    border-collapse: separate;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+}
+.table .success td,
+.table .danger td,
+.table .warning td,
+.table .info td,
+.table .active td {
+    color: #fff;
+}
+.table .success th,
+.table .success td {
+    border-color: #64b92a !important;
+    background-color: #64b92a !important;
+}
+.table .danger th,
+.table .danger td {
+    border-color: #c0392b !important;
+    background-color: #c0392b !important;
+}
+.table .warning th,
+.table .warning td {
+    border-color: #d7af0d !important;
+    background-color: #d7af0d !important;
+}
+.table .info th,
+.table .info td {
+    border-color: #4fbeba !important;
+    background-color: #4fbeba !important;
+}
+.table .active th,
+.table .active td {
+    border-color: #2986b9 !important;
+    background-color: #2986b9 !important;
+}
+.table-background thead {
+    color:#fff;
+    background-color:#d3d7d7;
+}
+.table-background thead tr th,
+.table-background thead tr td {
+    border-bottom: none;
+}
+.table-bordered tr:first-child th:first-child {
+    -webkit-border-top-left-radius: 4px;
+    -moz-border-radius-topleft: 4px;
+    border-top-left-radius: 4px;
+}
+.table-bordered tr:first-child th:last-child {
+    -webkit-border-top-right-radius: 4px;
+    -moz-border-radius-topright: 4px;
+    border-top-right-radius: 4px;
+}
+.table-bordered tr:last-child td:first-child {
+    -webkit-border-bottom-left-radius: 4px;
+    -moz-border-radius-bottomleft: 4px;
+    border-bottom-left-radius: 4px;
+}
+.table-bordered tr:last-child td:last-child {
+    -webkit-border-bottom-right-radius: 4px;
+    -moz-border-radius-bottomright: 4px;
+    border-bottom-right-radius: 4px;
+}
+.table-bordered {
+    border-width: 1px 1px 0 0;
+}
+.table-bordered thead tr th, 
+.table-bordered tbody tr th, 
+.table-bordered tfoot tr th, 
+.table-bordered thead tr td, 
+.table-bordered tbody tr td, 
+.table-bordered tfoot tr td {
+    border-width: 0 0 1px 1px;
+}
+.table-hover tbody tr td,
+.table-hover tbody tr th {
+    -webkit-transition: all 0.3s ease-out;
+    -moz-transition: all 0.3s ease-out;
+    transition: all 0.3s ease-out;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th,
+.table-striped tbody tr:nth-child(odd) td,
+.table-striped tbody tr:nth-child(odd) th {
+    background-color: #ecf0f1;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th {
+    background-color: #f9f9f9;
+}
+.table-hover .success:hover td,
+.table-hover .success:hover th {
+    border-color: #79d738 !important;
+    background-color: #79d738 !important;
+}
+.table-hover .danger:hover td,
+.table-hover .danger:hover th {
+    border-color: #d44637 !important;
+    background-color: #d44637 !important;
+}
+.table-hover .warning:hover td,
+.table-hover .warning:hover th {
+    border-color: #f1c40f !important;
+    background-color: #f1c40f !important;
+}
+.table-hover .info:hover td,
+.table-hover .info:hover th {
+    border-color: #4cd1cb !important;
+    background-color: #4cd1cb !important;
+}
+.table-hover .active:hover td,
+.table-hover .active:hover th {
+    border-color: #3598ce !important;
+    background-color: #3598ce !important;
+}
+/*------------------------------------*\
+    $form
+\*------------------------------------*/
+.form-control {
+    padding: 4px 6px;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #ddd #eee #eee #ddd;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control:-moz-placeholder,
+.form-control::-moz-placeholder,
+.form-control:-ms-input-placeholder,
+.form-control::-webkit-input-placeholder,
+.form-control.placeholder {
+    color: #bdc3c7;
+}
+.form-control:focus {
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline:none;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+    cursor: not-allowed;
+    opacity: 0.4;
+    filter: alpha(opacity=4);
+}
+
+.form-inline .form-group,
+.form-inline .checkbox,
+.form-inline .radio,
+.form-inline .btn {
+    margin-right: 5px;
+}
+/*------------------------------------*\
+    $validation states
+\*------------------------------------*/
+.has-warning .form-control,
+.has-warning .form-control:focus,
+.has-error .form-control,
+.has-error .form-control:focus,
+.has-info .form-control,
+.has-info .form-control:focus,
+.has-success .form-control,
+.has-success .form-control:focus {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+    border-radius: auto;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .form-control {
+    color: #d7af0d;
+}
+.has-warning .form-control {
+    border-color:#d7af0d;
+}
+.has-error .help-block,
+.has-error .control-label,
+.has-error .form-control {
+    color: #c0392b;
+}
+.has-error .form-control {
+    border-color: #c0392b;
+}
+.has-info .help-block,
+.has-info .control-label,
+.has-info .form-control {
+    color: #4fbeba;
+}
+.has-info .form-control {
+    border-color: #4fbeba;
+}
+.has-success .help-block,
+.has-success .control-label,
+.has-success .form-control {
+    color: #64b92a;
+}
+.has-success .form-control {
+    border-color:#64b92a;
+}
+/*------------------------------------*\
+    $input-group-addon
+\*------------------------------------*/
+.input-group-addon {
+    background-color: #d3d7d7;
+    border: 1px solid #d3d7d7;
+}
+.input-group-addon .radio,
+.input-group-addon .checkbox {
+    margin: -2px 0 -4px !important;
+}
+/*------------------------------------*\
+    $search-query
+\*------------------------------------*/
+.form-search .search-query,
+.form-search .search-query:first-child,
+.form-search .search-query:last-child {
+    padding: 0 17px;
+    -webkit-border-radius: 17px;
+    -moz-border-radius: 17px;
+    border-radius: 17px;
+}
+.input-group .form-control:last-child {
+    padding: 0 17px 0 10px;
+    border-bottom-left-radius: 0;
+    border-top-left-radius: 0;
+}
+.input-group .form-control:first-child {
+    border-bottom-right-radius: 0;
+    border-top-right-radius: 0;
+}
+.form-search .btn {
+    -webkit-border-radius: 25px;
+    -moz-border-radius: 25px;
+    border-radius: 25px;    
+}
+.search-only {
+    position: relative;
+}
+.search-only:before {
+    position: absolute;
+    top: 1px;
+    left: 8px;
+    width: 30px;
+    line-height: 30px;
+    text-align: center;
+    font-family: "FontAwesome";
+    font-size: 18px;
+    color: #d3d7d7;
+    content: "\f002";
+    z-index: 20;
+}
+.search-only .form-control:last-child {
+    padding-left: 40px;
+}
+/*------------------------------------*\
+    $radio and $checkbox
+\*------------------------------------*/
+.radio, .checkbox {
+    padding-left:0;
+    margin-top: 0;
+}
+.checkbox label,
+.radio label{
+    display:inline-block;
+    vertical-align:top;
+    height:24px;
+    line-height:24px;
+    font-weight: normal;
+    cursor:pointer;
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    background-image: url(../img/check_flat/default.png);
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    display:inline-block;
+    vertical-align:top;
+    margin: 0;
+    padding: 0;
+    width: 24px;
+    height: 24px;
+    border: none;
+    cursor: pointer;
+    background-repeat:no-repeat;
+}
+.checkbox .icheckbox_flat {
+    background-position: 0 0;
+}
+.checkbox .icheckbox_flat.hover {
+    background-position: -24px 0;
+}
+.checkbox .icheckbox_flat.checked {
+    background-position: -48px 0;
+}
+fieldset[disabled] .checkbox .icheckbox_flat,
+.checkbox .icheckbox_flat.disabled {
+    background-position: -72px 0;
+    cursor: not-allowed;
+}
+.checkbox .icheckbox_flat.checked.disabled {
+    background-position: -96px 0;
+}
+.radio .iradio_flat {
+    background-position: -120px 0;
+}
+.radio .iradio_flat.hover {
+    background-position: -144px 0;
+}
+.radio .iradio_flat.checked {
+    background-position: -168px 0;
+}
+fieldset[disabled] .radio .iradio_flat,
+.radio .iradio_flat.disabled {
+    background-position: -192px 0;
+    cursor: not-allowed;
+}
+.radio .iradio_flat.checked.disabled {
+    background-position: -216px 0;
+}
+fieldset[disabled] .checkbox,
+fieldset[disabled] .radio,
+.checkbox .disabled,
+.checkbox .checked.disabled,
+.radio .disabled,
+.radio .checked.disabled {
+    color:#bdc3c7;
+    cursor: not-allowed;
+}
+.radio-inline {
+    margin-left: 10px;
+}
+/*------------------------------------*\
+    $label and $badge
+\*------------------------------------*/
+.label, .badge {
+    background-color: #d3d7d7;
+}
+.label.label-primary,
+.badge.badge-primary,
+.label.label-info,
+.badge.badge-info,
+.label.label-success,
+.badge.badge-success,
+.label.label-warning,
+.badge.badge-warning,
+.label.label-danger,
+.badge.badge-danger,
+.label.label-inverse,
+.badge.badge-inverse {
+    color: #fff;
+}
+.label.label-primary,
+.badge.badge-primary {
+    background-color: #2986b9;
+}
+.label.label-info,
+.badge.badge-info {
+    background-color: #4fbeba;
+}
+.label.label-success,
+.badge.badge-success {
+    background-color: #64b92a;
+}
+.label.label-warning,
+.badge.badge-warning {
+    background-color: #d7af0d;
+}
+.label.label-danger,
+.badge.badge-danger {
+    background-color: #c0392b;
+}
+.label.label-inverse,
+.badge.badge-inverse {
+    background-color: #34495e;
+}
+/*------------------------------------*\
+    $alert
+\*------------------------------------*/
+.alert {
+    background-color: #fece10;
+    border: 1px solid #fece10;
+}
+.alert, .alert h4{
+    color: #FFF;
+}
+.alert .alert-link,
+.alert .alert-link:hover,
+.alert .alert-link:focus {
+    color: #000;
+    opacity: 0.55;
+    filter: alpha(opacity=55);
+}
+.alert h4{
+    margin-bottom: 10px;
+    font-weight: bold;
+}
+.alert-dismissable .close {
+    color: #000;
+}
+.alert.alert-info {
+    background-color: #5eddd8;
+    border: 1px solid #5eddd8;
+}
+.alert.alert-danger,
+.alert.alert-error {
+    background-color: #e74c3c;
+    border: 1px solid #e74c3c;
+}
+.alert.alert-success {
+    background-color: #87eb41;
+    border: 1px solid #87eb41;
+}
+/*------------------------------------*\
+    $popover
+\*------------------------------------*/
+.popover {
+    background-color: #292929;
+    color:#FFF;
+    border: 1px solid #292929;
+}
+.popover-title {
+    padding-bottom: 0;
+    font-weight: bold;
+    background-color: transparent;
+    border-bottom: none;
+}
+.popover .close {
+    position: absolute;
+    top:10px;
+    right: 10px;
+}
+.popover.top .arrow,
+.popover.top .arrow:after {
+    border-top-color: #292929;
+}
+.popover.right .arrow,
+.popover.right .arrow:after {
+    border-right-color: #292929;
+}
+.popover.bottom .arrow,
+.popover.bottom .arrow:after {
+    border-bottom-color: #292929;
+}
+.popover.left .arrow,
+.popover.left .arrow:after {
+    border-left-color: #292929;
+}
+/*------------------------------------*\
+    $pagination
+\*------------------------------------*/
+.pagination .active a, 
+.pagination .active span, 
+.pagination .active a:hover, 
+.pagination .active span:hover, 
+.pagination .active a:focus, 
+.pagination .active span:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $pager
+\*------------------------------------*/
+.pager li a, .pager li span {
+    border: none;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.pager li a:hover,
+.pager li a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+            border-radius: 4px;
+}
+/*------------------------------------*\
+    $progress
+\*------------------------------------*/
+.progress,
+.progress .progress-bar {
+    -webkit-box-shadow: none !important;
+    -moz-box-shadow: none !important;
+    box-shadow: none !important;
+}
+.progress {
+    height: 12px;
+    overflow: hidden;
+    background-color: #ecf0f1;
+}
+.progress .progress-bar {
+    background-color: #2986b9;
+}
+.progress-success .progress-bar,
+.progress .progress-bar-success,
+.progress-success.progress-striped .progress-bar,
+.progress-striped .progress-bar-success {
+    background-color: #64b92a;
+}
+.progress-info .progress-bar,
+.progress .progress-bar-info,
+.progress-info.progress-striped .progress-bar,
+.progress-striped .progress-bar-info {
+    background-color: #4fbeba;
+}
+.progress-danger .progress-bar,
+.progress .progress-bar-danger,
+.progress-danger.progress-striped .progress-bar,
+.progress-striped .progress-bar-danger {
+    background-color: #c0392b;
+}
+.progress-warning .progress-bar,
+.progress .progress-bar-warning,
+.progress-warning.progress-striped .progress-bar,
+.progress-striped .progress-bar-warning {
+    background-color: #d7af0d;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb {
+    background-color: #ecf0f1;
+}
+/*------------------------------------*\
+    $nav
+\*------------------------------------*/
+.nav .open > a, 
+.nav .open > a:hover, 
+.nav .open > a:focus {
+    border-color: transparent;
+}
+/*------------------------------------*\
+    $navbar-toggle
+\*------------------------------------*/
+.navbar-toggle:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $navbar
+\*------------------------------------*/
+.navbar .divider-vertical {
+    border-left-width: 1px;
+    border-left-style: solid;
+    height: 50px;
+}
+.navbar-default {
+    border:none;
+    background-color:#3da8e3;
+}
+.navbar-default .navbar-brand {
+    color: #fff;
+}
+.navbar-default .navbar-link:hover,
+.navbar-default .navbar-link:focus,
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+    color: #d3efff;
+}
+.navbar-default .navbar-link,
+.navbar-default .navbar-text {
+    color: #d3efff;
+}
+.navbar-default .dropdown-header {
+    color: #aeb1b1;
+}
+.navbar-default .divider-vertical {
+    border-left-color: #2986b9;
+}
+.navbar-default .nav li a,
+.navbar-default .nav li a:focus,
+.navbar-default .nav li a:hover {
+    color: #fff;
+}
+.navbar-default .nav .active a,
+.navbar-default .nav .active a:hover,
+.navbar-default .nav .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+}
+.navbar-default .nav li.dropdown.open .dropdown-toggle,
+.navbar-default .nav li.dropdown.active .dropdown-toggle,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle {
+    background-color: #2986b9;
+    color: #fff;
+}
+.navbar-default .nav li.dropdown a:hover .caret,
+.navbar-default .nav li.dropdown a:focus .caret,
+.navbar-default .nav li.dropdown .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.active .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.navbar-default .nav li .dropdown-menu:before,
+.navbar-default .nav li .dropdown-menu:after {
+    border-bottom-color: transparent;
+}
+.navbar-default .navbar-toggle {
+    background-color: #aeb1b1;   
+}
+.navbar-default .navbar-toggle:hover, 
+.navbar-default .navbar-toggle:focus {
+    background-color: #c2c2c2;
+}
+.navbar-default .navbar-collapse, 
+.navbar-default .navbar-form {
+    border-color: #aeb1b1;
+}
+/*------------------------------------*\
+    $navbar-inverse
+\*------------------------------------*/
+.navbar-inverse {
+    background-color:#292929;
+}
+.navbar-inverse .nav .active a,
+.navbar-inverse .nav .active a:hover,
+.navbar-inverse .nav .active a:focus,
+.navbar-inverse .nav li.dropdown.open .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.active .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.open.active .dropdown-toggle{
+    background-color: #000;
+}
+.navbar-inverse .divider-vertical {
+    border-left-color: #000;
+}
+.navbar-inverse .navbar-form .form-control {
+    border: 1px solid #292929;
+}
+.navbar-inverse .navbar-form .form-control:focus,
+.navbar-inverse .navbar-form .form-control.focused {
+    color: #292929;
+    background-color: #fff !important;
+    border: 1px solid #000;
+}
+/*------------------------------------*\
+    $navbar-right
+\*------------------------------------*/
+.navbar-right .dropdown.open .dropdown-toggle {
+    -webkit-border-radius: 0 4px 0 0;
+    -moz-border-radius: 0 4px 0 0;
+    border-radius: 0 4px 0 0;
+}
+/*------------------------------------*\
+    $nav-list
+\*------------------------------------*/
+.nav-list {
+    padding: 10px 0;
+}
+.nav-list li a,
+.nav-list .nav-header {
+    padding: 5px 15px;
+}
+.nav-list .nav-header {
+    font-weight: bold;
+}
+.nav-list li a {
+    color: #292929;
+}
+.nav-list li a:hover,
+.nav-list li a:focus,
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    color: #3498db;
+    text-decoration: none;
+}
+.nav-list li a:hover,
+.nav-list li a:focus {
+    background-color: transparent;
+}
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    font-weight: bold;
+}
+.nav-list .divider {
+    margin: 9px 15px;
+    overflow: hidden;
+    border-bottom: 1px solid #ddd;
+}
+.nav-list  .nav-list-sub {
+    list-style: none;
+}
+.nav-list  .nav-list-sub {
+    padding-left: 0;
+}
+.nav-list  .nav-list-sub li a {
+    padding: 2px 15px 2px 30px;
+    display: block;
+}
+
+.nav-list-panel {
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    background-color:#ecf0f1;   
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus,
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    text-decoration: none;
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus {
+    opacity: 0.45;
+    filter: alpha(opacity=45);
+}
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    opacity: 1;
+    filter: alpha(opacity=100);
+}
+/*------------------------------------*\
+    $nav-tabs
+\*------------------------------------*/
+.nav-tabs > li > a {
+    color: #292929;
+}
+.nav-tabs .dropdown-toggle .caret,
+.nav-tabs .dropdown-toggle:hover .caret,
+.nav-tabs .dropdown-toggle:focus .caret,
+.nav-tabs li.dropdown.open .caret,
+.nav-tabs li.dropdown.open.active .caret,
+.nav-tabs li.dropdown.open a:hover .caret,
+.nav-tabs li.dropdown.open a:focus .caret,
+.nav-tabs .active .dropdown-toggle .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.tabs-below .nav-tabs {
+    border-top: 1px solid #ddd;
+    border-bottom: none;
+}
+.tabs-below .nav-tabs .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+.tabs-below .nav-tabs li {
+    margin-top: -1px;
+    margin-bottom: 0;
+}
+.tabs-below .nav-tabs li a {
+    -webkit-border-radius: 0 0 4px 4px;
+       -moz-border-radius: 0 0 4px 4px;
+            border-radius: 0 0 4px 4px;
+}
+.tabs-below .nav-tabs li a:hover,
+.tabs-below .nav-tabs li a:focus {
+    border-top-color: #ddd;
+    border-bottom-color: transparent;
+}
+.tabs-below .nav-tabs .active a,
+.tabs-below .nav-tabs .active a:hover,
+.tabs-below .nav-tabs .active a:focus {
+    border-color: transparent #ddd #ddd #ddd;
+}
+.tabs-left .nav-tabs,
+.tabs-right .nav-tabs {
+    border-bottom: none;
+}
+.tabs-left .nav-tabs li,
+.tabs-right .nav-tabs li {
+    float: none;
+}
+.tabs-left .nav-tabs li a,
+.tabs-right .nav-tabs li a {
+    min-width: 74px;
+    margin-right: 0;
+    margin-bottom: 3px;
+}
+.tabs-left .nav-tabs {
+    float: left;
+    margin-right: 19px;
+    border-right: 1px solid #ddd;
+}
+.tabs-left .nav-tabs li > a {
+    margin-right: -1px;
+    -webkit-border-radius: 4px 0 0 4px;
+       -moz-border-radius: 4px 0 0 4px;
+            border-radius: 4px 0 0 4px;
+}
+.tabs-left .nav-tabs li a:hover,
+.tabs-left .nav-tabs li a:focus {
+    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
+}
+.tabs-left .nav-tabs .active a,
+.tabs-left .nav-tabs .active a:hover,
+.tabs-left .nav-tabs .active a:focus {
+    border-color: #ddd transparent #ddd #ddd;
+    *border-right-color: #ffffff;
+}
+.tabs-right .nav-tabs {
+    float: right;
+    margin-left: 19px;
+    border-left: 1px solid #ddd;
+}
+.tabs-right .nav-tabs li a {
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 0;
+       -moz-border-radius: 0 4px 4px 0;
+            border-radius: 0 4px 4px 0;
+}
+.tabs-right .nav-tabs li a:hover,
+.tabs-right .nav-tabs li a:focus {
+    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
+}
+.tabs-right .nav-tabs .active a,
+.tabs-right .nav-tabs .active a:hover,
+.tabs-right .nav-tabs .active a:focus {
+    border-color: #ddd #ddd #ddd transparent;
+    *border-left-color: #ffffff;
+}
+/*------------------------------------*\
+    $nav-pills
+\*------------------------------------*/
+.nav-pills > li > a {
+    color: #292929;
+}
+.nav-pills > li > a:hover,
+.nav-pills > li > a:focus {
+    background-color: ;
+}
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
+    background-color: #2986b9;
+    color:#fff;
+}
+.nav-pills .dropdown-toggle .caret,
+.nav-pills .open .dropdown-toggle:focus .caret,
+.nav-pills .dropdown-toggle:hover .caret,
+.nav-pills .dropdown-toggle:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-pills .open .dropdown-toggle,
+.nav-pills .open .dropdown-toggle:focus {
+    background-color: transparent;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb > li + li::before {
+    font-family: 'FontAwesome';
+    content: "\f105";
+}
+/*------------------------------------*\
+    $panel-group
+\*------------------------------------*/
+.panel-group .panel {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.panel-group .panel-heading {
+    padding: 9px 15px;
+    background-color: #2986b9;
+}
+.panel-group .panel-heading a,
+.panel-group .panel-heading a:hover,
+.panel-group .panel-heading a:focus,
+.panel-group .panel-heading a:active {
+    color:#fff;
+    text-decoration: none;
+}
+.panel-group .panel-body {
+    border: 1px solid #ddd;
+    -webkit-border-radius: 0 0 4px 4px;
+    -moz-border-radius: 0 0 4px 4px;
+    border-radius: 0 0 4px 4px;
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat/index.html
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat/index.html b/content/publish/css/bootflat/index.html
new file mode 100644
index 0000000..180823b
--- /dev/null
+++ b/content/publish/css/bootflat/index.html
@@ -0,0 +1,1560 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $typography
+\*------------------------------------*/
+a {
+    text-decoration: none;
+}
+a:hover {
+    text-decoration: underline;
+}
+a {
+    color: #2986b9;
+}
+a:hover {
+    color: #1b71a0;
+}
+ins {
+    background-color: #ff0; 
+    text-decoration: none;   
+}
+dfn[title] {
+    cursor: help;
+    border-bottom: 1px dotted;
+    font-style: normal;
+}
+q, blockquote {
+    font-style: italic;
+}
+q::before {
+    content: open-quote;
+}
+q::after {
+    content: close-quote;
+}
+hr.hr-line {
+  display: block;
+  padding: 0;
+  border: 0;
+  border-top: 1px solid #d3d7d7;
+}
+.first-letter::first-letter {
+    font-size: 5em;
+    line-height: 0.8em;
+    float: left;
+    position: relative;
+    padding-right: 6px;
+    font-weight: normal;
+}
+/*------------------------------------*\
+    $close
+\*------------------------------------*/
+.close:hover, .close:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $text
+\*------------------------------------*/
+.muted {
+    color: #d3d7d7;
+}
+a.muted:hover,
+a.muted:focus {
+    color: #aeb1b1;
+}
+.text-warning {
+    color: #d7af0d;
+}
+a.text-warning:hover,
+a.text-warning:focus {
+    color: #b1900b;
+}
+.text-danger,
+.text-error {
+    color: #c0392b;
+}
+a.text-danger:hover,
+a.text-danger:focus,
+a.text-error:hover,
+a.text-error:focus {
+    color: #a5281b;
+}
+.text-info {
+    color: #4fbeba;
+}
+a.text-info:hover,
+a.text-info:focus {
+    color: #1ba5a0;
+}
+.text-success {
+    color: #64b92a;
+}
+a.text-success:hover,
+a.text-success:focus {
+    color: #50a118;
+}
+.text-inverse {
+    color: #34495e;
+}
+a.text-inverse:hover,
+a.text-inverse:focus {
+    color: #263544;
+}
+/*------------------------------------*\
+    $lead
+\*------------------------------------*/
+.lead {
+    margin: 20px 0;
+    padding: 15px 30px 15px 15px;
+    border-left: 5px solid #d3d7d7;
+    font-size: 14px;
+    background-color: #f9f9f9;
+}
+/*------------------------------------*\
+    $page
+\*------------------------------------*/
+.page-header {
+    margin: 0 0 20px;
+}
+.page-header h1 {
+    margin-top: 0;
+}
+.page-article:before,
+.page-article:after {
+    display: table;
+    content: " ";
+}
+.page-article:after {
+    clear: both;
+}
+.page-article .meta {
+    font-size: 12px;
+    line-height: 18px;
+    color: #aeb1b1;
+}
+/*------------------------------------*\
+    $thumbnail
+\*------------------------------------*/
+a.thumbnail:hover, a.thumbnail:focus {
+    border-color: #2986b9;
+}
+.thumbnail .caption {
+    color: #292929;
+}
+.thumbnail .caption h1,
+.thumbnail .caption h2,
+.thumbnail .caption h3 {
+    margin-top: 9px;
+    font-size: 16px;
+    font-weight: bold;
+}
+/*------------------------------------*\
+    $list-group
+\*------------------------------------*/
+.list-group-item:hover,
+.list-group-item:active {
+    color: inherit;
+}
+.list-group-item.active, 
+.list-group-item.active:hover, 
+.list-group-item.active:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $btn
+\*------------------------------------*/
+.btn:focus {
+    outline: none;
+}
+.btn,
+.btn.disabled, 
+.btn[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+}
+.btn.disabled, 
+.btn[disabled] {
+    opacity: .45;
+    filter: alpha(opacity=45);
+}
+.btn {
+    -webkit-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    -moz-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    color: #333;
+}
+.btn:hover,
+.btn:focus,
+.btn:active,
+.btn.active {
+    border-color: #aeb1b1;
+    background-color: #aeb1b1;
+}
+.btn-link {
+    border: 1px solid transparent !important;
+    color: #2986b9;
+    background-color: transparent;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px; 
+}
+.btn-link.btn-lg {
+    -webkit-border-radius: 6px;
+    -moz-border-radius: 6px;
+    border-radius: 6px;     
+}
+.btn-link.btn-sm,
+.btn-link.btn-xs {
+    -webkit-border-radius: 3px;
+    -moz-border-radius: 3px;
+    border-radius: 3px;     
+}
+.btn-link:hover, 
+.btn-link:focus {
+    text-decoration: none;
+}
+.btn-link:hover, 
+.btn-link:focus, 
+.btn-link:active, 
+.btn-link.active {
+    color: #333;
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;  
+}
+.btn-link.disabled,
+.btn-link[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+    color: #333;
+}
+.btn-default {
+    margin-left: 0;
+    /*border: 1px solid #ddd !important;*/
+    background-color: #fff;
+}
+.btn-default:hover, 
+.btn-default:focus, 
+.btn-default:active, 
+.btn-default.active, 
+.open .dropdown-toggle.btn-default {
+    border-color: #aeb1b1;
+    background-color: #d3d7d7;    
+}
+.btn-default.disabled,
+.btn-default[disabled] {
+    background-color: #fff;
+}
+.btn-primary,
+.btn-info,
+.btn-success,
+.btn-warning,
+.btn-danger,
+.btn-inverse {
+    color: #fff;
+}
+.btn-primary,
+.btn-primary.disabled,
+.btn-primary[disabled] {
+    border-color: #2986b9;
+    background-color: #2986b9;
+}
+.btn-primary:hover, 
+.btn-primary:focus, 
+.btn-primary:active, 
+.btn-primary.active, 
+.open .dropdown-toggle.btn-primary {
+    border-color: #1b71a0;
+    background-color: #1b71a0;    
+}
+.btn-info,
+.btn-info.disabled,
+.btn-info[disabled] {
+    border-color: #4fbeba;
+    background-color: #4fbeba;
+}
+.btn-info:hover, 
+.btn-info:focus, 
+.btn-info:active, 
+.btn-info.active, 
+.open .dropdown-toggle.btn-info {
+    border-color: #1ba5a0;
+    background-color: #1ba5a0;
+}
+.btn-success,
+.btn-success.disabled,
+.btn-success[disabled] {
+    border-color: #64b92a;
+    background-color: #64b92a;
+}
+.btn-success:hover,
+.btn-success:focus,
+.btn-success:active,
+.btn-success.active,
+.open .dropdown-toggle.btn-success {
+    border-color: #50a118;
+    background-color: #50a118;
+}
+.btn-warning,
+.btn-warning.disabled,
+.btn-warning[disabled] {
+    border-color: #d7af0d;
+    background-color: #d7af0d;
+}
+.btn-warning:hover,
+.btn-warning:focus,
+.btn-warning:active,
+.btn-warning.active,
+.open .dropdown-toggle.btn-warning {
+    border-color: #b1900b;
+    background-color: #b1900b;
+}
+.btn-danger,
+.btn-danger.disabled,
+.btn-danger[disabled] {
+    border-color: #c0392b;
+    background-color: #c0392b;
+}
+.btn-danger:hover,
+.btn-danger:focus,
+.btn-danger:active,
+.btn-danger.active,
+.open .dropdown-toggle.btn-danger {
+    border-color: #a5281b;
+    background-color: #a5281b;
+}
+.btn-inverse,
+.btn-inverse.disabled,
+.btn-inverse[disabled] {
+    border-color: #34495e;
+    background-color: #34495e;
+    color: #fff;
+}
+.btn-inverse:hover,
+.btn-inverse:focus,
+.btn-inverse:active,
+.btn-inverse.active
+.open .dropdown-toggle.btn-inverse {
+    border-color: #263544;
+    background-color: #263544;
+    color: #fff;
+}
+.btn-inverse .caret {
+    border-top-color: #fff;
+}
+.dropup .btn-inverse .caret {
+    border-bottom-color: #fff;
+}
+/*------------------------------------*\
+    $btn-group
+\*------------------------------------*/
+.btn-group .btn {
+    border-left-color: #aeb1b1;
+    border-right-color: #aeb1b1;
+}
+.btn-group .btn:first-child {
+    border-left-color: #d3d7d7;
+}
+.btn-group .btn:last-child,
+.btn-group .btn + .dropdown-toggle {
+    border-right-color: #d3d7d7;
+}
+.btn-group-vertical .btn:first-child {
+    border-top-color: #d3d7d7;
+}
+.btn-group-vertical .btn:last-child {
+    border-bottom-color: #d3d7d7;
+}
+.btn-group-vertical .btn,
+.btn-group-vertical .btn-group .btn {
+    border-top-color: #aeb1b1;
+    border-bottom-color: #aeb1b1;
+}
+.btn-group .btn-default {
+    border-left-color: #d3d7d7;
+    border-right-color: #d3d7d7;
+}
+.btn-group .btn-default:hover, 
+.btn-group .btn-default:focus, 
+.btn-group .btn-default:active, 
+.btn-group .btn-default.active,
+.btn-group-vertical .btn-default:hover, 
+.btn-group-vertical .btn-default:focus, 
+.btn-group-vertical .btn-default:active, 
+.btn-group-vertical .btn-default.active {
+    border-top-color: #d3d7d7;
+    border-bottom-color: #d3d7d7;   
+}
+.btn-group-vertical .btn-default,
+.btn-group-vertical .btn-group .btn-default,
+.btn-group-vertical .btn-default {
+    border-top-color: #d3d7d7 !important;
+    border-bottom-color: #d3d7d7;    
+}
+.btn-group .btn-primary {
+    border-left-color: #1b71a0;
+    border-right-color: #1b71a0;
+}
+.btn-group .btn-primary:first-child {
+    border-left-color: #2986b9;
+}
+.btn-group .btn-primary:last-child,
+.btn-group .btn-primary + .dropdown-toggle {
+    border-right-color: #2986b9;
+}
+.btn-group-vertical .btn-primary:first-child {
+    border-top-color: #1b71a0;
+}
+.btn-group-vertical .btn-primary,
+.btn-group-vertical .btn-group .btn-primary,
+.btn-group-vertical .btn-primary:last-child {
+    border-bottom-color: #2986b9;
+}
+.btn-group-vertical .btn-primary {
+    border-top-color: #1b71a0;
+    border-bottom-color: #1b71a0;
+}
+.btn-group .btn-info {
+    border-left-color: #1ba5a0;
+    border-right-color: #1ba5a0;
+}
+.btn-group .btn-info:first-child {
+    border-left-color: #4fbeba;
+}
+.btn-group .btn-info:last-child,
+.btn-group .btn-info + .dropdown-toggle {
+    border-right-color: #4fbeba;
+}
+.btn-group-vertical .btn-info:first-child {
+    border-top-color: #1ba5a0;
+}
+.btn-group-vertical .btn-info,
+.btn-group-vertical .btn-group .btn-info,
+.btn-group-vertical .btn-info:last-child {
+    border-bottom-color: #4fbeba;
+}
+.btn-group-vertical .btn-info {
+    border-top-color: #1ba5a0;
+    border-bottom-color: #1ba5a0;
+}
+.btn-group .btn-success {
+    border-left-color: #50a118;
+    border-right-color: #50a118;
+}
+.btn-group .btn-success:first-child {
+    border-left-color: #64b92a;
+}
+.btn-group .btn-success:last-child,
+.btn-group .btn-success + .dropdown-toggle {
+    border-right-color: #64b92a;
+}
+.btn-group-vertical .btn-success:first-child {
+    border-top-color: #50a118;
+}
+.btn-group-vertical .btn-success,
+.btn-group-vertical .btn-group .btn-success,
+.btn-group-vertical .btn-success:last-child {
+    border-bottom-color: #64b92a;
+}
+.btn-group-vertical .btn-success {
+    border-top-color: #50a118;
+    border-bottom-color: #50a118;
+}
+.btn-group .btn-warning {
+    border-left-color: #b1900b;
+    border-right-color: #b1900b;
+}
+.btn-group .btn-warning:first-child {
+    border-left-color: #d7af0d;
+}
+.btn-group .btn-warning:last-child,
+.btn-group .btn-warning + .dropdown-toggle {
+    border-right-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning:first-child {
+    border-top-color: #b1900b;
+}
+.btn-group-vertical .btn-warning,
+.btn-group-vertical .btn-group .btn-warning,
+.btn-group-vertical .btn-warning:last-child {
+    border-bottom-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning {
+    border-top-color: #b1900b;
+    border-bottom-color: #b1900b;
+}
+.btn-group .btn-danger {
+    border-left-color: #a5281b;
+    border-right-color: #a5281b;
+}
+.btn-group .btn-danger:first-child {
+    border-left-color: #c0392b;
+}
+.btn-group .btn-danger:last-child,
+.btn-group .btn-danger + .dropdown-toggle {
+    border-right-color: #c0392b;
+}
+.btn-group-vertical .btn-danger:first-child {
+    border-top-color: #a5281b;
+}
+.btn-group-vertical .btn-danger,
+.btn-group-vertical .btn-group .btn-danger,
+.btn-group-vertical .btn-danger:last-child {
+    border-bottom-color: #c0392b;
+}
+.btn-group-vertical .btn-danger {
+    border-top-color: #a5281b;
+    border-bottom-color: #a5281b;
+}
+.btn-group .btn-inverse {
+    border-left-color: #2c3e50;
+    border-right-color: #2c3e50;
+}
+.btn-group .btn-inverse:first-child {
+    border-left-color: #34495e;
+}
+.btn-group .btn-inverse:last-child,
+.btn-group .btn-inverse + .dropdown-toggle {
+    border-right-color: #34495e;
+}
+.btn-group-vertical .btn-inverse:first-child {
+    border-top-color: #2c3e50;
+}
+.btn-group-vertical .btn-inverse,
+.btn-group-vertical .btn-group .btn-inverse,
+.btn-group-vertical .btn-inverse:last-child {
+    border-bottom-color: #34495e;
+}
+.btn-group-vertical .btn-inverse {
+    border-top-color: #2c3e50;
+    border-bottom-color: #2c3e50;
+}
+/*------------------------------------*\
+    $btn-group-justified
+\*------------------------------------*/
+.btn-group-justified .btn {
+    border-right: none;
+}
+/*------------------------------------*\
+    $input-group-btn
+\*------------------------------------*/
+.input-group-btn .btn + .btn {
+    border-left: 1px solid #aeb1b1;
+}
+.input-group-btn .btn + .btn.btn-default {
+    margin-left: -5px;
+    border-left: 1px solid #d3d7d7;
+}
+.input-group-btn .btn + .btn.btn-primary {
+    border-left: 1px solid #1b71a0;
+}
+.input-group-btn .btn + .btn.btn-info {
+    border-left: 1px solid #1ba5a0;
+}
+.input-group-btn .btn + .btn.btn-success {
+    border-left: 1px solid #50a118;
+}
+.input-group-btn .btn + .btn.btn-warning {
+    border-left: 1px solid #b1900b;
+}
+.input-group-btn .btn + .btn.btn-danger {
+    border-left: 1px solid #a5281b;
+}
+.input-group-btn .btn + .btn.btn-inverse {
+    border-left: 1px solid #263544;
+}
+/*------------------------------------*\
+    $dropdown-menu
+\*------------------------------------*/
+.dropdown-menu {
+    border: none;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    background-color: #292929;
+}
+.dropdown-menu .dropdown-header {
+    font-size: 14px;
+    font-weight: bold;
+    padding: 5px 20px;
+}
+.dropdown-menu li a {
+    padding:5px 20px;
+    color: #fff;
+}
+.dropdown-menu li a:hover,
+.dropdown-menu li a:focus,
+.dropdown-menu .active a,
+.dropdown-menu .active a:hover,
+.dropdown-menu .active a:focus{
+    background-color: #2986b9;
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline: none;
+}
+.dropdown-menu .disabled a,
+.dropdown-menu .disabled a:hover,
+.dropdown-menu .disabled a:focus {
+    color:#9B9B9B !important;
+    cursor: default;
+}
+.dropdown-menu .divider {
+    margin:3px 0 0;
+    background-color: #373737;
+    border-bottom: none;
+}
+/*------------------------------------*\
+    $dropdown-submenu
+\*------------------------------------*/
+.dropdown-submenu {
+    position: relative;
+}
+.dropdown-submenu .dropdown-menu {
+    top: 0;
+    left: 100%;
+    margin-top: -6px;
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 4px;
+    -moz-border-radius: 0 4px 4px 4px;
+    border-radius: 0 4px 4px 4px;
+}
+.dropdown-submenu:hover .dropdown-menu {
+    display: block;
+}
+.dropup .dropdown-submenu .dropdown-menu {
+    top: auto;
+    bottom: 0;
+    margin-top: 0;
+    margin-bottom: -2px;
+    -webkit-border-radius: 4px 4px 4px 0;
+    -moz-border-radius: 4px 4px 4px 0;
+    border-radius: 4px 4px 4px 0;
+}
+.dropdown-submenu > a:after {
+    display: block;
+    content: " ";
+    float: right;
+    width: 0;
+    height: 0;
+    border-color: transparent;
+    border-style: solid;
+    border-width: 5px 0 5px 5px;
+    border-left-color: #fff;
+    margin-top: 5px;
+    margin-right: -10px;
+}
+.dropdown-submenu:hover a:after {
+    border-left-color: #ffffff;
+}
+.dropdown-submenu.pull-left {
+    float: none;
+}
+.dropdown-submenu.pull-left .dropdown-menu {
+    left: -100%;
+    margin-left: 10px;
+    -webkit-border-radius: 4px 0 4px 4px;
+    -moz-border-radius: 4px 0 4px 4px;
+    border-radius: 4px 0 4px 4px;
+}
+/*------------------------------------*\
+    $table
+\*------------------------------------*/
+.table {
+    background-color: #fff;
+    border-collapse: separate;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+}
+.table .success td,
+.table .danger td,
+.table .warning td,
+.table .info td,
+.table .active td {
+    color: #fff;
+}
+.table .success th,
+.table .success td {
+    border-color: #64b92a !important;
+    background-color: #64b92a !important;
+}
+.table .danger th,
+.table .danger td {
+    border-color: #c0392b !important;
+    background-color: #c0392b !important;
+}
+.table .warning th,
+.table .warning td {
+    border-color: #d7af0d !important;
+    background-color: #d7af0d !important;
+}
+.table .info th,
+.table .info td {
+    border-color: #4fbeba !important;
+    background-color: #4fbeba !important;
+}
+.table .active th,
+.table .active td {
+    border-color: #2986b9 !important;
+    background-color: #2986b9 !important;
+}
+.table-background thead {
+    color:#fff;
+    background-color:#d3d7d7;
+}
+.table-background thead tr th,
+.table-background thead tr td {
+    border-bottom: none;
+}
+.table-bordered tr:first-child th:first-child {
+    -webkit-border-top-left-radius: 4px;
+    -moz-border-radius-topleft: 4px;
+    border-top-left-radius: 4px;
+}
+.table-bordered tr:first-child th:last-child {
+    -webkit-border-top-right-radius: 4px;
+    -moz-border-radius-topright: 4px;
+    border-top-right-radius: 4px;
+}
+.table-bordered tr:last-child td:first-child {
+    -webkit-border-bottom-left-radius: 4px;
+    -moz-border-radius-bottomleft: 4px;
+    border-bottom-left-radius: 4px;
+}
+.table-bordered tr:last-child td:last-child {
+    -webkit-border-bottom-right-radius: 4px;
+    -moz-border-radius-bottomright: 4px;
+    border-bottom-right-radius: 4px;
+}
+.table-bordered {
+    border-width: 1px 1px 0 0;
+}
+.table-bordered thead tr th, 
+.table-bordered tbody tr th, 
+.table-bordered tfoot tr th, 
+.table-bordered thead tr td, 
+.table-bordered tbody tr td, 
+.table-bordered tfoot tr td {
+    border-width: 0 0 1px 1px;
+}
+.table-hover tbody tr td,
+.table-hover tbody tr th {
+    -webkit-transition: all 0.3s ease-out;
+    -moz-transition: all 0.3s ease-out;
+    transition: all 0.3s ease-out;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th,
+.table-striped tbody tr:nth-child(odd) td,
+.table-striped tbody tr:nth-child(odd) th {
+    background-color: #ecf0f1;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th {
+    background-color: #f9f9f9;
+}
+.table-hover .success:hover td,
+.table-hover .success:hover th {
+    border-color: #79d738 !important;
+    background-color: #79d738 !important;
+}
+.table-hover .danger:hover td,
+.table-hover .danger:hover th {
+    border-color: #d44637 !important;
+    background-color: #d44637 !important;
+}
+.table-hover .warning:hover td,
+.table-hover .warning:hover th {
+    border-color: #f1c40f !important;
+    background-color: #f1c40f !important;
+}
+.table-hover .info:hover td,
+.table-hover .info:hover th {
+    border-color: #4cd1cb !important;
+    background-color: #4cd1cb !important;
+}
+.table-hover .active:hover td,
+.table-hover .active:hover th {
+    border-color: #3598ce !important;
+    background-color: #3598ce !important;
+}
+/*------------------------------------*\
+    $form
+\*------------------------------------*/
+.form-control {
+    padding: 4px 6px;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #ddd #eee #eee #ddd;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control:-moz-placeholder,
+.form-control::-moz-placeholder,
+.form-control:-ms-input-placeholder,
+.form-control::-webkit-input-placeholder,
+.form-control.placeholder {
+    color: #bdc3c7;
+}
+.form-control:focus {
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline:none;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+    cursor: not-allowed;
+    opacity: 0.4;
+    filter: alpha(opacity=4);
+}
+
+.form-inline .form-group,
+.form-inline .checkbox,
+.form-inline .radio,
+.form-inline .btn {
+    margin-right: 5px;
+}
+/*------------------------------------*\
+    $validation states
+\*------------------------------------*/
+.has-warning .form-control,
+.has-warning .form-control:focus,
+.has-error .form-control,
+.has-error .form-control:focus,
+.has-info .form-control,
+.has-info .form-control:focus,
+.has-success .form-control,
+.has-success .form-control:focus {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+    border-radius: auto;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .form-control {
+    color: #d7af0d;
+}
+.has-warning .form-control {
+    border-color:#d7af0d;
+}
+.has-error .help-block,
+.has-error .control-label,
+.has-error .form-control {
+    color: #c0392b;
+}
+.has-error .form-control {
+    border-color: #c0392b;
+}
+.has-info .help-block,
+.has-info .control-label,
+.has-info .form-control {
+    color: #4fbeba;
+}
+.has-info .form-control {
+    border-color: #4fbeba;
+}
+.has-success .help-block,
+.has-success .control-label,
+.has-success .form-control {
+    color: #64b92a;
+}
+.has-success .form-control {
+    border-color:#64b92a;
+}
+/*------------------------------------*\
+    $input-group-addon
+\*------------------------------------*/
+.input-group-addon {
+    background-color: #d3d7d7;
+    border: 1px solid #d3d7d7;
+}
+.input-group-addon .radio,
+.input-group-addon .checkbox {
+    margin: -2px 0 -4px !important;
+}
+/*------------------------------------*\
+    $search-query
+\*------------------------------------*/
+.form-search .search-query,
+.form-search .search-query:first-child,
+.form-search .search-query:last-child {
+    padding: 0 17px;
+    -webkit-border-radius: 17px;
+    -moz-border-radius: 17px;
+    border-radius: 17px;
+}
+.input-group .form-control:last-child {
+    padding: 0 17px 0 10px;
+    border-bottom-left-radius: 0;
+    border-top-left-radius: 0;
+}
+.input-group .form-control:first-child {
+    border-bottom-right-radius: 0;
+    border-top-right-radius: 0;
+}
+.form-search .btn {
+    -webkit-border-radius: 25px;
+    -moz-border-radius: 25px;
+    border-radius: 25px;    
+}
+.search-only {
+    position: relative;
+}
+.search-only:before {
+    position: absolute;
+    top: 1px;
+    left: 8px;
+    width: 30px;
+    line-height: 30px;
+    text-align: center;
+    font-family: "FontAwesome";
+    font-size: 18px;
+    color: #d3d7d7;
+    content: "\f002";
+    z-index: 20;
+}
+.search-only .form-control:last-child {
+    padding-left: 40px;
+}
+/*------------------------------------*\
+    $radio and $checkbox
+\*------------------------------------*/
+.radio, .checkbox {
+    padding-left:0;
+    margin-top: 0;
+}
+.checkbox label,
+.radio label{
+    display:inline-block;
+    vertical-align:top;
+    height:24px;
+    line-height:24px;
+    font-weight: normal;
+    cursor:pointer;
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    background-image: url(../img/check_flat/default.png);
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    display:inline-block;
+    vertical-align:top;
+    margin: 0;
+    padding: 0;
+    width: 24px;
+    height: 24px;
+    border: none;
+    cursor: pointer;
+    background-repeat:no-repeat;
+}
+.checkbox .icheckbox_flat {
+    background-position: 0 0;
+}
+.checkbox .icheckbox_flat.hover {
+    background-position: -24px 0;
+}
+.checkbox .icheckbox_flat.checked {
+    background-position: -48px 0;
+}
+fieldset[disabled] .checkbox .icheckbox_flat,
+.checkbox .icheckbox_flat.disabled {
+    background-position: -72px 0;
+    cursor: not-allowed;
+}
+.checkbox .icheckbox_flat.checked.disabled {
+    background-position: -96px 0;
+}
+.radio .iradio_flat {
+    background-position: -120px 0;
+}
+.radio .iradio_flat.hover {
+    background-position: -144px 0;
+}
+.radio .iradio_flat.checked {
+    background-position: -168px 0;
+}
+fieldset[disabled] .radio .iradio_flat,
+.radio .iradio_flat.disabled {
+    background-position: -192px 0;
+    cursor: not-allowed;
+}
+.radio .iradio_flat.checked.disabled {
+    background-position: -216px 0;
+}
+fieldset[disabled] .checkbox,
+fieldset[disabled] .radio,
+.checkbox .disabled,
+.checkbox .checked.disabled,
+.radio .disabled,
+.radio .checked.disabled {
+    color:#bdc3c7;
+    cursor: not-allowed;
+}
+.radio-inline {
+    margin-left: 10px;
+}
+/*------------------------------------*\
+    $label and $badge
+\*------------------------------------*/
+.label, .badge {
+    background-color: #d3d7d7;
+}
+.label.label-primary,
+.badge.badge-primary,
+.label.label-info,
+.badge.badge-info,
+.label.label-success,
+.badge.badge-success,
+.label.label-warning,
+.badge.badge-warning,
+.label.label-danger,
+.badge.badge-danger,
+.label.label-inverse,
+.badge.badge-inverse {
+    color: #fff;
+}
+.label.label-primary,
+.badge.badge-primary {
+    background-color: #2986b9;
+}
+.label.label-info,
+.badge.badge-info {
+    background-color: #4fbeba;
+}
+.label.label-success,
+.badge.badge-success {
+    background-color: #64b92a;
+}
+.label.label-warning,
+.badge.badge-warning {
+    background-color: #d7af0d;
+}
+.label.label-danger,
+.badge.badge-danger {
+    background-color: #c0392b;
+}
+.label.label-inverse,
+.badge.badge-inverse {
+    background-color: #34495e;
+}
+/*------------------------------------*\
+    $alert
+\*------------------------------------*/
+.alert {
+    background-color: #fece10;
+    border: 1px solid #fece10;
+}
+.alert, .alert h4{
+    color: #FFF;
+}
+.alert .alert-link,
+.alert .alert-link:hover,
+.alert .alert-link:focus {
+    color: #000;
+    opacity: 0.55;
+    filter: alpha(opacity=55);
+}
+.alert h4{
+    margin-bottom: 10px;
+    font-weight: bold;
+}
+.alert-dismissable .close {
+    color: #000;
+}
+.alert.alert-info {
+    background-color: #5eddd8;
+    border: 1px solid #5eddd8;
+}
+.alert.alert-danger,
+.alert.alert-error {
+    background-color: #e74c3c;
+    border: 1px solid #e74c3c;
+}
+.alert.alert-success {
+    background-color: #87eb41;
+    border: 1px solid #87eb41;
+}
+/*------------------------------------*\
+    $popover
+\*------------------------------------*/
+.popover {
+    background-color: #292929;
+    color:#FFF;
+    border: 1px solid #292929;
+}
+.popover-title {
+    padding-bottom: 0;
+    font-weight: bold;
+    background-color: transparent;
+    border-bottom: none;
+}
+.popover .close {
+    position: absolute;
+    top:10px;
+    right: 10px;
+}
+.popover.top .arrow,
+.popover.top .arrow:after {
+    border-top-color: #292929;
+}
+.popover.right .arrow,
+.popover.right .arrow:after {
+    border-right-color: #292929;
+}
+.popover.bottom .arrow,
+.popover.bottom .arrow:after {
+    border-bottom-color: #292929;
+}
+.popover.left .arrow,
+.popover.left .arrow:after {
+    border-left-color: #292929;
+}
+/*------------------------------------*\
+    $pagination
+\*------------------------------------*/
+.pagination .active a, 
+.pagination .active span, 
+.pagination .active a:hover, 
+.pagination .active span:hover, 
+.pagination .active a:focus, 
+.pagination .active span:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $pager
+\*------------------------------------*/
+.pager li a, .pager li span {
+    border: none;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.pager li a:hover,
+.pager li a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+            border-radius: 4px;
+}
+/*------------------------------------*\
+    $progress
+\*------------------------------------*/
+.progress,
+.progress .progress-bar {
+    -webkit-box-shadow: none !important;
+    -moz-box-shadow: none !important;
+    box-shadow: none !important;
+}
+.progress {
+    height: 12px;
+    overflow: hidden;
+    background-color: #ecf0f1;
+}
+.progress .progress-bar {
+    background-color: #2986b9;
+}
+.progress-success .progress-bar,
+.progress .progress-bar-success,
+.progress-success.progress-striped .progress-bar,
+.progress-striped .progress-bar-success {
+    background-color: #64b92a;
+}
+.progress-info .progress-bar,
+.progress .progress-bar-info,
+.progress-info.progress-striped .progress-bar,
+.progress-striped .progress-bar-info {
+    background-color: #4fbeba;
+}
+.progress-danger .progress-bar,
+.progress .progress-bar-danger,
+.progress-danger.progress-striped .progress-bar,
+.progress-striped .progress-bar-danger {
+    background-color: #c0392b;
+}
+.progress-warning .progress-bar,
+.progress .progress-bar-warning,
+.progress-warning.progress-striped .progress-bar,
+.progress-striped .progress-bar-warning {
+    background-color: #d7af0d;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb {
+    background-color: #ecf0f1;
+}
+/*------------------------------------*\
+    $nav
+\*------------------------------------*/
+.nav .open > a, 
+.nav .open > a:hover, 
+.nav .open > a:focus {
+    border-color: transparent;
+}
+/*------------------------------------*\
+    $navbar-toggle
+\*------------------------------------*/
+.navbar-toggle:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $navbar
+\*------------------------------------*/
+.navbar .divider-vertical {
+    border-left-width: 1px;
+    border-left-style: solid;
+    height: 50px;
+}
+.navbar-default {
+    border:none;
+    background-color:#3da8e3;
+}
+.navbar-default .navbar-brand {
+    color: #fff;
+}
+.navbar-default .navbar-link:hover,
+.navbar-default .navbar-link:focus,
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+    color: #d3efff;
+}
+.navbar-default .navbar-link,
+.navbar-default .navbar-text {
+    color: #d3efff;
+}
+.navbar-default .dropdown-header {
+    color: #aeb1b1;
+}
+.navbar-default .divider-vertical {
+    border-left-color: #2986b9;
+}
+.navbar-default .nav li a,
+.navbar-default .nav li a:focus,
+.navbar-default .nav li a:hover {
+    color: #fff;
+}
+.navbar-default .nav .active a,
+.navbar-default .nav .active a:hover,
+.navbar-default .nav .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+}
+.navbar-default .nav li.dropdown.open .dropdown-toggle,
+.navbar-default .nav li.dropdown.active .dropdown-toggle,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle {
+    background-color: #2986b9;
+    color: #fff;
+}
+.navbar-default .nav li.dropdown a:hover .caret,
+.navbar-default .nav li.dropdown a:focus .caret,
+.navbar-default .nav li.dropdown .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.active .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.navbar-default .nav li .dropdown-menu:before,
+.navbar-default .nav li .dropdown-menu:after {
+    border-bottom-color: transparent;
+}
+.navbar-default .navbar-toggle {
+    background-color: #aeb1b1;   
+}
+.navbar-default .navbar-toggle:hover, 
+.navbar-default .navbar-toggle:focus {
+    background-color: #c2c2c2;
+}
+.navbar-default .navbar-collapse, 
+.navbar-default .navbar-form {
+    border-color: #aeb1b1;
+}
+/*------------------------------------*\
+    $navbar-inverse
+\*------------------------------------*/
+.navbar-inverse {
+    background-color:#292929;
+}
+.navbar-inverse .nav .active a,
+.navbar-inverse .nav .active a:hover,
+.navbar-inverse .nav .active a:focus,
+.navbar-inverse .nav li.dropdown.open .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.active .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.open.active .dropdown-toggle{
+    background-color: #000;
+}
+.navbar-inverse .divider-vertical {
+    border-left-color: #000;
+}
+.navbar-inverse .navbar-form .form-control {
+    border: 1px solid #292929;
+}
+.navbar-inverse .navbar-form .form-control:focus,
+.navbar-inverse .navbar-form .form-control.focused {
+    color: #292929;
+    background-color: #fff !important;
+    border: 1px solid #000;
+}
+/*------------------------------------*\
+    $navbar-right
+\*------------------------------------*/
+.navbar-right .dropdown.open .dropdown-toggle {
+    -webkit-border-radius: 0 4px 0 0;
+    -moz-border-radius: 0 4px 0 0;
+    border-radius: 0 4px 0 0;
+}
+/*------------------------------------*\
+    $nav-list
+\*------------------------------------*/
+.nav-list {
+    padding: 10px 0;
+}
+.nav-list li a,
+.nav-list .nav-header {
+    padding: 5px 15px;
+}
+.nav-list .nav-header {
+    font-weight: bold;
+}
+.nav-list li a {
+    color: #292929;
+}
+.nav-list li a:hover,
+.nav-list li a:focus,
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    color: #3498db;
+    text-decoration: none;
+}
+.nav-list li a:hover,
+.nav-list li a:focus {
+    background-color: transparent;
+}
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    font-weight: bold;
+}
+.nav-list .divider {
+    margin: 9px 15px;
+    overflow: hidden;
+    border-bottom: 1px solid #ddd;
+}
+.nav-list  .nav-list-sub {
+    list-style: none;
+}
+.nav-list  .nav-list-sub {
+    padding-left: 0;
+}
+.nav-list  .nav-list-sub li a {
+    padding: 2px 15px 2px 30px;
+    display: block;
+}
+
+.nav-list-panel {
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    background-color:#ecf0f1;   
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus,
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    text-decoration: none;
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus {
+    opacity: 0.45;
+    filter: alpha(opacity=45);
+}
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    opacity: 1;
+    filter: alpha(opacity=100);
+}
+/*------------------------------------*\
+    $nav-tabs
+\*------------------------------------*/
+.nav-tabs > li > a {
+    color: #292929;
+}
+.nav-tabs .dropdown-toggle .caret,
+.nav-tabs .dropdown-toggle:hover .caret,
+.nav-tabs .dropdown-toggle:focus .caret,
+.nav-tabs li.dropdown.open .caret,
+.nav-tabs li.dropdown.open.active .caret,
+.nav-tabs li.dropdown.open a:hover .caret,
+.nav-tabs li.dropdown.open a:focus .caret,
+.nav-tabs .active .dropdown-toggle .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.tabs-below .nav-tabs {
+    border-top: 1px solid #ddd;
+    border-bottom: none;
+}
+.tabs-below .nav-tabs .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+.tabs-below .nav-tabs li {
+    margin-top: -1px;
+    margin-bottom: 0;
+}
+.tabs-below .nav-tabs li a {
+    -webkit-border-radius: 0 0 4px 4px;
+       -moz-border-radius: 0 0 4px 4px;
+            border-radius: 0 0 4px 4px;
+}
+.tabs-below .nav-tabs li a:hover,
+.tabs-below .nav-tabs li a:focus {
+    border-top-color: #ddd;
+    border-bottom-color: transparent;
+}
+.tabs-below .nav-tabs .active a,
+.tabs-below .nav-tabs .active a:hover,
+.tabs-below .nav-tabs .active a:focus {
+    border-color: transparent #ddd #ddd #ddd;
+}
+.tabs-left .nav-tabs,
+.tabs-right .nav-tabs {
+    border-bottom: none;
+}
+.tabs-left .nav-tabs li,
+.tabs-right .nav-tabs li {
+    float: none;
+}
+.tabs-left .nav-tabs li a,
+.tabs-right .nav-tabs li a {
+    min-width: 74px;
+    margin-right: 0;
+    margin-bottom: 3px;
+}
+.tabs-left .nav-tabs {
+    float: left;
+    margin-right: 19px;
+    border-right: 1px solid #ddd;
+}
+.tabs-left .nav-tabs li > a {
+    margin-right: -1px;
+    -webkit-border-radius: 4px 0 0 4px;
+       -moz-border-radius: 4px 0 0 4px;
+            border-radius: 4px 0 0 4px;
+}
+.tabs-left .nav-tabs li a:hover,
+.tabs-left .nav-tabs li a:focus {
+    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
+}
+.tabs-left .nav-tabs .active a,
+.tabs-left .nav-tabs .active a:hover,
+.tabs-left .nav-tabs .active a:focus {
+    border-color: #ddd transparent #ddd #ddd;
+    *border-right-color: #ffffff;
+}
+.tabs-right .nav-tabs {
+    float: right;
+    margin-left: 19px;
+    border-left: 1px solid #ddd;
+}
+.tabs-right .nav-tabs li a {
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 0;
+       -moz-border-radius: 0 4px 4px 0;
+            border-radius: 0 4px 4px 0;
+}
+.tabs-right .nav-tabs li a:hover,
+.tabs-right .nav-tabs li a:focus {
+    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
+}
+.tabs-right .nav-tabs .active a,
+.tabs-right .nav-tabs .active a:hover,
+.tabs-right .nav-tabs .active a:focus {
+    border-color: #ddd #ddd #ddd transparent;
+    *border-left-color: #ffffff;
+}
+/*------------------------------------*\
+    $nav-pills
+\*------------------------------------*/
+.nav-pills > li > a {
+    color: #292929;
+}
+.nav-pills > li > a:hover,
+.nav-pills > li > a:focus {
+    background-color: ;
+}
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
+    background-color: #2986b9;
+    color:#fff;
+}
+.nav-pills .dropdown-toggle .caret,
+.nav-pills .open .dropdown-toggle:focus .caret,
+.nav-pills .dropdown-toggle:hover .caret,
+.nav-pills .dropdown-toggle:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-pills .open .dropdown-toggle,
+.nav-pills .open .dropdown-toggle:focus {
+    background-color: transparent;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb > li + li::before {
+    font-family: 'FontAwesome';
+    content: "\f105";
+}
+/*------------------------------------*\
+    $panel-group
+\*------------------------------------*/
+.panel-group .panel {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.panel-group .panel-heading {
+    padding: 9px 15px;
+    background-color: #2986b9;
+}
+.panel-group .panel-heading a,
+.panel-group .panel-heading a:hover,
+.panel-group .panel-heading a:focus,
+.panel-group .panel-heading a:active {
+    color:#fff;
+    text-decoration: none;
+}
+.panel-group .panel-body {
+    border: 1px solid #ddd;
+    -webkit-border-radius: 0 0 4px 4px;
+    -moz-border-radius: 0 0 4px 4px;
+    border-radius: 0 0 4px 4px;
+}
+


[19/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/basic-query-syntax/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/basic-query-syntax/index.html b/content/publish/docs/basic-query-syntax/index.html
new file mode 100644
index 0000000..fee8740
--- /dev/null
+++ b/content/publish/docs/basic-query-syntax/index.html
@@ -0,0 +1,285 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Basic query syntax</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Basic query syntax</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/basic-query-syntax/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#basic-query-syntax">Basic query syntax</a><ul>
+<li><a href="#basic-syntax">Basic syntax</a></li>
+<li><a href="#supported-operators">Supported operators</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="basic-query-syntax"><a href="#basic-query-syntax">Basic query syntax</a></h1>
+<p>Queries of Apigee data for Apache Usergrid are made up of two kinds of statements: the path to the collection you want to query, followed by the query language statement containing your query. These two statements are separated by “?ql=” to indicate where the query language statement starts.</p>
+<blockquote>
+<p><strong>Note:</strong>Query examples in this content are shown unencoded to make them easier to read. Keep in mind that you might need to encode query strings if you’re sending them as part of URLs, such as when you’re executing them with the cURL tool.</p>
+</blockquote>
+<blockquote>
+<p><strong>Note:</strong> The syntax of Apache Usergrid queries only <em>resembles</em> SQL to make queries familiar and easier to write. However, the language isn’t SQL. Only the syntax items documented here are supported.</p>
+</blockquote>
+<h2 id="basic-syntax"><a href="#basic-syntax">Basic syntax</a></h2>
+<p>To retrieve items from a collection, you would use a syntax such as the following:</p>
+<pre><code>/&lt;collection&gt;?ql=&lt;query_statement&gt;</code></pre>
+<p>In the following example, the query is retrieving all users whose name is Gladys Kravitz.</p>
+<pre><code>/users?ql=select * where name = 'Gladys Kravitz'</code></pre>
+<p>The following example selects all items except those that have an a property value of 5:</p>
+<pre><code>/items?ql=select * where NOT a = 5</code></pre>
+<p>Note that there is a shortcut available when your query selects all items matching certain criteria – in other words, where you use a statement that starts “select * where”. In this case, you can omit the first part of the statement and abbreviate it this way:</p>
+<pre><code>/items?ql=NOT a = 5</code></pre>
+<h2 id="supported-operators"><a href="#supported-operators">Supported operators</a></h2>
+<p>The following table lists more of the operators that you can use in queries. Others are described later in this section.</p>
+<p>Category</p>
+<p>Component Name</p>
+<p>Example</p>
+<p>Equality operations</p>
+<p>Less than</p>
+<pre><code>'&lt;' or 'lt'</code></pre>
+<p>Less than equal</p>
+<pre><code>'&lt;=' or 'lte'</code></pre>
+<p>Equal</p>
+<pre><code>'=' or 'eq'</code></pre>
+<p>Greater than equal</p>
+<pre><code>'&gt;=' or 'gte'</code></pre>
+<p>Greater than</p>
+<pre><code>'&gt;' or 'gt'</code></pre>
+<p>Not equal</p>
+<pre><code>NOT &lt;some_expression&gt;</code></pre>
+<p>Logical operations</p>
+<p>Intersection of results</p>
+<pre><code>and</code></pre>
+<p>Union of results</p>
+<pre><code>or</code></pre>
+<p>Subtraction of results</p>
+<pre><code>not</code></pre>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/basic-query-syntax/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/client-authorization/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/client-authorization/index.html b/content/publish/docs/client-authorization/index.html
new file mode 100644
index 0000000..7dad04f
--- /dev/null
+++ b/content/publish/docs/client-authorization/index.html
@@ -0,0 +1,370 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Client authorization</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Client authorization</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/client-authorization.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#client-authorization">Client authorization</a><ul>
+<li>
+<a href="#authorizing-a-client">Authorizing a client</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="client-authorization">Client authorization</h1>
+<p><a href="/docs/usergrid/content/management-resources">See all management resources</a><a href="/docs/usergrid/content/management-resources"><img src="/docs/sites/docs/files/learnmore%20arrow_0.png"></a></p>
+<p>Using the App services API, you can authorize a client.</p>
+<h2 id="authorizing-a-client">Authorizing a client</h2>
+<p>Use the GET method to authorize a client.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>GET /management/authorize?response_type={response_type}&amp;client_id={client_id}</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">string response_type</td>
+<td align="left">The <a href="http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-3.1.1">OAuth 2.0 response type</a>.</td>
+</tr>
+<tr class="even">
+<td align="left">string client_id</td>
+<td align="left">Organization client ID</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_auth_client">cURL</a></li>
+<li><a href="#javascript_auth_client">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_auth_client">Ruby</a></li>
+<li><a href="#nodejs_auth_client">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/management/authorize?response_type=token&amp;client_id=b0U5N81ME96NSeG78xIxQFxelQ"</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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['authorize'].get params: { response_type: 'token', client_id: 'b0U5N81ME96NSeG78xIxQFxelQ'}</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/authorize',
+    qs:{response_type:'token', client_id:'b0U5N81ME96NSeG78xIxQFxelQ'}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
+    &lt;title&gt;Sign In&lt;/title&gt;
+    &lt;link rel="stylesheet" type="text/css" href="../css/styles.css" /&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+    &lt;div class="dialog-area"&gt;
+        
+        &lt;form class="dialog-form" action="" method="post"&gt;
+            &lt;input type="hidden" name="response_type" value="token"&gt;
+            &lt;input type="hidden" name="client_id" value="b3U6M90FY80MEeG89xIxPRxEkQ"&gt;
+            &lt;input type="hidden" name="redirect_uri" value=""&gt;
+            &lt;input type="hidden" name="scope" value=""&gt;
+            &lt;input type="hidden" name="state" value=""&gt;
+            &lt;fieldset&gt;
+                &lt;p&gt;
+                    &lt;label for="username"&gt;Username&lt;/label&gt;
+                &lt;/p&gt;
+                &lt;p&gt;
+                    &lt;input class="text_field" id="username" name="username" type="text" /&gt;
+                &lt;/p&gt;
+                &lt;p&gt;
+                    &lt;label for="password"&gt;Password&lt;/label&gt;
+                &lt;/p&gt;
+                &lt;p&gt;
+                    &lt;input class="text_field" id="password" name="password" type="password" /&gt;
+                &lt;/p&gt;
+                &lt;p class="buttons"&gt;
+                    &lt;button type="submit"&gt;Submit&lt;/button&gt;
+                &lt;/p&gt;
+            &lt;/fieldset&gt;
+        &lt;/form&gt;
+    &lt;/div&gt;</code></pre>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/client-authorization.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/collections/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/collections/index.html b/content/publish/docs/collections/index.html
new file mode 100644
index 0000000..b5c3f21
--- /dev/null
+++ b/content/publish/docs/collections/index.html
@@ -0,0 +1,278 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Collections</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Collections</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/collections.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	
+</div>
+<p>In Apache Usergrid, all entities are automatically associated with a corresponding collection based on the <code>type</code> property of the entity. You may create empty collections if you wish, but creating an entity of a new type will automatically create a corresponding collection for you. For example, creating a new custom “item” entity, creates an “items” collection.</p>
+<p>Queries are always limited in scope to the current collection. That should be your primary consideration for data modeling in Apache Usergrid.</p>
+<p>The following collections are reserved in the system</p>
+<ul>
+<li>users</li>
+<li>groups</li>
+<li>activities</li>
+<li>devices</li>
+<li>assets</li>
+<li>folders</li>
+<li>queues</li>
+<li>events</li>
+<li>counters</li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/collections.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/contribute-code/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/contribute-code/index.html b/content/publish/docs/contribute-code/index.html
new file mode 100644
index 0000000..7316100
--- /dev/null
+++ b/content/publish/docs/contribute-code/index.html
@@ -0,0 +1,279 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — How to Contribute Code & Docs</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>How to Contribute Code & Docs</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contribute-code.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#code-contributions">Code Contributions</a></li>
+<li><a href="#website-and-documentation-contributions">Website and Documentation Contributions</a></li>
+</ul>
+</div>
+<h2 id="code-contributions">Code Contributions</h2>
+<p>The Usergrid project has adopted a policy for how code is to be contributed by external contributors, and by those who are committers on the project. You can read this policy here <a href="https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+Contribution+Workflow">Usergrid Contribution Workflow</a>.</p>
+<p>Basically, we use GitHub as our code review system. So you should fork the apache/incubator-usergrid repo and submit PRs back to the project. Here are are step-by-step guide for both both external contributors and committers:</p>
+<ul>
+<li><a href="https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+External+Contributors+Guide">External Contributors Guide</a></li>
+<li><a href="https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+Committers+Guide">Usergrid Committers Guide</a></li>
+</ul>
+<h2 id="website-and-documentation-contributions">Website and Documentation Contributions</h2>
+<p>If you want to contribute to the documentation you’ll find that we use a different system. Our website and documentation is managed in Subversion. Here’s a README file that explains how to get the website and documentation source code and make changes:</p>
+<ul>
+<li><a href="http://svn.apache.org/viewvc/incubator/usergrid/site/README.md?view=markup">README.md for website and documentation</a></li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contribute-code.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[51/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
Website directory MUST be named "content"


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/a46faae1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/a46faae1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/a46faae1

Branch: refs/heads/asf-site
Commit: a46faae102dfc2adf5de3d05a6ef112b58448e18
Parents: c8b7d6c
Author: Dave Johnson <dm...@apigee.com>
Authored: Thu Jun 25 16:49:23 2015 -0400
Committer: Dave Johnson <dm...@apigee.com>
Committed: Thu Jun 25 16:49:23 2015 -0400

----------------------------------------------------------------------
 content/README.md                               |    42 +
 content/Rules                                   |    52 +
 content/build.sh                                |     1 +
 content/content/bootstrap/bootstrap.min.css     |     9 +
 content/content/community/index.html            |   240 +
 content/content/css/bootflat-extensions.css     |   356 +
 content/content/css/bootflat-square.css         |    69 +
 content/content/css/bootflat.css                |  1560 +
 content/content/css/font-awesome.min.css        |   405 +
 content/content/css/usergrid-site.css           |  1553 +
 content/content/docs/access-token.md            |   194 +
 content/content/docs/activity.md                |  1128 +
 content/content/docs/admin-portal.md            |   509 +
 content/content/docs/admin-user.md              |   781 +
 content/content/docs/app-security.md            |    42 +
 content/content/docs/application.md             |    90 +
 content/content/docs/applications.md            |    85 +
 content/content/docs/assets.md                  |    24 +
 ...henticating-users-and-application-clients.md |   485 +
 .../authentication-and-access-app-services-0.md |   271 +
 content/content/docs/client-authorization.md    |   114 +
 content/content/docs/collections.md             |    25 +
 content/content/docs/contribute-code.md         |    26 +
 content/content/docs/creating-collections.md    |   340 +
 .../docs/creating-custom-data-entities.md       |  1639 +
 .../creating-new-application-admin-console.md   |    55 +
 content/content/docs/data-model.md              |   146 +
 content/content/docs/data-query-overview.md     |    62 +
 content/content/docs/default-data-entities.md   |  1175 +
 content/content/docs/deleting-collections.md    |   382 +
 content/content/docs/deleting-data-entities.md  |   394 +
 content/content/docs/deploy-local.md            |   174 +
 content/content/docs/device.md                  |    41 +
 ...ying-app-services-api-calls-curl-commands.md |    74 +
 content/content/docs/events-and-counters 2.md   |   396 +
 content/content/docs/events-and-counters.md     |   272 +
 content/content/docs/facebook-sign.md           |   232 +
 content/content/docs/features.md                |   198 +
 content/content/docs/folder.md                  |    45 +
 content/content/docs/geolocation.md             |    87 +
 .../docs/getting-up-and-running-locally.md      |    74 +
 content/content/docs/group 2.md                 |   936 +
 content/content/docs/group.md                   |   936 +
 content/content/docs/groups.md                  |    42 +
 content/content/docs/html-5-example-messagee.md |   192 +
 content/content/docs/index.html                 |     9 +
 ...managing-access-defining-permission-rules.md |   218 +
 content/content/docs/messagee-example.md        |   192 +
 content/content/docs/nodejs-module.md           |    61 +
 content/content/docs/old-forks.md               |    35 +
 content/content/docs/organization.md            |  1266 +
 content/content/docs/organizations-admins 2.md  |  1814 +
 content/content/docs/organizations-admins.md    |    39 +
 content/content/docs/overview.md                |    41 +
 content/content/docs/presentations.md           |    25 +
 content/content/docs/query-language.md          |   465 +
 .../content/docs/querying-data-admin-portal.md  |    40 +
 .../docs/querying-your-app-services-data.md     |    81 +
 content/content/docs/relationships.md           |   104 +
 content/content/docs/rest-api.md                |    17 +
 content/content/docs/rest-endpoints.md          |   918 +
 content/content/docs/retrieving-collections.md  |   484 +
 .../content/docs/retrieving-data-entities.md    |  1092 +
 content/content/docs/role.md                    |  1000 +
 content/content/docs/roles-and-permissions.md   |    22 +
 content/content/docs/ruby-gem.md                |    28 +
 content/content/docs/securing-your-app.md       |    83 +
 content/content/docs/security-model.md          |    40 +
 content/content/docs/updating-collections.md    |   436 +
 content/content/docs/updating-data-entities.md  |  1008 +
 content/content/docs/upgrading.md               |     7 +
 .../content/docs/uploading-files-and-assets.md  |   289 +
 content/content/docs/user.md                    |  1892 +
 content/content/docs/users-devices.md           |   112 +
 content/content/docs/using-api.md               |   219 +
 .../content/docs/using-sandbox-application.md   |    71 +
 content/content/docs/videos.md                  |    15 +
 content/content/favicon.ico                     |   Bin 0 -> 3989 bytes
 content/content/font/FontAwesome.otf            |   Bin 0 -> 61896 bytes
 .../content/font/fontawesome-webfont-eot.eot    |   Bin 0 -> 37405 bytes
 .../content/font/fontawesome-webfont-svg.svg    |   399 +
 .../content/font/fontawesome-webfont-ttf.ttf    |   Bin 0 -> 79076 bytes
 .../content/font/fontawesome-webfont-woff.woff  |   Bin 0 -> 43572 bytes
 content/content/img/alberto.jpg                 |   Bin 0 -> 16137 bytes
 content/content/img/alex.png                    |   Bin 0 -> 40842 bytes
 content/content/img/apache_usergrid_favicon.png |   Bin 0 -> 10735 bytes
 .../content/img/apache_usergrid_logo_white.png  |   Bin 0 -> 26418 bytes
 .../img/apache_usergrid_logo_white_small.png    |   Bin 0 -> 11905 bytes
 content/content/img/check_flat/default.png      |   Bin 0 -> 25851 bytes
 content/content/img/dave.jpg                    |   Bin 0 -> 14005 bytes
 content/content/img/ed.jpg                      |   Bin 0 -> 20460 bytes
 content/content/img/egg-logo.png                |   Bin 0 -> 9938 bytes
 content/content/img/github.png                  |   Bin 0 -> 8936 bytes
 content/content/img/grey.png                    |   Bin 0 -> 37896 bytes
 content/content/img/intellij.png                |   Bin 0 -> 9199 bytes
 content/content/img/jeff.jpg                    |   Bin 0 -> 13857 bytes
 content/content/img/nate.jpg                    |   Bin 0 -> 4291 bytes
 content/content/img/rod.jpg                     |   Bin 0 -> 40313 bytes
 content/content/img/scott.jpg                   |   Bin 0 -> 8555 bytes
 content/content/img/shawn.jpg                   |   Bin 0 -> 69304 bytes
 content/content/img/stliu.jpg                   |   Bin 0 -> 51303 bytes
 content/content/img/strong.jpg                  |   Bin 0 -> 7434 bytes
 content/content/img/structure101.png            |   Bin 0 -> 6475 bytes
 content/content/img/sungju.jpg                  |   Bin 0 -> 11440 bytes
 content/content/img/tim.jpg                     |   Bin 0 -> 7611 bytes
 content/content/img/todd.jpg                    |   Bin 0 -> 18142 bytes
 content/content/img/usergrid-logo.pdf           |   398 +
 content/content/img/usergrid.png                |   Bin 0 -> 21994 bytes
 content/content/img/usergrid_160.png            |   Bin 0 -> 2126 bytes
 content/content/img/usergrid_200.png            |   Bin 0 -> 6397 bytes
 content/content/img/usergrid_300.png            |   Bin 0 -> 16330 bytes
 .../content/img/usergrid_300_transparent.png    |   Bin 0 -> 16308 bytes
 content/content/img/usergrid_400.png            |   Bin 0 -> 8746 bytes
 content/content/img/usergrid_800.png            |   Bin 0 -> 14452 bytes
 content/content/img/usergrid_card.png           |   Bin 0 -> 23295 bytes
 content/content/img/usergrid_logo.png           |   Bin 0 -> 118086 bytes
 content/content/img/usergrid_logo_205_50.png    |   Bin 0 -> 7058 bytes
 content/content/img/usergrid_logo_260_50.png    |   Bin 0 -> 8682 bytes
 content/content/img/usergrid_logo_720.png       |   Bin 0 -> 27610 bytes
 content/content/img/usergrid_logo_720p.png      |   Bin 0 -> 27608 bytes
 content/content/img/usergrid_logo_900_200.png   |   Bin 0 -> 12273 bytes
 content/content/img/usergrid_logo_white.png     |   Bin 0 -> 16900 bytes
 content/content/img/usergrid_profile_128.png    |   Bin 0 -> 6689 bytes
 content/content/img/usergrid_profile_256.png    |   Bin 0 -> 10470 bytes
 .../content/img/usergrid_profile_256_white.png  |   Bin 0 -> 10724 bytes
 .../img/usergrid_profile_512_margins.png        |   Bin 0 -> 19112 bytes
 .../content/img/usergrid_profile_64_white.png   |   Bin 0 -> 4839 bytes
 .../content/img/usergrid_profile_background.png |   Bin 0 -> 6710 bytes
 content/content/img/usergrid_screencast_bg.png  |   Bin 0 -> 20478 bytes
 content/content/img/usergrid_small_100.png      |   Bin 0 -> 6681 bytes
 content/content/img/usergrid_wiki.png           |   Bin 0 -> 7135 bytes
 content/content/img/yourkit.jpeg                |   Bin 0 -> 7763 bytes
 content/content/index.html                      |    97 +
 content/content/js/bootstrap.min.js             |     8 +
 content/content/js/head.js                      |   708 +
 content/content/js/html5shiv.js                 |     8 +
 content/content/js/jquery-1.10.1.min.js         |     6 +
 content/content/js/jquery.icheck.js             |   397 +
 content/content/js/respond.min.js               |     6 +
 content/content/js/usergrid-site.js             |    50 +
 content/content/releases/index.html             |    65 +
 content/content/static/github-btn.html          |     2 +
 content/layouts/community.html                  |     1 +
 content/layouts/default.html                    |   113 +
 content/layouts/docs.html                       |     1 +
 content/layouts/footer.html                     |    94 +
 content/layouts/header.html                     |   228 +
 content/lib/default.rb                          |    43 +
 content/lib/helpers_.rb                         |     0
 content/lib/pandoc.template                     |     4 +
 content/nanoc.yaml                              |    77 +
 content/publish/bootstrap/bootstrap.min.css     |     9 +
 content/publish/bootstrap/bootstrap/index.html  |     9 +
 content/publish/community/index.html            |   578 +
 content/publish/css/bootflat-extensions.css     |   356 +
 .../publish/css/bootflat-extensions/index.html  |   356 +
 content/publish/css/bootflat-square.css         |    69 +
 content/publish/css/bootflat-square/index.html  |    69 +
 content/publish/css/bootflat.css                |  1560 +
 content/publish/css/bootflat/index.html         |  1560 +
 content/publish/css/font-awesome.min.css        |   405 +
 content/publish/css/font-awesome/index.html     |   403 +
 content/publish/css/usergrid-site.css           |  1553 +
 content/publish/css/usergrid-site/index.html    |  1324 +
 content/publish/docs/access-token/index.html    |   472 +
 content/publish/docs/activities/index.html      |   240 +
 content/publish/docs/activity/index.html        |  1338 +
 content/publish/docs/admin-portal/index.html    |   626 +
 content/publish/docs/admin-user/index.html      |   967 +
 content/publish/docs/app-security/index.html    |   281 +
 content/publish/docs/application/index.html     |   459 +
 content/publish/docs/applications/index.html    |   458 +
 content/publish/docs/assets/index.html          |   319 +
 .../index.html                                  |   439 +
 .../index.html                                  |   432 +
 .../publish/docs/basic-query-syntax/index.html  |   285 +
 .../docs/client-authorization/index.html        |   370 +
 content/publish/docs/collections/index.html     |   278 +
 content/publish/docs/contribute-code/index.html |   279 +
 content/publish/docs/contributecode/index.html  |   302 +
 content/publish/docs/contributing/index.html    |   239 +
 .../docs/creating-collections/index.html        |   612 +
 .../creating-custom-data-entities/index.html    |  1937 +
 .../index.html                                  |   294 +
 content/publish/docs/data-model/index.html      |   362 +
 .../publish/docs/data-query-overview/index.html |   293 +
 .../data-types-supported-queries/index.html     |   307 +
 .../docs/default-data-entities/index.html       |  1288 +
 .../docs/deleting-collections/index.html        |   655 +
 .../docs/deleting-data-entities/index.html      |   678 +
 content/publish/docs/deploy-local/index.html    |   401 +
 content/publish/docs/device/index.html          |   332 +
 .../index.html                                  |   291 +
 .../docs/entity-relationships/index.html        |   285 +
 .../docs/events-and-counters 2/index.html       |   612 +
 .../publish/docs/events-and-counters/index.html |   502 +
 content/publish/docs/facebook-sign/index.html   |   400 +
 content/publish/docs/features/index.html        |   342 +
 content/publish/docs/folder/index.html          |   341 +
 content/publish/docs/geolocation/index.html     |   310 +
 .../getting-up-and-running-locally/index.html   |   309 +
 content/publish/docs/group 2/index.html         |  1301 +
 content/publish/docs/group/index.html           |  1301 +
 content/publish/docs/groups/index.html          |   375 +
 .../docs/html-5-example-messagee/index.html     |   421 +
 .../docs/html5-javascript-sdk/index.html        |   235 +
 content/publish/docs/index.html                 |   275 +
 .../index.html                                  |   357 +
 .../publish/docs/messagee-example/index.html    |   421 +
 content/publish/docs/nodejs-module/index.html   |   307 +
 content/publish/docs/old-forks/index.html       |   285 +
 content/publish/docs/organization/index.html    |  1354 +
 .../docs/organizations-admins 2/index.html      |  1807 +
 .../docs/organizations-admins/index.html        |   329 +
 content/publish/docs/overview/index.html        |   279 +
 content/publish/docs/presentations/index.html   |   293 +
 .../docs/queries-and-parameters/index.html      |   264 +
 content/publish/docs/query-language/index.html  |   549 +
 .../docs/query-response-values/index.html       |   306 +
 .../docs/querying-data-admin-portal/index.html  |   289 +
 .../querying-your-app-services-data/index.html  |   308 +
 content/publish/docs/relationships/index.html   |   309 +
 content/publish/docs/rest-api/index.html        |   273 +
 content/publish/docs/rest-endpoints/index.html  |   732 +
 .../docs/retrieving-collections/index.html      |   767 +
 .../docs/retrieving-data-entities/index.html    |  1336 +
 content/publish/docs/role/index.html            |  1314 +
 .../docs/roles-and-permissions/index.html       |   274 +
 content/publish/docs/ruby-gem/index.html        |   279 +
 .../publish/docs/securing-your-app/index.html   |   289 +
 content/publish/docs/security-model/index.html  |   293 +
 .../docs/updating-collections/index.html        |   706 +
 .../docs/updating-data-entities/index.html      |  1270 +
 content/publish/docs/upgrading/index.html       |   265 +
 .../docs/uploading-files-and-assets/index.html  |   436 +
 content/publish/docs/user/index.html            |  2202 +
 content/publish/docs/users-devices/index.html   |   512 +
 content/publish/docs/using-api/index.html       |   384 +
 .../docs/using-sandbox-application/index.html   |   295 +
 content/publish/docs/videos/index.html          |   279 +
 content/publish/docs/working-queries/index.html |   385 +
 content/publish/documents/.buildinfo            |     4 +
 .../documents/_sources/concepts/activity.txt    |  1121 +
 .../_sources/concepts/applications.txt          |    78 +
 .../documents/_sources/concepts/assets.txt      |    20 +
 .../documents/_sources/concepts/collections.txt |    21 +
 .../_sources/concepts/events-and-counters.txt   |   268 +
 .../documents/_sources/concepts/groups.txt      |    38 +
 .../_sources/concepts/query-language.txt        |   427 +
 .../_sources/concepts/relationships.txt         |   100 +
 .../_sources/concepts/roles-and-permissions.txt |    18 +
 .../_sources/concepts/users-devices.txt         |   108 +
 .../documents/_sources/contribute-code.txt      |    24 +
 .../publish/documents/_sources/deploy-local.txt |   175 +
 .../_sources/getting-up-and-running-locally.txt |    72 +
 content/publish/documents/_sources/index.txt    |    12 +
 .../documents/_sources/organizations-admins.txt |    55 +
 .../_sources/presentations-and-videos.txt       |     7 +
 .../presentations-and-videos/presentations.txt  |    21 +
 .../presentations-and-videos/videos.txt         |    11 +
 .../publish/documents/_sources/upgrading.txt    |     3 +
 content/publish/documents/_sources/usage.txt    |    15 +
 .../publish/documents/_static/ajax-loader.gif   |   Bin 0 -> 673 bytes
 content/publish/documents/_static/basic.css     |   537 +
 .../documents/_static/comment-bright.png        |   Bin 0 -> 3500 bytes
 .../publish/documents/_static/comment-close.png |   Bin 0 -> 3578 bytes
 content/publish/documents/_static/comment.png   |   Bin 0 -> 3445 bytes
 .../documents/_static/css/badge_only.css        |     2 +
 content/publish/documents/_static/css/theme.css |     5 +
 content/publish/documents/_static/doctools.js   |   238 +
 .../publish/documents/_static/down-pressed.png  |   Bin 0 -> 368 bytes
 content/publish/documents/_static/down.png      |   Bin 0 -> 363 bytes
 content/publish/documents/_static/file.png      |   Bin 0 -> 392 bytes
 .../documents/_static/fonts/FontAwesome.otf     |   Bin 0 -> 62856 bytes
 .../_static/fonts/fontawesome-webfont.eot       |   Bin 0 -> 38205 bytes
 .../_static/fonts/fontawesome-webfont.svg       |   414 +
 .../_static/fonts/fontawesome-webfont.ttf       |   Bin 0 -> 80652 bytes
 .../_static/fonts/fontawesome-webfont.woff      |   Bin 0 -> 44432 bytes
 .../publish/documents/_static/jquery-1.11.1.js  | 10308 ++
 content/publish/documents/_static/jquery.js     |     2 +
 content/publish/documents/_static/js/theme.js   |    47 +
 content/publish/documents/_static/minus.png     |   Bin 0 -> 199 bytes
 content/publish/documents/_static/plus.png      |   Bin 0 -> 199 bytes
 content/publish/documents/_static/pygments.css  |    62 +
 .../publish/documents/_static/searchtools.js    |   622 +
 .../documents/_static/underscore-1.3.1.js       |   999 +
 content/publish/documents/_static/underscore.js |    31 +
 .../publish/documents/_static/up-pressed.png    |   Bin 0 -> 372 bytes
 content/publish/documents/_static/up.png        |   Bin 0 -> 363 bytes
 content/publish/documents/_static/websupport.js |   808 +
 .../publish/documents/concepts/activity.html    |  1501 +
 .../documents/concepts/applications.html        |   413 +
 content/publish/documents/concepts/assets.html  |   271 +
 .../publish/documents/concepts/collections.html |   241 +
 .../documents/concepts/events-and-counters.html |   542 +
 content/publish/documents/concepts/groups.html  |   338 +
 .../documents/concepts/query-language.html      |   669 +
 .../documents/concepts/relationships.html       |   319 +
 .../concepts/roles-and-permissions.html         |   245 +
 .../documents/concepts/users-devices.html       |   477 +
 content/publish/documents/contribute-code.html  |   244 +
 content/publish/documents/deploy-local.html     |   415 +
 content/publish/documents/genindex.html         |   208 +
 .../getting-up-and-running-locally.html         |   302 +
 content/publish/documents/index.html            |   399 +
 content/publish/documents/objects.inv           |   Bin 0 -> 211 bytes
 .../publish/documents/organizations-admins.html |   410 +
 .../documents/presentations-and-videos.html     |   233 +
 .../presentations-and-videos/presentations.html |   245 +
 .../presentations-and-videos/videos.html        |   233 +
 content/publish/documents/search.html           |   221 +
 content/publish/documents/searchindex.js        |     1 +
 content/publish/documents/upgrading.html        |   223 +
 content/publish/documents/usage.html            |   243 +
 content/publish/favicon.ico                     |   Bin 0 -> 3989 bytes
 content/publish/font/FontAwesome.otf            |   Bin 0 -> 61896 bytes
 .../publish/font/fontawesome-webfont-eot.eot    |   Bin 0 -> 37405 bytes
 .../publish/font/fontawesome-webfont-svg.svg    |   399 +
 .../publish/font/fontawesome-webfont-ttf.ttf    |   Bin 0 -> 79076 bytes
 .../publish/font/fontawesome-webfont-woff.woff  |   Bin 0 -> 43572 bytes
 content/publish/img/alberto.jpg                 |   Bin 0 -> 16137 bytes
 content/publish/img/alex.png                    |   Bin 0 -> 40842 bytes
 content/publish/img/apache_usergrid_favicon.png |   Bin 0 -> 10735 bytes
 .../publish/img/apache_usergrid_logo_white.png  |   Bin 0 -> 26418 bytes
 .../img/apache_usergrid_logo_white_small.png    |   Bin 0 -> 11905 bytes
 content/publish/img/check_flat/default.png      |   Bin 0 -> 25851 bytes
 content/publish/img/dave.jpg                    |   Bin 0 -> 14005 bytes
 content/publish/img/ed.jpg                      |   Bin 0 -> 20460 bytes
 content/publish/img/egg-logo.png                |   Bin 0 -> 9938 bytes
 content/publish/img/github.png                  |   Bin 0 -> 8936 bytes
 content/publish/img/grey.png                    |   Bin 0 -> 37896 bytes
 content/publish/img/intellij.png                |   Bin 0 -> 9199 bytes
 content/publish/img/jeff.jpg                    |   Bin 0 -> 13857 bytes
 content/publish/img/nate.jpg                    |   Bin 0 -> 4291 bytes
 content/publish/img/rod.jpg                     |   Bin 0 -> 40313 bytes
 content/publish/img/scott.jpg                   |   Bin 0 -> 8555 bytes
 content/publish/img/shawn.jpg                   |   Bin 0 -> 69304 bytes
 content/publish/img/stliu.jpg                   |   Bin 0 -> 51303 bytes
 content/publish/img/strong.jpg                  |   Bin 0 -> 7434 bytes
 content/publish/img/structure101.png            |   Bin 0 -> 6475 bytes
 content/publish/img/sungju.jpg                  |   Bin 0 -> 11440 bytes
 content/publish/img/tim.jpg                     |   Bin 0 -> 7611 bytes
 content/publish/img/todd.jpeg                   |   Bin 0 -> 42497 bytes
 content/publish/img/todd.jpg                    |   Bin 0 -> 18142 bytes
 content/publish/img/usergrid-logo.pdf           |   398 +
 content/publish/img/usergrid.png                |   Bin 0 -> 21994 bytes
 content/publish/img/usergrid_160.png            |   Bin 0 -> 2126 bytes
 content/publish/img/usergrid_200.png            |   Bin 0 -> 6397 bytes
 content/publish/img/usergrid_300.png            |   Bin 0 -> 16330 bytes
 .../publish/img/usergrid_300_transparent.png    |   Bin 0 -> 16308 bytes
 content/publish/img/usergrid_400.png            |   Bin 0 -> 8746 bytes
 content/publish/img/usergrid_800.png            |   Bin 0 -> 14452 bytes
 content/publish/img/usergrid_card.png           |   Bin 0 -> 23295 bytes
 content/publish/img/usergrid_logo.png           |   Bin 0 -> 118086 bytes
 content/publish/img/usergrid_logo_205_50.png    |   Bin 0 -> 7058 bytes
 content/publish/img/usergrid_logo_260_50.png    |   Bin 0 -> 8682 bytes
 content/publish/img/usergrid_logo_720.png       |   Bin 0 -> 27610 bytes
 content/publish/img/usergrid_logo_720p.png      |   Bin 0 -> 27608 bytes
 content/publish/img/usergrid_logo_900_200.png   |   Bin 0 -> 12273 bytes
 content/publish/img/usergrid_logo_white.png     |   Bin 0 -> 16900 bytes
 content/publish/img/usergrid_profile_128.png    |   Bin 0 -> 6689 bytes
 content/publish/img/usergrid_profile_256.png    |   Bin 0 -> 10470 bytes
 .../publish/img/usergrid_profile_256_white.png  |   Bin 0 -> 10724 bytes
 .../img/usergrid_profile_512_margins.png        |   Bin 0 -> 19112 bytes
 .../publish/img/usergrid_profile_64_white.png   |   Bin 0 -> 4839 bytes
 .../publish/img/usergrid_profile_background.png |   Bin 0 -> 6710 bytes
 content/publish/img/usergrid_screencast_bg.png  |   Bin 0 -> 20478 bytes
 content/publish/img/usergrid_small_100.png      |   Bin 0 -> 6681 bytes
 content/publish/img/usergrid_wiki.png           |   Bin 0 -> 7135 bytes
 content/publish/img/yourkit.jpeg                |   Bin 0 -> 7763 bytes
 content/publish/index.html                      |   263 +
 content/publish/js/bootstrap.min.js             |     8 +
 content/publish/js/bootstrap/index.html         |     8 +
 content/publish/js/head.js                      |   708 +
 content/publish/js/head/index.html              |   708 +
 content/publish/js/html5shiv.js                 |     8 +
 content/publish/js/html5shiv/index.html         |     8 +
 content/publish/js/jquery-1.10.1.min.js         |     6 +
 content/publish/js/jquery-1/index.html          |     6 +
 content/publish/js/jquery.icheck.js             |   397 +
 content/publish/js/jquery/index.html            |   397 +
 content/publish/js/respond.min.js               |     6 +
 content/publish/js/respond/index.html           |     6 +
 content/publish/js/usergrid-site.js             |    50 +
 content/publish/js/usergrid-site/index.html     |    50 +
 content/publish/releases/index.html             |   234 +
 content/publish/static/github-btn.html          |     2 +
 content/publish/style.css                       |   101 +
 content/publish/stylesheet/index.html           |   262 +
 content/publish/v101-portal-demo/config.js      |    75 +
 .../css/arsmarquette/ARSMaquettePro-Light.otf   |   Bin 0 -> 184600 bytes
 .../css/arsmarquette/ARSMaquettePro-Medium.otf  |   Bin 0 -> 188020 bytes
 .../css/arsmarquette/ARSMaquettePro-Regular.otf |   Bin 0 -> 188096 bytes
 .../v101-portal-demo/css/entypo/entypo.eot      |   Bin 0 -> 35540 bytes
 .../v101-portal-demo/css/entypo/entypo.svg      |    13 +
 .../v101-portal-demo/css/entypo/entypo.ttf      |   Bin 0 -> 35392 bytes
 .../v101-portal-demo/css/entypo/entypo.woff     |   Bin 0 -> 21916 bytes
 content/publish/v101-portal-demo/css/main.css   |  2005 +
 .../publish/v101-portal-demo/css/main.min.css   |     1 +
 content/publish/v101-portal-demo/favicon.ico    |   Bin 0 -> 3989 bytes
 content/publish/v101-portal-demo/helpJson.json  |    47 +
 .../img/appswitcher/apiPlatform_lg.png          |   Bin 0 -> 2397 bytes
 .../img/appswitcher/appServices_lg.png          |   Bin 0 -> 2295 bytes
 .../img/appswitcher/console_lg.png              |   Bin 0 -> 1453 bytes
 .../img/appswitcher/home_lg.png                 |   Bin 0 -> 1522 bytes
 .../img/appswitcher/logo_color.png              |   Bin 0 -> 3459 bytes
 .../v101-portal-demo/img/appswitcher/max_lg.png |   Bin 0 -> 1970 bytes
 .../img/appswitcher/triangleMenuItem_right.png  |   Bin 0 -> 1158 bytes
 .../triangleMenuItem_right_hover.png            |   Bin 0 -> 1169 bytes
 .../publish/v101-portal-demo/img/blue-bars.png  |   Bin 0 -> 3635 bytes
 .../publish/v101-portal-demo/img/blue-bolt.png  |   Bin 0 -> 3942 bytes
 .../publish/v101-portal-demo/img/blue-carat.png |   Bin 0 -> 1006 bytes
 .../img/introjs_arrow_step_next.png             |   Bin 0 -> 219 bytes
 .../img/introjs_arrow_step_next_disabled.png    |   Bin 0 -> 220 bytes
 .../img/introjs_arrow_step_prev.png             |   Bin 0 -> 217 bytes
 .../img/introjs_arrow_step_prev_disabled.png    |   Bin 0 -> 218 bytes
 .../v101-portal-demo/img/introjs_close.png      |   Bin 0 -> 274 bytes
 content/publish/v101-portal-demo/img/logo.png   |   Bin 0 -> 7758 bytes
 .../publish/v101-portal-demo/img/nav-device.gif |   Bin 0 -> 2184 bytes
 .../v101-portal-demo/img/nav-sprites.png        |   Bin 0 -> 7953 bytes
 .../publish/v101-portal-demo/img/no-data1.png   |   Bin 0 -> 45300 bytes
 .../v101-portal-demo/img/phone-small.gif        |   Bin 0 -> 1300 bytes
 .../v101-portal-demo/img/sdk-sprites-large.png  |   Bin 0 -> 15115 bytes
 .../v101-portal-demo/img/sdk-sprites.png        |   Bin 0 -> 4401 bytes
 .../v101-portal-demo/img/tablet-small.gif       |   Bin 0 -> 1390 bytes
 .../publish/v101-portal-demo/img/user-photo.png |   Bin 0 -> 3849 bytes
 .../v101-portal-demo/img/user_profile.png       |   Bin 0 -> 3775 bytes
 content/publish/v101-portal-demo/img/verify.png |   Bin 0 -> 22934 bytes
 .../publish/v101-portal-demo/index-debug.html   |   151 +
 .../v101-portal-demo/index-template.html        |   156 +
 content/publish/v101-portal-demo/index.html     |   151 +
 .../js/generated/usergrid-dev.js                |  4418 +
 .../js/generated/usergrid-libs.min.js           |    38 +
 .../js/generated/usergrid.min.js                |    24 +
 .../publish/v101-portal-demo/js/libs/MD5.min.js |     1 +
 .../js/libs/angular-1.2.5/LICENSE.txt           |    22 +
 .../js/libs/angular-1.2.5/angular-animate.js    |  1323 +
 .../libs/angular-1.2.5/angular-animate.min.js   |    23 +
 .../angular-1.2.5/angular-animate.min.js.map    |     8 +
 .../js/libs/angular-1.2.5/angular-cookies.js    |   202 +
 .../libs/angular-1.2.5/angular-cookies.min.js   |     8 +
 .../angular-1.2.5/angular-cookies.min.js.map    |     8 +
 .../js/libs/angular-1.2.5/angular-csp.css       |    24 +
 .../js/libs/angular-1.2.5/angular-loader.js     |   410 +
 .../js/libs/angular-1.2.5/angular-loader.min.js |     9 +
 .../angular-1.2.5/angular-loader.min.js.map     |     8 +
 .../js/libs/angular-1.2.5/angular-mocks.js      |  2116 +
 .../js/libs/angular-1.2.5/angular-resource.js   |   565 +
 .../libs/angular-1.2.5/angular-resource.min.js  |    13 +
 .../angular-1.2.5/angular-resource.min.js.map   |     8 +
 .../js/libs/angular-1.2.5/angular-route.js      |   911 +
 .../js/libs/angular-1.2.5/angular-route.min.js  |    14 +
 .../libs/angular-1.2.5/angular-route.min.js.map |     8 +
 .../js/libs/angular-1.2.5/angular-sanitize.js   |   622 +
 .../libs/angular-1.2.5/angular-sanitize.min.js  |    14 +
 .../angular-1.2.5/angular-sanitize.min.js.map   |     8 +
 .../js/libs/angular-1.2.5/angular-scenario.js   | 32374 ++++++
 .../js/libs/angular-1.2.5/angular-touch.js      |   563 +
 .../js/libs/angular-1.2.5/angular-touch.min.js  |    13 +
 .../libs/angular-1.2.5/angular-touch.min.js.map |     8 +
 .../js/libs/angular-1.2.5/angular.js            | 20369 ++++
 .../js/libs/angular-1.2.5/angular.min.js        |   201 +
 .../js/libs/angular-1.2.5/angular.min.js.map    |     8 +
 .../js/libs/angular-1.2.5/errors.json           |     1 +
 .../js/libs/angular-1.2.5/version.json          |     1 +
 .../js/libs/angular-1.2.5/version.txt           |     1 +
 .../js/libs/bootstrap/LICENSE.txt               |    21 +
 .../libs/bootstrap/css/bootstrap-responsive.css |  1345 +
 .../bootstrap/css/bootstrap-responsive.min.css  |  1245 +
 .../js/libs/bootstrap/css/bootstrap.css         |  6169 ++
 .../js/libs/bootstrap/css/bootstrap.min.css     |  5469 +
 .../js/libs/bootstrap/custom/css/bootstrap.css  |  6316 ++
 .../libs/bootstrap/custom/css/bootstrap.min.css |     9 +
 .../custom/img/glyphicons-halflings-white.png   |   Bin 0 -> 8777 bytes
 .../custom/img/glyphicons-halflings.png         |   Bin 0 -> 12799 bytes
 .../js/libs/bootstrap/custom/js/bootstrap.js    |  2291 +
 .../libs/bootstrap/custom/js/bootstrap.min.js   |     7 +
 .../img/glyphicons-halflings-white.png          |   Bin 0 -> 8777 bytes
 .../libs/bootstrap/img/glyphicons-halflings.png |   Bin 0 -> 12799 bytes
 .../js/libs/bootstrap/js/bootstrap.js           |  2117 +
 .../js/libs/bootstrap/js/bootstrap.min.js       |   644 +
 .../v101-portal-demo/js/libs/google-viz-api.js  |    49 +
 .../v101-portal-demo/js/libs/jquery/LICENSE.txt |    37 +
 .../js/libs/jquery/jquery-1.9.1.min.js          |     5 +
 .../js/libs/jquery/jquery-migrate-1.1.1.min.js  |     3 +
 .../js/libs/jquery/jquery.sparkline.min.js      |     5 +
 .../js/libs/jqueryui/LICENSE.txt                |    45 +
 .../js/libs/jqueryui/date.min.js                |     2 +
 .../ui-bg_diagonals-thick_90_eeeeee_40x40.png   |   Bin 0 -> 251 bytes
 .../images/ui-bg_flat_100_deedf7_40x100.png     |   Bin 0 -> 182 bytes
 .../images/ui-bg_flat_100_e4f1fb_40x100.png     |   Bin 0 -> 213 bytes
 .../images/ui-bg_flat_100_f2f5f7_40x100.png     |   Bin 0 -> 212 bytes
 .../images/ui-bg_flat_15_cd0a0a_40x100.png      |   Bin 0 -> 181 bytes
 .../images/ui-bg_flat_50_3baae3_40x100.png      |   Bin 0 -> 182 bytes
 .../images/ui-bg_flat_80_d7ebf9_40x100.png      |   Bin 0 -> 183 bytes
 .../ui-bg_highlight-hard_70_000000_1x100.png    |   Bin 0 -> 118 bytes
 .../ui-bg_highlight-soft_25_ffef8f_1x100.png    |   Bin 0 -> 153 bytes
 .../jqueryui/images/ui-icons_000000_256x240.png |   Bin 0 -> 4369 bytes
 .../jqueryui/images/ui-icons_2694e8_256x240.png |   Bin 0 -> 4369 bytes
 .../jqueryui/images/ui-icons_2e83ff_256x240.png |   Bin 0 -> 4369 bytes
 .../jqueryui/images/ui-icons_3d80b3_256x240.png |   Bin 0 -> 4369 bytes
 .../jqueryui/images/ui-icons_72a7cf_256x240.png |   Bin 0 -> 4369 bytes
 .../jqueryui/images/ui-icons_ffffff_256x240.png |   Bin 0 -> 4369 bytes
 .../js/libs/jqueryui/jquery-ui-1.8.18.min.js    |    15 +
 .../js/libs/jqueryui/jquery-ui-1.8.9.custom.css |     1 +
 .../js/libs/jqueryui/jquery-ui-timepicker.css   |     1 +
 .../libs/jqueryui/jquery.ui.timepicker.min.js   |     1 +
 .../ui-bootstrap-custom-0.3.0.min.js            |     1 +
 .../ui-bootstrap-custom-tpls-0.3.0.min.js       |     1 +
 .../v101-portal-demo/js/libs/usergrid.sdk.js    |  2490 +
 content/run.sh                                  |     1 +
 content/tmp/checksums                           |     2 +
 content/tmp/compiled_content                    | 91668 +++++++++++++++++
 content/tmp/dependencies                        |   Bin 0 -> 6586 bytes
 content/tmp/rule_memory                         |   Bin 0 -> 18038 bytes
 content/utilities/map-markers.rb                |    62 +
 content/utilities/markers.txt                   |   440 +
 content/utilities/snapshot-apigee.rb            |    71 +
 content/utilities/usergrid.csv                  |   290 +
 website/README.md                               |    42 -
 website/Rules                                   |    52 -
 website/build.sh                                |     1 -
 website/content/bootstrap/bootstrap.min.css     |     9 -
 website/content/community/index.html            |   240 -
 website/content/css/bootflat-extensions.css     |   356 -
 website/content/css/bootflat-square.css         |    69 -
 website/content/css/bootflat.css                |  1560 -
 website/content/css/font-awesome.min.css        |   405 -
 website/content/css/usergrid-site.css           |  1553 -
 website/content/docs/access-token.md            |   194 -
 website/content/docs/activity.md                |  1128 -
 website/content/docs/admin-portal.md            |   509 -
 website/content/docs/admin-user.md              |   781 -
 website/content/docs/app-security.md            |    42 -
 website/content/docs/application.md             |    90 -
 website/content/docs/applications.md            |    85 -
 website/content/docs/assets.md                  |    24 -
 ...henticating-users-and-application-clients.md |   485 -
 .../authentication-and-access-app-services-0.md |   271 -
 website/content/docs/client-authorization.md    |   114 -
 website/content/docs/collections.md             |    25 -
 website/content/docs/contribute-code.md         |    26 -
 website/content/docs/creating-collections.md    |   340 -
 .../docs/creating-custom-data-entities.md       |  1639 -
 .../creating-new-application-admin-console.md   |    55 -
 website/content/docs/data-model.md              |   146 -
 website/content/docs/data-query-overview.md     |    62 -
 website/content/docs/default-data-entities.md   |  1175 -
 website/content/docs/deleting-collections.md    |   382 -
 website/content/docs/deleting-data-entities.md  |   394 -
 website/content/docs/deploy-local.md            |   174 -
 website/content/docs/device.md                  |    41 -
 ...ying-app-services-api-calls-curl-commands.md |    74 -
 website/content/docs/events-and-counters 2.md   |   396 -
 website/content/docs/events-and-counters.md     |   272 -
 website/content/docs/facebook-sign.md           |   232 -
 website/content/docs/features.md                |   198 -
 website/content/docs/folder.md                  |    45 -
 website/content/docs/geolocation.md             |    87 -
 .../docs/getting-up-and-running-locally.md      |    74 -
 website/content/docs/group 2.md                 |   936 -
 website/content/docs/group.md                   |   936 -
 website/content/docs/groups.md                  |    42 -
 website/content/docs/html-5-example-messagee.md |   192 -
 website/content/docs/index.html                 |     9 -
 ...managing-access-defining-permission-rules.md |   218 -
 website/content/docs/messagee-example.md        |   192 -
 website/content/docs/nodejs-module.md           |    61 -
 website/content/docs/old-forks.md               |    35 -
 website/content/docs/organization.md            |  1266 -
 website/content/docs/organizations-admins 2.md  |  1814 -
 website/content/docs/organizations-admins.md    |    39 -
 website/content/docs/overview.md                |    41 -
 website/content/docs/presentations.md           |    25 -
 website/content/docs/query-language.md          |   465 -
 .../content/docs/querying-data-admin-portal.md  |    40 -
 .../docs/querying-your-app-services-data.md     |    81 -
 website/content/docs/relationships.md           |   104 -
 website/content/docs/rest-api.md                |    17 -
 website/content/docs/rest-endpoints.md          |   918 -
 website/content/docs/retrieving-collections.md  |   484 -
 .../content/docs/retrieving-data-entities.md    |  1092 -
 website/content/docs/role.md                    |  1000 -
 website/content/docs/roles-and-permissions.md   |    22 -
 website/content/docs/ruby-gem.md                |    28 -
 website/content/docs/securing-your-app.md       |    83 -
 website/content/docs/security-model.md          |    40 -
 website/content/docs/updating-collections.md    |   436 -
 website/content/docs/updating-data-entities.md  |  1008 -
 website/content/docs/upgrading.md               |     7 -
 .../content/docs/uploading-files-and-assets.md  |   289 -
 website/content/docs/user.md                    |  1892 -
 website/content/docs/users-devices.md           |   112 -
 website/content/docs/using-api.md               |   219 -
 .../content/docs/using-sandbox-application.md   |    71 -
 website/content/docs/videos.md                  |    15 -
 website/content/favicon.ico                     |   Bin 3989 -> 0 bytes
 website/content/font/FontAwesome.otf            |   Bin 61896 -> 0 bytes
 .../content/font/fontawesome-webfont-eot.eot    |   Bin 37405 -> 0 bytes
 .../content/font/fontawesome-webfont-svg.svg    |   399 -
 .../content/font/fontawesome-webfont-ttf.ttf    |   Bin 79076 -> 0 bytes
 .../content/font/fontawesome-webfont-woff.woff  |   Bin 43572 -> 0 bytes
 website/content/img/alberto.jpg                 |   Bin 16137 -> 0 bytes
 website/content/img/alex.png                    |   Bin 40842 -> 0 bytes
 website/content/img/apache_usergrid_favicon.png |   Bin 10735 -> 0 bytes
 .../content/img/apache_usergrid_logo_white.png  |   Bin 26418 -> 0 bytes
 .../img/apache_usergrid_logo_white_small.png    |   Bin 11905 -> 0 bytes
 website/content/img/check_flat/default.png      |   Bin 25851 -> 0 bytes
 website/content/img/dave.jpg                    |   Bin 14005 -> 0 bytes
 website/content/img/ed.jpg                      |   Bin 20460 -> 0 bytes
 website/content/img/egg-logo.png                |   Bin 9938 -> 0 bytes
 website/content/img/github.png                  |   Bin 8936 -> 0 bytes
 website/content/img/grey.png                    |   Bin 37896 -> 0 bytes
 website/content/img/intellij.png                |   Bin 9199 -> 0 bytes
 website/content/img/jeff.jpg                    |   Bin 13857 -> 0 bytes
 website/content/img/nate.jpg                    |   Bin 4291 -> 0 bytes
 website/content/img/rod.jpg                     |   Bin 40313 -> 0 bytes
 website/content/img/scott.jpg                   |   Bin 8555 -> 0 bytes
 website/content/img/shawn.jpg                   |   Bin 69304 -> 0 bytes
 website/content/img/stliu.jpg                   |   Bin 51303 -> 0 bytes
 website/content/img/strong.jpg                  |   Bin 7434 -> 0 bytes
 website/content/img/structure101.png            |   Bin 6475 -> 0 bytes
 website/content/img/sungju.jpg                  |   Bin 11440 -> 0 bytes
 website/content/img/tim.jpg                     |   Bin 7611 -> 0 bytes
 website/content/img/todd.jpg                    |   Bin 18142 -> 0 bytes
 website/content/img/usergrid-logo.pdf           |   398 -
 website/content/img/usergrid.png                |   Bin 21994 -> 0 bytes
 website/content/img/usergrid_160.png            |   Bin 2126 -> 0 bytes
 website/content/img/usergrid_200.png            |   Bin 6397 -> 0 bytes
 website/content/img/usergrid_300.png            |   Bin 16330 -> 0 bytes
 .../content/img/usergrid_300_transparent.png    |   Bin 16308 -> 0 bytes
 website/content/img/usergrid_400.png            |   Bin 8746 -> 0 bytes
 website/content/img/usergrid_800.png            |   Bin 14452 -> 0 bytes
 website/content/img/usergrid_card.png           |   Bin 23295 -> 0 bytes
 website/content/img/usergrid_logo.png           |   Bin 118086 -> 0 bytes
 website/content/img/usergrid_logo_205_50.png    |   Bin 7058 -> 0 bytes
 website/content/img/usergrid_logo_260_50.png    |   Bin 8682 -> 0 bytes
 website/content/img/usergrid_logo_720.png       |   Bin 27610 -> 0 bytes
 website/content/img/usergrid_logo_720p.png      |   Bin 27608 -> 0 bytes
 website/content/img/usergrid_logo_900_200.png   |   Bin 12273 -> 0 bytes
 website/content/img/usergrid_logo_white.png     |   Bin 16900 -> 0 bytes
 website/content/img/usergrid_profile_128.png    |   Bin 6689 -> 0 bytes
 website/content/img/usergrid_profile_256.png    |   Bin 10470 -> 0 bytes
 .../content/img/usergrid_profile_256_white.png  |   Bin 10724 -> 0 bytes
 .../img/usergrid_profile_512_margins.png        |   Bin 19112 -> 0 bytes
 .../content/img/usergrid_profile_64_white.png   |   Bin 4839 -> 0 bytes
 .../content/img/usergrid_profile_background.png |   Bin 6710 -> 0 bytes
 website/content/img/usergrid_screencast_bg.png  |   Bin 20478 -> 0 bytes
 website/content/img/usergrid_small_100.png      |   Bin 6681 -> 0 bytes
 website/content/img/usergrid_wiki.png           |   Bin 7135 -> 0 bytes
 website/content/img/yourkit.jpeg                |   Bin 7763 -> 0 bytes
 website/content/index.html                      |    97 -
 website/content/js/bootstrap.min.js             |     8 -
 website/content/js/head.js                      |   708 -
 website/content/js/html5shiv.js                 |     8 -
 website/content/js/jquery-1.10.1.min.js         |     6 -
 website/content/js/jquery.icheck.js             |   397 -
 website/content/js/respond.min.js               |     6 -
 website/content/js/usergrid-site.js             |    50 -
 website/content/releases/index.html             |    65 -
 website/content/static/github-btn.html          |     2 -
 website/layouts/community.html                  |     1 -
 website/layouts/default.html                    |   113 -
 website/layouts/docs.html                       |     1 -
 website/layouts/footer.html                     |    94 -
 website/layouts/header.html                     |   228 -
 website/lib/default.rb                          |    43 -
 website/lib/helpers_.rb                         |     0
 website/lib/pandoc.template                     |     4 -
 website/nanoc.yaml                              |    77 -
 website/publish/bootstrap/bootstrap.min.css     |     9 -
 website/publish/bootstrap/bootstrap/index.html  |     9 -
 website/publish/community/index.html            |   578 -
 website/publish/css/bootflat-extensions.css     |   356 -
 .../publish/css/bootflat-extensions/index.html  |   356 -
 website/publish/css/bootflat-square.css         |    69 -
 website/publish/css/bootflat-square/index.html  |    69 -
 website/publish/css/bootflat.css                |  1560 -
 website/publish/css/bootflat/index.html         |  1560 -
 website/publish/css/font-awesome.min.css        |   405 -
 website/publish/css/font-awesome/index.html     |   403 -
 website/publish/css/usergrid-site.css           |  1553 -
 website/publish/css/usergrid-site/index.html    |  1324 -
 website/publish/docs/access-token/index.html    |   472 -
 website/publish/docs/activities/index.html      |   240 -
 website/publish/docs/activity/index.html        |  1338 -
 website/publish/docs/admin-portal/index.html    |   626 -
 website/publish/docs/admin-user/index.html      |   967 -
 website/publish/docs/app-security/index.html    |   281 -
 website/publish/docs/application/index.html     |   459 -
 website/publish/docs/applications/index.html    |   458 -
 website/publish/docs/assets/index.html          |   319 -
 .../index.html                                  |   439 -
 .../index.html                                  |   432 -
 .../publish/docs/basic-query-syntax/index.html  |   285 -
 .../docs/client-authorization/index.html        |   370 -
 website/publish/docs/collections/index.html     |   278 -
 website/publish/docs/contribute-code/index.html |   279 -
 website/publish/docs/contributecode/index.html  |   302 -
 website/publish/docs/contributing/index.html    |   239 -
 .../docs/creating-collections/index.html        |   612 -
 .../creating-custom-data-entities/index.html    |  1937 -
 .../index.html                                  |   294 -
 website/publish/docs/data-model/index.html      |   362 -
 .../publish/docs/data-query-overview/index.html |   293 -
 .../data-types-supported-queries/index.html     |   307 -
 .../docs/default-data-entities/index.html       |  1288 -
 .../docs/deleting-collections/index.html        |   655 -
 .../docs/deleting-data-entities/index.html      |   678 -
 website/publish/docs/deploy-local/index.html    |   401 -
 website/publish/docs/device/index.html          |   332 -
 .../index.html                                  |   291 -
 .../docs/entity-relationships/index.html        |   285 -
 .../docs/events-and-counters 2/index.html       |   612 -
 .../publish/docs/events-and-counters/index.html |   502 -
 website/publish/docs/facebook-sign/index.html   |   400 -
 website/publish/docs/features/index.html        |   342 -
 website/publish/docs/folder/index.html          |   341 -
 website/publish/docs/geolocation/index.html     |   310 -
 .../getting-up-and-running-locally/index.html   |   309 -
 website/publish/docs/group 2/index.html         |  1301 -
 website/publish/docs/group/index.html           |  1301 -
 website/publish/docs/groups/index.html          |   375 -
 .../docs/html-5-example-messagee/index.html     |   421 -
 .../docs/html5-javascript-sdk/index.html        |   235 -
 website/publish/docs/index.html                 |   275 -
 .../index.html                                  |   357 -
 .../publish/docs/messagee-example/index.html    |   421 -
 website/publish/docs/nodejs-module/index.html   |   307 -
 website/publish/docs/old-forks/index.html       |   285 -
 website/publish/docs/organization/index.html    |  1354 -
 .../docs/organizations-admins 2/index.html      |  1807 -
 .../docs/organizations-admins/index.html        |   329 -
 website/publish/docs/overview/index.html        |   279 -
 website/publish/docs/presentations/index.html   |   293 -
 .../docs/queries-and-parameters/index.html      |   264 -
 website/publish/docs/query-language/index.html  |   549 -
 .../docs/query-response-values/index.html       |   306 -
 .../docs/querying-data-admin-portal/index.html  |   289 -
 .../querying-your-app-services-data/index.html  |   308 -
 website/publish/docs/relationships/index.html   |   309 -
 website/publish/docs/rest-api/index.html        |   273 -
 website/publish/docs/rest-endpoints/index.html  |   732 -
 .../docs/retrieving-collections/index.html      |   767 -
 .../docs/retrieving-data-entities/index.html    |  1336 -
 website/publish/docs/role/index.html            |  1314 -
 .../docs/roles-and-permissions/index.html       |   274 -
 website/publish/docs/ruby-gem/index.html        |   279 -
 .../publish/docs/securing-your-app/index.html   |   289 -
 website/publish/docs/security-model/index.html  |   293 -
 .../docs/updating-collections/index.html        |   706 -
 .../docs/updating-data-entities/index.html      |  1270 -
 website/publish/docs/upgrading/index.html       |   265 -
 .../docs/uploading-files-and-assets/index.html  |   436 -
 website/publish/docs/user/index.html            |  2202 -
 website/publish/docs/users-devices/index.html   |   512 -
 website/publish/docs/using-api/index.html       |   384 -
 .../docs/using-sandbox-application/index.html   |   295 -
 website/publish/docs/videos/index.html          |   279 -
 website/publish/docs/working-queries/index.html |   385 -
 website/publish/documents/.buildinfo            |     4 -
 .../documents/_sources/concepts/activity.txt    |  1121 -
 .../_sources/concepts/applications.txt          |    78 -
 .../documents/_sources/concepts/assets.txt      |    20 -
 .../documents/_sources/concepts/collections.txt |    21 -
 .../_sources/concepts/events-and-counters.txt   |   268 -
 .../documents/_sources/concepts/groups.txt      |    38 -
 .../_sources/concepts/query-language.txt        |   427 -
 .../_sources/concepts/relationships.txt         |   100 -
 .../_sources/concepts/roles-and-permissions.txt |    18 -
 .../_sources/concepts/users-devices.txt         |   108 -
 .../documents/_sources/contribute-code.txt      |    24 -
 .../publish/documents/_sources/deploy-local.txt |   175 -
 .../_sources/getting-up-and-running-locally.txt |    72 -
 website/publish/documents/_sources/index.txt    |    12 -
 .../documents/_sources/organizations-admins.txt |    55 -
 .../_sources/presentations-and-videos.txt       |     7 -
 .../presentations-and-videos/presentations.txt  |    21 -
 .../presentations-and-videos/videos.txt         |    11 -
 .../publish/documents/_sources/upgrading.txt    |     3 -
 website/publish/documents/_sources/usage.txt    |    15 -
 .../publish/documents/_static/ajax-loader.gif   |   Bin 673 -> 0 bytes
 website/publish/documents/_static/basic.css     |   537 -
 .../documents/_static/comment-bright.png        |   Bin 3500 -> 0 bytes
 .../publish/documents/_static/comment-close.png |   Bin 3578 -> 0 bytes
 website/publish/documents/_static/comment.png   |   Bin 3445 -> 0 bytes
 .../documents/_static/css/badge_only.css        |     2 -
 website/publish/documents/_static/css/theme.css |     5 -
 website/publish/documents/_static/doctools.js   |   238 -
 .../publish/documents/_static/down-pressed.png  |   Bin 368 -> 0 bytes
 website/publish/documents/_static/down.png      |   Bin 363 -> 0 bytes
 website/publish/documents/_static/file.png      |   Bin 392 -> 0 bytes
 .../documents/_static/fonts/FontAwesome.otf     |   Bin 62856 -> 0 bytes
 .../_static/fonts/fontawesome-webfont.eot       |   Bin 38205 -> 0 bytes
 .../_static/fonts/fontawesome-webfont.svg       |   414 -
 .../_static/fonts/fontawesome-webfont.ttf       |   Bin 80652 -> 0 bytes
 .../_static/fonts/fontawesome-webfont.woff      |   Bin 44432 -> 0 bytes
 .../publish/documents/_static/jquery-1.11.1.js  | 10308 --
 website/publish/documents/_static/jquery.js     |     2 -
 website/publish/documents/_static/js/theme.js   |    47 -
 website/publish/documents/_static/minus.png     |   Bin 199 -> 0 bytes
 website/publish/documents/_static/plus.png      |   Bin 199 -> 0 bytes
 website/publish/documents/_static/pygments.css  |    62 -
 .../publish/documents/_static/searchtools.js    |   622 -
 .../documents/_static/underscore-1.3.1.js       |   999 -
 website/publish/documents/_static/underscore.js |    31 -
 .../publish/documents/_static/up-pressed.png    |   Bin 372 -> 0 bytes
 website/publish/documents/_static/up.png        |   Bin 363 -> 0 bytes
 website/publish/documents/_static/websupport.js |   808 -
 .../publish/documents/concepts/activity.html    |  1501 -
 .../documents/concepts/applications.html        |   413 -
 website/publish/documents/concepts/assets.html  |   271 -
 .../publish/documents/concepts/collections.html |   241 -
 .../documents/concepts/events-and-counters.html |   542 -
 website/publish/documents/concepts/groups.html  |   338 -
 .../documents/concepts/query-language.html      |   669 -
 .../documents/concepts/relationships.html       |   319 -
 .../concepts/roles-and-permissions.html         |   245 -
 .../documents/concepts/users-devices.html       |   477 -
 website/publish/documents/contribute-code.html  |   244 -
 website/publish/documents/deploy-local.html     |   415 -
 website/publish/documents/genindex.html         |   208 -
 .../getting-up-and-running-locally.html         |   302 -
 website/publish/documents/index.html            |   399 -
 website/publish/documents/objects.inv           |   Bin 211 -> 0 bytes
 .../publish/documents/organizations-admins.html |   410 -
 .../documents/presentations-and-videos.html     |   233 -
 .../presentations-and-videos/presentations.html |   245 -
 .../presentations-and-videos/videos.html        |   233 -
 website/publish/documents/search.html           |   221 -
 website/publish/documents/searchindex.js        |     1 -
 website/publish/documents/upgrading.html        |   223 -
 website/publish/documents/usage.html            |   243 -
 website/publish/favicon.ico                     |   Bin 3989 -> 0 bytes
 website/publish/font/FontAwesome.otf            |   Bin 61896 -> 0 bytes
 .../publish/font/fontawesome-webfont-eot.eot    |   Bin 37405 -> 0 bytes
 .../publish/font/fontawesome-webfont-svg.svg    |   399 -
 .../publish/font/fontawesome-webfont-ttf.ttf    |   Bin 79076 -> 0 bytes
 .../publish/font/fontawesome-webfont-woff.woff  |   Bin 43572 -> 0 bytes
 website/publish/img/alberto.jpg                 |   Bin 16137 -> 0 bytes
 website/publish/img/alex.png                    |   Bin 40842 -> 0 bytes
 website/publish/img/apache_usergrid_favicon.png |   Bin 10735 -> 0 bytes
 .../publish/img/apache_usergrid_logo_white.png  |   Bin 26418 -> 0 bytes
 .../img/apache_usergrid_logo_white_small.png    |   Bin 11905 -> 0 bytes
 website/publish/img/check_flat/default.png      |   Bin 25851 -> 0 bytes
 website/publish/img/dave.jpg                    |   Bin 14005 -> 0 bytes
 website/publish/img/ed.jpg                      |   Bin 20460 -> 0 bytes
 website/publish/img/egg-logo.png                |   Bin 9938 -> 0 bytes
 website/publish/img/github.png                  |   Bin 8936 -> 0 bytes
 website/publish/img/grey.png                    |   Bin 37896 -> 0 bytes
 website/publish/img/intellij.png                |   Bin 9199 -> 0 bytes
 website/publish/img/jeff.jpg                    |   Bin 13857 -> 0 bytes
 website/publish/img/nate.jpg                    |   Bin 4291 -> 0 bytes
 website/publish/img/rod.jpg                     |   Bin 40313 -> 0 bytes
 website/publish/img/scott.jpg                   |   Bin 8555 -> 0 bytes
 website/publish/img/shawn.jpg                   |   Bin 69304 -> 0 bytes
 website/publish/img/stliu.jpg                   |   Bin 51303 -> 0 bytes
 website/publish/img/strong.jpg                  |   Bin 7434 -> 0 bytes
 website/publish/img/structure101.png            |   Bin 6475 -> 0 bytes
 website/publish/img/sungju.jpg                  |   Bin 11440 -> 0 bytes
 website/publish/img/tim.jpg                     |   Bin 7611 -> 0 bytes
 website/publish/img/todd.jpeg                   |   Bin 42497 -> 0 bytes
 website/publish/img/todd.jpg                    |   Bin 18142 -> 0 bytes
 website/publish/img/usergrid-logo.pdf           |   398 -
 website/publish/img/usergrid.png                |   Bin 21994 -> 0 bytes
 website/publish/img/usergrid_160.png            |   Bin 2126 -> 0 bytes
 website/publish/img/usergrid_200.png            |   Bin 6397 -> 0 bytes
 website/publish/img/usergrid_300.png            |   Bin 16330 -> 0 bytes
 .../publish/img/usergrid_300_transparent.png    |   Bin 16308 -> 0 bytes
 website/publish/img/usergrid_400.png            |   Bin 8746 -> 0 bytes
 website/publish/img/usergrid_800.png            |   Bin 14452 -> 0 bytes
 website/publish/img/usergrid_card.png           |   Bin 23295 -> 0 bytes
 website/publish/img/usergrid_logo.png           |   Bin 118086 -> 0 bytes
 website/publish/img/usergrid_logo_205_50.png    |   Bin 7058 -> 0 bytes
 website/publish/img/usergrid_logo_260_50.png    |   Bin 8682 -> 0 bytes
 website/publish/img/usergrid_logo_720.png       |   Bin 27610 -> 0 bytes
 website/publish/img/usergrid_logo_720p.png      |   Bin 27608 -> 0 bytes
 website/publish/img/usergrid_logo_900_200.png   |   Bin 12273 -> 0 bytes
 website/publish/img/usergrid_logo_white.png     |   Bin 16900 -> 0 bytes
 website/publish/img/usergrid_profile_128.png    |   Bin 6689 -> 0 bytes
 website/publish/img/usergrid_profile_256.png    |   Bin 10470 -> 0 bytes
 .../publish/img/usergrid_profile_256_white.png  |   Bin 10724 -> 0 bytes
 .../img/usergrid_profile_512_margins.png        |   Bin 19112 -> 0 bytes
 .../publish/img/usergrid_profile_64_white.png   |   Bin 4839 -> 0 bytes
 .../publish/img/usergrid_profile_background.png |   Bin 6710 -> 0 bytes
 website/publish/img/usergrid_screencast_bg.png  |   Bin 20478 -> 0 bytes
 website/publish/img/usergrid_small_100.png      |   Bin 6681 -> 0 bytes
 website/publish/img/usergrid_wiki.png           |   Bin 7135 -> 0 bytes
 website/publish/img/yourkit.jpeg                |   Bin 7763 -> 0 bytes
 website/publish/index.html                      |   263 -
 website/publish/js/bootstrap.min.js             |     8 -
 website/publish/js/bootstrap/index.html         |     8 -
 website/publish/js/head.js                      |   708 -
 website/publish/js/head/index.html              |   708 -
 website/publish/js/html5shiv.js                 |     8 -
 website/publish/js/html5shiv/index.html         |     8 -
 website/publish/js/jquery-1.10.1.min.js         |     6 -
 website/publish/js/jquery-1/index.html          |     6 -
 website/publish/js/jquery.icheck.js             |   397 -
 website/publish/js/jquery/index.html            |   397 -
 website/publish/js/respond.min.js               |     6 -
 website/publish/js/respond/index.html           |     6 -
 website/publish/js/usergrid-site.js             |    50 -
 website/publish/js/usergrid-site/index.html     |    50 -
 website/publish/releases/index.html             |   234 -
 website/publish/static/github-btn.html          |     2 -
 website/publish/style.css                       |   101 -
 website/publish/stylesheet/index.html           |   262 -
 website/publish/v101-portal-demo/config.js      |    75 -
 .../css/arsmarquette/ARSMaquettePro-Light.otf   |   Bin 184600 -> 0 bytes
 .../css/arsmarquette/ARSMaquettePro-Medium.otf  |   Bin 188020 -> 0 bytes
 .../css/arsmarquette/ARSMaquettePro-Regular.otf |   Bin 188096 -> 0 bytes
 .../v101-portal-demo/css/entypo/entypo.eot      |   Bin 35540 -> 0 bytes
 .../v101-portal-demo/css/entypo/entypo.svg      |    13 -
 .../v101-portal-demo/css/entypo/entypo.ttf      |   Bin 35392 -> 0 bytes
 .../v101-portal-demo/css/entypo/entypo.woff     |   Bin 21916 -> 0 bytes
 website/publish/v101-portal-demo/css/main.css   |  2005 -
 .../publish/v101-portal-demo/css/main.min.css   |     1 -
 website/publish/v101-portal-demo/favicon.ico    |   Bin 3989 -> 0 bytes
 website/publish/v101-portal-demo/helpJson.json  |    47 -
 .../img/appswitcher/apiPlatform_lg.png          |   Bin 2397 -> 0 bytes
 .../img/appswitcher/appServices_lg.png          |   Bin 2295 -> 0 bytes
 .../img/appswitcher/console_lg.png              |   Bin 1453 -> 0 bytes
 .../img/appswitcher/home_lg.png                 |   Bin 1522 -> 0 bytes
 .../img/appswitcher/logo_color.png              |   Bin 3459 -> 0 bytes
 .../v101-portal-demo/img/appswitcher/max_lg.png |   Bin 1970 -> 0 bytes
 .../img/appswitcher/triangleMenuItem_right.png  |   Bin 1158 -> 0 bytes
 .../triangleMenuItem_right_hover.png            |   Bin 1169 -> 0 bytes
 .../publish/v101-portal-demo/img/blue-bars.png  |   Bin 3635 -> 0 bytes
 .../publish/v101-portal-demo/img/blue-bolt.png  |   Bin 3942 -> 0 bytes
 .../publish/v101-portal-demo/img/blue-carat.png |   Bin 1006 -> 0 bytes
 .../img/introjs_arrow_step_next.png             |   Bin 219 -> 0 bytes
 .../img/introjs_arrow_step_next_disabled.png    |   Bin 220 -> 0 bytes
 .../img/introjs_arrow_step_prev.png             |   Bin 217 -> 0 bytes
 .../img/introjs_arrow_step_prev_disabled.png    |   Bin 218 -> 0 bytes
 .../v101-portal-demo/img/introjs_close.png      |   Bin 274 -> 0 bytes
 website/publish/v101-portal-demo/img/logo.png   |   Bin 7758 -> 0 bytes
 .../publish/v101-portal-demo/img/nav-device.gif |   Bin 2184 -> 0 bytes
 .../v101-portal-demo/img/nav-sprites.png        |   Bin 7953 -> 0 bytes
 .../publish/v101-portal-demo/img/no-data1.png   |   Bin 45300 -> 0 bytes
 .../v101-portal-demo/img/phone-small.gif        |   Bin 1300 -> 0 bytes
 .../v101-portal-demo/img/sdk-sprites-large.png  |   Bin 15115 -> 0 bytes
 .../v101-portal-demo/img/sdk-sprites.png        |   Bin 4401 -> 0 bytes
 .../v101-portal-demo/img/tablet-small.gif       |   Bin 1390 -> 0 bytes
 .../publish/v101-portal-demo/img/user-photo.png |   Bin 3849 -> 0 bytes
 .../v101-portal-demo/img/user_profile.png       |   Bin 3775 -> 0 bytes
 website/publish/v101-portal-demo/img/verify.png |   Bin 22934 -> 0 bytes
 .../publish/v101-portal-demo/index-debug.html   |   151 -
 .../v101-portal-demo/index-template.html        |   156 -
 website/publish/v101-portal-demo/index.html     |   151 -
 .../js/generated/usergrid-dev.js                |  4418 -
 .../js/generated/usergrid-libs.min.js           |    38 -
 .../js/generated/usergrid.min.js                |    24 -
 .../publish/v101-portal-demo/js/libs/MD5.min.js |     1 -
 .../js/libs/angular-1.2.5/LICENSE.txt           |    22 -
 .../js/libs/angular-1.2.5/angular-animate.js    |  1323 -
 .../libs/angular-1.2.5/angular-animate.min.js   |    23 -
 .../angular-1.2.5/angular-animate.min.js.map    |     8 -
 .../js/libs/angular-1.2.5/angular-cookies.js    |   202 -
 .../libs/angular-1.2.5/angular-cookies.min.js   |     8 -
 .../angular-1.2.5/angular-cookies.min.js.map    |     8 -
 .../js/libs/angular-1.2.5/angular-csp.css       |    24 -
 .../js/libs/angular-1.2.5/angular-loader.js     |   410 -
 .../js/libs/angular-1.2.5/angular-loader.min.js |     9 -
 .../angular-1.2.5/angular-loader.min.js.map     |     8 -
 .../js/libs/angular-1.2.5/angular-mocks.js      |  2116 -
 .../js/libs/angular-1.2.5/angular-resource.js   |   565 -
 .../libs/angular-1.2.5/angular-resource.min.js  |    13 -
 .../angular-1.2.5/angular-resource.min.js.map   |     8 -
 .../js/libs/angular-1.2.5/angular-route.js      |   911 -
 .../js/libs/angular-1.2.5/angular-route.min.js  |    14 -
 .../libs/angular-1.2.5/angular-route.min.js.map |     8 -
 .../js/libs/angular-1.2.5/angular-sanitize.js   |   622 -
 .../libs/angular-1.2.5/angular-sanitize.min.js  |    14 -
 .../angular-1.2.5/angular-sanitize.min.js.map   |     8 -
 .../js/libs/angular-1.2.5/angular-scenario.js   | 32374 ------
 .../js/libs/angular-1.2.5/angular-touch.js      |   563 -
 .../js/libs/angular-1.2.5/angular-touch.min.js  |    13 -
 .../libs/angular-1.2.5/angular-touch.min.js.map |     8 -
 .../js/libs/angular-1.2.5/angular.js            | 20369 ----
 .../js/libs/angular-1.2.5/angular.min.js        |   201 -
 .../js/libs/angular-1.2.5/angular.min.js.map    |     8 -
 .../js/libs/angular-1.2.5/errors.json           |     1 -
 .../js/libs/angular-1.2.5/version.json          |     1 -
 .../js/libs/angular-1.2.5/version.txt           |     1 -
 .../js/libs/bootstrap/LICENSE.txt               |    21 -
 .../libs/bootstrap/css/bootstrap-responsive.css |  1345 -
 .../bootstrap/css/bootstrap-responsive.min.css  |  1245 -
 .../js/libs/bootstrap/css/bootstrap.css         |  6169 --
 .../js/libs/bootstrap/css/bootstrap.min.css     |  5469 -
 .../js/libs/bootstrap/custom/css/bootstrap.css  |  6316 --
 .../libs/bootstrap/custom/css/bootstrap.min.css |     9 -
 .../custom/img/glyphicons-halflings-white.png   |   Bin 8777 -> 0 bytes
 .../custom/img/glyphicons-halflings.png         |   Bin 12799 -> 0 bytes
 .../js/libs/bootstrap/custom/js/bootstrap.js    |  2291 -
 .../libs/bootstrap/custom/js/bootstrap.min.js   |     7 -
 .../img/glyphicons-halflings-white.png          |   Bin 8777 -> 0 bytes
 .../libs/bootstrap/img/glyphicons-halflings.png |   Bin 12799 -> 0 bytes
 .../js/libs/bootstrap/js/bootstrap.js           |  2117 -
 .../js/libs/bootstrap/js/bootstrap.min.js       |   644 -
 .../v101-portal-demo/js/libs/google-viz-api.js  |    49 -
 .../v101-portal-demo/js/libs/jquery/LICENSE.txt |    37 -
 .../js/libs/jquery/jquery-1.9.1.min.js          |     5 -
 .../js/libs/jquery/jquery-migrate-1.1.1.min.js  |     3 -
 .../js/libs/jquery/jquery.sparkline.min.js      |     5 -
 .../js/libs/jqueryui/LICENSE.txt                |    45 -
 .../js/libs/jqueryui/date.min.js                |     2 -
 .../ui-bg_diagonals-thick_90_eeeeee_40x40.png   |   Bin 251 -> 0 bytes
 .../images/ui-bg_flat_100_deedf7_40x100.png     |   Bin 182 -> 0 bytes
 .../images/ui-bg_flat_100_e4f1fb_40x100.png     |   Bin 213 -> 0 bytes
 .../images/ui-bg_flat_100_f2f5f7_40x100.png     |   Bin 212 -> 0 bytes
 .../images/ui-bg_flat_15_cd0a0a_40x100.png      |   Bin 181 -> 0 bytes
 .../images/ui-bg_flat_50_3baae3_40x100.png      |   Bin 182 -> 0 bytes
 .../images/ui-bg_flat_80_d7ebf9_40x100.png      |   Bin 183 -> 0 bytes
 .../ui-bg_highlight-hard_70_000000_1x100.png    |   Bin 118 -> 0 bytes
 .../ui-bg_highlight-soft_25_ffef8f_1x100.png    |   Bin 153 -> 0 bytes
 .../jqueryui/images/ui-icons_000000_256x240.png |   Bin 4369 -> 0 bytes
 .../jqueryui/images/ui-icons_2694e8_256x240.png |   Bin 4369 -> 0 bytes
 .../jqueryui/images/ui-icons_2e83ff_256x240.png |   Bin 4369 -> 0 bytes
 .../jqueryui/images/ui-icons_3d80b3_256x240.png |   Bin 4369 -> 0 bytes
 .../jqueryui/images/ui-icons_72a7cf_256x240.png |   Bin 4369 -> 0 bytes
 .../jqueryui/images/ui-icons_ffffff_256x240.png |   Bin 4369 -> 0 bytes
 .../js/libs/jqueryui/jquery-ui-1.8.18.min.js    |    15 -
 .../js/libs/jqueryui/jquery-ui-1.8.9.custom.css |     1 -
 .../js/libs/jqueryui/jquery-ui-timepicker.css   |     1 -
 .../libs/jqueryui/jquery.ui.timepicker.min.js   |     1 -
 .../ui-bootstrap-custom-0.3.0.min.js            |     1 -
 .../ui-bootstrap-custom-tpls-0.3.0.min.js       |     1 -
 .../v101-portal-demo/js/libs/usergrid.sdk.js    |  2490 -
 website/run.sh                                  |     1 -
 website/tmp/checksums                           |     2 -
 website/tmp/compiled_content                    | 91668 -----------------
 website/tmp/dependencies                        |   Bin 6586 -> 0 bytes
 website/tmp/rule_memory                         |   Bin 18038 -> 0 bytes
 website/utilities/map-markers.rb                |    62 -
 website/utilities/markers.txt                   |   440 -
 website/utilities/snapshot-apigee.rb            |    71 -
 website/utilities/usergrid.csv                  |   290 -
 1038 files changed, 297880 insertions(+), 297880 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/README.md
----------------------------------------------------------------------
diff --git a/content/README.md b/content/README.md
new file mode 100644
index 0000000..100eafd
--- /dev/null
+++ b/content/README.md
@@ -0,0 +1,42 @@
+Apache Usergrid Website
+=======================
+
+Check out the latest code with
+
+    $ svn --username "APACHE_USERNAME" --password "APACHE_PASSWORD" co https://svn.apache.org/repos/asf/incubator/usergrid/site/
+
+All pages are generated from the content (html,js,css) under `content/`
+All doc sources are in markdown files under `content/docs/`
+
+To generate the site locally, you need [pandoc](http://johnmacfarlane.net/pandoc/installing.html), ruby and python installed.
+
+You will need pandoc
+
+    http://johnmacfarlane.net/pandoc/installing.html
+
+You will need pygments
+
+    $ sudo easy_install Pygments
+
+You will also need a few rubygems
+
+    $ sudo gem install nanoc pygments.rb htmlentities pandoc-ruby nokogiri rack mime-types
+
+To test locally, you can use the autocompiler (will build changes on every request) and check the website at [http://0.0.0.0:3000](http://0.0.0.0:3000)
+
+    $ nanoc autocompile
+
+To build for export use the following comments. The static website will be in `publish/`
+
+    $ nanoc compile
+
+To re-deploy the site, make sure you commit both your changes under `content/` AND have built the site with `nanoc compile`, which should have created some changes under `publish/`. If you do not commit the files changed under `publish/` the production website will not change. Commit all changes by doing
+
+If you added any files:
+	$ svn add <file or directory>
+
+Then commit:
+    $ svn ci -m "Some message"
+
+To pull down the latest:
+	$ svn update

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/Rules
----------------------------------------------------------------------
diff --git a/content/Rules b/content/Rules
new file mode 100644
index 0000000..3eb6e86
--- /dev/null
+++ b/content/Rules
@@ -0,0 +1,52 @@
+#!/usr/bin/env ruby
+
+# A few helpful tips about the Rules file:
+#
+# * The string given to #compile and #route are matching patterns for
+#   identifiers--not for paths. Therefore, you can’t match on extension.
+#
+# * The order of rules is important: for each item, only the first matching
+#   rule is applied.
+#
+# * Item identifiers start and end with a slash (e.g. “/about/” for the file
+#   “content/about.html”). To select all children, grandchildren, … of an
+#   item, use the pattern “/about/*/”; “/about/*” will also select the parent,
+#   because “*” matches zero or more characters.
+
+passthrough /\/(bootstrap|css|font|img|js|static)\/.*/ 
+
+compile '/docs/*' do
+  @docs = true
+  filter :erb
+  filter :fenced_code_block
+  filter :pandoc
+  filter :colorize_syntax, :default_colorizer => :pygmentsrb, :pygmentsrb => { :options => { :startinline => 'True' } }
+  layout 'docs'
+end
+
+compile '/community/*' do
+  @community = true
+  filter :erb
+  layout 'community'
+end
+
+compile '*' do
+  if item.binary?
+    # don’t filter binary items
+  else
+    filter :erb
+    layout 'default'
+  end
+end
+
+route '*' do
+  if item.binary?
+    # Write item with identifier /foo/ to /foo.ext
+    item.identifier.chop + '.' + item[:extension]
+  else
+    # Write item with identifier /foo/ to /foo/index.html
+    item.identifier + 'index.html'
+  end
+end
+
+layout '*', :erb

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/build.sh
----------------------------------------------------------------------
diff --git a/content/build.sh b/content/build.sh
new file mode 100755
index 0000000..603a5cb
--- /dev/null
+++ b/content/build.sh
@@ -0,0 +1 @@
+nanoc compile


[38/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/retrieving-data-entities.md
----------------------------------------------------------------------
diff --git a/content/content/docs/retrieving-data-entities.md b/content/content/docs/retrieving-data-entities.md
new file mode 100644
index 0000000..551730c
--- /dev/null
+++ b/content/content/docs/retrieving-data-entities.md
@@ -0,0 +1,1092 @@
+---
+title: Retrieving Data Entities
+category: docs
+layout: docs
+---
+
+Retrieving Data Entities
+========================
+
+This article describes how to retrieve entities from your Apache Usergrid
+account.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+With the exception of the `user` entity, all data entities can be
+retrieved by using their UUID or a 'name' property. The `user` entity
+can be retrieved by UUID or the 'username' property. The value for the
+'name' or 'username' property must be unique.
+
+Retrieving an entity
+--------------------
+
+-   [cURL](#curl_get_entity)
+-   [iOS](#ios_get_entity)
+-   [Android](#android_get_entity)
+-   [JavaScript (HTML5)](#javascript_get_entity)
+-   [Ruby](#ruby_get_entity)
+-   [Node.js](#nodejs_get_entity)
+
+### Example Request/Response
+
+#### Request:
+
+Retrieve by UUID:
+
+    curl -X GET "https://api.usergrid.com/your-org/your-app/items/da4a50dc-38dc-11e2-b2e4-02e81adcf3d0"
+
+Retrieve by 'name' property:
+
+    curl -X GET "https://api.usergrid.com/your-org/your-app/items/milk"
+
+#### Response:
+
+    {
+        "action" : "get",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/amuramoto/sandbox/items",
+        "entities" : [ {
+            "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+            "type" : "item",
+            "name" : "milk",
+            "created" : 1378405020796,
+            "modified" : 1378405020796,
+            "metadata" : {
+                  "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+            "name" : "milk",
+            "price" : "3.25"
+        } ],
+        "timestamp" : 1378405025763,
+        "duration" : 31,
+        "organization" : "amuramoto",
+        "applicationName" : "sandbox"
+    }
+
+### Request Syntax
+
+    curl -X GET https://api.usergrid.com/<org>/<app>/<collection>/<entity>
+
+### Parameters
+
+  Parameter    Description
+  ------------ ----------------------------------------
+  org          Organization UUID or organization name
+  app          Application UUID or application name
+  collection   Collection UUID or collection name
+  entity       Entity UUID or entity name
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)getEntity {
+
+        //specify the entity collection and UUID or name to be retrieved    
+        NSString *endpoint = @"items/b3aad0a4-f322-11e2-a9c1-999e12039f87"; 
+        
+        NSString *query = nil;
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient getEntities:endpoint query:query];
+        
+        @try {
+            //success
+        }
+        
+        @catch (NSException * e) {
+            //fail
+        }
+
+    }               
+                    
+
+#### Response:
+
+    {
+        "action" : "get",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/amuramoto/sandbox/items",
+        "entities" : [ {
+            "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+            "type" : "item",
+            "name" : "milk",
+            "created" : 1378405020796,
+            "modified" : 1378405020796,
+            "metadata" : {
+                  "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+            "name" : "milk",
+            "price" : "3.25"
+        } ],
+        "timestamp" : 1378405025763,
+        "duration" : 31,
+        "organization" : "amuramoto",
+        "applicationName" : "sandbox"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)getEntities: (NSString *)endpoint query:(NSString *)query
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| endpoint                             | The collection and entity identifier |
+|                                      | of the entity to be retrieved in the |
+|                                      | following format:                    |
+|                                      |                                      |
+|                                      |     <collection>/<entity_UUID_or_nam |
+|                                      | e>                                   |
++--------------------------------------+--------------------------------------+
+| query                                | An optional query string. Requests   |
+|                                      | for a specific entity should set the |
+|                                      | value to `nil`                       |
++--------------------------------------+--------------------------------------+
+
+\
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    String type = "item"; //entity type to be retrieved
+    String query = "uuid = b3aad0a4-f322-11e2-a9c1-999e12039f87;
+        
+    //call getEntitiesAsync to initiate the asynchronous API call    
+    dataClient.getEntitiesAsync(type, query, new ApiResponseCallback() {    
+
+    //If getEntitiesAsync fails, catch the error
+    @Override
+    public void onException(Exception e) { 
+        // Error
+    }
+
+    //If createEntityAsync is successful, handle the response object
+    @Override
+    public void onResponse(ApiResponse response) {
+        try { 
+            if (response != null) {
+                // Success
+            }
+        } catch (Exception e) { //The API request returned an error
+                // Fail
+        }
+    }
+    }); 
+                    
+
+#### Response:
+
+    {
+    "action":"post",
+    "application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+    "entities":[{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    }],
+
+    "params":{},
+    "path":"/items",
+    "rawResponse":"{
+        "action" : "get",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "type" : "item",
+            "created" : 1373475098695,
+            "modified" : 1373475098695,
+            "metadata" : {
+                "path" : "/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        } ],
+        "timestamp" : 1373475098689,
+        "duration" : 24,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }",
+    "uri":"http://api.usergrid.com/your-org/your-app/items",
+    "timestamp":1373475098689,
+    "entityCount":1,
+    "firstEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "lastEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "organization":"your-org",
+    "duration":24,
+    "applicationName":"your-app"
+    }   
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    getEntitiesAsync(String type, String queryString, ApiResponseCallback callback)
+
+Synchronous:
+
+    ApiResponse getEntities(String type, String queryString)
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| type                                 | The entity type being retrieved      |
++--------------------------------------+--------------------------------------+
+| queryString                          | A query string that specifies the    |
+|                                      | property of the entity to be         |
+|                                      | retrieved in the following format:   |
+|                                      |                                      |
+|                                      |     <property>=<value>               |
+|                                      |                                      |
+|                                      | To retrieve a specific entity, use   |
+|                                      | the unique entity *uuid* or *name*   |
+|                                      | property.                            |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function (Asynchronous      |
+|                                      | calls only)                          |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    var properties = { 
+        'type':'item',
+        'name':'milk' //This method also supports retrieval by uuid 
+    }; 
+        
+    client.getEntity(properties, function (error, response) { 
+        if (err) { 
+          //error 
+        } else { 
+          //success 
+        } 
+    });
+                    
+
+#### Response:
+
+    Usergrid.Entity {_client: Usergrid.Client, _data: Object, serialize: function, get: function, set: function…}
+        _client: Usergrid.Client
+            URI: "https://api.usergrid.com"
+            _callTimeout: 30000
+            _callTimeoutCallback: null
+            _end: 1378413997721
+            _start: 1378413997493
+            appName: "your-app"
+            buildCurl: false
+            logging: true
+            logoutCallback: null
+            orgName: "your-org"
+            __proto__: Object
+        _data: Object
+            created: 1378405020796
+            metadata: Object
+            modified: 1378405020796
+            name: "milk"
+            price: "3.25"
+            type: "item"
+            uuid: "5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            __proto__: Object
+        __proto__: Object               
+                    
+
+### SDK Method
+
+    getEntity(properties, callback)
+
+### Parameters
+
+#### getEntity():
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| properties                           | Object that contains the following   |
+|                                      | properties of the entity to be       |
+|                                      | retrieved:                           |
+|                                      |                                      |
+|                                      | -   type: the entity type to be      |
+|                                      |     retrieved                        |
+|                                      | -   name: the name of the entity to  |
+|                                      |     be retrieved                     |
+|                                      | -   uuid: the uuid of the entity to  |
+|                                      |     be retrieved                     |
+|                                      |                                      |
+|                                      | You only need to specify name or     |
+|                                      | uuid, not both.                      |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function                    |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+    # Retrieve the entity by referencing the [type] and [uuid or name]
+    # and save the response
+    response = client['items']['milk'].entity
+
+    rescue
+    #fail
+    end             
+                    
+
+#### Response:
+
+    {
+        "action" : "get",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/amuramoto/sandbox/items",
+        "entities" : [ {
+            "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+            "type" : "item",
+            "name" : "milk",
+            "created" : 1378405020796,
+            "modified" : 1378405020796,
+            "metadata" : {
+                  "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+            "name" : "milk",
+            "price" : "3.25"
+        } ],
+        "timestamp" : 1378405025763,
+        "duration" : 31,
+        "organization" : "amuramoto",
+        "applicationName" : "sandbox"
+    }
+
+### SDK Method
+
+    application[<entity_type>][<entity_uuid|entity_name>].entity
+
+### Parameters
+
+Parameter
+
+Description
+
+entity\_type
+
+The entity type to be retrieved
+
+entity\_uuid|entity\_name
+
+The name or UUID of the entity to be retrieved
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    var properties = { 
+        method:'GET', 
+        type:'items',
+        name:'da4a50dc-38dc-11e2-b2e4-02e81adcf3d0' 
+    }; 
+
+    client.getEntity(properties, function (error, response) { 
+        if (error) { 
+          //error 
+        } else { 
+          //success 
+        } 
+    });
+                    
+
+#### Response:
+
+    { _client: 
+       { URI: 'https://api.usergrid.com',
+         orgName: 'your-org',
+         appName: 'your-app',
+         authType: 'NONE',
+         clientId: undefined,
+         clientSecret: undefined,
+         token: null,
+         buildCurl: false,
+         logging: true,
+         _callTimeout: 30000,
+         _callTimeoutCallback: null,
+         logoutCallback: null,
+         _start: 1378423148601,
+         _end: 1378423149028 },
+      _data: 
+       { method: 'GET',
+         type: 'item',
+         name: 'milk',
+         uuid: '5bb76bca-1657-11e3-903f-9ff6c621a7a4',
+         created: 1378405020796,
+         modified: 1378405020796,
+         metadata: { path: '/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4' },
+         price: '3.25' } }              
+                
+
+### SDK Method
+
+    getEntity(properties, callback)
+
+### Parameters
+
+Parameter
+
+Description
+
+Object that contains the following properties of the entity to be
+retrieved:
+
+-   type: the entity type to be retrieved
+-   name: the name of the entity to be retrieved
+-   uuid: the uuid of the entity to be retrieved
+
+You only need to specify name or uuid, not both.
+
+callback
+
+Callback function
+
+Retrieving multiple entities
+----------------------------
+
+-   [cURL](#curl_get_multentity)
+-   [iOS](#ios_get_multentity)
+-   [Android](#android_get_multentity)
+-   [JavaScript (HTML5)](#javascript_get_multentity)
+-   [Ruby](#ruby_get_multentity)
+-   [Node.js](#nodejs_get_multentity)
+
+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 [Basic query
+syntax](/basic-query-syntax).
+
+### Example Request/Response
+
+#### Request:
+
+    //note the url-encoded query string
+    curl -X GET "https://api.usergrid.com/your-org/your-app/items?ql=name%3D'milk'%20OR%20UUID%3D1a9356ba-1682-11e3-a72a-81581bbaf055&limit="               
+                    
+
+**Note:** The query parameter of the request must be url encoded for
+curl requests
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : {
+                "ql" : [ "name='milk' OR UUID=1a9356ba-1682-11e3-a72a-81581bbaf055" ]
+          },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+                "name" : "bread",
+                "price" : "2.50"
+          } ],
+          "timestamp" : 1378423793729,
+          "duration" : 63,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### Request Syntax
+
+    curl -X GET https://api.usergrid.com/<org_id>/<app_id>/<collection>?ql= uuid = <entity_uuid> OR uuid = <entity_uuid>; ...
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| org\_id                              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| app\_id                              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| collection                           | Collection UUID or collection name   |
++--------------------------------------+--------------------------------------+
+| query                                | A url-encoded query string of entity |
+|                                      | properties to be matched in the      |
+|                                      | following format:                    |
+|                                      |                                      |
+|                                      |     ?ql=uuid="<entity_uuid>"" OR nam |
+|                                      | e="<entity_name>" OR...              |
+|                                      |                                      |
+|                                      | You may also specify the following   |
+|                                      | for certain entity types:            |
+|                                      |                                      |
+|                                      | User entities:                       |
+|                                      | `username = <entity_username>`       |
+|                                      |                                      |
+|                                      | All other entities except groups:    |
+|                                      | `name = <entity_name>`               |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)getEntity {
+
+    //specify the entity type to be retrieved   
+    NSString *type = @"item";
+
+    //specify the uuid of the entity to be retrieved in a query string
+    NSString *query = @"uuid = b3aad0a4-f322-11e2-a9c1-999e12039f87 or name = 'bread'";
+
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient getEntities:type queryString:query];
+
+    @try {
+        //success
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+
+    }
+                    
+                    
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : {
+                "ql" : [ "name='milk' OR UUID=1a9356ba-1682-11e3-a72a-81581bbaf055" ]
+          },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+                "name" : "bread",
+                "price" : "2.50"
+          } ],
+          "timestamp" : 1378423793729,
+          "duration" : 63,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)getEntities: (NSString *)type queryString:(NSString *)queryString
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| type                                 | The entity type being retrieved      |
++--------------------------------------+--------------------------------------+
+| queryString                          | 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 ...                      |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    String type = "item"; //entity type to be retrieved
+    String query = "uuid = f8726dda-f54a-11e2-b560-575bef89aaed OR name = 'bread'";  //query string specifying the entities to be retrieved
+
+      
+    //call getEntitiesAsync to initiate the asynchronous API call    
+    dataClient.getEntitiesAsync(type, query, new ApiResponseCallback() {    
+
+    //If getEntitiesAsync fails, catch the error
+    @Override
+    public void onException(Exception e) { 
+        // Error
+    }
+
+    //If createEntityAsync is successful, handle the response object
+    @Override
+    public void onResponse(ApiResponse response) {
+        try { 
+            if (response != null) {
+                // Success
+            }
+        } catch (Exception e) { //The API request returned an error
+                // Fail
+        }
+    }
+    }); 
+                    
+
+#### Response:
+
+    {"action":"get","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"3.25","created":1378405020796,"name":"milk","modified":1378405020796,"metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}},{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1a9356ba-1682-11e3-a72a-81581bbaf055","price":"2.50","created":1378423379867,"name":"bread","modified":1378423379867,"metadata":{"path":"/items/1a9356ba-1682-11e3-a72a-81581bbaf055"}}],"params":{"ql":["uuid = 5bb76bca-1657-11e3-903f-9ff6c621a7a4 OR name = 'bread'"]},
 "path":"/items","rawResponse":"{
+      "action" : "get",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "uuid = 5bb76bca-1657-11e3-903f-9ff6c621a7a4 OR name = 'bread'" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378405020796,
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "price" : "3.25"
+      }, {
+        "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+        "type" : "item",
+        "name" : "bread",
+        "created" : 1378423379867,
+        "modified" : 1378423379867,
+        "metadata" : {
+          "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+        },
+        "name" : "bread",
+        "price" : "2.50"
+      } ],
+      "timestamp" : 1378425390343,
+      "duration" : 42,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+    ","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378425390343,"entityCount":2,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"3.25","created":1378405020796,"name":"milk","modified":1378405020796,"metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1a9356ba-1682-11e3-a72a-81581bbaf055","price":"2.50","created":1378423379867,"name":"bread","modified":1378423379867,"metadata":{"path":"/items/1a9356ba-1682-11e3-a72a-81581bbaf055"}},"organization":"your-org","duration":
 42,"applicationName":"your-app"}               
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    getEntitiesAsync(String type, String queryString, ApiResponseCallback callback)
+
+Synchronous:
+
+    ApiResponse getEntities(String type, String queryString)
+
+### Properties
+
+  Parameter     Description
+  ------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  type          The entity type being retrieved
+  queryString   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 ...
+  callback      Callback function (Asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+module](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    var options = {
+                endpoint:"items",
+                //Define the query - note the use of the 'ql' property
+                //Note the use of the single-quote for the string 'bread'
+                qs:{ql:"name='bread' or uuid=b3aad0a4-f322-11e2-a9c1-999e12039f87"}
+            };
+
+    //Call request to initiate the API call
+    dataClient.request(options, function (error, response) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success       
+    }
+    });
+                
+
+#### Response:
+
+    Object {action: "get", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+        action: "get"
+        application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+        applicationName: "your-app"
+        count: 2
+        duration: 57
+        entities: Array[2]
+            0: Object
+                created: 1378423379867
+                metadata: Object
+                modified: 1378423379867
+                name: "bread"
+                price: "2.50"
+                type: "item"
+                uuid: "1a9356ba-1682-11e3-a72a-81581bbaf055"
+                __proto__: Object
+            1: Object
+                created: 1378405020796
+                metadata: Object
+                modified: 1378405020796
+                name: "milk"
+                price: "3.25"
+                type: "item"
+                uuid: "5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            __proto__: Object
+            length: 2
+        __proto__: Array[0]
+        organization: "your-org"
+        params: Object
+        path: "/items"
+        timestamp: 1378426195611
+        uri: "http://api.usergrid.com/your-org/your-app/items"
+        __proto__: Object               
+                    
+
+### SDK Method
+
+    request(properties,callback)
+
+### Parameters
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  properties   Object that contains the entity properties
+  callback     Callback function
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+
+    # Specify the name or uuid of the collection that contains them, and a query the specifies the name or uuid of the entities to retrieve
+    response = client['items'].query("uuid=a86e614a-efc8-11e2-94fb-a94a8e3669a7 or uuid=71c29a2a-efc9-11e2-a3cc-ed942506cf87").entity
+
+    rescue
+    #fail
+    end
+                    
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : {
+                "ql" : [ "name='milk' OR UUID=1a9356ba-1682-11e3-a72a-81581bbaf055" ]
+          },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+                "name" : "bread",
+                "price" : "2.50"
+          } ],
+          "timestamp" : 1378423793729,
+          "duration" : 63,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### SDK Method
+
+    Application.[<collection>].query(<query>)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| collection                           | The name or uuid of the collection   |
+|                                      | that contains the data entities to   |
+|                                      | be retrieved                         |
++--------------------------------------+--------------------------------------+
+| query                                | A query string that specifies the    |
+|                                      | property of the entity to be         |
+|                                      | retrieved in the following format:   |
+|                                      |     <property>=<value>               |
+|                                      |                                      |
+|                                      | To retrieve a specific entity, use   |
+|                                      | the unique entity *uuid* or *name*   |
+|                                      | property.                            |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    var options = {
+                endpoint:"items",
+                //Define the query - note the use of the 'ql' property
+                //Note the use of the single-quote for the string 'bread'
+                qs:{ql:"name='bread' or uuid=b3aad0a4-f322-11e2-a9c1-999e12039f87"}
+            };
+
+    //Call request to initiate the API call
+    dataClient.request(options, function (error, response) {
+        if (error) {
+            //error — GET failed
+        } else {
+            //success       
+        }
+    });
+                    
+
+#### Response:
+
+    { action: 'get',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: { ql: [ 'name=\'bread\' or uuid=5bb76bca-1657-11e3-903f-9ff6c621a7a4' ] },
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: '1a9356ba-1682-11e3-a72a-81581bbaf055',
+           type: 'item',
+           name: 'bread',
+           created: 1378423379867,
+           modified: 1378423379867,
+           metadata: [Object],
+           price: '2.50' },
+         { uuid: '5bb76bca-1657-11e3-903f-9ff6c621a7a4',
+           type: 'item',
+           name: 'milk',
+           created: 1378405020796,
+           modified: 1378405020796,
+           metadata: [Object],
+           price: '3.25' } ],
+      timestamp: 1378426688958,
+      duration: 37,
+      organization: 'your-org',
+      applicationName: 'your-app',
+      count: 2 }                
+                    
+
+### SDK Method
+
+    request(properties,callback)
+
+### Parameters
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  properties   Object that contains the entity properties
+  callback     Callback function
+
+Add new comment
+---------------
+
+Your name
+
+Email
+
+Provide your email address if you wish to be contacted offline about
+your comment.\
+We will not display your email address as part of your comment.
+
+Comment \*
+
+We'd love your feedback and perspective! Please be as specific as
+possible.
+
+Word verification \*
+
+![Type the characters you see in this
+picture.](http://173.193.242.189:80/v1/captcha/131019a6363a732611.png)
+([verify using audio](#))
+
+Type the characters you see in the picture above; if you can't read
+them, submit the form and a new image will be generated. Not case
+sensitive.

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/role.md
----------------------------------------------------------------------
diff --git a/content/content/docs/role.md b/content/content/docs/role.md
new file mode 100644
index 0000000..fc91419
--- /dev/null
+++ b/content/content/docs/role.md
@@ -0,0 +1,1000 @@
+---
+title: Role
+category: docs
+layout: docs
+---
+
+Role
+====
+
+[See all application
+entities](/docs/usergrid/content/application-entities)[](/docs/usergrid/content/application-entities)
+
+A role represents a set of permissions that enable certain operations to
+be performed on a specific endpoint. You can assign a user to a role,
+and in this way give the user the permissions associated with that role.
+For further information about roles and their use, see [Managing access
+by defining permission
+rules](/managing-access-defining-permission-rules).
+
+Using App services APIs you can create, retrieve, update, delete, and
+query roles. See [Role properties](#role_prop) for a list of the
+system-defined properties for roles. In addition, you can create role
+properties specific to your application.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Also, the /rolenames endpoint is no longer valid. If your code currently
+makes calls to /rolenames, you need to change the calls to use /roles.
+
+Creating a new role
+-------------------
+
+Use the POST method to create a new application role.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/roles {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| request body                         | Role name and title:                 |
+|                                      |                                      |
+|                                      |     { "name" : "manager", "title" :  |
+|                                      | "Manager" }                          |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_create_role)
+-   [JavaScript (HTML5)](#javascript_create_role)
+-   [Ruby](#ruby_create_role)
+-   [Node.js](#nodejs_create_role)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/roles/ -d '{"name":"manager","title":"Manager"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    result = app.create_role name: 'manager', title: 'Manager'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'roles',
+        body:{ name:'manager', title:'Manager' }    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "post",
+      "application" : "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "params" : {},
+      "uri" : "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "entities" : [
+         {
+          "uuid": "98e772a3-327a-11e2-aef7-02e81adcf3d0",
+          "type": "role",
+          "name": "manager",
+          "created": 1353351290724,
+          "modified": 1353351290724,
+          "inactivity": 0,
+          "metadata":  {
+            "path": "/roles/98e772a3-327a-11e2-aef7-02e81adcf3d0",
+            "sets":  {
+              "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/permissions"
+            },
+            "collections":  {
+              "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/groups",
+              "users": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users"
+            }
+          },
+          "roleName": "manager",
+          "title": "Manager"
+        }
+      ],
+      "timestamp": 1353358474917,
+      "duration": 46,
+      "duration": 45,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Getting the roles in an application
+-----------------------------------
+
+Use the GET method to get the roles for a specific application.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/roles
+
+### Parameters
+
+  Parameter                 Description
+  ------------------------- ----------------------------------------
+  arg uuid|string org\_id   Organization UUID or organization name
+  arg uuid|string app\_id   Application UUID or application name
+
+### Example - Request
+
+-   [cURL](#curl_get_roles)
+-   [JavaScript (HTML5)](#javascript_get_roles)
+-   [Ruby](#ruby_get_roles)
+-   [Node.js](#nodejs_get_roles)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/roles"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    roles = app['roles'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'roles'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "params" : {
+        "_" : [ "1328058070002" ]
+      },
+      "uri" : "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "entities" : [ 
+    {
+          "uuid": "70f39f36-1825-379d-8385-7a7fbe9ec74a",
+          "type": "role",
+          "name": "admin",
+          "created": 1342198809382,
+          "modified": 1350688633265,
+          "inactivity": 0,
+          "metadata": {
+            "path": "/roles/70f39f36-1825-379d-8385-7a7fbe9ec74a",
+            "sets": {
+              "permissions": "/roles/70f39f36-1825-379d-8385-7a7fbe9ec74a/permissions"
+            },
+            "collections": {
+              "groups": "/roles/70f39f36-1825-379d-8385-7a7fbe9ec74a/groups",
+              "users": "/roles/70f39f36-1825-379d-8385-7a7fbe9ec74a/users"
+            }
+          },
+          "roleName": "admin",
+          "title": "Administrator"
+        },
+        {
+          "uuid": "b8f8f336-30c9-3553-b447-6891f3e1e6bf",
+          "type": "role",
+          "name": "default",
+          "created": 1342198809472,
+          "modified": 1350688633282,
+          "inactivity": 0,
+          "metadata": {
+            "path": "/roles/b8f8f336-30c9-3553-b447-6891f3e1e6bf",
+            "sets": {
+              "permissions": "/roles/b8f8f336-30c9-3553-b447-6891f3e1e6bf/permissions"
+            },
+            "collections": {
+              "groups": "/roles/b8f8f336-30c9-3553-b447-6891f3e1e6bf/groups",
+              "users": "/roles/b8f8f336-30c9-3553-b447-6891f3e1e6bf/users"
+            }
+          },
+          "roleName": "default",
+          "title": "Default"
+        },
+        {
+          "uuid": "bd397ea1-a71c-3249-8a4c-62fd53c78ce7",
+          "type": "role",
+          "name": "guest",
+          "created": 1342198809551,
+          "modified": 1350688633299,
+          "inactivity": 0,
+          "metadata": {
+            "path": "/roles/bd397ea1-a71c-3249-8a4c-62fd53c78ce7",
+            "sets": {
+              "permissions": "/roles/bd397ea1-a71c-3249-8a4c-62fd53c78ce7/permissions"
+            },
+            "collections": {
+              "groups": "/roles/bd397ea1-a71c-3249-8a4c-62fd53c78ce7/groups",
+              "users": "/roles/bd397ea1-a71c-3249-8a4c-62fd53c78ce7/users"
+            }
+          },
+          "roleName": "guest",
+          "title": "Guest"
+        }
+      ],
+      "timestamp": 1353351684225,
+      "duration": 35,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Deleting a role
+---------------
+
+Use the DELETE method to delete the specified role and return the
+revised set of application roles.
+
+### Request URI
+
+DELETE /{org\_id}/{app\_id}/roles/{rolename}
+
+### Parameters
+
+  Parameter                 Description
+  ------------------------- ----------------------------------------
+  arg uuid|string org\_id   Organization UUID or organization name
+  arg uuid|string app\_id   Application UUID or application name
+  arg string rolename       Role name
+
+### Example - Request
+
+-   [cURL](#curl_delete_role)
+-   [JavaScript (HTML5)](#javascript_delete_role)
+-   [Ruby](#ruby_delete_role)
+-   [Node.js](#nodejs_delete_role)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/roles/manager"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['roles/manager'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'roles'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "delete",
+      "application" : "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "params" : {
+        "_" : [ "1328058070002" ]
+      },
+      "path": "/roles",
+      "uri" : "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "entities": [
+        {
+          "uuid": "382d0991-74bb-3548-8166-6b07e44495ef",
+          "type": "role",
+          "name": "manager",
+          "created": 1353358474924,
+          "modified": 1353358474924,
+          "inactivity": 0,
+          "metadata": {
+            "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef",
+            "sets": {
+              "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/permissions"
+            },
+            "collections": {
+              "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/groups",
+              "users": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users"
+            }
+          },
+          "roleName": "manager",
+          "title": "Manager"
+        }
+      ],
+      "timestamp": 1353359131580,
+      "duration": 218,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Getting permissions for an application role
+-------------------------------------------
+
+Use the GET method to get permissions for the specific app role.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/roles/{rolename|role\_id}/permissions
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg  uuid|string rolename   Role UUID or role name
+
+### Example - Request
+
+-   [cURL](#curl_get_role_permissions)
+-   [JavaScript (HTML5)](#javascript_get_role_permissions)
+-   [Ruby](#ruby_get_role_permissions)
+-   [Node.js](#nodejs_get_role_permissions)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/roles/manager/permissions"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    response = app['roles']['guest']['permissions'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'roles/manager/permissions'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "uri" : "http://api.usergrid.com/your-org/your-app",
+      "entities" : [ ],
+      "data" : [ "get,post,put,delete:/**", "post:/devices", "post:/users", "put:/devices/*" ],
+      "timestamp" : 1376589421592,
+      "duration" : 89,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+Adding permissions to an application role
+-----------------------------------------
+
+Use the POST method to add permissions for the specified application
+role.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/roles/{rolename|role\_id}/permissions {request
+body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| arg uuid|string rolename             | Role UUID or role name               |
++--------------------------------------+--------------------------------------+
+| request body                         | JSON object with a single            |
+|                                      | permissions property. The value of   |
+|                                      | that property is a string containing |
+|                                      | a permissions specification. The     |
+|                                      | spec is a comma-separated list of    |
+|                                      | verbs, followed by a colon, followed |
+|                                      | by a URL pattern:                    |
+|                                      |                                      |
+|                                      |     { "permission" : "get,put,post,d |
+|                                      | elete:/users/me/groups" }            |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_add_role_permissions)
+-   [JavaScript (HTML5)](#javascript_add_role_permissions)
+-   [Ruby](#ruby_add_role_permissions)
+-   [Node.js](#nodejs_add_role_permissions)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/roles/manager/permissions" -d '{"permission":"get,put,post,delete:/users/me/groups" }'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['roles/manager/permissions'].post permission:'get,put,post,delete:/users/me/groups'
+
+The example assumes use of the
+[Node.js](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'roles/manager/permissions',
+        body:{ permission:'get,put,post,delete:/users/me/groups' }    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "post",
+      "application" : "f34f4222-a166-11e2-a7f7-02e815df8rd0",
+      "params" : { },
+      "uri" : "http://api.usergrid.com/your-org/your-app",
+      "entities" : [ ],
+      "data" : [ "get,put,post,delete:/users/me/groups" ],
+      "timestamp" : 1376590904061,
+      "duration" : 21,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+Deleting permissions from an application role
+---------------------------------------------
+
+Use the DELETE method to remove permissions from the specified
+application role.
+
+### Request URI
+
+DELETE
+/{org\_id}/{app\_id}/roles/{rolename|role\_id}/permissions?permission={permissions\_spec}
+
+### Parameters
+
+  Parameter              Description
+  ---------------------- ----------------------------------------------------
+  uuid|string org\_id    Organization UUID or organization name
+  uuid|string app\_id    Application UUID or application name
+  uuid|string rolename   Role UUID or role name
+  grant\_url\_pattern    The pattern on which the permissions were granted.
+
+### Example - Request
+
+-   [cURL](#curl_delete_role_permissions)
+-   [JavaScript (HTML5)](#javascript_delete_role_permissions)
+-   [Ruby](#ruby_delete_role_permissions)
+-   [Node.js](#nodejs_delete_role_permissions)
+
+<!-- -->
+
+    curl -X DELETE -H "authorization: Bearer INSERT_BEARER_TOKEN_HERE" "https://api.usergrid.com/my-org/my-app/roles/default/permissions?permission=get,post,delete:/notes"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['roles/manager/permission'].delete permission:'delete'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'roles/manager/permission',
+        body:{ permission:'delete' }    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "delete",
+      "application" : "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "params" : {
+        "permission":  [
+           "delete"
+        ]
+      },
+      "path": "/roles",
+      "uri" : "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "entities":  [
+          {
+          "uuid": "382d0991-74bb-3548-8166-6b07e44495ef",
+          "type": "role",
+          "name": "manager",
+          "created": 1353359536973,
+          "modified": 1353359536973,
+          "inactivity": 0,
+          "metadata":  {
+            "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef",
+            "sets":  {
+              "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/permissions"
+            },
+            "collections":  {
+              "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/groups",
+              "users": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users"
+            }
+          },
+          "roleName": "manager",
+                "title": "Manager"
+              }
+       ],
+       "timestamp": 1353360762403,
+       "duration": 181,
+       "organization": "my-org",
+       "applicationName": "my-app"
+    }
+
+Adding a user to a role
+-----------------------
+
+Use the POST method to add a user to a role.
+
+### Request URI
+
+    POST /{org_id}/{app_id}/roles/{role_id}/users/{uuid|username}
+
+or
+
+    POST /{org_id}/{app_id}/users/{uuid|username}/roles/{role_id}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string role\_id    Role UUID or role name
+  arg uuid|string uuid|name   User UUID or username
+
+### Example - Request
+
+-   [cURL](#curl_add_role_user)
+-   [JavaScript (HTML5)](#javascript_add_role_user)
+-   [Ruby](#ruby_add_role_user)
+-   [Node.js](#nodejs_add_role_user)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/roles/manager/users/john.doe"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['roles/manager/users/someuser'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'roles/manager/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "post",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params": {},
+      "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+      "uri": "https://api.usergrid.com/my-org/my-app/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+      "entities": [
+        {
+          "uuid": "34e26bc9-2d00-11e2-a065-02e81ae640dc",
+          "type": "user",
+          "name": "John Doe",
+          "created": 1352748968504,
+          "modified": 1352748968504,
+          "activated": true,
+          "email": "john.doe@mail.com",
+          "metadata": {
+            "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc",
+            "sets": {
+              "rolenames": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/rolenames",
+              "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/permissions"
+            },
+            "connections": {
+              "likes": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/likes"
+            },
+            "collections": {
+              "activities": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+              "devices": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/devices",
+              "feed": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/feed",
+              "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/groups",
+              "roles": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/roles",
+              "following": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/following",
+              "followers": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/followers"
+            }
+          },
+          "picture": "http://www.gravatar.com/avatar/90f82dba15655b8cc8e3b4d63377576f",
+          "username": "someuser"
+        }
+      ],
+      "timestamp": 1352999087337,
+      "duration": 65,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Getting the users in a role
+---------------------------
+
+Use the GET method to get the users in a role.
+
+### Request URI
+
+    GET /{org_id}/{app_id}/roles/{role_id}/users
+
+### Parameters
+
+  Parameter                  Description
+  -------------------------- ----------------------------------------
+  arg uuid|string org\_id    Organization UUID or organization name
+  arg uuid|string app\_id    Application UUID or application name
+  arg uuid|string role\_id   Role UUID or role name
+
+### Example - Request
+
+-   [cURL](#curl_get_role_users)
+-   [JavaScript (HTML5)](#javascript_get_role_users)
+-   [Ruby](#ruby_get_role_users)
+-   [Node.js](#nodejs_get_role_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/roles/manager/users"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    users = app['roles/manager/users'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'roles/manager/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params": {
+        "_": [
+          "1352999121468"
+        ]
+      },
+      "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+      "uri": "https://api.usergrid.com/my-org/my-app/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+      "entities": [
+        {
+          "uuid": "34e26bc9-2d00-11e2-a065-02e81ae640dc",
+          "type": "user",
+          "name": "John Doe",
+          "created": 1352748968504,
+          "modified": 1352748968504,
+          "activated": true,
+          "email": "john.doe@mail.com",
+          "metadata": {
+            "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc",
+            "sets": {
+              "rolenames": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/rolenames",
+              "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/permissions"
+            },
+            "connections": {
+              "likes": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/likes"
+            },
+            "collections": {
+              "activities": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+              "devices": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/devices",
+              "feed": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/feed",
+              "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/groups",
+              "roles": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/roles",
+              "following": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/following",
+              "followers": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/followers"
+            }
+          },
+          "picture": "http://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+          "username": "john.doe"
+        }
+      ],
+      "timestamp": 1352999119136,
+      "duration": 28,
+      "organization": "my-org",
+      "applicationName": "my-app"
+
+Deleting a user from a role
+---------------------------
+
+Use the DELETE method to delete a user from a role.
+
+### Request URI
+
+    DELETE /{org_id}/{app_id}/roles/{role_id}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string role\_id    Role UUID or role name
+  arg uuid|string uuid|name   User UUID or username
+
+### Example - Request
+
+-   [cURL](#curl_delete_role_user)
+-   [JavaScript (HTML5)](#javascript_delete_role_user)
+-   [Ruby](#ruby_delete_role_user)
+-   [Node.js](#nodejs_delete_role_user)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/roles/manager/users/john.doe"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['roles/manager/users/john.doe'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'roles/manager/users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+       "action": "delete",
+       "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+       "params": {
+         "_": [
+           "1353000719265"
+         ]
+       },
+       "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+       "uri": "equest
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/roles/382d0991-74bb-3548-8166-6b07e44495ef/users",
+       "entities": [
+         {
+           "uuid": "34e26bc9-2d00-11e2-a065-02e81ae640dc",
+           "type": "user",
+           "name": "John Doe",
+           "created": 1352748968504,
+           "modified": 1352748968504,
+           "activated": true,
+           "email": "john.doe@mail.com",
+           "metadata": {
+             "path": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc",
+             "sets": {
+               "rolenames": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/rolenames",
+               "permissions": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/permissions"
+             },
+             "connections": {
+               "likes": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/likes"
+             },
+             "collections": {
+               "activities": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+               "devices": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/devices",
+               "feed": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/feed",
+               "groups": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/groups",
+               "roles": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/roles",
+               "following": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/following",
+               "followers": "/roles/382d0991-74bb-3548-8166-6b07e44495ef/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/followers"
+             }
+           },
+           "picture": "http://www.gravatar.com/avatar/90f823ba13655b8cc8e3b4d63377576f",
+           "username": "john.doe"
+         }
+       ],
+       "timestamp": 1353000717531,
+       "duration": 338,
+       "organization": "my-org",
+       "applicationName": "my-app"
+     }
+
+Role properties
+---------------
+
+The following are the system-defined properties for role entities. You
+can create application-specific properties for a role entity in addition
+to the system-defined properties. The system-defined properties are
+reserved. You cannot use these names to create other properties for a
+role entity. In addition the roles name is reserved for the roles
+collection — you can't use it to name another collection.
+
+The look-up property for a role is name that is, you can use the name
+property to reference a role in an API call. However, you can search on
+a role using any property of the role entity. See\
+
+Nonexistent node nid: 9321.
+
+for details on searching.
+
+### General properties
+
+Roles have the following general properties.
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Role’s unique entity ID
+  type       string   "role"
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  name       string   Unique name identifying the role (mandatory)
+  roleName   string   Informal role name
+  title      string   Role title
+
+### Set properties
+
+Roles have the following set property.
+
+  Set           Type     Description
+  ------------- -------- -------------------------
+  permissions   string   Set of user permissions
+
+### Collection properties
+
+Roles have the following collections.
+
+  Collection   Type    Description
+  ------------ ------- -----------------------------------------
+  users        user    Collection of users assigned to a role
+  groups       group   Collection of groups assigned to a role
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/roles-and-permissions.md
----------------------------------------------------------------------
diff --git a/content/content/docs/roles-and-permissions.md b/content/content/docs/roles-and-permissions.md
new file mode 100644
index 0000000..2e858aa
--- /dev/null
+++ b/content/content/docs/roles-and-permissions.md
@@ -0,0 +1,22 @@
+---
+title: Roles & Permissions
+category: docs
+layout: docs
+---
+
+## Roles
+
+A role represents a set of permissions that enable certain operations to
+be performed on a specific endpoint. You can assign a user to a role,
+and in this way give the user the permissions associated with that role.
+
+**Note:** The /rolenames endpoint is no longer valid. If your code currently
+makes calls to /rolenames, you need to change the calls to use /roles.
+
+## Permissions
+
+Each role contains multiple permissions. Permissions work by whitelisting by default, meaning any permission that is not explicitely granted is denied by default. Permission is an HTTP verb (GET to allow reads, POST to allow creation, PUT to allow edits and DELETE to allow deletes) combined with a path, with optional wildcards. For example the permission put:/users/* allows editing any user.
+
+Permissions can be added to roles, groups or to users directly, and a user’s permission is the combination of its personal permissions and the permissions of any role he’s been assigned, and the permissions of any group he’s a member of.
+
+Permissions are only valid within the scope of a single application, so the permission paths do not need to be prefixed with /org\_name\_or\_uuid/app\_name\_or\_uuid.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/ruby-gem.md
----------------------------------------------------------------------
diff --git a/content/content/docs/ruby-gem.md b/content/content/docs/ruby-gem.md
new file mode 100644
index 0000000..d8ec6ee
--- /dev/null
+++ b/content/content/docs/ruby-gem.md
@@ -0,0 +1,28 @@
+---
+title: Ruby gem
+category: docs
+layout: docs
+---
+
+Installation
+------------
+
+From the command-line run:
+
+```bash
+$ gem install usergrid_iron
+```
+
+Organizations
+-------------
+
+````ruby
+# Initialize Management object
+mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+
+# Create a new Organization
+mgmt.create_organization 'testorg', 'test123', 'test', 'tester123@hotmail.com', 'test12345'
+
+# Load an exiting Organization
+org = mgmt.organization 'testorg'
+````
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/securing-your-app.md
----------------------------------------------------------------------
diff --git a/content/content/docs/securing-your-app.md b/content/content/docs/securing-your-app.md
new file mode 100644
index 0000000..5105b1c
--- /dev/null
+++ b/content/content/docs/securing-your-app.md
@@ -0,0 +1,83 @@
+---
+title: Securing your app
+category: docs
+layout: docs
+---
+
+Securing your app
+=================
+
+There a number of actions you should take to ensure that your app is
+secure before you put it into production.
+
+Review permissions in your apps
+-------------------------------
+
+Prior to launching your app into a production environment, it is
+advisable to review all the roles and permissions you have set up.
+During development, you may find that you added various permissions
+which may or may not still be required once the app is complete. Review
+all permissions and delete any that are no longer required.
+
+Also make sure that you review the roles and permissions that are set up
+for the sandbox app. By default, every new Apache Usergrid account has an
+app named “sandbox” that is already created under your new organization.
+This app is no different than any other app that you might create,
+except that the Guest role has been given full permissions (that is,
+/\*\* for GET, POST, PUT, and DELETE). This eliminates the need for a
+token when making application level calls, and can make it much easier
+to get your app up and running.
+
+Prior to taking your app live, you should secure it by removing any
+Guest permissions for /\*\*. (See [Managing access by defining
+permission rules](/managing-access-defining-permission-rules) for
+further information about setting permissions.) After you secure your
+the app, any calls to the API will need to include an OAuth token. Oauth
+tokens (also called access tokens) are obtained by the API in response
+to successful authentication calls. Your app saves the token and uses it
+for all future calls during that session. Learn more about access tokens
+in [Authenticating users and application
+clients](/authenticating-users-and-application-clients).
+
+Review test accounts
+--------------------
+
+If you created any test user or test administrator accounts during
+development, these should also be reviewed for relevancy and security.
+Delete any test accounts that are no longer needed. If these accounts
+are still needed, make sure that passwords have been secured to the
+standards required by your app.
+
+Use https
+---------
+
+Make sure that any calls you make to the API are done using the secure
+https protocol, and not the insecure http protocol. The proper
+application endpoint is: https://api.usergrid.com
+
+If your app is a web app, that is, an app served by a web server, make
+sure that the app is served using https.
+
+Acquire access tokens in a secure way
+-------------------------------------
+
+There are various methods for acquiring an access token (see
+[Authenticating users and application
+clients](/authenticating-users-and-application-clients)). One method is
+to use the application or organization level client secret-client id
+combination. This method should not be used in client applications (this
+is, apps that are deployed to a device, and which authenticate and make
+calls against the API).
+
+That’s because a hacker could analyze your app (even a compiled, binary
+distribution of your app), and retrieve the secret-id combination. Armed
+with this information, an attacker could gain full access to the data in
+your account.
+
+Instead, use application user credentials. This means that your app’s
+users should provide a username and password. Your app would use these
+to authenticate against the API and retrieve an access token.
+
+The client secret-client id combination should be used only in secure,
+server-side applications where there is no possibility of a hacker
+gaining control of the credentials.

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/security-model.md
----------------------------------------------------------------------
diff --git a/content/content/docs/security-model.md b/content/content/docs/security-model.md
new file mode 100644
index 0000000..524d63c
--- /dev/null
+++ b/content/content/docs/security-model.md
@@ -0,0 +1,40 @@
+---
+title: App services security model
+category: docs
+layout: docs
+---
+
+App services security model
+===========================
+
+This section contains information about the security model in App
+services. It describes how App services performs authentication and
+mediates access to resources.
+
+As described in these pages, App services rely on OAuth 2.0 for
+authentication, basing data access decisions on tokens supplied with
+each API request. Appropriate credentials are necessary to generate
+these tokens. Access to App services entities is further restricted by
+assigned roles and permissions.
+
+-   [Authentication and access in App
+    services](/authentication-and-access-app-services-0)
+    -   [Access
+        types](/usergrid/content/authentication-and-access-usergrid#access_types)
+    -   [Applications](/usergrid/content/authentication-and-access-usergrid#applications)
+    -   [Application
+        users](/usergrid/content/authentication-and-access-usergrid#application_users)
+    -   [Using an access
+        token](/usergrid/content/authentication-and-access-usergrid#access_token)
+    -   [Safe mobile
+        access](/usergrid/content/authentication-and-access-usergrid#safe_mobile)
+
+-   [Managing access by defining permission
+    rules](/managing-access-defining-permission-rules)
+    -   [Roles](/usergrid/content/roles-and-permissions-usergrid#roles)
+    -   [Permissions](/usergrid/content/roles-and-permissions-usergrid#permissions)
+
+-   Nonexistent node nid: 302.
+    -   [authentication](/usergrid/content/facebook-sign)
+
+


[40/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/organizations-admins 2.md
----------------------------------------------------------------------
diff --git a/content/content/docs/organizations-admins 2.md b/content/content/docs/organizations-admins 2.md
new file mode 100644
index 0000000..54ff247
--- /dev/null
+++ b/content/content/docs/organizations-admins 2.md	
@@ -0,0 +1,1814 @@
+---
+title: Organizations & Admins
+category: docs
+layout: docs
+---
+
+Organizations
+-------------
+
+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.
+
+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.
+
+Property                                Type      Description
+--------------------------------------- --------- ---------------------------------------------------------------------
+uuid                                    UUID      Organization’s unique entity ID
+type                                    string    "organization"
+created                                 long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+modified                                long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+organization                            string    The name of the organization.
+username                                string    The username of the administrator.
+name                                    string    The name of the administrator.
+email                                   string    The email address of the administrator.
+password                                string    The password of the administrator. (create-only)
+
+
+
+### Activating an organization
+
+Use the GET method to activate an organization from a link provided in
+an email notification.
+
+#### Request URL
+
+GET
+/organizations|orgs/{org\_name}|{uuid}/activate?token={token}&confirm={confirm\_email}
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -------------------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string token                Activation token (supplied via email).
+  boolean confirm\_email      Send confirmation email (false is the default).
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_activate_org)
+-   [JavaScript (HTML5)](#javascript_activate_org)
+-   [Ruby](#ruby_activate_org)
+-   [Node.js](#nodejs_activate_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/activate',
+        qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "activate organization",
+      "timestamp": 1337928462810,              
+      "duration": 3342
+    }
+
+### Reactivating an organization
+
+Use the GET method to reactivate an organization.
+
+#### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/reactivate
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_reactivate_org)
+-   [JavaScript (HTML5)](#javascript_reactivate_org)
+-   [Ruby](#ruby_reactivate_org)
+-   [Node.js](#nodejs_reactivate_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/reactivate"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/reactivate']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/reactivate'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "reactivate organization",
+      "timestamp": 1349385280891,
+      "duration": 3612
+    }
+
+### Generating organization client credentials
+
+Use the POST method to generate new credentials for an organization
+client.
+
+#### Request URI
+
+POST /organizations|orgs/{org\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_gen_org_credentials)
+-   [JavaScript](#javascript_gen_org_credentials)
+-   [Ruby](#ruby_gen_org_credentials)
+-   [Node.js](#nodejs_gen_org_credentials)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/management/orgs/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/credentials'].create
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "generate organization client credentials",
+      "timestamp": 1349385795647,
+      "duration": 7,
+      "credentials":  {
+        "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+        "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+      }
+    }
+
+### Retrieving organization client credentials
+
+Use the GET method to retrieve the credentials for an organization
+client.
+
+#### Request URL
+
+GET /organizations|orgs/{org\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_org_credentials)
+-   [JavaScript (HTML5)](#javascript_get_org_credentials)
+-   [Ruby](#ruby_get_org_credentials)
+-   [Node.js](#nodejs_get_org_credentials)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/credentials']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "get organization client credentials",
+      "timestamp": 1349386672984,
+      "duration": 690,
+      "credentials":  {
+        "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+        "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+      }
+    }
+
+### Getting an organization's activity feed
+
+Use the GET method to get an organization's activity feed.
+
+#### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/feed
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_org_feed)
+-   [JavaScript (HTML5)](#javascript_get_org_feed)
+-   [Ruby](#ruby_get_org_feed)
+-   [Node.js](#nodejs_get_org_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/feed"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    activities = mgmt['orgs/testorg/feed'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+     {
+      "action": "get organization feed",
+      "status": "ok",
+      "entities":  [
+         {
+          "uuid": "cf4d981c-fe90-11e1-95c8-12313b122c56",
+          "type": "activity",
+          "created": 1347643370454,
+          "modified": 1347643370454,
+          "actor":  {
+            "displayName": "tester123",
+            "objectType": "person",
+            "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
+            "entityType": "user"
+          },
+          "category": "admin",
+          "metadata":  {
+            "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz3SoH_6QEeGVyBIxOxIsVgA",
+            "path": "/groups/33dd0563-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+          },
+    "object":  {
+            "displayName": "testapp2",
+            "objectType": "Application",
+            "uuid": "cede5b7e-fe90-11e1-95c8-12313b122c56",
+            "entityType": "application_info"
+          },
+          "published": 1347643370454,
+          "title": "<a mailto="mailto:tester123@hotmail.com">tester123 (tester123@hotmail.com)</a> created a new application named testapp2",
+          "verb": "create"
+        },...
+    ,
+      "timestamp": 1349387253811,
+
+### Creating an organization application
+
+Use the POST method to create an application for an organization through
+a form post.
+
+#### Request URI
+
+POST /organizations|orgs/{org\_name}|{org\_uuid}/apps {request body}
+
+#### Parameters
+
+Parameter
+
+Description
+
+request body
+
+The following set of organization properties supplied through a form:.
+
+Property
+
+Description
+
+access token (string)
+
+The OAuth2 access token.
+
+name (string)
+
+The name of the application.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_create_org_app)
+-   [JavaScript (HTML5)](#javascript_create_org_app)
+-   [Ruby](#ruby_create_org_app)
+-   [Node.js](#nodejs_create_org_app)
+
+<!-- -->
+
+    curl -X -i POST "https://api.usergrid.com/management/orgs/testorg/apps" -d '{"access_token":"YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ","name":"testapp1"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mynewapp = mgmt['orgs/testorg/apps'].create name: 'testapp1', access_token: 'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/testorg/apps',
+        body:{ 
+              access_token:'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ', 
+              name:'testapp1' 
+        }    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "new application for organization",
+      "timestamp": 1338914698135,
+      "duration": 701
+    }
+
+### Deleting an organization application
+
+Use the DELETE method to delete an application from an organization.
+
+#### Request URI
+
+DELETE
+/organizations|orgs/{org\_name}|{org\_uuid}/apps/{app\_name}|{app\_uuid}
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_delete_org_app)
+-   [JavaScript (HTML5)](#javascript_delete_org_app)
+-   [Ruby](#ruby_delete_org_app)
+-   [Node.js](#nodejs_delete_org_app)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/apps/testapp1"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'management/orgs/testorg/apps/testapp1'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "delete application from organization",
+      "timestamp": 1349817715666,
+      "duration": 0
+    }
+
+### Generating application credentials
+
+Use the POST method to generate the client ID and client secret
+credentials for an application in an organization.
+
+#### Request URI
+
+POST
+/organizations|orgs/{org\_name}|{uuid}/applications|apps/{app\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_gen_app_credentials)
+-   [JavaScript (HTML5)](#javascript_gen_app_credentials)
+-   [Ruby](#ruby_gen_app_credentials)
+-   [Node.js](#nodejs_gen_app_credentials)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1/credentials'].create
+
+The example assumes use of the [Node.js
+module](https://github.com/scottganyo/usergrid_iron).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "generate application client credentials",
+      "timestamp": 1349815979529,
+      "duration": 535,
+      "credentials":  {
+        "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+        "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+      }
+    }
+
+### Getting application credentials
+
+Use the GET method to retrieve the client ID and client secret
+credentials for an application in an organization.
+
+#### Request URI
+
+GET
+/organizations|orgs/{org\_name}|{uuid}/applications|apps/{app\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_app_credentials)
+-   [JavaScript (HTML5)](#javascript_get_app_credentials)
+-   [Ruby](#ruby_get_app_credentials)
+-   [Node.js](#nodejs_get_app_credentials)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1/credentials']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "get application client credentials",
+      "timestamp": 1349816819545,
+      "duration": 7,
+      "credentials":  {
+        "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+        "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+      }
+    }
+
+### Getting the applications in an organization
+
+Use the GET method to retrieve the applications in an organization.
+
+#### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/applications|apps
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_apps_org)
+-   [JavaScript (HTML5)](#javascript_get_apps_org)
+-   [Ruby](#ruby_get_apps_org)
+-   [Node.js](#nodejs_get_apps_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    apps = mgmt['orgs/testorg/apps'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/apps'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+ 
+
+#### Example - Response
+
+    {
+      "action": "get organization application",
+      "data":  {
+        "testorg/sandbox": "3500ba10-cd0c-11e1-bcf8-12313d1c5591",
+        "testorg/testapp1": "be09a5f9-fdd3-11e1-beca-12313d027361",
+        "testorg/testapp2": "cede5b8e-fe90-11e1-65c8-12313b111c56"    
+      },
+      "timestamp": 1349815338635,
+      "duration": 22
+    }
+
+### Adding an admin user to an organization
+
+Use the PUT method to add an existing admin user to an organization.
+
+#### Request URI
+
+PUT
+/organizations|orgs/{org\_name}|{org\_uuid}/users/{username|email|uuid}
+
+#### Parameters
+
+  Parameter                               Description
+  --------------------------------------- ----------------------------------------------
+  string org\_name|arg org\_uuid          Organization name or organization UUID.
+  string username|string email|arg uuid   User name, user email address, or user UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_add_admin_user)
+-   [JavaScript (HTML5)](#javascript_add_admin_user)
+-   [Ruby](#ruby_add_admin_user)
+-   [Node.js](#nodejs_add_admin_user)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/management/orgs/testorg/users/test123"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/users/test123'].put nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/orgs/testorg/users/test123'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "add user to organization",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 1349390189106,
+      "duration": 11808
+    }
+
+### Getting the admin users in an organization
+
+Use the GET method to retrieve details about the admin users in an
+organization.
+
+#### Request URI
+
+GET /organizations|orgs/{org\_name}|{org\_uuid}/users
+
+#### Parameters
+
+  Parameter                        Description
+  -------------------------------- -----------------------------------------
+  string org\_name|arg org\_uuid   Organization name or organization UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_admin_users)
+-   [JavaScript (HTML5)](#javascript_get_admin_users)
+-   [Ruby](#ruby_get_admin_users)
+-   [Node.js](#nodejs_get_admin_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/users"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    admins = mgmt['orgs/testorg/users']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "get organization users",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 13494542201685,
+      "duration": 10
+    }
+
+### Removing an admin user from an organization
+
+Use the DELETE method to remove an admin user from an organization.
+
+#### Request URI
+
+DELETE
+/organizations|orgs/{org\_name}|{org\_uuid}/users/{username|email|uuid}
+
+#### Parameters
+
+  Parameter                               Description
+  --------------------------------------- ----------------------------------------------
+  string org\_name|arg org\_uuid          Organization name or organization UUID.
+  string username|string email|arg uuid   User name, user email address, or user UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_delete_admin_user)
+-   [JavaScript (HTML5)](#javascript_delete_admin_user)
+-   [Ruby](#ruby_delete_admin_user)
+-   [Node.js](#nodejs_delete_admin_user)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/users/test123"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/users/test123'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'management/orgs/testorg/users/test123'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "remove user from organization",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 1349453590005,
+      "duration": 727
+    }
+
+
+
+Admins
+------
+
+[See all management
+resources](/docs/usergrid/content/management-resources)[![](/docs/sites/docs/files/learnmore%20arrow_0.png)](/docs/usergrid/content/management-resources)
+
+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.
+
+In addition, you can add,  retrieve, or remove an admin user from an
+organization. For information on these organization-related operations,
+see [Organization](/organization).
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+### Creating an admin user
+
+Use the POST method to create an admin user.
+
+#### Request URI
+
+POST /management/organizations/{org}/users {request body}
+
+#### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| request body                         | One or more sets of user properties, |
+|                                      | of which username is mandatory and   |
+|                                      | must be unique:                      |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "username" : "jim.admin",      |
+|                                      |       "email" : "jim.admin@gmail.com |
+|                                      | ",                                   |
+|                                      |       "name" : "Jim Admin",          |
+|                                      |       "password" : "test12345"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_create_admin_user)
+-   [JavaScript (HTML5)](#javascript_create_admin_user)
+-   [Ruby](#ruby_create_admin_user)
+-   [Node.js](#nodejs_create_admin_user)
+
+<!-- -->
+
+    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"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    result = mgmt.create_user username: 'jim.admin', name: 'Jim Admin', email: 'jim.admin@gmail.com', password: 'test12345'
+    jim_admin = result.entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/organizations/my-org/users',
+        body:{ username:'jim.admin', name:'Jim Admin', email:'jim.admin@gmail.com',  
+        password:'test12345' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "post",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "jim.admin",
+          "name": "Jim Admin",
+          "email": "jim.admin@gmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+          "htmldisplayEmailAddress": "jim.admin <a href="mailto:jim.admin@gmail.com">jinm.admin@gmail.com</a>"
+        }
+      },
+      "timestamp": 1349390189106,
+      "duration": 11808
+    }
+
+### Updating an admin user
+
+Use the PUT method to update an admin user.
+
+#### Request URI
+
+PUT /management/organizations/{org}/users/{user|username|email|uuid}
+{request body}
+
+#### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| string user|string username|string   | Admin username, name, email address, |
+| email|arg uuid                       | or UUID.                             |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of user properties: |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "city" : "San Francisco",      |
+|                                      |       "state" : "California"         |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_update_admin_user)
+-   [JavaScript (HTML5)](#javascript_update_admin_user)
+-   [Ruby](#ruby_update_admin_user)
+-   [Node.js](#nodejs_update_admin_user)
+
+<!-- -->
+
+    curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin" -d '{"city":"San Francisco","state":"California"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    jim_admin = mgmt['users/jim.admin'].entity
+    jim_admin.city = 'San Francisco'
+    jim_admin.state = 'California'
+    jim_admin.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/organizations/my-org/users/jim.admin',
+        body:{ email:'john.doe@mail.com', city:'San Francisco', state:'California' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "update user info",
+      "timestamp": 1349479321874,
+      "duration": 0
+    }
+
+### Getting an admin user
+
+Use the GET method to retrieve details about an admin user.
+
+#### Request URI
+
+GET /management/organizations/{org}/users/{user|username|email|uuid}
+
+#### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_get_admin_user)
+-   [JavaScript (HTML5)](#javascript_get_admin_user)
+-   [Ruby](#ruby_get_admin_user)
+-   [Node.js](#nodejs_get_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    jim_admin = mgmt['users/jim.admin'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "get admin user",
+      "status": "ok",
+      "data":  {
+        "username": "jim.admin",
+        "token": "YWMt4NqE8Q9GEeLYJhIxPSiO4AAAATo5fQfcG0cEd2h9nwmDmRorkNNrEeQyDOF",
+        "email": "edort1@gmail.com",
+        "organizations":  {
+          "jim.admin":  {
+            "users":  {
+              "jim.admin":  {
+                "applicationId": "00000000-0000-0000-0000-000000000001",
+                "username": "jim.admin",
+                "name": "Jim Admin",
+                "email": "jim.admin@gmail.com",
+                "activated": true,
+                "disabled": false,
+                "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+                "adminUser": true,
+                "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+                "htmldisplayEmailAddress": "jim.admin <<a href="mailto:jim.admin@gmail.com">jim.admin@gmail.com>"
+        },
+        ...
+        "adminUser": true,
+        "activated": true,
+        "name": "edort1",
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+        "htmldisplayEmailAddress": "jim.admin <<a href="mailto:jim.admin@gmail.com">jim.admin@gmail.com>>",
+        "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+        "disabled": false
+      },
+      "timestamp": 1349480786906,
+
+### Setting an admin user's password
+
+Use the PUT method to update an admin user's password.
+
+#### Request URI
+
+PUT
+/management/organizations/{org}/users/{user|username|email|uuid}/password
+{request body}
+
+#### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| string user|string username|string   | Admin username, name, email address, |
+| email|arg uuid                       | or UUID.                             |
++--------------------------------------+--------------------------------------+
+| request body                         | The password property and value:     |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "password": "test123"          |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_set_admin_pw)
+-   [JavaScript (HTML5)](#javascript_set_admin_pw)
+-   [Ruby](#ruby_set_admin_pw)
+-   [Node.js](#nodejs_set_admin_pw)
+
+<!-- -->
+
+    curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/password" -d '{"password":"test123"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org'
+    jim_admin = mgmt['users/jim.admin'].entity
+    jim_admin.password = 'test123'
+    jim_admin.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/organizations/my-org/users/jim.admin',
+        body:{ password:'test123' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "set user password",
+      "timestamp": 1349714010142,
+      "duration": 0
+    }
+
+### Resetting an admin user's password
+
+Resetting an admin user's password is a two step process. In the first
+step, you initiate the password reset. This returns a browser page. The
+page includes a field for the user to enter his or her email address,
+and a field to enter a response to a Captcha challenge. In the second
+step, you handle the user's responses from the form.
+
+#### Initiating a password reset
+
+Use the GET method to initiate the password reset.
+
+#### Request URI
+
+GET /management/organizations/{org}/users/resetpw
+
+#### Example - Request
+
+-   [cURL](#curl_init_pw_reset)
+-   [JavaScript (HTML5)](#javascript_init_pw_reset)
+-   [Ruby](#ruby_init_pw_reset)
+-   [Node.js](#nodejs_init_pw_reset)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/resetpw"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    resetpw = mgmt['users/resetpw']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/resetpw'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+    <html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+        <title>Reset Password</title>
+        <link rel="stylesheet" type="text/css" href="../../css/styles.css" />
+        <script type="text/javascript">>
+            var RecaptchaOptions = {
+                theme : 'clean'
+            };
+        </script>
+    </head>
+    <body>
+
+        <div class="dialog-area">
+            <div class="dialog-form-message">Incorrect Captcha, try again...</div>
+            <form class="dialog-form" action="" method="post">
+                <fieldset>
+                    <p>
+                        <label for="email">Please type your <strong>email
+                                address</strong> or <strong>username</strong> below.</label>
+                    </p>
+                    <p>
+                        <input class="text_field" id="email" name="email" type="text" />
+                    </p>
+                    <p id="human-proof"></p>
+                    <script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LdSTNESAAAAAKHdVglHmMu86_EoYxsJjqQD1IpZ"></script>
+
+                    <p class="buttons">
+                        <button type="submit">Submit</button>
+                    </p>
+                </fieldset>
+            </form>
+        </div>
+    </pre>
+
+#### Completing a password reset
+
+Use the POST method to complete the password reset.
+
+#### Request URI
+
+POST /management/organizations/{org}/users/resetpw {request body}
+
+#### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| request body                         | 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:                             |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "recaptcha_response_field" : " |
+|                                      | Atistophanes tseFia",                |
+|                                      |       "recaptcha_challenge_field" :  |
+|                                      | "Atistophanes tseFia",               |
+|                                      |       "email" : "jim.admin@gmail.com |
+|                                      | "                                    |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_complete_pw_reset)
+-   [JavaScript (HTML5)](#javascript_complete_pw_reset)
+-   [Ruby](#ruby_complete_pw_reset)
+-   [Node.js](#nodejs_complete_pw_reset)
+
+<!-- -->
+
+    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"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    resetpw = mgmt['users/resetpw']
+    resetpw { recaptcha_response_field: 'Atistophanes tseFia', recaptcha_challenge_field: 'Atistophanes tseFia', email: 'jim.admin@gmail.com' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/organizations/my-org/users/resetpw',
+        body:{ 
+           recaptcha_response_field:'Atistophanes tseFia', 
+           recaptcha_challenge_field:'Atistophanes tseFia', 
+           email:'jim.admin@gmail.com' 
+        }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "reset user password",
+      "timestamp": 13546154010321,
+      "duration": 0
+    }
+
+### Activating an admin user
+
+Use the GET method to activate an admin user from a link provided in an
+email notification.
+
+#### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/activate?token={token}&confirm={confirm\_email}
+
+#### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -------------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+  string token                                        Activation token (supplied via email).
+  boolean confirm\_email                              Send confirmation email (false is the default).
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_activate_admin_user)
+-   [JavaScript (HTML5)](#javascript_activate_admin_user)
+-   [Ruby](#ruby_activate_admin_user)
+-   [Node.js](#nodejs_activate_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/activate',
+        qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "activate user",
+      "timestamp": 1349718021324,
+      "duration": 0
+    }
+
+### Reactivating an admin user
+
+Use the GET method to reactivate an admin user.
+
+#### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/reactivate
+
+#### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+ 
+
+#### Example - Request
+
+-   [cURL](#curl_reactivate_admin_user)
+-   [JavaScript (HTML5)](#javascript_reactivate_admin_user)
+-   [Ruby](#ruby_reactivate_admin_user)
+-   [Node.js](#nodejs_reactivate_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/reactivate"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/reactivate']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/reactivate'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "reactivate user",
+      "timestamp": 1349735217217,
+      "duration": 3541
+    }
+
+### Getting an admin user's activity feed
+
+Use the GET method to retrieve an admin user's activity feed.
+
+#### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/feed
+
+#### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+#### Example - Request
+
+-   [cURL](#curl_get_user_feed)
+-   [JavaScript (HTML5)](#javascript_get_user_feed)
+-   [Ruby](#ruby_get_user_feed)
+-   [Node.js](#nodejs_get_user_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/feed"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/feed'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+#### Example - Response
+
+    {
+      "action": "get admin user feed",
+      "status": "ok",
+     "entities":  [
+         {
+          "uuid": "cf3e981c-fe80-11e1-95c8-12331b144c65",
+          "type": "activity",
+          "created": 1347643370454,
+          "modified": 1347643370454,
+          "actor":  {
+            "displayName": "jim.admin",
+            "objectType": "person",
+            "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+            "entityType": "user"
+          },
+          "category": "admin",
+          "metadata":  {
+            "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz4ZbYf6QEeGVyBIxOxIsVgA",
+            "path": "/users/327b527f-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+          },
+        "object":  {
+        ...
+        },
+        "published": 1342198809251,
+                "title": "<a mailto="jim.admingmail.com">jim.admin (jim.admin@gmail.com)</a> created a new organization account named jim.admin",
+                "verb": "create"
+              }
+            ],
+      "timestamp": 1349735719320,

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/organizations-admins.md
----------------------------------------------------------------------
diff --git a/content/content/docs/organizations-admins.md b/content/content/docs/organizations-admins.md
new file mode 100644
index 0000000..08543b0
--- /dev/null
+++ b/content/content/docs/organizations-admins.md
@@ -0,0 +1,39 @@
+---
+title: Organizations & Admins
+category: docs
+layout: docs
+---
+
+Organizations
+-------------
+
+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.
+
+
+Property                                Type      Description
+--------------------------------------- --------- ---------------------------------------------------------------------
+uuid                                    UUID      Organization’s unique entity ID
+type                                    string    "organization"
+created                                 long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+modified                                long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+organization                            string    The name of the organization.
+username                                string    The username of the administrator.
+name                                    string    The name of the administrator.
+email                                   string    The email address of the administrator.
+password                                string    The password of the administrator. (create-only)
+
+
+Admins
+------
+
+
+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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/overview.md
----------------------------------------------------------------------
diff --git a/content/content/docs/overview.md b/content/content/docs/overview.md
new file mode 100644
index 0000000..080d765
--- /dev/null
+++ b/content/content/docs/overview.md
@@ -0,0 +1,41 @@
+---
+title: App Security Overview
+category: docs
+layout: docs
+---
+
+App Security Overview
+=====================
+
+Any app you put into production should feature security that protects
+your app, your users, and your app's data. Implementing security means
+taking steps in your mobile app's code and in your Apache Usergrid
+application.
+
+**Warning:** When you register for Apache Usergrid, you get a sandbox
+application that you can use to try things out. This application is not
+for use in production. By default, the sandbox application is not
+protected by any security measures whatsoever. Use the sandbox only for
+experimentation, and only with data that isn't in any way sensitive.
+
+When securing your app, follow these high-level steps:
+
+1.  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 [Managing access by defining
+    permission rules](/managing-access-defining-permission-rules).
+2.  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 [Authenticating users and
+    application clients](/authenticating-users-and-application-clients).
+3.  Be sure to use coding best practices that help ensure that your app
+    is protected from malicious attacks. For more information, see
+    [Securing your app](/securing-your-app).
+
+The following illustration describes these high-level areas.
+
+![](/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL)

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/presentations.md
----------------------------------------------------------------------
diff --git a/content/content/docs/presentations.md b/content/content/docs/presentations.md
new file mode 100644
index 0000000..86cc0cf
--- /dev/null
+++ b/content/content/docs/presentations.md
@@ -0,0 +1,25 @@
+---
+title: Presentations
+category: docs
+layout: docs
+---
+
+## How to Contribute to Apache Usergrid
+- David Johnson, [ApacheCon NA 2014](http://apacheconnorthamerica2014.sched.org/event/29971aabd3c86398be2ae93403c7d1d2)
+
+<iframe src="//www.slideshare.net/slideshow/embed_code/33275731" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+## Apache Usergrid Internals
+- Sungju Jin
+
+<iframe src="//speakerdeck.com/player/f0cd95108c150131a1e7669157168c6d" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+## Open Source Mobile Backend on Cassandra
+- Ed Anuff
+
+<iframe src="//www.slideshare.net/slideshow/embed_code/13919079" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+## Usergrid Overview
+- Ed Anuff
+
+<iframe src="//www.slideshare.net/slideshow/embed_code/9476483" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
\ No newline at end of file


[09/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/group 2/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/group 2/index.html b/content/publish/docs/group 2/index.html
new file mode 100644
index 0000000..a1209e2
--- /dev/null
+++ b/content/publish/docs/group 2/index.html	
@@ -0,0 +1,1301 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Group</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Group</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/group 2.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#group">Group</a><ul>
+<li>
+<a href="#creating-a-new-group">Creating a new group</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#adding-a-user-to-a-group">Adding a user to a group</a><ul>
+<li><a href="#request-uri-1">Request URI</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example---request-1">Example - Request</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-group">Getting a group</a><ul>
+<li><a href="#request-uri-2">Request URI</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example---request-2">Example - Request</a></li>
+<li><a href="#example---response-2">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#updating-a-group">Updating a group</a><ul>
+<li><a href="#request-uri-3">Request URI</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example---request-3">Example - Request</a></li>
+<li><a href="#example---response-3">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#deleting-a-user-from-a-group">Deleting a user from a group</a><ul>
+<li><a href="#request-uri-4">Request URI</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+<li><a href="#curl-example---request">cURL Example - Request</a></li>
+<li><a href="#example---response-4">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#deleting-a-group">Deleting a group</a><ul>
+<li><a href="#request-uri-5">Request URI</a></li>
+<li><a href="#parameters-5">Parameters</a></li>
+<li><a href="#example---request-4">Example - Request</a></li>
+<li><a href="#example---response-5">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-a-groups-feed">Getting a group’s feed</a><ul>
+<li><a href="#request-uri-6">Request URI</a></li>
+<li><a href="#parameters-6">Parameters</a></li>
+<li><a href="#example---request-5">Example - Request</a></li>
+<li><a href="#example---response-6">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-all-users-in-a-group">Getting all users in a group</a><ul>
+<li><a href="#request-uri-7">Request URI</a></li>
+<li><a href="#parameters-7">Parameters</a></li>
+<li><a href="#example---request-6">Example - Request</a></li>
+<li><a href="#example---response-7">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#group-properties">Group properties</a><ul>
+<li><a href="#general-properties">General properties</a></li>
+<li><a href="#set-properties">Set properties</a></li>
+<li><a href="#collections">Collections</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="group">Group</h1>
+<p>A group entity organizes users into a group. Using Apache Usergrid APIs you can create, retrieve, update, or delete a group. You can also add or delete a user to or from a group.</p>
+<p>See <a href="#group_properties">Group entity properties</a> for a list of the system-defined properties for group entities. In addition, you can create group properties specific to your application.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-a-new-group">Creating a new group</h2>
+<p>Use the POST method to create a new group. Groups use paths to indicate their unique names. This allows you to create group hierarchies by using slashes. For this reason, you need to specify a path property for a new group.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /{org_id}/{app_id}/groups</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_group">cURL</a></li>
+<li><a href="#javascript_create_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_group">Ruby</a></li>
+<li><a href="#nodejs_create_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups" -d '{"path":"mynewgroup"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups',
+    body:{ path:'mynewgroup' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups'].post path: 'mynewgroup'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups',
+    body:{ path:'mynewgroup' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+"action": "post",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066016571,
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+ ],
+"timestamp": 1331066016563,
+"duration": 35,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="adding-a-user-to-a-group">Adding a user to a group</h2>
+<p>Use the POST method to add a user to a group. If the named group does not yet exist, an error message is returned.</p>
+<h3 id="request-uri-1">Request URI</h3>
+<p>POST /{org_id}/{app_id}/groups/{uuid|groupname}/users/{uuid|username}</p>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or username of user</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-1">Example - Request</h3>
+<ul>
+<li><a href="#curl_add_user">cURL</a></li>
+<li><a href="#javascript_add_user">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_add_user">Ruby</a></li>
+<li><a href="#nodejs_add_user">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mynewgroup/users/john.doe"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup/users/john.doe'].post nil</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-1">Example - Response</h3>
+<pre><code>{
+"action": "post",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+"entities": [
+      {
+        "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+        "type": "user",
+        "nanme": "John Doe",
+        "created": 1327517852364015,
+        "modified": 1327517852364015,
+        "activated": true,
+        "email": "john.doe@mail.com",
+        "metadata": {
+          "connecting": {
+            "owners":   "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+             },
+          "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+          "sets": {
+            "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+            "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+             },
+          "collections": {
+            "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+            "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+            "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+            "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+            "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+            "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+            "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+             }
+        },
+        "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+        "username": "john.doe"
+      }
+   ],
+   "timestamp": 1331066031380,
+   "duration": 64,
+   "organization" : "my-org",
+   "applicationName": "my-app"
+}</code></pre>
+<h2 id="getting-a-group">Getting a group</h2>
+<p>Use the GET method to retrieve a group.</p>
+<h3 id="request-uri-2">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}</p>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-2">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group">cURL</a></li>
+<li><a href="#javascript_get_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group">Ruby</a></li>
+<li><a href="#nodejs_get_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mynewgroup"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+user = app['mynewgroup'].entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-2">Example - Response</h3>
+<pre><code>{
+"action": "get",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+      "_": [
+        "1331066049869"
+      ]
+},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066016571,
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066050106,
+"duration": 18,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="updating-a-group">Updating a group</h2>
+<p>Use the PUT method to update a group.</p>
+<h3 id="request-uri-3">Request URI</h3>
+<p>PUT /{org_id}{app_id}/groups/{uuid|groupname} {request body}</p>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">request body</td>
+<td align="left">Set of entity properties</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-3">Example - Request</h3>
+<ul>
+<li><a href="#curl_update_group">cURL</a></li>
+<li><a href="#javascript_update_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_update_group">Ruby</a></li>
+<li><a href="#nodejs_update_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X PUT "https://api.usergrid.com/my-org/my-app/groups/mynewgroup" -d '("foo":"bar"}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'groups/mynewgroup',
+    body:{ foo:'bar' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+mynewgroup = app['groups/mynewgroup'].put foo: 'bar'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'groups/mynewgroup',
+    body:{ foo:'bar' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-3">Example - Response</h3>
+<pre><code>{
+"action": "put",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066092191,
+      "foo": "bar",
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066092178,
+"duration": 31,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="deleting-a-user-from-a-group">Deleting a user from a group</h2>
+<p>Use the DELETE method to delete a user from the specified group.</p>
+<h3 id="request-uri-4">Request URI</h3>
+<p>DELETE /{org_id}/{app_id}/groups/{uuid|groupname}/users/{uuid|username}</p>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string username</td>
+<td align="left">UUID or username of user to be deleted</td>
+</tr>
+</tbody>
+</table>
+<h3 id="curl-example---request">cURL Example - Request</h3>
+<ul>
+<li><a href="#curl_delete_user_group">cURL</a></li>
+<li><a href="#javascript_delete_user_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_user_group">Ruby</a></li>
+<li><a href="#nodejs_delete_user_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup/users/john.doe"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup/users/john.doe'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup/users/john.doe'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-4">Example - Response</h3>
+<pre><code>{
+"action": "delete",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+      "_": [
+        "1331066118009"
+      ]
+},
+"path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+"entities": [
+      {
+        "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+        "type": "user",
+        "name": "John Doe",
+        "created": 1327517852364015,
+        "modified": 1327517852364015,
+        "activated": true,
+        "email": "john.doe@mail.com",
+        "metadata": {
+          "connecting": {
+            "owners": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+          },
+          "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+          "sets": {
+            "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+            "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+          },
+          "collections": {
+            "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+            "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+            "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+            "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+            "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+            "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+            "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+          }
+        },
+        "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+        "username": "john.doe"
+      }
+],
+"timestamp": 1331066118193,
+"duration": 236,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="deleting-a-group">Deleting a group</h2>
+<p>Use the DELETE method to delete a group.</p>
+<h3 id="request-uri-5">Request URI</h3>
+<p>DELETE /{org_id}/{app_id}/groups/{uuid|groupname}</p>
+<h3 id="parameters-5">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-4">Example - Request</h3>
+<ul>
+<li><a href="#curl_delete_group">cURL</a></li>
+<li><a href="#javascript_delete_group">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_group">Ruby</a></li>
+<li><a href="#nodejs_delete_group">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X DELETE "https://api.usergrid.com//my-org/my-app/groups/mynewgroup"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+app['groups/mynewgroup'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'groups/mynewgroup'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-5">Example - Response</h3>
+<pre><code>{
+"action": "delete",
+"application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+"params": {
+    "_": [
+      "1331066144280"
+    ]
+},
+"path": "/groups",
+"uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups",
+
+"entities": [
+    {
+      "uuid": "a668717b-67cb-11e1-8223-12313d14bde7",
+      "type": "group",
+      "created": 1331066016571,
+      "modified": 1331066092191,
+      "foo": "bar",
+      "metadata": {
+        "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7",
+        "sets": {
+          "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/rolenames",
+          "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/permissions"
+        },
+        "collections": {
+          "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/activities",
+          "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/feed",
+          "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/roles",
+          "users": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users"
+        }
+      },
+      "path": "mynewgroup"
+    }
+],
+"timestamp": 1331066144462,
+"duration": 302,
+"organization" : "my-org",
+"applicationName": "my-app"
+}</code></pre>
+<h2 id="getting-a-groups-feed">Getting a group’s feed</h2>
+<p>Use the GET method to retrieve the feed for a group. This gets a list of all the activities that have been posted to this group, that is, the activities for which this group has a relationship (owns).</p>
+<h3 id="request-uri-6">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/feed</p>
+<h3 id="parameters-6">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-5">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_feed">cURL</a></li>
+<li><a href="#javascript_get_group_feed">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_feed">Ruby</a></li>
+<li><a href="#nodejs_get_group_feed">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+activities = app['groups/mygroup/feed'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-6">Example - Response</h3>
+<pre><code>{
+    "action": "get",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params":  {},
+    "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+    "entities":  [
+       {
+        "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+        "type": "activity",
+        "created": 1353952903811,
+        "modified": 1353952903811,
+        "actor":  {
+          "displayName": "John Doe",
+          "image":  {
+            "duration": 0,
+            "height": 80,
+            "url": "http://www.gravatar.com/avatar/",
+            "width": 80
+          },
+          "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email": "john.doe@gmail.com",
+        "username": "john.doe"
+        },
+        "content": "Hello World!",
+        "metadata":  {
+          "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+          "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+        },
+        "published": 1353952903811,
+        "verb": "post"
+      }
+    ],
+  "timestamp": 1353953272756,
+  "duration": 29,
+  "organization": "my-org",
+  "applicationName": "my-app"</code></pre>
+<h2 id="getting-all-users-in-a-group">Getting all users in a group</h2>
+<p>Use the GET method to retrieve all the users in a group.</p>
+<h3 id="request-uri-7">Request URI</h3>
+<p>GET /{org_id}/{app_id}/groups/{uuid|groupname}/users</p>
+<h3 id="parameters-7">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">arg uuid|string org_id</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">arg uuid|string app_id</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">arg uuid|string groupname</td>
+<td align="left">UUID or name of the group</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request-6">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_group_users">cURL</a></li>
+<li><a href="#javascript_get_group_users">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_group_users">Ruby</a></li>
+<li><a href="#nodejs_get_group_users">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/users"</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+activities = app['groups/mygroup/users'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'groups/mygroup/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response-7">Example - Response</h3>
+<pre><code>{
+  "action" : "get",
+  "application" : "e7127751-6985-11e2-8078-02e81aeb2129",
+  "params" : { },
+  "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users",
+  "uri" : "http://api.usergrid.com/myorg/sandbox/groups/d20976ff-802f-11e2-b690-02e81ae61238/users",
+  "entities" : [ {
+    "uuid" : "cd789b00-698b-11e2-a6e3-02e81ae236e9",
+    "type" : "user",
+    "name" : "barney",
+    "created" : 1359405994314,
+    "modified" : 1361894320470,
+    "activated" : true,
+    "email" : "barney@apigee.com",
+    "metadata" : {
+      "path" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9",
+      "sets" : {
+        "rolenames" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/rolenames",
+        "permissions" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/permissions"
+      },
+      "collections" : {
+        "activities" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/activities",
+        "devices" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/devices",
+        "feed" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/feed",
+        "groups" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/groups",
+        "roles" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/roles",
+        "following" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/following",
+        "followers" : "/groups/d20976ff-802f-11e2-b690-02e81ae66238/users/cd789b00-698b-11e2-a6e3-02e81aeb26e9/followers"
+      }
+    },
+    "name" : "barney",
+    "picture" : "http://www.gravatar.com/avatar/00767101f6b4f2cf5d02ed510dbcf0b4",
+    "test" : "fred",
+    "username" : "barney"
+  } ],
+  "timestamp" : 1361903248398,
+  "duration" : 24,
+  "organization" : "myorg",
+  "applicationName" : "sandbox"
+}</code></pre>
+<h2 id="group-properties">Group properties</h2>
+<p>The following are the system-defined properties for group entities. The system-defined properties are reserved. You cannot use these names to create other properties for a group entity. In addition the groups name is reserved for the group collection — you can’t use it to name another collection.</p>
+<p>The look-up properties for the entities of type group are UUID and path, that is, you can use the uuid or path property to reference a group in an API call. However, you can search on a group using any property of the group entity. See <a href="/queries-and-parameters">Queries and parameters</a> for details on searching.</p>
+<h3 id="general-properties">General properties</h3>
+<p>Groups have the following general properties.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Group’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">Type of entity, in this case “user”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">path</td>
+<td align="left">string</td>
+<td align="left">Valid slash-delimited group path (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">title</td>
+<td align="left">string</td>
+<td align="left">Display name</td>
+</tr>
+</tbody>
+</table>
+<h3 id="set-properties">Set properties</h3>
+<p>Groups have the following set properties.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">connections</td>
+<td align="left">string</td>
+<td align="left">Set of connection types (e.g., likes)</td>
+</tr>
+<tr class="even">
+<td align="left">rolenames</td>
+<td align="left">string</td>
+<td align="left">Set of roles assigned to a group</td>
+</tr>
+<tr class="odd">
+<td align="left">credentials</td>
+<td align="left">string</td>
+<td align="left">Set of group credentials</td>
+</tr>
+</tbody>
+</table>
+<h3 id="collections">Collections</h3>
+<p>Groups have the following collections.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users in the group</td>
+</tr>
+<tr class="even">
+<td align="left">activities</td>
+<td align="left">activity</td>
+<td align="left">Collection of activities a user has performed</td>
+</tr>
+<tr class="odd">
+<td align="left">feed</td>
+<td align="left">activity</td>
+<td align="left">Inbox of activity notifications a group has received</td>
+</tr>
+<tr class="even">
+<td align="left">roles</td>
+<td align="left">role</td>
+<td align="left">Set of roles to which a group belongs</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/group 2.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[11/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/facebook-sign/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/facebook-sign/index.html b/content/publish/docs/facebook-sign/index.html
new file mode 100644
index 0000000..e8e4488
--- /dev/null
+++ b/content/publish/docs/facebook-sign/index.html
@@ -0,0 +1,400 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Facebook sign in</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Facebook sign in</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/facebook-sign.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#facebook-sign-in">Facebook sign in</a><ul>
+<li>
+<a href="#facebook-login-example">Facebook login example</a><ul>
+<li><a href="#step-1-create-a-facebook-app">Step 1: Create a Facebook app</a></li>
+<li><a href="#step-2-invoke-the-facebook-oauth-dialog">Step 2: Invoke the Facebook OAuth dialog</a></li>
+<li><a href="#step-3-add-the-javascript-sdk-for-facebook">Step 3: Add the JavaScript SDK for Facebook</a></li>
+<li><a href="#step-4.-setup-fb.login">Step 4. Setup FB.login</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="facebook-sign-in">Facebook sign in</h1>
+<p>You can authenticate your Apache Usergrid requests by logging into Facebook. To access Apache Usergrid resources, you need to provide an access token with each request (unless you use the sandbox app). You can get an access token by connecting to an appropriate web service endpoint and providing the correct client credentials — this is further described in <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a>. However, you can also obtain an access token by logging into Facebook.</p>
+<p>To enable authentication to Apache Usergrid through Facebook, do the following in your app:</p>
+<ol style="list-style-type: decimal">
+<li>Make a login call to the Facebook API (do this using the <a href="https://developers.facebook.com/docs/sdks/">Facebook SDK</a> or <a href="https://developers.facebook.com/docs/facebook-login/">API</a>). If the login succeeds, a Facebook access token is returned.</li>
+<li>
+<p>Send the Facebook access token to Apache Usergrid. If the Facebook access token is valid and the user does not already exist in App Services, Apache Usergrid provisions a new Apache Usergrid user. It also returns an Apache Usergrid access token, which you can use for subsequent Apache Usergrid API calls. Behind the scenes, Apache Usergrid uses the Facebook access token to retrieve the user’s profile information from Facebook.</p>
+<p>If the Facebook access token is invalid, Facebook returns an OAuth authentication error, and the login does not succeed.</p>
+</li>
+</ol>
+<p>The request to authenticate to Apache Usergrid using a Facebook access token is:</p>
+<pre><code>GET https://api.usergrid.com/{my_org}/{my_app}/auth/facebook?fb_access_token={fb_access_token}</code></pre>
+<p>where:</p>
+<p>{my_org} is the organization UUID or organization name.<br>{my_app} is the application UUID or application name.<br>{fb_access_token} is the Facebook access token.</p>
+<h2 id="facebook-login-example">Facebook login example</h2>
+<p>The <a href="https://developers.facebook.com/docs/technical-guides/login/">Facebook technical guides for login</a> present detailed information on how to add Facebook login to your app. Instructions are provided for JavaScript, iOS, and Android.</p>
+<p>In brief, here are the steps for JavaScript. You can see these steps implemented in the Facebook login example packaged with the JavaScript SDK for Apache Usergrid (which you can download in <a href="https://github.com/apigee/usergrid-javascript-sdk/archive/master.zip">ZIP</a> format or <a href="https://github.com/apigee/usergrid-javascript-sdk/archive/master.tar.gz">tar.gz</a> format). The Facebook login example is in the /examples/facebook directory of the extracted download. The code example snippets shown below are taken from the Facebook login example.</p>
+<h3 id="step-1-create-a-facebook-app">Step 1: Create a Facebook app</h3>
+<p>Create a new app on the <a href="https://developers.facebook.com/apps/">Facebook App Dashboard</a>. Enter your app’s basic information. Once created, note the app ID shown at the top of the dashboard page.</p>
+<h3 id="step-2-invoke-the-facebook-oauth-dialog">Step 2: Invoke the Facebook OAuth dialog</h3>
+<p>Invoke the Facebook OAuth Dialog. To do that, redirect the user’s browser to a URL by inserting the following Javascript code after the opening &lt;body&gt; tag in your app’s HTML file:</p>
+<pre><code>https://www.facebook.com/dialog/oauth/?
+    client_id={YOUR_APP_ID}
+    &amp;redirect_uri={YOUR_REDIRECT_URL}
+    &amp;state={YOUR_STATE_VALUE}
+    &amp;scope={COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES}
+    &amp;response_type={YOUR_RESPONSE_TYPE}</code></pre>
+<p>where:</p>
+<p>{YOUR_APP_ID} is the app ID.<br>{YOUR_REDIRECT_URL} is the application UUID or application name.<br>{YOUR_STATE_VALUE} is a unique string used to maintain application state between the request and callback.<br>{COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES} is a comma separated list of permission names which you would like the user to grant your application.<br>{YOUR_RESPONSE_TYPE}is the requested response type, either code or token. Defaults to code. Set the response type to token. With the response type set to token, the Dialog’s response will include an OAuth user access token in the fragment of the URL the user is redirected to, as per the client-side authentication flow.</p>
+<p>Here is how it’s done in the Facebook login example:</p>
+<pre><code>var apiKey = $("#api-key").val();
+var location = window.location.protocol + '//' + window.location.host;
+var path = window.location.pathname;
+
+var link = "https://www.facebook.com/dialog/oauth?client_id=";
+link += apiKey;
+link += "&amp;redirect_uri=";
+link += location+path
+link += "&amp;scope&amp;COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES&amp;response_type=token";
+
+//now forward the user to facebook
+window.location = link;</code></pre>
+<p>Notice that the response type is set to token. As a result, a Facebook access token will be appended to the URL to which the user is redirected.</p>
+<h3 id="step-3-add-the-javascript-sdk-for-facebook">Step 3: Add the JavaScript SDK for Facebook</h3>
+<p>Add the following Javascript SDK initialization code after the code that invokes the Facebook OAuth Dialog. The code will load and initialize the JavaScript SDK in your HTML page. Replace YOUR_APP_ID with the App ID noted in Step 1, and WWW.YOUR_DOMAIN.COM with your own domain.</p>
+<pre><code>window.fbAsyncInit = function() {
+    FB.init({
+      appId      : 'YOUR_APP_ID', // App ID
+      channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
+      status     : true, // check login status
+      cookie     : true, // enable cookies to allow the server to access the session
+      xfbml      : true  // parse XFBML
+    });</code></pre>
+<p>Here is how the window.fbAsynchInit() function is implemented in the Facebook login example:</p>
+<pre><code>//load up the facebook api sdk
+  window.fbAsyncInit = function() {
+    FB.init({
+      appId      : '308790195893570', // App ID
+      channelUrl : '//usergridsdk.dev//examples/channel.html', // Channel File
+      status     : true, // check login status
+      cookie     : true, // enable cookies to allow the server to access the session
+      xfbml      : true  // parse XFBML
+    });
+  };</code></pre>
+<h3 id="step-4.-setup-fb.login">Step 4. Setup FB.login</h3>
+<p>Whenever a user is either not logged into Facebook or not authorized for an app, it is useful to prompt them with the relevant dialog. The FB.login() Javascript SDK function automatically displays the correct one to the user.</p>
+<p>To integrate FB.login()Fwindow.fbAsyncInit() function in your existing code:</p>
+<pre><code>function login() {
+    FB.login(function(response) {
+        if (response.authResponse) {
+            // connected
+        } else {
+            // cancelled
+        }
+    });
+}</code></pre>
+<p>Here is how window.fbAsynchInit()FB.login() is implemented in the Facebook login example:</p>
+<pre><code>function login(facebookAccessToken) {
+    client.loginFacebook(facebookAccessToken, function(err, response){
+      var output = JSON.stringify(response, null, 2);
+      if (err) {
+        var html = '&lt;pre&gt;Oops!  There was an error logging you in. \r\n\r\n';
+        html += 'Error: \r\n' + output+'&lt;/pre&gt;';
+      } else {
+        var html = '&lt;pre&gt;Hurray!  You have been logged in. \r\n\r\n';
+        html += 'Facebook Token: ' + '\r\n' + facebookAccessToken + '\r\n\r\n';
+        html += 'Facebook Profile data stored in Usergrid: \r\n' + output+'&lt;/pre&gt;';
+      }
+      $('#facebook-status').html(html);
+    })
+  }</code></pre>
+<p>The client.loginFacebook() function is provided by the Apache Usergrid JavaScript SDK. It uses the Facebook auth token to obtain an App Services auth token. If the Facebook access token is valid and the user does not already exist in Apache Usergrid, the function creates a user entity for the user. It also uses the Facebook access token to retrieve the user’s profile information from Facebook.</p>
+<p>Here is what the client.loginFacebook() function looks like:</p>
+<pre><code>Usergrid.Client.prototype.loginFacebook = function (facebookToken, callback) {
+  var self = this;
+  var options = {
+    method:'GET',
+    endpoint:'auth/facebook',
+    qs:{
+      fb_access_token: facebookToken
+    }
+  };
+  this.request(options, function(err, data) {
+    var user = {};
+    if (err &amp;&amp; self.logging) {
+      console.log('error trying to log user in');
+    } else {
+      user = new Usergrid.Entity('users', data.user);
+      self.setToken(data.access_token);
+    }
+    if (typeof(callback) === 'function') {
+      callback(err, data, user);
+    }
+  });
+}</code></pre>
+<p>Notice that the function also returns an Apache Usergrid access token, which you can use for subsequent Apache Usergrid API calls.</p>
+<p>Remember to create a client for your app, which is the main entry point to the JavaScript SDK for Apache Usergrid. You need to do this before you can use the SDK. Here’s the code to create a client:</p>
+<pre><code>var client = new Usergrid.Client({
+    orgName:'yourorgname',
+    appName:'yourappname',
+    logging: true, //optional - turn on logging, off by default
+    buildCurl: true //optional - turn on curl commands, off by default
+});</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/facebook-sign.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/features/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/features/index.html b/content/publish/docs/features/index.html
new file mode 100644
index 0000000..b1d657e
--- /dev/null
+++ b/content/publish/docs/features/index.html
@@ -0,0 +1,342 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Apache Usergrid Features</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Apache Usergrid Features</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/features.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#apache-usergrid-features">Apache Usergrid Features</a><ul>
+<li>
+<a href="#data-storage-management">Data storage &amp; management</a><ul>
+<li><a href="#application-data">Application data</a></li>
+<li><a href="#files-assets">Files &amp; assets</a></li>
+<li><a href="#flexible-data-querying">Flexible data querying</a></li>
+</ul>
+</li>
+<li>
+<a href="#social">Social</a><ul>
+<li><a href="#entity-relationships">Entity relationships</a></li>
+<li><a href="#activity-streams">Activity streams</a></li>
+</ul>
+</li>
+<li>
+<a href="#user-management">User management</a><ul>
+<li><a href="#registration-and-login">Registration and login</a></li>
+<li><a href="#roles-permissions">Roles &amp; permissions</a></li>
+<li><a href="#groups">Groups</a></li>
+<li><a href="#third-party-authentication">Third-party authentication</a></li>
+</ul>
+</li>
+<li><a href="#geolocation">Geolocation</a></li>
+<li><a href="#push-notifications">Push notifications</a></li>
+<li><a href="#configuration-management">Configuration management</a></li>
+<li><a href="#error-performance-monitoring">Error &amp; performance monitoring</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="apache-usergrid-features">Apache Usergrid Features</h1>
+<p>Apache Usergrid is a backend-as-a-service (BaaS) solution that enables you to quickly integrate valuable features into your app, including social graphs, user management, data storage, push notifications, performance monitoring, and more.</p>
+<p>Using Apache Usergrid, you can set up your own cloud-based data platform in minutes instead of months – no server-side coding or back-end development needed. This allows your team to focus on developing the rich features and user experience that truly differentiate your app, rather than the time-consuming details of implementing core back-end services and infrastructure.</p>
+<h2 id="data-storage-management">Data storage &amp; management</h2>
+<h3 id="application-data">Application data</h3>
+<p>At the core of Apache Usergrid is a flexible platform that can store any type of application data, from simple records like a catalog of books to complex associations like user relationships. No matter what type of data drives your app, you can store it in Apache Usergrid infrastructure as collections of data entities and immediately perform complex queries or full-text searches on any field. You can also create custom entities with custom properties, giving you the ability to store data and context in a way that makes sense for your app.</p>
+<p>To learn more about entities and collections, see <a href="/app-services-data-model-1">Apache Usergrid Data model</a>.</p>
+<p>For a complete list of default data entities available in Apache Usergrid, see <a href="/default-data-entities">Default Data Entities</a>.</p>
+<h3 id="files-assets">Files &amp; assets</h3>
+<p>Images, video, and audio are key components of a great app experience. With Apache Usergrid, you can upload and retrieve binary objects from the same data store as the rest of your application data, eliminating the need to set up content delivery networks (CDNs) and easing implementation. We handle all the back-end details that keep your content quickly accessible.</p>
+<p>To learn more about files and asset storage, see <a href="/uploading-files-and-assets">Uploading files and assets</a>.</p>
+<h3 id="flexible-data-querying">Flexible data querying</h3>
+<p>One of Apache Usergrid’ most powerful features is the ability to perform SQL-style queries and full-text searches on data entities, as well as their properties. This lets you quickly retrieve specific data entities based on multiple criteria, then utilize that data to power social features, target push notifications, perform user analysis, and more.</p>
+<p>Learn more about querying app data, see <a href="/app-services-data-query-overview">Apache Usergrid data query overview</a>.</p>
+<h2 id="social">Social</h2>
+<h3 id="entity-relationships">Entity relationships</h3>
+<p>With Apache Usergrid you can create relationships between data entities to help build features, improve user experience, and contextualize data. For example, you might associate a user with their devices to capture valuable geolocation data, create relationships between users to build social graphs, or implement popular features such as activity streams.</p>
+<p>To learn more about entity relationships, see <a href="/entity-relationships">Entity relationships</a>.</p>
+<h3 id="activity-streams">Activity streams</h3>
+<p>A key aspect of social networking apps is the ability to provide and publish data streams of user actions, such as ongoing lists of comments, activities, and tweets. Apache Usergrid simplifies management and routing of these data streams by providing an activity entity that is specifically designed to automatically create a relationship between activities and the user who created them.</p>
+<p>To learn more about activities and activity feeds, see <a href="/activity">Activity</a>.</p>
+<h2 id="user-management">User management</h2>
+<h3 id="registration-and-login">Registration and login</h3>
+<p>Apache Usergrid makes it easy to add and manage users by providing the core services necessary to handle secure registration and log in, including OAuth 2.0-compliant client authentication. In addition, any number of default or custom data entities and properties can be associated with a user entity to create complete user profiles.</p>
+<p>To learn more about user management, see <a href="/user">User</a>.</p>
+<p>To learn more about authentication, see <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a>.</p>
+<h3 id="roles-permissions">Roles &amp; permissions</h3>
+<p>Applications often require the ability to configure fine-grain control of user access to data, features and functionality. Apache Usergrid solves the implementation details of user access with roles and permissions. Simply create roles that represent user types or access levels, such as Administrator, then assign the necessary permissions to that role. With a single API call, you can then associate your roles with any user or group of users.</p>
+<p>To learn more about user roles and permissions, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</p>
+<h3 id="groups">Groups</h3>
+<p>Groups are a flexible way to organize your users based on any number of criteria. For example, you might group users based on interests or location to more effectively deliver relevant content, target offers, or customize campaigns. You can also take advantage of the groups entity to enable group-based social networking activities, such as allowing your users to create private information feeds or circles of friends.</p>
+<p>To learn more about groups, see <a href="/group">Group</a>.</p>
+<h3 id="third-party-authentication">Third-party authentication</h3>
+<p>In addition to supporting user management and OAuth-based login for your app, Apache Usergrid also makes it easy to integrate third-party authentication through such popular services as Facebook, Twitter and other OAuth-enabled accounts. Providing third-party sign-in can improve user experience, while increasing adoption, giving you access to valuable information from social networks and services.</p>
+<p>To learn more about using third-party sign-in, see <a href="/facebook-sign">Facebook sign in</a>.</p>
+<h2 id="geolocation">Geolocation</h2>
+<p>The Apache Usergrid device entity allows you to capture geolocation data from your users’ GPS-enabled devices to more effectively target campaigns, push notifications, offers and more. Geolocation also gives you an important data point for contextualizing and analyzing trends and user behavior.</p>
+<p>To learn more about geolocation, see <a href="/geolocation">Geolocation</a>.</p>
+<h2 id="push-notifications">Push notifications</h2>
+<p>Push notifications are the most effective way to engage your users with relevant content, and thanks to Apache Usergrid, implementing them can be done in minutes. Simply register your app and your user’s devices with a notification provider, such as Apple Push Notification Service or Google Cloud Messaging, then use the Apache Usergrid notification entity to send millions of push notifications a month at no cost. When used in conjunction with queries of user and application data, push notifications become a powerful tool for leveraging user data, ensuring relevancy and driving engagement.</p>
+<p>To learn more about push notifications, see <a href="/push-notifications-overview">Push notifications overview</a>.</p>
+<h2 id="configuration-management">Configuration management</h2>
+<p>By giving you the ability to push configuration changes directly to users’ devices, Apache Usergrid lets you test and deliver bug fixes and performance improvements in real time. Remote configuration management can even be used to push changes to a subset of all users, enabling A/B testing of fixes, so that you can monitor and collect data to ensure your updates perform as intended before they are pushed to your entire user base.</p>
+<p>To learn more about configuration management, see <a href="/configure-your-app">Configure your app</a>.</p>
+<h2 id="error-performance-monitoring">Error &amp; performance monitoring</h2>
+<p>One of the largest barriers to the success of an app can be the ability of developers to respond quickly and precisely to performance issues and bugs. Apache Usergrid includes data logging and visualization tools that let you monitor and analyze network performance, usage patterns, crash statistics and other key metrics, giving you the data necessary to quickly manage performance issues as they arise.</p>
+<p>To learn more about usage monitoring, see <a href="/monitor-your-app%E2%80%99s-use">Monitor your app’s use</a></p>
+<p>To learn more about error monitoring, see <a href="/get-alerted-crashes-and-critical-errors">Get alerted to crashes and critical errors</a></p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/features.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/folder/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/folder/index.html b/content/publish/docs/folder/index.html
new file mode 100644
index 0000000..7c9a90c
--- /dev/null
+++ b/content/publish/docs/folder/index.html
@@ -0,0 +1,341 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Folder</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Folder</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/folder.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#folder">Folder</a><ul>
+<li><a href="#folder-properties">Folder properties</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="folder">Folder</h1>
+<p>Folder entities are used primarily to organize content into a structure. For example, you can create a folders collection for media content, and within it have a ‘music’ folder for music content, and a ‘video’ folder for video content.</p>
+<p>Using Apache Usergrid APIs you can create, retrieve, update, delete, and query folder entities. See You do not have access to view this node for descriptions of these APIs.</p>
+<h2 id="folder-properties">Folder properties</h2>
+<p>The following are the system-defined properties for foldetr entities. You can create application-specific properties for a folder entity in addition to the system-defined properties. The system-defined properties are reserved. You cannot use these names to create other properties for a folder entity. In addition the folders name is reserved for the folders collection — you can’t use it to name another collection.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">the folder’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“folder”</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">Folder name (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="odd">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="even">
+<td align="left">owner</td>
+<td align="left">UUID</td>
+<td align="left">UUID of the folder’s owner (mandatory)</td>
+</tr>
+<tr class="odd">
+<td align="left">path</td>
+<td align="left">string</td>
+<td align="left">Relative path to the folder (mandatory)</td>
+</tr>
+</tbody>
+</table>
+<p>Folders have the following set properties.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Set</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">connections</td>
+<td align="left">string</td>
+<td align="left">set of connections for the folder</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/folder.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[32/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_300.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_300.png b/content/content/img/usergrid_300.png
new file mode 100644
index 0000000..3ebda90
Binary files /dev/null and b/content/content/img/usergrid_300.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_300_transparent.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_300_transparent.png b/content/content/img/usergrid_300_transparent.png
new file mode 100644
index 0000000..f5ab642
Binary files /dev/null and b/content/content/img/usergrid_300_transparent.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_400.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_400.png b/content/content/img/usergrid_400.png
new file mode 100644
index 0000000..01435ea
Binary files /dev/null and b/content/content/img/usergrid_400.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_800.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_800.png b/content/content/img/usergrid_800.png
new file mode 100644
index 0000000..a30fc18
Binary files /dev/null and b/content/content/img/usergrid_800.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_card.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_card.png b/content/content/img/usergrid_card.png
new file mode 100644
index 0000000..f111f2e
Binary files /dev/null and b/content/content/img/usergrid_card.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo.png b/content/content/img/usergrid_logo.png
new file mode 100644
index 0000000..0532915
Binary files /dev/null and b/content/content/img/usergrid_logo.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_205_50.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_205_50.png b/content/content/img/usergrid_logo_205_50.png
new file mode 100644
index 0000000..4af8807
Binary files /dev/null and b/content/content/img/usergrid_logo_205_50.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_260_50.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_260_50.png b/content/content/img/usergrid_logo_260_50.png
new file mode 100644
index 0000000..96b4998
Binary files /dev/null and b/content/content/img/usergrid_logo_260_50.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_720.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_720.png b/content/content/img/usergrid_logo_720.png
new file mode 100644
index 0000000..c8cbf7d
Binary files /dev/null and b/content/content/img/usergrid_logo_720.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_720p.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_720p.png b/content/content/img/usergrid_logo_720p.png
new file mode 100644
index 0000000..6e88a4d
Binary files /dev/null and b/content/content/img/usergrid_logo_720p.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_900_200.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_900_200.png b/content/content/img/usergrid_logo_900_200.png
new file mode 100644
index 0000000..4274116
Binary files /dev/null and b/content/content/img/usergrid_logo_900_200.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_logo_white.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_logo_white.png b/content/content/img/usergrid_logo_white.png
new file mode 100644
index 0000000..f73299b
Binary files /dev/null and b/content/content/img/usergrid_logo_white.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_128.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_128.png b/content/content/img/usergrid_profile_128.png
new file mode 100644
index 0000000..71b792a
Binary files /dev/null and b/content/content/img/usergrid_profile_128.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_256.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_256.png b/content/content/img/usergrid_profile_256.png
new file mode 100644
index 0000000..b27f903
Binary files /dev/null and b/content/content/img/usergrid_profile_256.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_256_white.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_256_white.png b/content/content/img/usergrid_profile_256_white.png
new file mode 100644
index 0000000..fc3fc4b
Binary files /dev/null and b/content/content/img/usergrid_profile_256_white.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_512_margins.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_512_margins.png b/content/content/img/usergrid_profile_512_margins.png
new file mode 100644
index 0000000..42a9934
Binary files /dev/null and b/content/content/img/usergrid_profile_512_margins.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_64_white.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_64_white.png b/content/content/img/usergrid_profile_64_white.png
new file mode 100644
index 0000000..5a89767
Binary files /dev/null and b/content/content/img/usergrid_profile_64_white.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_profile_background.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_profile_background.png b/content/content/img/usergrid_profile_background.png
new file mode 100644
index 0000000..741d156
Binary files /dev/null and b/content/content/img/usergrid_profile_background.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_screencast_bg.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_screencast_bg.png b/content/content/img/usergrid_screencast_bg.png
new file mode 100644
index 0000000..6179bca
Binary files /dev/null and b/content/content/img/usergrid_screencast_bg.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_small_100.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_small_100.png b/content/content/img/usergrid_small_100.png
new file mode 100644
index 0000000..c06e7e5
Binary files /dev/null and b/content/content/img/usergrid_small_100.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_wiki.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_wiki.png b/content/content/img/usergrid_wiki.png
new file mode 100644
index 0000000..f443959
Binary files /dev/null and b/content/content/img/usergrid_wiki.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/yourkit.jpeg
----------------------------------------------------------------------
diff --git a/content/content/img/yourkit.jpeg b/content/content/img/yourkit.jpeg
new file mode 100644
index 0000000..4a53b77
Binary files /dev/null and b/content/content/img/yourkit.jpeg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/index.html
----------------------------------------------------------------------
diff --git a/content/content/index.html b/content/content/index.html
new file mode 100644
index 0000000..cc44555
--- /dev/null
+++ b/content/content/index.html
@@ -0,0 +1,97 @@
+---
+title: the BaaS not made for Hipsters
+---
+
+<section class="bf-masthead" id="content" role="main">
+    <div class="bf-masthead-bg">
+        <div class="container">
+            <img class="logo-title img-responsive hidden-xs" src="img/apache_usergrid_logo_white.png" />
+            <div class="text-container">
+                <h2 class="tagline">The BaaS Framework <em>you</em> run</h2>
+                <p class="description">Build Apps not Servers! Whether you need to support one App or a hundred, Usergrid is <em>your</em> backend. As easy as a LAMP stack, but built for mobile.
+                  Get Apps to production in record time and stop wasting cycles writing server-side code.<br/><br/>
+                  Complete SDKs for iOS, Android, HTML5/JS, Node.js, Ruby, Java, .NET, and PHP. Open source since 2011.<br/><br/><em>Currently undergoing incubation at the Apache Software Foundation</em></p>
+            </div>
+
+            <div class="btn-wrapper">
+                <iframe class="social-btn" src="/static/github-btn.html?user=apache&repo=incubator-usergrid&type=watch&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="85" height="30"></iframe>
+                <iframe class="social-btn" src="/static/github-btn.html?user=apache&repo=incubator-usergrid&type=fork&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="85" height="30"></iframe>
+                <!--<p><span class="or">or</span> <a href="#">Download Usergrid</a></p>-->
+            </div>
+
+        </div>
+    </div>
+</section>
+
+<section class="bf-features">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-4">
+                <div class="bf-icon-wrap"><i style="font-size:65px; vertical-align: -5px;" aria-hidden="true" class="icon-user"></i></div>
+                <h3>Users</h3>
+                <p>Sign up users, log in, reset passwords and more, in just one API call. You can put users in groups, assign roles or permissions, let users follow each other and access everything via OAuth 2.0, without writing a single line of server code.</p>
+            </div>
+            <div class="col-md-4">
+                <div class="bf-icon-wrap"><i style="font-size:65px; vertical-align: -5px;" aria-hidden="true" class="icon-hdd"></i></div>
+                <h3>Data</h3>
+                <p>If you can express it in JSON, we can store it! Underneath everything is stored in a standard Cassandra instance, but we’ve added the ability to retrieve data via an SQL-like syntax, manage collections and connections between entities.</p>
+            </div>
+            <div class="col-md-4">
+                <div class="bf-icon-wrap"><i aria-hidden="true" class="icon-picture"></i></div>
+                <h3>Files</h3>
+                <p>Our asset storage can handle anything from text files to videos of several terrabytes, with automatic content-detection and full URL access control. In the back, everything goes Amazon S3 or other preferred cloud file store.</p>
+            </div>
+        </div>
+        <div class="row">
+            <div class="col-md-4">
+                <div class="bf-icon-wrap" style="font-size:40px; vertical-align: 15px;"><i aria-hidden="true" class="icon-apple"></i> <i aria-hidden="true" class="icon-android"></i></div>
+                <h3>SDKs</h3>
+                <p>We have full SDKs for <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS</a>, <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android</a>, and <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/html5-javascript">HTML5/JS</a> but also <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">node.js</a>, <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails</a>, pure <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">pure Ruby</a>, server-side <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java</a>, <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">.NET / Windows</a> and <a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP</a>!</p>
+            </div>
+            <div class="col-md-4">
+                <div class="bf-icon-wrap"><span style="font-size:60px" aria-hidden="true" class="icon-road"></span></div>
+                <h3>Java-based</h3>
+                <p>We build on standard Java components, such as Jersey, Jackson, Apache Cassandra and Lucene. That means you get operational predictability, all the benefits of the JVM, and easy extensibility.</p>
+            </div>
+            <div class="col-md-4">
+                <div class="bf-icon-wrap"><i style="font-size:65px; vertical-align: -5px;" aria-hidden="true" class="icon-lock"></i></div>
+                <h3>Trusted</h3>
+                <p>Usergrid is deployed by <a href="https://baas.io/">Korea Telecom</a>, <a href="http://globo.com">Globo</a>, <a href="http://apigee.com">Apigee</a> and many Fortune 500 companies. Our biggest deployments have hundreds of nodes and handle millions of users.</p>
+            </div>
+        </div>
+    </div>
+
+    </div>
+</section>
+
+<section class="bf-questions">
+    <div class="container">
+            <div class="col-md-12 text-center cta">
+                Interested? You can <a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank" class="btn btn-inverse btn-lg">Try it on your Machine Now</a> <span class="avoidwrap">or&nbsp;<a href="/community/" class="btn btn-inverse btn-lg">Ask a Question on the Lists or at an Event Near You</a></span>
+            </div>
+    </div>
+</section
+
+<section class="bf-news">
+    <div class="container">
+
+        <div class="row">
+            <div class="col-md-12 text-left">
+                <h2>About the Project</h2>
+                <p>Apache Usergrid is currently undergoing Incubation at the Apache Software Foundation. It’s an open-source Backend-as-a-Service (“BaaS” or “mBaaS”) composed of an integrated distributed NoSQL database, application layer and client tier with SDKs for developers looking to rapidly build web and/or mobile applications. It provides elementary services (user registration & management, data storage, file storage, queues) and retrieval features (full text search, geolocation search, joins) to power common app features.</p>
+
+                <p>It is a multi-tenant system designed for deployment to public cloud environments (such as Amazon Web Services, Rackspace, etc.) or to run on traditional server infrastructures so that anyone can run their own private BaaS deployment.</p>
+
+                <p>For architects and back-end teams, it aims to provide a distributed, easily extendable, operationally predictable and highly scalable solution. For front-end developers, it aims to simplify the development process by enabling them to rapidly build and operate mobile and web applications without requiring backend expertise.</p>
+            </div>
+            <!--
+            <div class="col-md-4 text-left">
+                <h2>Recent Releases</h2>
+
+
+            </div>
+            -->
+        </div>
+
+    </div>
+</section>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/bootstrap.min.js
----------------------------------------------------------------------
diff --git a/content/content/js/bootstrap.min.js b/content/content/js/bootstrap.min.js
new file mode 100755
index 0000000..3137285
--- /dev/null
+++ b/content/content/js/bootstrap.min.js
@@ -0,0 +1,8 @@
+/**
+* Bootstrap v3.0.0 by @fat and @mdo
+* Copyright 2013 Twitter Inc.
+* Licensed under http://www.apache.org/licenses/LICENSE-2.0.
+*
+* Designed and built with all the love in the world by @mdo and @fat.
+*/
+if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefau
 ltPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.l
 ength){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this))
 .on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return th
 is.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,se
 tTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g)
 ,b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass
 ("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":
 "show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented(
 )||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b),f.trigger(d=a.Event("show.bs.dropdown")),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown"),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.clic
 k();var h=a("[role=menu] li:not(.divider):visible a",f);if(h.length){var i=h.index(h.filter(":focus"));38==b.keyCode&&i>0&&i--,40==b.keyCode&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()}}}};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),d=c.data("dropdown");d||c.data("dropdown",d=new f(this)),"string"==typeof b&&d[b].call(c)})},a.fn.dropdown.Constructor=f,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",e,f.prototype.toggle).on("keydown.bs.dropdown.data-api",e+", [role=menu]",f.prototype.keydown)}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.options=c,this.$element=a(b),this.$backdrop=this.isShown=null,this.options.remote&&this.$element.load(this.options.remote)};b.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},b.prototype.toggle=function(a){return th
 is[this.isShown?"hide":"show"](a)},b.prototype.show=function(b){var c=this,d=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(d),this.isShown||d.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.$element.on("click.dismiss.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var d=a.support.transition&&c.$element.hasClass("fade");c.$element.parent().length||c.$element.appendTo(document.body),c.$element.show(),d&&c.$element[0].offsetWidth,c.$element.addClass("in").attr("aria-hidden",!1),c.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:b});d?c.$element.find(".modal-dialog").one(a.support.transition.end,function(){c.$element.focus().trigger(e)}).emulateTransitionEnd(300):c.$element.focus().trigger(e)}))},b.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),a(document).off("focusin.bs.modal"),this.$eleme
 nt.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one(a.support.transition.end,a.proxy(this.hideModal,this)).emulateTransitionEnd(300):this.hideModal())},b.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.focus()},this))},b.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keyup.dismiss.bs.modal")},b.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.removeBackdrop(),a.$element.trigger("hidden.bs.modal")})},b.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},b.prototype.backdrop=function(b){var c=this.$element.hasClass("fade")?"fade"
 :"";if(this.isShown&&this.options.backdrop){var d=a.support.transition&&c;if(this.$backdrop=a('<div class="modal-backdrop '+c+'" />').appendTo(document.body),this.$element.on("click.dismiss.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.
 noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(window.jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.en
 abled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focus",i="hover"==g?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototyp
 e.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show),void 0):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide),void 0):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d="function"==typeof this.options.placement?this.options.placement.call(this,c[0],this.$ele
 ment[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m="body"==this.options.container?window.innerWidth:j.outerWidth(),n="body"==this.options.container?window.innerHeight:j.outerHeight(),o="body"==this.options.container?0:j.offset().left;d="bottom"==d&&g.top+g.height+i-l>n?"top":"top"==d&&g.top-l-i<0?"bottom":"right"==d&&g.right+h>m?"left":"left"==d&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10)
 ,h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;if("top"==b&&j!=f&&(c=!0,a.top=a.top+f-j),/bottom|top/.test(b)){var k=0;a.left<0&&(k=-2*a.left,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function b(){"in"!=c.hoverState&&d.detach()}var c=this,d=this.tip(),e=a.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(d.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d.one(a.support.transition.end,b).emulateTransitionEnd(150):b(),th
 is.$element.trigger("hidden.bs."+this.type),this)},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},"function"==typeof b.getBoundingClientRect?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},b.prototype.tip=function(){return this.$tip=this.$tip||a(
 this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof c&&c;e||d.data("bs.tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(window.jQuery),+function(a){"use strict";
 var b=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");b.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("functio
 n"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process(
 )}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+
 '[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f
 ),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQ
 uery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-
 d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/head.js
----------------------------------------------------------------------
diff --git a/content/content/js/head.js b/content/content/js/head.js
new file mode 100644
index 0000000..aa15cb8
--- /dev/null
+++ b/content/content/js/head.js
@@ -0,0 +1,708 @@
+// // the most simple case. load and execute single script without blocking.
+// head.js("/path/to/file.js");
+ 
+// // load a script and execute a function after it has been loaded
+// head.js("/path/to/file.js", function() {
+ 
+// });
+ 
+// // load files in parallel but execute them in sequence
+// head.js("file1.js", "file2.js", ... "fileN.js");
+ 
+// // execute function after all scripts have been loaded
+// head.js("file1.js", "file2.js", function() {
+ 
+// });
+ 
+// // files are loaded in parallel and executed in order they arrive
+// head.js("file1.js");
+// head.js("file2.js");
+// head.js("file3.js");
+ 
+// // the previous can also be written as
+// head.js("file1.js").js("file1.js").js("file3.js");
+
+
+
+
+
+/**
+    Head JS     The only script in your <HEAD>
+    Copyright   Tero Piirainen (tipiirai)
+    License     MIT / http://bit.ly/mit-license
+    Version     0.96
+
+    http://headjs.com
+*/
+(function(doc) {
+
+    var html = doc.documentElement,
+         conf = {
+            screens: [320, 480, 640, 768, 1024, 1280, 1440, 1680, 1920],
+            section: "-section",
+            page: "-page",
+            head: "head"
+         },
+         klass = [];
+
+
+    if (window.head_conf) {
+        for (var key in head_conf) {
+            if (head_conf[key] !== undefined) {
+                conf[key] = head_conf[key];
+            }
+        }
+    }
+
+    function pushClass(name) {
+        klass[klass.length] = name;
+    }
+
+    function removeClass(name) {
+        var re = new RegExp("\\b" + name + "\\b");
+        html.className = html.className.replace(re, '');
+    }
+
+    function each(arr, fn) {
+        for (var i = 0, arr_length = arr.length; i < arr_length; i++) {
+            fn.call(arr, arr[i], i);
+        }
+    }
+
+    // API
+    var api = window[conf.head] = function() {
+        api.ready.apply(null, arguments);
+    };
+
+    api.feature = function(key, enabled, queue) {
+
+        // internal: apply all classes
+        if (!key) {
+            html.className += ' ' + klass.join( ' ' );
+            klass = [];
+            return;
+        }
+
+        if (Object.prototype.toString.call(enabled) == '[object Function]') {
+            enabled = enabled.call();
+        }
+
+        pushClass((enabled ? '' : 'no-') + key);
+        api[key] = !!enabled;
+
+        // apply class to HTML element
+        if (!queue) {
+            removeClass('no-' + key);
+            removeClass(key);
+            api.feature();
+        }
+
+        return api;
+    };
+
+    // browser type & version
+    var ua = navigator.userAgent.toLowerCase();
+
+    ua = /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
+        /(opera)(?:.*version)?[ \/]([\w.]+)/.exec( ua ) ||
+        /(msie) ([\w.]+)/.exec( ua ) ||
+        !/compatible/.test( ua ) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec( ua ) || [];
+
+
+    if (ua[1] == 'msie') {
+        ua[1] = 'ie';
+        ua[2] = document.documentMode || ua[2];
+    }
+
+    pushClass(ua[1]);
+
+    api.browser = { version: ua[2] };
+    api.browser[ua[1]] = true;
+
+    // IE specific
+    if (api.browser.ie) {
+
+        pushClass("ie" + parseFloat(ua[2]));
+
+        // IE versions
+        for (var ver = 3; ver < 11; ver++) {
+            if (parseFloat(ua[2]) < ver) { pushClass("lt-ie" + ver); }
+        }
+
+        // HTML5 support
+        each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"), function(el) {
+            doc.createElement(el);
+        });
+                
+    }
+    
+
+    // CSS "router"
+    each(location.pathname.split("/"), function(el, i) {
+
+        if (this.length > 2 && this[i + 1] !== undefined) {
+            if (i) { pushClass(this.slice(1, i+1).join("-") + conf.section); }
+
+        } else {
+
+            // pageId
+            var id = el || "index", index = id.indexOf(".");
+            if (index > 0) { id = id.substring(0, index); }
+            html.id = id + conf.page;
+
+            // on root?
+            if (!i) { pushClass("root" + conf.section); }
+      }
+    });
+
+
+    // screen resolution: w-100, lt-480, lt-1024 ...
+    function screenSize() {
+        var w = window.outerWidth || html.clientWidth;
+
+        // remove earlier widths
+        html.className = html.className.replace(/ (w|lt)-\d+/g, "");
+
+        // add new ones
+        pushClass("w-" + Math.round(w / 100) * 100);
+
+        each(conf.screens, function(width) {
+            if (w <= width) { pushClass("lt-" + width); }
+        });
+
+        api.feature();
+    }
+
+    screenSize();
+    window.onresize = screenSize;
+
+    api.feature("js", true).feature();
+
+})(document);
+
+
+/**
+    Head JS     The only script in your <HEAD>
+    Copyright   Tero Piirainen (tipiirai)
+    License     MIT / http://bit.ly/mit-license
+    Version     0.96
+
+    http://headjs.com
+*/
+(function() {
+    /*
+        To add a new test:
+
+        head.feature("video", function() {
+            var tag = document.createElement('video');
+            return !!tag.canPlayType;
+        });
+
+        Good place to grab more tests
+
+        https://github.com/Modernizr/Modernizr/blob/master/modernizr.js
+    */
+
+
+    /* CSS modernizer */
+    var el = document.createElement("i"),
+         style = el.style,
+         prefs = ' -o- -moz- -ms- -webkit- -khtml- '.split(' '),
+         domPrefs = 'Webkit Moz O ms Khtml'.split(' '),
+
+         head_var = window.head_conf && head_conf.head || "head",
+         api = window[head_var];
+
+
+     // Thanks Paul Irish!
+    function testProps(props) {
+        for (var i in props) {
+            if (style[props[i]] !== undefined) {
+                return true;
+            }
+        }
+    }
+
+
+    function testAll(prop) {
+        var camel = prop.charAt(0).toUpperCase() + prop.substr(1),
+             props   = (prop + ' ' + domPrefs.join(camel + ' ') + camel).split(' ');
+
+        return !!testProps(props);
+    }
+
+    var tests = {
+
+        gradient: function() {
+            var s1 = 'background-image:',
+                 s2 = 'gradient(linear,left top,right bottom,from(#9f9),to(#fff));',
+                 s3 = 'linear-gradient(left top,#eee,#fff);';
+
+            style.cssText = (s1 + prefs.join(s2 + s1) + prefs.join(s3 + s1)).slice(0,-s1.length);
+            return !!style.backgroundImage;
+        },
+
+        rgba: function() {
+            style.cssText = "background-color:rgba(0,0,0,0.5)";
+            return !!style.backgroundColor;
+        },
+
+        opacity: function() {
+            return el.style.opacity === "";
+        },
+
+        textshadow: function() {
+            return style.textShadow === '';
+        },
+
+        multiplebgs: function() {
+            style.cssText = "background:url(//:),url(//:),red url(//:)";
+            return new RegExp("(url\\s*\\(.*?){3}").test(style.background);
+        },
+
+        boxshadow: function() {
+            return testAll("boxShadow");
+        },
+
+        borderimage: function() {
+            return testAll("borderImage");
+        },
+
+        borderradius: function() {
+            return testAll("borderRadius");
+        },
+
+        cssreflections: function() {
+            return testAll("boxReflect");
+        },
+
+        csstransforms: function() {
+            return testAll("transform");
+        },
+
+        csstransitions: function() {
+            return testAll("transition");
+        },
+
+        /*
+            font-face support. Uses browser sniffing but is synchronous.
+
+            http://paulirish.com/2009/font-face-feature-detection/
+        */
+        fontface: function() {
+            var ua = navigator.userAgent, parsed;
+
+            if (/*@cc_on@if(@_jscript_version>=5)!@end@*/0)
+                return true;
+                
+            if (parsed = ua.match(/Chrome\/(\d+\.\d+\.\d+\.\d+)/))
+                return parsed[1] >= '4.0.249.4' || 1 * parsed[1].split(".")[0] > 5;
+            if ((parsed = ua.match(/Safari\/(\d+\.\d+)/)) && !/iPhone/.test(ua))
+                return parsed[1] >= '525.13';
+            if (/Opera/.test({}.toString.call(window.opera)))
+                return opera.version() >= '10.00';
+            if (parsed = ua.match(/rv:(\d+\.\d+\.\d+)[^b].*Gecko\//))
+                return parsed[1] >= '1.9.1';
+
+            return false;
+        }
+    };
+
+    // queue features
+    for (var key in tests) {
+        if (tests[key]) {
+            api.feature(key, tests[key].call(), true);
+        }
+    }
+
+    // enable features at once
+    api.feature();
+
+})();
+
+
+/**
+    Head JS     The only script in your <HEAD>
+    Copyright   Tero Piirainen (tipiirai)
+    License     MIT / http://bit.ly/mit-license
+    Version     0.96
+
+    http://headjs.com
+*/
+(function(doc) {
+
+    var head = doc.documentElement,
+        isHeadReady,
+        isDomReady,
+        domWaiters = [],
+        queue = [],        // waiters for the "head ready" event
+        handlers = {},     // user functions waiting for events
+        scripts = {},      // loadable scripts in different states
+        isAsync = doc.createElement("script").async === true || "MozAppearance" in doc.documentElement.style || window.opera;
+
+
+    /*** public API ***/
+    var head_var = window.head_conf && head_conf.head || "head",
+         api = window[head_var] = (window[head_var] || function() { api.ready.apply(null, arguments); });
+
+    // states
+    var PRELOADED = 1,
+        PRELOADING = 2,
+        LOADING = 3,
+        LOADED = 4;
+
+
+    // Method 1: simply load and let browser take care of ordering
+    if (isAsync) {
+
+        api.js = function() {
+
+            var args = arguments,
+                 fn = args[args.length -1],
+                 els = {};
+
+            if (!isFunc(fn)) { fn = null; }
+
+            each(args, function(el, i) {
+
+                if (el != fn) {
+                    el = getScript(el);
+                    els[el.name] = el;
+
+                    load(el, fn && i == args.length -2 ? function() {
+                        if (allLoaded(els)) { one(fn); }
+
+                    } : null);
+                }
+            });
+
+            return api;
+        };
+
+
+    // Method 2: preload with text/cache hack
+    } else {
+
+        api.js = function() {
+
+            var args = arguments,
+                rest = [].slice.call(args, 1),
+                next = rest[0];
+
+            // wait for a while. immediate execution causes some browsers to ignore caching
+            if (!isHeadReady) {
+                queue.push(function()  {
+                    api.js.apply(null, args);
+                });
+                return api;
+            }
+
+            // multiple arguments
+            if (next) {
+
+                // load
+                each(rest, function(el) {
+                    if (!isFunc(el)) {
+                        preload(getScript(el));
+                    }
+                });
+
+                // execute
+                load(getScript(args[0]), isFunc(next) ? next : function() {
+                    api.js.apply(null, rest);
+                });
+
+
+            // single script
+            } else {
+                load(getScript(args[0]));
+            }
+
+            return api;
+        };
+    }
+
+    api.ready = function(key, fn) {
+
+        // DOM ready check: head.ready(document, function() { });
+        if (key == doc) {
+            if (isDomReady) { one(fn);  }
+            else { domWaiters.push(fn); }
+            return api;
+        }
+
+        // shift arguments
+        if (isFunc(key)) {
+            fn = key;
+            key = "ALL";
+        }    
+
+        // make sure arguments are sane
+        if (typeof key != 'string' || !isFunc(fn)) { return api; }
+
+        var script = scripts[key];
+        
+        // script already loaded --> execute and return
+        if (script && script.state == LOADED || key == 'ALL' && allLoaded() && isDomReady) {
+            one(fn);
+            return api;
+        }
+
+        var arr = handlers[key];
+        if (!arr) { arr = handlers[key] = [fn]; }
+        else { arr.push(fn); }
+        return api;
+    };
+
+
+    // perform this when DOM is ready
+    api.ready(doc, function() {
+
+        if (allLoaded()) {
+            each(handlers.ALL, function(fn) {
+                one(fn);
+            });
+        }
+
+        if (api.feature) {
+            api.feature("domloaded", true);
+        }
+    });
+
+
+    /*** private functions ***/
+    
+    
+    // call function once
+    function one(fn) {
+        if (fn._done) { return; }
+        fn();
+        fn._done = 1;
+    }
+
+
+    function toLabel(url) {
+        var els = url.split("/"),
+             name = els[els.length -1],
+             i = name.indexOf("?");
+
+        return i != -1 ? name.substring(0, i) : name;
+    }
+
+
+    function getScript(url) {
+
+        var script;
+
+        if (typeof url == 'object') {
+            for (var key in url) {
+                if (url[key]) {
+                    script = { name: key, url: url[key] };
+                }
+            }
+        } else {
+            script = { name: toLabel(url),  url: url };
+        }
+
+        var existing = scripts[script.name];
+        if (existing && existing.url === script.url) { return existing; }
+
+        scripts[script.name] = script;
+        return script;
+    }
+
+
+    function each(arr, fn) {
+        if (!arr) { return; }
+
+        // arguments special type
+        if (typeof arr == 'object') { arr = [].slice.call(arr); }
+
+        // do the job
+        for (var i = 0; i < arr.length; i++) {
+            fn.call(arr, arr[i], i);
+        }
+    }
+
+    function isFunc(el) {
+        return Object.prototype.toString.call(el) == '[object Function]';
+    }
+
+    function allLoaded(els) {
+
+        els = els || scripts;
+
+        var loaded;
+        
+        for (var name in els) {
+            if (els.hasOwnProperty(name) && els[name].state != LOADED) { return false; }
+            loaded = true;
+        }
+        
+        return loaded;
+    }
+
+
+    function onPreload(script) {
+        script.state = PRELOADED;
+
+        each(script.onpreload, function(el) {
+            el.call();
+        });
+    }
+
+    function preload(script, callback) {
+
+        if (script.state === undefined) {
+
+            script.state = PRELOADING;
+            script.onpreload = [];
+
+            scriptTag({ src: script.url, type: 'cache'}, function()  {
+                onPreload(script);
+            });
+        }
+    }
+
+    function load(script, callback) {
+
+        if (script.state == LOADED) {
+            return callback && callback();
+        }
+
+        if (script.state == LOADING) {
+            return api.ready(script.name, callback);
+        }
+
+        if (script.state == PRELOADING) {
+            return script.onpreload.push(function() {
+                load(script, callback);
+            });
+        }
+
+        script.state = LOADING;
+
+        scriptTag(script.url, function() {
+
+            script.state = LOADED;
+
+            if (callback) { callback(); }
+
+            // handlers for this script
+            each(handlers[script.name], function(fn) {
+                one(fn);
+            });
+
+            // everything ready
+            if (allLoaded() && isDomReady) {
+                each(handlers.ALL, function(fn) {
+                    one(fn);
+                });
+            }
+        });
+    }
+
+
+    function scriptTag(src, callback) {
+
+        var s = doc.createElement('script');
+        s.type = 'text/' + (src.type || 'javascript');
+        s.src = src.src || src;
+        s.async = false;
+
+        s.onreadystatechange = s.onload = function() {
+
+            var state = s.readyState;
+
+            if (!callback.done && (!state || /loaded|complete/.test(state))) {
+                callback.done = true;
+                callback();
+            }
+        };
+
+        // use body if available. more safe in IE
+        (doc.body || head).appendChild(s);
+    }
+
+    /*
+        The much desired DOM ready check
+        Thanks to jQuery and http://javascript.nwbox.com/IEContentLoaded/
+    */
+
+    function fireReady() {
+        if (!isDomReady) {
+            isDomReady = true;
+            each(domWaiters, function(fn) {
+                one(fn);
+            });
+        }
+    }
+
+    // W3C
+    if (window.addEventListener) {
+        doc.addEventListener("DOMContentLoaded", fireReady, false);
+
+        // fallback. this is always called
+        window.addEventListener("load", fireReady, false);
+
+    // IE
+    } else if (window.attachEvent) {
+
+        // for iframes
+        doc.attachEvent("onreadystatechange", function()  {
+            if (doc.readyState === "complete" ) {
+                fireReady();
+            }
+        });
+
+
+        // avoid frames with different domains issue
+        var frameElement = 1;
+
+        try {
+            frameElement = window.frameElement;
+
+        } catch(e) {}
+
+
+        if (!frameElement && head.doScroll) {
+
+            (function() {
+                try {
+                    head.doScroll("left");
+                    fireReady();
+
+                } catch(e) {
+                    setTimeout(arguments.callee, 1);
+                    return;
+                }
+            })();
+        }
+
+        // fallback
+        window.attachEvent("onload", fireReady);
+    }
+
+
+    // enable document.readyState for Firefox <= 3.5
+    if (!doc.readyState && doc.addEventListener) {
+        doc.readyState = "loading";
+        doc.addEventListener("DOMContentLoaded", handler = function () {
+            doc.removeEventListener("DOMContentLoaded", handler, false);
+            doc.readyState = "complete";
+        }, false);
+    }
+
+    /*
+        We wait for 300 ms before script loading starts. for some reason this is needed
+        to make sure scripts are cached. Not sure why this happens yet. A case study:
+
+        https://github.com/headjs/headjs/issues/closed#issue/83
+    */
+    setTimeout(function() {
+        isHeadReady = true;
+        each(queue, function(fn) { fn(); });
+
+    }, 300);
+
+})(document);

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/html5shiv.js
----------------------------------------------------------------------
diff --git a/content/content/js/html5shiv.js b/content/content/js/html5shiv.js
new file mode 100755
index 0000000..784f221
--- /dev/null
+++ b/content/content/js/html5shiv.js
@@ -0,0 +1,8 @@
+/*
+ HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+*/
+(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
+a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>";
+c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
+"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
+for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);


[36/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/user.md
----------------------------------------------------------------------
diff --git a/content/content/docs/user.md b/content/content/docs/user.md
new file mode 100644
index 0000000..cbe3952
--- /dev/null
+++ b/content/content/docs/user.md
@@ -0,0 +1,1892 @@
+---
+title: User
+category: docs
+layout: docs
+---
+
+User
+====
+
+[See all application
+entities](/docs/usergrid/content/application-entities)[](/docs/usergrid/content/application-entities)
+
+ 
+
+A user entity represents an application user. Using App services APIs
+you can create, retrieve, update, delete, and query user entities. See
+[User entity properties](#user_properties) for a list of the
+system-defined  properties for user entities. In addition, you can
+create user properties specific to your application.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating a new user
+-------------------
+
+Use the POST method to create a new user in the users collection.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/users {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of user properties, |
+|                                      | of which username is mandatory and   |
+|                                      | must be unique:                      |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "username" : "john.doe",       |
+|                                      |       "email" : "john.doe@gmail.com" |
+|                                      | ,                                    |
+|                                      |       "name" : "John Doe",           |
+|                                      |       "password" : "test1234"        |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+Although the password parameter is not mandatory, if you don't specify
+it, the user will not be able to log in using username and password
+credentials. If a password is not specified for the user, and you're an
+Admin, you can set a password for the user (see [Setting a
+password](#set_password)).
+
+**Note:** The username can contain any combination of characters,
+including those that represent letters, numbers, and symbols.
+
+### Example - Request
+
+-   [cURL](#curl_create_user)
+-   [JavaScript (HTML5)](#javascript_create_user)
+-   [Ruby](#ruby_create_user)
+-   [Node.js](#nodejs_create_user)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/users" -d '{"username":"john.doe","email":"john.doe@gmail.com","name":"John Doe"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'users',
+        body:{ username:'john.doe', name:'John Doe', email:'john.doe@gmail.com' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    result = app.create_user username: 'john.doe', name: 'John Doe', email: 'john.doe@gmail.com'
+    john_doe = result.entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'users',
+        body:{ username:'john.doe', name:'John Doe', email:'john.doe@gmail.com' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "post",
+      "application" : "4353136f-e978-11e0-8264-005056c00008",
+      "params" : {
+      },
+      "path" : "/users",
+      "uri" : "https://api.usergrid.com/005056c00008-4353136f-e978-11e0-8264/4353136f-e978-11e0-8264-005056c00008/users",
+
+      "entities" : [ {
+        "uuid" : "7d1aa429-e978-11e0-8264-005056c00008",
+        "type" : "user",
+        "created" : 1317176452536016,
+        "modified" : 1317176452536016,
+        "activated" : true,
+        "email" : "john.doe@gmail.com",
+        "metadata" : {
+          "path" : "/users/7d1aa429-e978-11e0-8264-005056c00008",
+          "sets" : {
+            "rolenames" : "/users/7d1aa429-e978-11e0-8264-005056c00008/rolenames",
+            "permissions" : "/users/7d1aa429-e978-11e0-8264-005056c00008/permissions"
+          },
+          "collections" : {
+            "activities" : "/users/7d1aa429-e978-11e0-8264-005056c00008/activities",
+            "devices" : "/users/7d1aa429-e978-11e0-8264-005056c00008/devices",
+            "feed" : "/users/7d1aa429-e978-11e0-8264-005056c00008/feed",
+            "groups" : "/users/7d1aa429-e978-11e0-8264-005056c00008/groups",
+            "roles" : "/users/7d1aa429-e978-11e0-8264-005056c00008/roles",
+            "following" : "/users/7d1aa429-e978-11e0-8264-005056c00008/following",
+            "followers" : "/users/7d1aa429-e978-11e0-8264-005056c00008/followers"
+          }
+        },
+        "name" : "John Doe",
+        "username" : "john.doe"
+      } ],
+      "timestamp" : 1317176452528,
+      "duration" : 52,
+      "organization" : "my-org",
+      "applicationName": "my-app"
+    }
+
+Setting/updating a user password
+--------------------------------
+
+If you're an Admin, use the POST method to initially set a user's
+password or reset the user's existing password. If you're a user, use
+the POST method to reset your password
+
+To protect password visibility, passwords are stored in an Apache Usergrid
+credentials vault. Passwords must be at least 5 characters long and can
+include the characters a-z, 0-9, @, \#, \$, %, \^, and &.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/users/{user}/password {request body}
+
+### Parameters
+
+Parameter
+
+Description
+
+arg uuid|string org\_id
+
+Organization UUID or organization name
+
+arg uuid|string app\_id
+
+Application UUID or application name
+
+arg string user
+
+User email or username
+
+request body
+
+New and old passwords:
+
+    {"newpassword":"foo9876a","oldpassword":"bar1234b"}
+
+**Note:** If you are accessing an endpoint with application-level access
+(rather than application user-level access or anonymous access), it is
+not necessary to provide an old password. See [Authenticating users and
+application clients](/authenticating-users-and-application-clients) for
+further information about access levels.
+
+### Example - Request
+
+-   [cURL](#curl_set_password)
+-   [JavaScript (HTML5)](#javascript_set_password)
+-   [Ruby](#ruby_set_password)
+-   [Node.js](#nodejs_set_password)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/my-org/my-app/users/john.doe/password" -d '{"newpassword":"foo9876a","oldpassword":"bar1234b"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'PUT',
+        endpoint:'users/john.doe',
+        body:{ newpassword:'foo9876a' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    john_doe = app['users/john.doe'].entity
+    john_doe.newpassword = 'foo9876a'
+    john_doe.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'users/john.doe',
+        body:{ newpassword:'foo9876a' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "set user password",
+      "timestamp": 1355185897894,
+      "duration": 47
+    }
+
+Getting a user
+--------------
+
+Use the GET method to retrieve a user given a specified UUID, username,
+or email address.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users/{uuid|username|email\_address}
+
+### Parameters
+
+  Parameter                                      Description
+  ---------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  arg uuid|string org\_id                        Organization UUID or organization name
+  arg uuid|string app\_id                        Application UUID or application name
+  arg uuid|string uuid|username|email\_address   User UUID, username, or email address. The alias /users/me can be used in place of the current user’s uuid, username, or email address. **Note:** The /users/me endpoint is accessible only if you provide an access token with the request (see [Authenticating users and application clients](/authenticating-users-and-application-clients)). If you make an anonymous ("guest") call, the system will not be able to determine which user to return as /users/me.
+
+### Example - Request
+
+-   [cURL](#curl_get_user)
+-   [JavaScript (HTML5)](#javascript_get_user)
+-   [Ruby](#ruby_get_user)
+-   [Node.js](#nodejs_get_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/jane.doe"
+
+OR
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/a407b1e7-58e8-11e1-ac46-22000a1c5a67e"
+
+OR
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/jane.doe@gmail.com"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/jane.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    user = app['users/jane.doe'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/jane.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "1c8f60e4-da67-11e0-b93d-12313f0204bb8",
+      "params" : {
+        "_": [
+        "1315524419746"
+        ]
+      },
+      "path" : "https://api.usergrid.com/12313f0204bb-1c8f60e4-da67-11e0-b93d/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "uri" : "https://api.usergrid.com/005056c00008-4353136f-e978-11e0-8264/4353136f-e978-11e0-8264-005056c00008/users",
+
+      "entities" : [ {
+        "uuid" : "78c54a82-da71-11e0-b93d-12313f0204b",
+        "type" : "user",
+        "created" : 1315524171347008,
+        "modified" : 1315524171347008,
+        "activated" : true,
+        "email" : "jane.doe@gmail.com",
+        "metadata" : {
+          "path" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+          "sets" : {
+            "rolenames" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+            "permissions" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+          },
+          "collections" : {
+            "activities" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+            "devices" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/devices",
+            "feed" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+            "groups" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+            "roles" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+            "following" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+            "followers" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+          }
+        },
+        "username" : "jane.doe"
+      } ],
+      "timestamp" : 1315524421071,
+      "duration" : 107,
+      "organization" : "my-org",
+      "applicationName": "my-app"
+    }
+
+### Example - Request: Get multiple users
+
+You can retrieve multiple users by specifying their UUIDs in the
+resource path. You cannot specify usernames. Use a semicolon (not a
+slash) to separate the users collection name from the UUIDs and a
+semicolon to separate each UUID.
+
+-   [cURL](#curl_get_multuser)
+-   [JavaScript (HTML5)](#javascript_get_multuser)
+-   [Ruby](#ruby_get_multuser)
+-   [Node.js](#nodejs_get_multuser)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users;7d1aa429-e978-11e0-8264-005056c00008;a407b1e7-58e8-11e1-ac46-22000a1c5a67e"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users;7d1aa429-e978-11e0-8264-005056c00008;a407b1e7-58e8-11e1-ac46-22000a1c5a67e'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    users = app['users;7d1aa429-e978-11e0-8264-005056c00008;a407b1e7-58e8-11e1-ac46-22000a1c5a67e'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users;7d1aa429-e978-11e0-8264-005056c00008;a407b1e7-58e8-11e1-ac46-22000a1c5a67e'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response: Get multiple users
+
+    {
+      "action" : "get",
+      "application" : "1c8f60e4-da67-11e0-b93d-12313f0204bb8",
+      "params" : { },
+      "path" : "/users",
+      "uri" : "https://api.usergrid.com/005056c00008-4353136f-e978-11e0-8264/4353136f-e978-11e0-8264-005056c00008/users",
+     "entities" : [ {
+        "uuid" : "7d1aa429-e978-11e0-8264-005056c00008",
+        "type" : "user",
+        "created" : 1317176452536016,
+        "modified" : 1317176452536016,
+        "activated" : true,
+        "email" : "john.doe@gmail.com",
+        "metadata" : {
+          "path" : "/users/7d1aa429-e978-11e0-8264-005056c00008",
+          "sets" : {
+            "rolenames" : "/users/7d1aa429-e978-11e0-8264-005056c00008/rolenames",
+            "permissions" : "/users/7d1aa429-e978-11e0-8264-005056c00008/permissions"
+          },
+          "collections" : {
+            "activities" : "/users/7d1aa429-e978-11e0-8264-005056c00008/activities",
+            "devices" : "/users/7d1aa429-e978-11e0-8264-005056c00008/devices",
+            "feed" : "/users/7d1aa429-e978-11e0-8264-005056c00008/feed",
+            "groups" : "/users/7d1aa429-e978-11e0-8264-005056c00008/groups",
+            "roles" : "/users/7d1aa429-e978-11e0-8264-005056c00008/roles",
+            "following" : "/users/7d1aa429-e978-11e0-8264-005056c00008/following",
+            "followers" : "/users/7d1aa429-e978-11e0-8264-005056c00008/followers"
+          }
+        },
+        "name" : "John Doe",
+        "username" : "john.doe"
+      }, {
+         "uuid" : "78c54a82-da71-11e0-b93d-12313f0204b",
+        "type" : "user",
+        "created" : 1315524171347008,
+        "modified" : 1315524171347008,
+        "activated" : true,
+        "email" : "jane.doe@gmail.com",
+        "metadata" : {
+          "path" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+          "sets" : {
+            "rolenames" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+            "permissions" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+          },
+          "collections" : {
+            "activities" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+            "devices" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/devices",
+            "feed" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+            "groups" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+            "roles" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+            "following" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+            "followers" : "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+          }
+        },
+        "username" : "jane.doe"
+      } ],
+      "timestamp" : 1360253587934,
+      "duration" : 35,
+      "organization" : "my-org",
+      "applicationName" : "my-app"
+    }
+
+Updating a user
+---------------
+
+Use the PUT method to update a user with new or changed property values.
+
+### Request URI
+
+PUT /{org\_id}/{app\_id}/users/{uuid|username} {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or                 |
+|                                      | organization name                    |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| arg uuid|string uuid|username        | User UUID or username. The alias     |
+|                                      | /users/me can be used in place of    |
+|                                      | the current user’s uuid or username. |
+|                                      | **Note:** The /users/me endpoint is  |
+|                                      | accessible only if you provide an    |
+|                                      | access token with the request (see   |
+|                                      | [Authenticating users and            |
+|                                      | application                          |
+|                                      | clients](/authenticating-users-and-a |
+|                                      | pplication-clients)).                |
+|                                      | If you make an anonymous ("guest")   |
+|                                      | call, the system will not be able to |
+|                                      | determine which user to return as    |
+|                                      | /users/me.                           |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of user properties: |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "email" : "john.doe@mail.com", |
+|                                      |       "city" : "san francisco"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_update_user)
+-   [JavaScript (HTML5)](#javascript_update_user)
+-   [Ruby](#ruby_update_user)
+-   [Node.js](#nodejs_update_user)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/my-org/my-app/users/john.doe" -d '{"email":"john.doe@mail.com", "city":"san francisco"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'PUT',
+        endpoint:'users/john.doe',
+        body:{ email:'john.doe@mail.com', city:'san francisco' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    john_doe = app['users/john.doe'].entity
+    john_doe.email = 'john.doe@mail.com'
+    john_doe.city = 'san francisco'
+    john_doe.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'users/john.doe',
+        body:{ email:'john.doe@mail.com', city:'san francisco' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "put",
+      "application" : "1c8f60e4-da67-11e0-b93d-12313f0204bb8",
+      "params" : {
+      },
+      "path" : "/users",
+      "uri" : "https://api.usergrid.com/005056c00008-4353136f-e978-11e0-8264/4353136f-e978-11e0-8264-005056c00008/users",
+
+      "entities" : [ {
+        "uuid" : "7d1aa429-e978-11e0-8264-005056c00008",
+        "type" : "user",
+        "created" : 1317176452536016,
+        "modified" : 1317176452536016,
+        "activated" : true,
+        "city" : "san francisco",
+        "email" : "john.doe@mail.com",
+        "metadata" : {
+          "path" : "/users/7d1aa429-e978-11e0-8264-005056c00008",
+          "sets" : {
+            "rolenames" : "/users/7d1aa429-e978-11e0-8264-005056c00008/rolenames",
+            "permissions" : "/users/7d1aa429-e978-11e0-8264-005056c00008/permissions"
+          },
+          "collections" : {
+            "activities" : "/users/7d1aa429-e978-11e0-8264-005056c00008/activities",
+            "devices" : "/users/7d1aa429-e978-11e0-8264-005056c00008/devices",
+            "feed" : "/users/7d1aa429-e978-11e0-8264-005056c00008/feed",
+            "groups" : "/users/7d1aa429-e978-11e0-8264-005056c00008/groups",
+            "roles" : "/users/7d1aa429-e978-11e0-8264-005056c00008/roles",
+            "following" : "/users/7d1aa429-e978-11e0-8264-005056c00008/following",
+            "followers" : "/users/7d1aa429-e978-11e0-8264-005056c00008/followers"
+          }
+        },
+        "name" : "John Doe",
+        "username" : "john.doe"
+      } ],
+      "timestamp" : 1317176452528,
+      "duration" : 52,
+      "organization" : "my-org",
+      "applicationName": "my-app"
+    }
+
+Deleting a user
+---------------
+
+Use the DELETE method to delete the specified user given the UUID or
+username.
+
+Returns the contents of the deleted user.
+
+### Request URI
+
+DELETE /{org\_id}/{app\_id}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                       Description
+  ------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  arg uuid|string org\_id         Organization UUID or organization name
+  arg uuid|string app\_id         Application UUID or application name
+  arg uuid|string uuid|username   User UUID or username. The alias /users/me can be used in place of the current user’s uuid or username. **Note:** The /users/me endpoint is accessible only if you provide an access token with the request (see [Authenticating users and application clients](/authenticating-users-and-application-clients)). If you make an anonymous ("guest") call, the system will not be able to determine which user to return as /users/me.
+  request body                    One or more sets of user properties
+
+### Example - Request
+
+-   [cURL](#curl_delete_user)
+-   [JavaScript (HTML5)](#javascript_delete_user)
+-   [Ruby](#ruby_delete_user)
+-   [Node.js](#nodejs_delete_user)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    john_doe = app['users/john.doe'].entity
+    john_doe.delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/john.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "delete",
+      "application": "438a1ca1-cf9b-11e0-bcc1-12313f0204bb",
+      "params": {
+        "_": [
+        "1329432186755" ]
+      },
+      "path": "/users",
+      "uri": "https://api.usergrid.com/12313f0204bb-438a1ca1-cf9b-11e0-bcc1/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/users",
+
+      "entities": [
+         {
+        "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+        "type": "user",
+        "name": "John Doe",
+        "created": 1315524171347008,
+        "modified": 1315524526405008,
+        "activated": true,
+        "city": "san francisco",
+        "email": "john.doe@gmail.com",
+        "metadata": {
+          "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+          "sets": {
+            "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+            "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+          },
+          "collections": {
+            "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+            "devices": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/devices",
+            "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+            "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+            "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+            "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+            "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+            "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+            "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+        },
+
+        "username": "john.doe"
+      }
+    ],
+    "timestamp": 1315524526343,
+    "duration": 84,
+    "organization": "my-org",
+    "applicationName": "my-app"
+    }
+
+Querying to get users
+---------------------
+
+Use the GET method with a query to retrieve a set of users that meet the
+query criteria. Standard querying methods and filters can be applied to
+users. See [Queries and parameters](/queries-and-parameters) for details
+on options for querying or filtering. By default, a maximum of 10
+entities is returned at once.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users?{query}
+
+### Parameters
+
+  Parameter                 Description
+  ------------------------- -------------------------------------------------------------------------------------
+  arg uuid|string org\_id   Organization UUID or organization name
+  arg uuid|string app\_id   Application UUID or application name
+  optparam string query     Query in the query language. See [Queries and parameters](/queries-and-parameters).
+
+### Example - Request
+
+-   [cURL](#curl_query_users)
+-   [JavaScript (HTML5)](#javascript_query_users)
+-   [Ruby](#ruby_query_users)
+-   [Node.js](#nodejs_query_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users?ql=select%20*%20where%20city%3D'Chicago'"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users',
+        qs:{ql:"select * where city='Chicago'"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    result = app['users'].query "select * where city = 'Chicago'"
+    users = result.collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users',
+        qs:{ql:"select * where city='Chicago'"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "get",
+    "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+    "params": {
+       "filter": [
+         "city='chicago'?_=1329433677419"
+       ]
+       },
+    "path": "/users",
+    "uri": "https://api.usergrid.com/12313f0204bb-1c8f60e4-da67-11e0-b93d/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+
+    "entities": [
+      {
+        "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+        "type": "user",
+        "created": 1315524171347008,
+        "modified": 1315524526405008,
+        "activated": true,
+        "city": "chicago",
+        "email": "jdoe57@gmail.com",
+        "metadata": {
+          "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+          "collections": {
+            "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+            "devices": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/devices",
+            "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+            "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+            "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+            "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+            "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+            "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+            "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+            },
+          "sets": {
+            "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+            "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+          }
+        },
+        "username": "jane.doe"
+      }
+      ],
+      "timestamp": 1329433677599,
+      "duration": 41,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+**Note:** As described in the “Getting a user” section, you can use the
+username, UUID, or email property in the URL to retrieve a user. You can
+also use those properties (as well as any entity properties) in queries
+and filters. However, you cannot use the username, UUID, or email
+properties in a “contains” search. That’s because these properties are
+primary keys, which means that they’re stored in slightly different way
+than other properties.
+
+This means that you can issue a query that searches for an exact match
+to a username, UUID, or email property. You can also do a wildcard
+search based on a partial match to those properties. But, you can’t
+issue a query that uses the “contains” keyword to search for a partial
+match to those properties.
+
+For example, the following cURL request will return the jane.doe user
+entity:
+
+    curl -X GET "https://api.usergrid.com/edort1/sandbox/users?users?ql=username%3D'jane.doe'"
+
+The following cURL request will also work:
+
+    curl -X GET "https://api.usergrid.com/edort1/sandbox/users?ql=username%3D'ja*'"
+
+The following cURL request will fail:
+
+    curl -X GET "https://api.usergrid.com/edort1/sandbox/users?users?ql=username%20'contains%20'ja*'"
+
+Adding a user to a group
+------------------------
+
+Use the POST method to add a user to a group. If the named group does
+not yet exist, an error message is returned.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+  arg uuid|string username    UUID or username of user
+
+### Example - Request
+
+-   [cURL](#curl_add_user)
+-   [JavaScript (HTML5)](#javascript_add_user)
+-   [Ruby](#ruby_add_user)
+-   [Node.js](#nodejs_add_user)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mynewgroup/users/john.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mynewgroup/users/john.doe'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mynewgroup/users/john.doe'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+    "params": {},
+    "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/groups/a668717b-67cb-11e1-8223-12313d14bde7/users",
+
+    "entities": [
+          {
+            "uuid": "6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+            "type": "user",
+            "nanme": "John Doe",
+            "created": 1327517852364015,
+            "modified": 1327517852364015,
+            "activated": true,
+            "email": "john.doe@mail.com",
+            "metadata": {
+              "connecting": {
+                "owners":   "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/connecting/owners"
+                 },
+              "path": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22",
+              "sets": {
+                "rolenames": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/rolenames",
+                "permissions": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/permissions"
+                 },
+              "collections": {
+                "activities": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/activities",
+                "devices": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/devices",
+                "feed": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/feed",
+                "groups": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/groups",
+                "roles": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/roles",
+                "following": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/following",
+                "followers": "/groups/a668717b-67cb-11e1-8223-12313d14bde7/users/6fbc8157-4786-11e1-b2bd-22000a1c4e22/followers"
+                 }
+            },
+            "picture": "https://www.gravatar.com/avatar/90f823ba15655b8cc8e3b4d63377576f",
+            "username": "john.doe"
+          }
+       ],
+       "timestamp": 1331066031380,
+       "duration": 64,
+       "organization" : "my-org",
+       "applicationName": "my-app"
+    }
+
+Adding a user to a collection or creating a connection
+------------------------------------------------------
+
+Use the POST method to add a user to a collection or create a
+relationship between a user and another entity.
+
+There are two common use cases, described separately as Use Case 1 and 2
+below.
+
+### Request URI - Use Case 1
+
+POST /{org\_id}/{app\_id}/{collection}/{first\_entity\_id}/{relationship}/{second\_entity\_id}
+
+### Parameters - Use Case 1
+
+  Parameter                           Description
+  ----------------------------------- --------------------------------------------------
+  arg uuid|string org\_id             Organization UUID or organization name
+  arg uuid|string app\_id             Application UUID or application name
+  arg string collection               Collection name
+  arg uuid|string first\_entity\_id   First entity UUID or entity name
+  arg string relationship             Collection name or connection type (e.g., likes)
+  arg uuid second\_entity\_id         Second entity UUID
+
+If the relationship is a collection (such as a users collection for the
+group employees), this request adds the second entity to the first
+entity’s collection of the specified name. (Note that employees is an
+entity name within the groups collection.) In the case of a group, this
+is how you add users as group members.
+
+### Example - Request - Use Case 1 (Add a user to a collection)
+
+-   [cURL](#curl_add_user_collection)
+-   [JavaScript (HTML5)](#javascript_add_user_collection)
+-   [Ruby](#ruby_add_user_collection)
+-   [Node.js](#nodejs_add_user_collection)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/employees/users/jane.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/employees/users/jane.doe'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success &mdash: data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/employees/users/jane.doe'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/employees/users/jane.doe'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success &mdash: data will contain raw results from API call        
+        }
+    });
+
+### Example - Response - Use Case 1 (Add a user to a collection)
+
+    {
+    "action": "post",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params": {},
+    "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users",
+    "uri": "https://api.usergrid.com/12313d14bde7-3e163873-6725-11e1-8223/3400ba10-cd0c-11e1-bcf7-12313d1c4491/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users",
+
+    "entities": [
+       "uuid": "ab225e6d-d503-11e1-b36a-12313b01d5c1",
+       "type": "user",
+       "created": 1343074753060,
+       "modified": 1350688633477,
+       "activated": true,
+       "city": "san Francisco",
+       "email": "jane.doe@gmail.com",
+       "metadata": {
+         "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1",
+         "sets": {
+           "rolenames": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/rolenames",
+           "permissions": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/permissions"
+            },
+           "collections": {
+              "activities": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/activities",
+              "devices": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/devices",
+              "feed": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/feed",
+              "groups": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/groups",
+              "roles": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/roles",
+              "following": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/following",
+              "followers": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/followers"
+            }
+          },
+          "username": "jane.doe"
+        }
+    ],
+    "timestamp": 1331075231504,
+    "duration": 42,
+    "organization": "my-org",
+    "applicationName": "my-app"
+    }
+
+If the relationship is not previously defined for the entity, a
+connection is created. For example, if the relationship is specified as
+likes, and that relationship has not been previously been defined for
+the entity, the second entity is connected to the first with a likes
+relationship.
+
+### Example - Request - Use Case 1 (Create a connection)
+
+-   [cURL](#curl_create_connection1)
+-   [JavaScript (HTML5)](#javascript_create_connection1)
+-   [Ruby](#ruby_create_connection1)
+-   [Node.js](#nodejs_create_connection1)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response - Use Case 1 (Create a connection)
+
+    {
+    "action": "post",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params": {},
+    "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+    "uri": "https://api.usergrid.com/12313d14bde7-3e163873-6725-11e1-8223/3400ba10-cd0c-11e1-bcf7-12313d1c4491/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+    entities": [
+       "uuid": "d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+       "type": "user",
+       "created": 13430746203740,
+       "modified": 1351893399022,
+       "activated": true,
+       "city": "san Francisco",
+       "email": "john.doe@mail.com",
+       "metadata": {
+         "connecting": {
+              "likes": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/connecting/likes"
+         },
+         "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+         "sets": {
+           "rolenames": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/rolenames",
+           "permissions": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/permissions"
+            },
+           "collections": {
+              "activities": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/activities",
+              "devices": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/devices",
+              "feed": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed",
+              "groups": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/groups",
+              "roles": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/5c0c1789-d503-11e1-b36a-12313b01d5c1/roles",
+              "following": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/following",
+              "followers": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/followers"
+            }
+          },
+          "username": "john.doe"
+        }
+    ],
+    "timestamp": 1352140583264,
+    "duration": 42,
+    organization": "my-org",
+    "applicationName": "my-app"
+    }
+
+### Request URI - Use Case 2
+
+POST /{org\_id}/{app\_id}/{collection}/{first\_entity\_id}/{relationship}/{second\_entity\_type}/{second\_entity\_id}
+
+### Parameters - Use Case 2
+
+  Parameter                            Description
+  ------------------------------------ --------------------------------------------------
+  arg uuid|string org\_id              Organization UUID or organization name
+  arg uuid|string app\_id              Application UUID or application name
+  arg string collection                Collection name
+  arg uuid|string first\_entity\_id    First entity UUID or entity name
+  arg string relationship              Collection name or connection type (e.g., likes)
+  arg string second\_entity\_type      Second entity type
+  arg uuid|string second\_entity\_id   Second entity UUID or entity name
+
+### Example - Request - Use Case 2
+
+When creating a connection, if you specify the entity type for the
+second entity, then you can create the connection using the entity’s
+name rather than its UUID.
+
+-   [cURL](#curl_create_connection2)
+-   [JavaScript (HTML5)](#javascript_create_connection2)
+-   [Ruby](#ruby_create_connection2)
+-   [Node.js](#nodejs_create_connection2)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/users/john.doe/likes/food/pizza"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/john.doe/likes/food/pizza'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/john.doe/likes/food/pizza'].post nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/john.doe/likes/food/pizza'    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response - Use Case 2
+
+    {
+    "action": "post",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params": {},
+    "path": "/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/likes",
+    "uri": "https://api.usergrid.com/12313d14bde7-3e163873-6725-11e1-8223/3400ba10-cd0c-11e1-bcf7-12313d1c4491/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/likes",
+
+    "entities": [
+    {
+          "uuid": "5c93163a-277b-11e2-8d42-02e81ae640dc",
+          "type": "food",
+          "name": "pizza",
+          "created": 1352142156214,
+          "modified": 1352142156214,
+          "metadata": {
+            "path": "/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/likes/5c93163a-277b-11e2-8d42-02e81ae640dc"
+          }
+        }
+    ],
+    "timestamp": 1331075231504,
+    "duration": 42,
+    "organization": "my-org",
+    "applicationName": "my-app"
+    }
+
+Deleting a user from a collection or deleting a connection
+----------------------------------------------------------
+
+Use the DELETE method to delete a user from a collection or delete a
+relationship between a user and another entity.
+
+There are two common use cases, described separately as Use Case 1 and 2
+below.
+
+### Request URI - Use Case 1
+
+DELETE /{org\_id}/{app\_id}/{collection}/{first\_entity\_id}/{relationship}/{second\_entity\_id}
+
+### Parameters - Use Case 1
+
+  Parameter                           Description
+  ----------------------------------- -------------------------------------------------
+  arg uuid|string org\_id             Organization UUID or organization name
+  arg uuid|string app\_id             Application UUID or application name
+  arg string collection               Collection name
+  arg uuid|string first\_entity\_id   First entity UUID or entity name
+  arg string relationship             Collection name or connection type (e.g., likes
+  arg uuid second\_entity\_id         Second entity UUID
+
+If the relationship is a collection (such as a users collection for the
+group employees), this request removes the second entity from the first
+entity’s collection of the specified name. In the case of a group, this
+is how you delete users as group members.
+
+### Example - Request - Use Case 1 (Remove a user from a collection)
+
+-   [cURL](#curl_delete_user_collection)
+-   [JavaScript (HTML5)](#javascript_delete_user_collection)
+-   [Ruby](#ruby_delete_user_collection)
+-   [Node.js](#nodejs_delete_user_collection)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/groups/employees/users/jane.doe"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/employees/users/jane.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/employees/users/jane.doe'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'groups/employees/users/jane.doe'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response - Use Case 1 (Remove a user from a collection)
+
+    {
+      "action" : "delete",
+      "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params" : {},
+      "path" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users",
+      "uri" : "https://api.usergrid.com/005056c00008-4353136f-e978-11e0-8264/3400ba10-cd0c-11e1-bcf7-12313d1c4491/users",
+
+      "entities" : [ {
+        "uuid" : "ab225e6d-d503-11e1-b36a-12313b01d5c1",
+        "type" : "user",
+        "created" : 1343074753060,
+        "modified" : 1352227377822,
+        "activated" : true,
+        "email" : "jane.doe@gmail.com",
+        "metadata" : {
+          "path" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1",
+          "sets" : {
+            "rolenames" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/rolenames",
+            "permissions" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/permissions"
+          },
+          "collections" : {
+            "activities" : "//groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/activities",
+            "devices" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/devices",
+            "feed" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc1/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/fee",
+            "groups" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/groups",
+            "roles" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/roles",
+            "following" : /groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/following",
+            "followers" : "/groups/3cc5ae7e-64e6-11e2-b6fb-02e81ae640dc/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/followers"
+          }
+        },
+        "username" : "jane.doe"
+      } ],
+      "timestamp" : 1352238030137,
+      "duration" : 477,
+      "organization" : "my-org",
+      "applicationName": "my-app"
+    }
+
+For connections, you provide the connection type. For example, if the
+second entity is connected to the first with a likes relationship, the
+delete request removes the connection.
+
+### Example - Request - Use Case 1 (Remove a connection)
+
+-   [cURL](#curl_delete_connection)
+-   [JavaScript (HTML5)](#javascript_delete_connection)
+-   [Ruby](#ruby_delete_connection)
+-   [Node.js](#nodejs_delete_connection)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/jane.doe/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response - Use Case 1 (Remove a connection)
+
+    {
+    "action": "delete",
+    "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+    "params": {},
+    "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+    "uri": "https://api.usergrid.com/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+
+    "entities": [
+       "uuid": "d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+       "type": "user",
+       "created": 134307462037,
+       "modified": 1352227377728,
+       "activated": true,
+       "city": "san Francisco",
+       "email": "john.doe@mail.comm",
+       "metadata": {
+            "connecting": {
+              "likes": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/connecting/likes"
+            },
+         "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+         "sets": {
+           "rolenames": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/rolenames",
+           "permissions": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/permissions"
+            },
+            "connections": {
+              "likes": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/likes"
+            },
+           "collections": {
+              "activities": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/activities",
+              "devices": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/devices",
+              "feed": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed",
+              "groups": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/group",
+              "roles": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/roles",
+              "following": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/following",
+              "followers": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/followers"
+            }
+          },
+          "username": "john.doe"
+        }
+    ],
+    "timestamp": 1352240516683,
+    "duration": 196,
+    "organization": "my-org",
+    "applicationName": "my-app"
+    }
+
+### Request URI - Use Case 2
+
+DELETE /{org\_id}/{app\_id}/{collection}/{first\_entity\_id}/{relationship}/{second\_entity\_type}/{second\_entity\_id}
+
+### Parameters - Use Case 2
+
+  Parameter                            Description
+  ------------------------------------ --------------------------------------------------
+  arg uuid|string org\_id              Organization UUID or organization name
+  arg uuid|string app\_id              Application UUID or application name
+  arg string collection                Collection name
+  arg uuid|string first\_entity\_id    First entity UUID or entity name
+  arg string relationship              Collection name or connection type (e.g., likes)
+  arg string second\_entity\_type      Second entity type
+  arg uuid|string second\_entity\_id   Second entity UUID or entity name
+
+### Example - Request - Use Case 2
+
+When removing a connection, if you specify the entity type for the
+second entity, then you can delete the connection using the entity’s
+name rather than its UUID.
+
+-   [cURL](#curl_delete_connection1)
+-   [JavaScript (HTML5)](#javascript_delete_connection1)
+-   [Ruby](#ruby_delete_connection1)
+-   [Node.js](#nodejs_delete_connection1)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/my-org/my-app/users/test-user-1/follows/test-user-2"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/test-user-1/follows/test-user-2'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/test-user-1/follows/test-user-2'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'users/test-user-1/follows/test-user-2'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+     "action":
+     "delete",
+     "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+     "params": {},
+     "path": "/users/dd26b1d9-2863-11e2-b4c6-02e81ac5a17b/follows",
+     "uri": "https://api.usergrid.com/"3400ba10-cd0c-11e1-bcf7-12313d1c4491/users/dd26b1d9-2863-11e2-b4c6-02e81ac5a17b/follows",
+     "entities": [],
+     "timestamp": 1331075473194,
+     "duration": 22,
+     "organization": "my-org",
+     "applicationName": "my-app"
+    }
+
+Querying a user’s collections or connections
+--------------------------------------------
+
+Use the GET method with a query to retrieve a user’s collections or
+connections that meet the query criteria. Standard querying methods and
+filters can be applied to users. See [Queries and
+parameters](/queries-and-parameters) for details on options for querying
+or filtering. By default, a maximum of 10 entities is returned at once.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users/{uuid|username}/{relationship}?{query}
+
+### Parameters
+
+  Parameter                  Description
+  -------------------------- -------------------------------------------------------------------------------------
+  arg uuid|string org\_id    Organization UUID or organization name
+  arg uuid|string app\_id    Application UUID or application name
+  arg uuid|string username   Entity UUID or username
+  arg string relationship    Collection name or connection type (e.g., likes)
+  optparam string query      Query in the query language. See [Queries and parameters](/queries-and-parameters).
+
+### Example - Request
+
+-   [cURL](#curl_query_user_collections)
+-   [JavaScript (HTML5)](#javascript_query_user_collections)
+-   [Ruby](#ruby_query_user_collections)
+-   [Node.js](#nodejs_query_user_collections)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/jane.doe/likes?ql=select%20*%20where%20city%3D'milwaukee'"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/jane.doe/likes',
+        qs:{'ql':"select * where city='milwaukee'"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/jane.doe/likes'].query "select * where city = 'milwaukee'"
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users',
+        users.qs = {'ql':"select * where city='milwaukee'"};
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params":{
+        "ql" : [ "select * where city='milwaukee'" ]
+      },
+      "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+      "uri": "https://api.usergrid.com/22000a1c4e22-5ea08de5-4d23-11e1-b41d/3400ba10-cd0c-11e1-bcf7-12313d1c4491/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes",
+
+      "entities": [
+        {
+          "uuid": "895d7c11-5901-11e1-ac46-22000a1c5a67",
+          "type": "restaurant",
+          "created": 1329439893227,
+          "modified": 1329439893227,
+          "city": "milwaukee",
+          "metadata": {
+            "connecting": {
+              "likes": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c17/connecting/likes"
+              },
+              "connection": "likes",
+              "cursor": "gGkAAQEAgHMACW1pbHdhdWtlZQCAdQAQiV18EVkBEeGsRiIAChxaZwCAcwAKcmVzdGF1cmFudACAdQAQUrM7mVkCEeGsRiIAChxaZwA",
+              "associated": "42039286-c984-3b46-bbfb-28c4abb9b27c",
+              "path": "/users/ab225e6d-d503-11e1-b36a-12313b01d5c1/likes/895d7c11-5901-11e1-ac46-22000a1c5a67"
+          },
+          "name": "Tulep"
+        }
+      ]
+      "timestamp": 1315357451949,
+      "duration": 52,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Getting a user’s feed
+---------------------
+
+Use the GET method to retrieve a user’s feed.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users/{uuid|username}/feed
+
+### Example - Request
+
+-   [cURL](#curl_get_user_feed)
+-   [JavaScript (HTML5)](#javascript_get_user_feed)
+-   [Ruby](#ruby_get_user_feed)
+-   [Node.js](#nodejs_get_user_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/john.doe/feed"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    activities = app['users/john.doe/feed'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c44914",
+      "params" : {},
+      "path" : "/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed",
+      "uri" : "https://api.usergrid.com/3400ba10-cd0c-11e1-bcf7-12313d1c44914/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed",
+      "entities" : [ {
+        "uuid" : "ffd79647-f399-11e1-aec3-12313b06ae01",
+        "type" : "activity",
+        "created" : 1346437854569,
+        "modified" : 1346437854569,
+        "actor" : {
+          "displayName" : "John Doe",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+          "email" : "john.doe@gmail.com",
+          "username" : "john.doe"
+        },
+        "content" : "Hello World!",
+        "metadata" : {
+          "cursor" : "gGkAAQMAgGkABgE5ffM1aQCAdQAQ_9eWR_OZEeGuwxIxOwauAQCAdQAQABlaOvOaEeGuwxIxOwauAQA",
+          "path" : "/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed/ffd79647-f399-11e1-aec3-12313b06ae01"
+        },
+        "published" : 1346437854569,
+        "verb" : "post"
+      }, {
+        "uuid" : "2482a1c5-e7d0-11e1-96f6-12313b06d112",
+        "type" : "activity",
+        "created" : 1345141694958,
+        "modified" : 1345141694958,
+        "actor" : {
+          "displayName" : "moab",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "d9693ec3-61c9-11e2-9ffc-02e81adcf3d0",
+          "email" : "massoddb@mfdsadfdsaoabl.com",
+          "username" : "moab"
+        },
+        "content" : "checking in code left and right!!",
+        "metadata" : {
+          "cursor" : "gGkAAQMAgGkABgE5MLFh7gCAdQAQJIKhxefQEeGW9hIxOwbREgCAdQAQJNEP6ufQEeGW9hIxOwbREgA",
+          "path" : "/users/d9693ec3-61c9-11e2-9ffc-02e81adcf3d0/feed/2482a1c5-e7d0-11e1-96f6-12313b06d112"
+        },
+        "published" : 1345141694958,
+        "verb" : "post"
+      } ],
+      "timestamp" : 1346438331316,
+      "duration" : 144,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+User properties
+---------------
+
+The following are the system-defined properties for user entities. You
+can create application-specific properties for a user entity in addition
+to the system-defined properties. The system-defined properties are
+reserved. You cannot use these names to create other properties for a
+user entity. In addition the users name is reserved for the users
+collection — you can't use it to name another collection.
+
+  Property     Type      Description
+  ------------ --------- ---------------------------------------------------------------------------------
+  uuid         UUID      User’s unique entity ID
+  type         string    Type of entity, in this case “user”
+  created      long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified     long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  username     string    Valid and unique string username (mandatory)
+  password     string    User password
+  email        string    Valid and unique email address
+  name         string    User display name
+  activated    boolean   Whether the user account is activated
+  disabled     boolean   Whether the user account is administratively disabled
+  firstname    string    User first name
+  middlename   string    User middle name
+  lastname     string    User last name
+  picture      string    User picture
+
+The following property sets are assigned to user entities.
+
+  Set           Type     Description
+  ------------- -------- ---------------------------------------
+  connections   string   Set of connection types (e.g., likes)
+  rolenames     string   Set of roles assigned to a user
+  permissions   string   Set of user permissions
+  credentials   string   Set of user credentials
+
+Users have the following associated collections.
+
+  Collection   Type       Description
+  ------------ ---------- -----------------------------------------------------
+  groups       group      Collection of groups to which a user belongs
+  devices      device     Collection of devices in the service
+  activities   activity   Collection of activities a user has performed
+  feed         activity   Inbox of activity notifications a user has received
+  roles        role       Set of roles assigned to a user
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/users-devices.md
----------------------------------------------------------------------
diff --git a/content/content/docs/users-devices.md b/content/content/docs/users-devices.md
new file mode 100644
index 0000000..84f1fe9
--- /dev/null
+++ b/content/content/docs/users-devices.md
@@ -0,0 +1,112 @@
+---
+title: Users & Devices
+category: docs
+layout: docs
+---
+
+Users and Devices are the primary ways to identify access to the system. Devices are great to track anonymous access, while Users allow you to model signing up, signing in, etc. 
+
+Users
+-----
+
+### Properties
+
+Property     Type      Description
+------------ --------- ---------------------------------------------------------------------------------
+  uuid         UUID      User’s unique entity ID
+  type         string    Type of entity, in this case “user”
+  created      long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified     long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  username     string    Valid and unique string username (mandatory)
+  password     string    User password
+  email        string    Valid and unique email address
+  name         string    User display name
+  activated    boolean   Whether the user account is activated
+  disabled     boolean   Whether the user account is administratively disabled
+  firstname    string    User first name
+  middlename   string    User middle name
+  lastname     string    User last name
+  picture      string    User picture
+
+
+### Sets
+
+  Set           Type     Description
+  ------------- -------- ---------------------------------------
+  connections   string   Set of connection types (e.g., likes)
+  rolenames     string   Set of roles assigned to a user
+  permissions   string   Set of user permissions
+  credentials   string   Set of user credentials
+
+### Relationshops
+
+  Collection   Type       Description
+  ------------ ---------- -----------------------------------------------------
+  groups       group      Collection of groups to which a user belongs
+  devices      device     Collection of devices in the service
+  activities   activity   Collection of activities a user has performed
+  feed         activity   Inbox of activity notifications a user has received
+  roles        role       Set of roles assigned to a user
+
+### Facebook Sign-in
+
+You can authenticate your Apache Usergrid requests by logging into
+Facebook. To access Apache Usergrid resources, you need to provide an
+access token with each request (unless you use the sandbox app). You can
+get an access token by connecting to an appropriate web service endpoint
+and providing the correct client credentials — this is further described
+in [Authenticating users and application
+clients](/authenticating-users-and-application-clients). However, you
+can also obtain an access token by logging into Facebook.
+
+To enable authentication to Apache Usergrid through Facebook, do the
+following in your app:
+
+1.  Make a login call to the Facebook API (do this using the [Facebook
+    SDK](https://developers.facebook.com/docs/sdks/) or
+    [API](https://developers.facebook.com/docs/facebook-login/)). If the
+    login succeeds, a Facebook access token is returned.
+2.  Send the Facebook access token to Apache Usergrid. If the Facebook
+    access token is valid and the user does not already exist in App
+    Services, Apache Usergrid provisions a new Apache Usergrid user. It also
+    returns an Apache Usergrid access token, which you can use for
+    subsequent Apache Usergrid API calls. Behind the scenes, Apache Usergrid
+    uses the Facebook access token to retrieve the user's profile
+    information from Facebook.
+
+    If the Facebook access token is invalid, Facebook returns an OAuth
+    authentication error, and the login does not succeed.
+
+The request to authenticate to Apache Usergrid using a Facebook access
+token is:
+
+    GET https://api.usergrid.com/{my_org}/{my_app}/auth/facebook?fb_access_token={fb_access_token}
+
+where:
+
+* {my\_org} is the organization UUID or organization name.\
+* {my\_app} is the application UUID or application name.\
+* {fb\_access\_token} is the Facebook access token.
+
+
+Devices
+-------
+
+### Properties
+
+Property   Type     Description
+---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Entity unique ID
+  type       string   Entity type (e.g., device)
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  name       string   Device name (mandatory)
+
+
+### Relationships
+
+Devices have the following associated collection.
+
+  Collection   Type   Description
+  ------------ ------ -----------------------------------------------
+  users        user   Collection of users to which a device belongs

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/using-api.md
----------------------------------------------------------------------
diff --git a/content/content/docs/using-api.md b/content/content/docs/using-api.md
new file mode 100644
index 0000000..79b038a
--- /dev/null
+++ b/content/content/docs/using-api.md
@@ -0,0 +1,219 @@
+---
+title: Using the API
+category: docs
+layout: docs
+---
+
+Using the API
+=============
+
+Apache Usergrid uses a pure REST API. (See [Representational State
+Transfer](http://en.wikipedia.org/wiki/Representational_State_Transfer)
+at Wikipedia for more information about the principles behind this type
+of API.)
+
+A REST API is built as a collection of resources. Resource locations are
+described by paths that are related intrinsically to collections and
+entities in collections. When building a REST API, the challenge is to
+represent the data and the action upon the data as a path to a resource
+that can be created, retrieved, updated, or deleted. The HTTP methods
+POST, GET, PUT, and DELETE correspond to the actions that are applied to
+resources.
+
+In forming Apache Usergrid API requests, resource paths are specified as
+URLs. For example, to cause the application my-app to retrieve data
+about a user named john.doe, you construct the following API request:
+
+    https://api.usergrid.com/my-org/my-app/users/john.doe
+
+To get a listing of everything the user john.doe likes, use the
+following URL:
+
+    https://api.usergrid.com/my-org/my-app/users/john.doe/likes
+
+To limit returned likes to entities of type restaurant, specify the
+following URL:
+
+    https://api.usergrid.com/my-org/my-app/users/john.doe/likes/restaurant
+
+Basic API request construction
+------------------------------
+
+All Apache Usergrid API requests are made
+to [https://api.usergrid.com](https://api.usergrid.com/).
+
+Apache Usergrid interprets the URL resource path as a list of names, UUIDs,
+or queries. The basic path format is:
+
+    https://{hostname}/{org-uuid|org-name}/{app-uuid|app-name}/{collection-name}[/{entity-uuid|entity-name}]
+
+where {hostname} is https://api.usergrid.com.
+
+**Note:** You cannot mix UUIDs and names in the URL resource path. For
+example, the following is incorrect:
+
+    https://api.usergrid.com/my-org/62de5d97-d28c-11e1-8d5c-12313b01d5c1/users/john.doe
+
+Either use names only in the URL resource path, like this:
+
+    https://api.usergrid.com/my-org/my-app/users/john.doe
+
+or UUIDs only.
+
+This section gives several examples of how to construct Apache Usergrid API
+requests. To focus on what's important, the examples use an abbreviated
+path that starts after the application UUID, or application name. For
+example, instead of giving a fully qualified path name as in:
+
+    https://api.usergrid.com/my-org/my-app/users
+
+the example simply lists this:
+
+    /users
+
+However, remember that in almost all cases, HTTP requests must include
+the fully qualified URL, as well as an access token for authentication.
+
+Accessing collections
+---------------------
+
+To access all entities in a collection, specify the path as follows:
+
+    /users
+
+Such a request retrieves the first 10 entities in the collection /users
+sorted by their entity UUID.
+
+Accessing entities
+------------------
+
+To access an entity in a collection, specify the path as follows:
+
+    /{collection}/{uuid|name}
+
+where {collection} is the collection name, and {uuid|name} is the
+entity’s uuid or name.
+
+To access a user in the users collection, specify the path as follows:
+
+    /users/{uuid|username|email_address}
+
+where {uuid|username|email\_address} is the user’s uuid, username, or
+email address.
+
+For example, the following request retrieves the entity named dino from
+the dogs collection:
+
+    /dogs/dino
+
+Anytime a logged-in user makes a request, the user can substitute "me"
+for the uuid or username. For example, the following request retrieves
+the current user:
+
+    /users/me
+
+**Note:** The /users/me endpoint is accessible only if the user provides
+an access token with the request (see [Authenticating users and
+application clients](/authenticating-users-and-application-clients)). If
+an access token is not provided with the request, that is, the user
+makes an anonymous (or "guest") call, the system will not be able to
+determine which user to return as /users/me.
+
+Issuing queries
+---------------
+
+You can issue a query in an API request that retrieves items from a
+collection. Here is the typical format for queries:
+
+    /{collection}?ql={query}
+
+where
+
+{query} is a query in the query language.
+
+For example, this request retrieves users whose Facebook first name is
+john:
+
+    /users?ql=select * where facebook.first_name ='john'
+
+For further information about queries, see [Queries and
+parameters](/queries-and-parameters).
+
+Format of response data
+-----------------------
+
+All API methods return a response object that typically contains an
+array of entities:
+
+    {
+      "entities" : [
+        ...
+      ]
+    }
+
+Not everything can be included inside the entity, and some of the data
+that gets associated with specific entities isn't part of their
+persistent representation. This is metadata, and it can be part of the
+response as well as associated with a specific entity. Metadata is just
+an arbitrary key/value JSON structure.
+
+For example:
+
+    {
+      "entities" : {
+        {
+          "name" : "ed",
+          "metadata" : {
+            "collections" : ["activities", "groups", "followers"]
+          }
+        }
+      },
+      "metadata" : {
+        "foo" : ["bar", "baz"]
+      }
+    }
+
+Here's a full example of the response object with one entity in the
+response (note that the Facebook property, which contains the entire
+Facebook profile of the user, is not displayed in the example due to its
+size):
+
+    {
+      "action" : "get",
+      "application" : "ddde7630-90b1-11e0-b91b-12313f0204bb",
+      "params" : { },
+      "path" : "/users",
+      "uri" : "https://api.usergrid.com/b91b-12313f0204bb-ddde7630-90b1-11e0/ddde7630-90b1-11e0-b91b-12313f0204bb/users",
+
+      "entities" : [
+        {
+          "created" : 1307415547108000,
+          "facebook" : { ... },
+          "uuid" : "1c18ca40-90b2-11e0-b91b-12313f0204bb",
+          "metadata" : {
+            "path" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb",
+            "collections" : {
+              "activities" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/activities",
+              "feed" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/feed",
+              "groups" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/groups",
+              "messages" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/messages",
+              "queue" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/queue",
+              "roles" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/roles",
+              "following" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/following",
+              "followers" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/followers"
+            },
+            "sets" : {
+              "rolenames" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/rolenames",
+              "permissions" : "/users/1c18ca40-90b2-11e0-b91b-12313f0204bb/permissions"
+            }
+          },
+          "modified" : 1307415547108000,
+          "name" : "John Doe",
+          "picture" : "https://profile.ak.fbcdn.net/hprofile-ak-snc4/41501_217925_2656_q.jpg",
+          "type" : "user",
+          "username" : "john.doe"
+        }
+      ],
+      "timestamp" : 1309218486419,
+      "duration" : 40
+    }


[10/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/geolocation/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/geolocation/index.html b/content/publish/docs/geolocation/index.html
new file mode 100644
index 0000000..ecc4b50
--- /dev/null
+++ b/content/publish/docs/geolocation/index.html
@@ -0,0 +1,310 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Geolocation</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Geolocation</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/geolocation.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#geolocation">Geolocation</a><ul>
+<li><a href="#adding-a-location-to-an-entity">Adding a location to an entity</a></li>
+<li><a href="#making-queries-against-an-entitys-location">Making queries against an entity’s location</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="geolocation">Geolocation</h1>
+<p>Many of today’s apps are enhanced by the use of <em>geolocation</em>, wireless detection of the physical location of a remote device. These apps are said to be <em>geolocation-aware</em> in that they query the device to determine the user’s position and then use this data to further enhance the user’s experience. For example, apps can capture the exact location where a picture was taken or a message was created.</p>
+<p>App services support geolocation on any entity, both built in (e.g., users, groups) and user defined.</p>
+<h2 id="adding-a-location-to-an-entity">Adding a location to an entity</h2>
+<p>To add a location to any entity, include the following member to the JSON in a POST or PUT call:</p>
+<pre><code>"location": {
+    "latitude": 37.779632,
+    "longitude": -122.395131  
+} </code></pre>
+<p>For example, to store a listing of restaurants and their locations, start by creating a collection called restaurants:</p>
+<pre><code>POST https://api.usergrid.com/org_name/app_name/restaurants</code></pre>
+<p>Next, add a new entity to the collection:</p>
+<pre><code>POST https://api.usergrid.com/org_name/app_name/restaurants
+{
+  "name": "Rockadero",
+  "address": "21 Slate Street, Bedrock, CA",
+  "location": {
+    "latitude": 37.779632,
+    "longitude": -122.395131
+  }
+}</code></pre>
+<p>This creates a new restaurant entity called “Rockadero” with the longitude and latitude included as part of the object.</p>
+<p>You can also use geolocation to keep track of the location of a user. In this case, the user already exists, so you just need to update that user entity. Use POST and include the location member:</p>
+<pre><code>POST https://api.usergrid.com/org_name/app_name/users/fred
+{
+  "location": {
+    "latitude": 37.779632,
+    "longitude": -122.395131
+  }
+}</code></pre>
+<p>This either adds or updates the location member of the user object for the user fred.</p>
+<h2 id="making-queries-against-an-entitys-location">Making queries against an entity’s location</h2>
+<p>When a location is added to an entity, it is easy to make queries against that data. For example, to see all restaurants within a 10 mile radius of the user’s location, make a GET call against that entity, and include a search query in the following format:</p>
+<pre><code>location within &lt;distance in meters&gt; of &lt;latitude&gt;, &lt;longitude&gt;</code></pre>
+<p>If we use the location of our user Fred, we first need to convert miles to meters. 1 mile is equivalent to 1609.344 meters, so 10 miles is about 16093 meters. Thus, the API call looks like this:</p>
+<pre><code>GET https://api.usergrid.com/org_name/app_name/restaurants?ql=location within 16093 of 37.776753, -122.407846</code></pre>
+<p>The url-encoded version looks like this:</p>
+<pre><code>https://api.usergrid.com/org_name/app_name/restaurants?ql=location%20within%2016093%20of%2037.776753%2C%20-122.407846&amp;_=1337570474469</code></pre>
+<p>In this case, the API call returns one entry for the Rockadero, which is exactly where Fred happens to be. Bon Appetit!</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/geolocation.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/getting-up-and-running-locally/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/getting-up-and-running-locally/index.html b/content/publish/docs/getting-up-and-running-locally/index.html
new file mode 100644
index 0000000..032ebb8
--- /dev/null
+++ b/content/publish/docs/getting-up-and-running-locally/index.html
@@ -0,0 +1,309 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Getting Up & Running Locally</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Getting Up & Running Locally</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/getting-up-and-running-locally.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#requirements">Requirements</a></li>
+<li><a href="#download">Download</a></li>
+<li><a href="#building">Building</a></li>
+<li><a href="#running">Running</a></li>
+<li><a href="#getting-started-with-the-http-api">Getting Started with the HTTP API</a></li>
+</ul>
+</div>
+<h2 id="requirements">Requirements</h2>
+<ul>
+<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 1.7</a></li>
+<li><a href="http://maven.apache.org/">Maven</a></li>
+</ul>
+<h2 id="download">Download</h2>
+<p>Start by <a href="https://github.com/apache/incubator-usergrid/archive/master.zip">downloading our latest code</a> and extract it.</p>
+<h2 id="building">Building</h2>
+<p>From the command line, navigate to stack directory and type the following:</p>
+<pre><code>mvn clean install -DskipTests=true</code></pre>
+<h2 id="running">Running</h2>
+<p>Usergrid-core contains the persistence layer and shared utilities for powering the Usergrid service. The services layer is contained in usergrid-services and exposes a higher-level API that’s used by the usergrid-rest web services tier.</p>
+<p>You can run Usergrid from the command-line from the jar in the usergrid/standalone project:</p>
+<pre><code>cd launcher; java -jar target/usergrid-launcher-*.jar</code></pre>
+<p>After startup, your instance will be available on localhost, port 8080. To check it’s running properly, you can try loading our status page:</p>
+<pre><code>curl http://localhost:8080/status</code></pre>
+<p>You can also run it as a webapp in Tomcat, by deploying the ROOT.war file generated in the usergrid/rest project.</p>
+<h2 id="getting-started-with-the-http-api">Getting Started with the HTTP API</h2>
+<p>Start by creating an Organization. It’s the top-level structure in Usergrid: all Apps and Administrators must belong to an Organization. Here’s how you create one:</p>
+<pre><code>curl -X POST  \
+     -d 'organization=myfirstorg&amp;username=myadmin&amp;name=Admin&amp;email=admin@example.com&amp;password=password' \
+     http://localhost:8080/management/organizations</code></pre>
+<p>You can see that creating an Organization creates an Administrator in the process. Let’s authenticate as him:</p>
+<pre><code>curl 'http://localhost:8080/management/token?grant_type=password&amp;username=myadmin&amp;password=password'</code></pre>
+<p>This will return an access_token. We’ll use this to authenticate the next two calls. Next, let’s create an Application:</p>
+<pre><code>curl -H "Authorization: Bearer [the management token from above]" \
+     -H "Content-Type: application/json" \
+     -X POST -d '{ "name":"myapp" }' \
+     http://localhost:8080/management/orgs/myfirstorg/apps</code></pre>
+<p>… And a User for the Application:</p>
+<pre><code>curl -H "Authorization: Bearer [the management token from above]" \
+     -X POST "http://localhost:8080/myfirstorg/myapp/users" \
+     -d '{ "username":"myuser", "password":"mypassword", "email":"user@example.com" }'</code></pre>
+<p>Let’s now generate an access token for this Application User:</p>
+<pre><code>curl 'http://localhost:8080/myfirstorg/myapp/token?grant_type=password&amp;username=myuser&amp;password=mypassword'</code></pre>
+<p>This will also send back an access_token, but limited in scope. Let’s use it to create a collection with some data in it:</p>
+<pre><code>curl -H "Authorization: Bearer [the user token]" \
+     -X POST -d '[ { "cat":"fluffy" }, { "fish": { "gold":2, "oscar":1 } } ]' \
+     http://localhost:8080/myfirstorg/myapp/pets</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/getting-up-and-running-locally.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[41/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/managing-access-defining-permission-rules.md
----------------------------------------------------------------------
diff --git a/content/content/docs/managing-access-defining-permission-rules.md b/content/content/docs/managing-access-defining-permission-rules.md
new file mode 100644
index 0000000..f606ddd
--- /dev/null
+++ b/content/content/docs/managing-access-defining-permission-rules.md
@@ -0,0 +1,218 @@
+---
+title: Managing access by defining permission rules
+category: docs
+layout: docs
+---
+
+Managing access by defining permission rules
+============================================
+
+You control your app users' access to application resources by defining
+roles and permission rules. In your Apache Usergrid application, you assign
+application users a *role* that represents a set of permissions. Through
+these permissions, you allow users to perform certain operations (GET,
+POST, PUT, or DELETE) on specific resources. When the user submits a
+request via your app code to the Apache Usergrid API, the user’s
+permissions are checked against the resource paths that the user is
+trying to access. The request succeeds only if access to the resource is
+allowed by the permission rules you specify.
+
+You specify roles for unauthenticated users and those who authenticate
+as an Application User, as defined in [Authenticating users and
+application clients](/authenticating-users-and-application-clients).
+Roles are not applied for the other authentication levels: Application,
+Admin User, and Organization. Access at these levels can't be restricted
+by roles and permission rules. You should allow clients to authenticate
+at these levels sparingly and carefully.
+
+Roles included by default
+-------------------------
+
+When defining user access to your application's data, you create roles,
+specify permission rules for them, then associate users with the roles.
+Apache Usergrid includes three predefined roles when you create an
+application.
+
+The following table lists the three roles included by default. Note that
+two of these are in effect and applied from the time your application is
+created (until you change them). Apache Usergrid applies the following
+default behavior:
+
+1.  An unauthenticated user is automatically added to the Guest role so
+    that they can register for a user account.
+2.  A user who has a user account and authenticates with it is
+    automatically added to the Default role. **Note that by default,
+    this role is very permissive.** Be sure to restrict it with specific
+    permission rules before deploying to production.
+
++-------------------------+-------------------------+-------------------------+
+| Role                    | Description             | Notes                   |
++=========================+=========================+=========================+
+| Guest                   | Default for             | Grants permission for a |
+|                         | unauthenticated users.  | user to create a user   |
+|                         | Includes a basic set of | account and for their   |
+|                         | permissions for         | device to be            |
+|                         | unregistered or         | registered. You can     |
+|                         | unauthenticated users.  | change permission rules |
+|                         | Users are automatically | based on your goals for |
+|                         | added to the Guest role | unregistered user       |
+|                         | before they’re          | access. This role is    |
+|                         | authenticated. After    | designed to provide     |
+|                         | they’re authenticated,  | access for people who   |
+|                         | users are automatically | haven't yet registered, |
+|                         | added to the Default    | and allow them to       |
+|                         | role.                   | register.               |
++-------------------------+-------------------------+-------------------------+
+| Default                 | Default for             | By default, **grants    |
+|                         | authenticated users.    | full access for all     |
+|                         | Includes permissions    | resources in your       |
+|                         | for the set of          | application**. A first  |
+|                         | operations you want an  | task in securing your   |
+|                         | authenticated user to   | application should be   |
+|                         | be able to perform.     | to restrict access by   |
+|                         | Users are added to this | redefining this role to |
+|                         | role after they're      | narrow the access it    |
+|                         | authenticated.          | provides. Remove the    |
+|                         |                         | default full permission |
+|                         |                         | rule and add            |
+|                         |                         | restrictive permission  |
+|                         |                         | rules for a production  |
+|                         |                         | deployment.             |
++-------------------------+-------------------------+-------------------------+
+| Administrator           | Unused until you        | Grants no access.       |
+|                         | associate it with users | Consider this a blank   |
+|                         | or groups. By default,  | slate. Add permission   |
+|                         | includes no permissions | rules and associate     |
+|                         | that provide access.    | this role with users    |
+|                         |                         | and groups as needed.   |
+|                         |                         |                         |
+|                         |                         | **Note**: The           |
+|                         |                         | Administrator role is   |
+|                         |                         | *not the same* as an    |
+|                         |                         | organization            |
+|                         |                         | administrator -- that   |
+|                         |                         | is, someone who         |
+|                         |                         | authenticates as an     |
+|                         |                         | Admin User. The Admin   |
+|                         |                         | User is an implicit     |
+|                         |                         | user created when you   |
+|                         |                         | create an organization. |
+|                         |                         | After authenticating,   |
+|                         |                         | the Admin User has full |
+|                         |                         | access to all of the    |
+|                         |                         | administration features |
+|                         |                         | of the Apache Usergrid     |
+|                         |                         | API. By comparison, the |
+|                         |                         | Administrator role is   |
+|                         |                         | simply a role           |
+|                         |                         | (initially without      |
+|                         |                         | permissions) that can   |
+|                         |                         | be assigned to any      |
+|                         |                         | user.                   |
++-------------------------+-------------------------+-------------------------+
+
+Defining your own roles and permissions
+---------------------------------------
+
+When preparing an application for production use, a good first step is
+to edit permission rules for the Default role. This role will be applied
+for every user who authenticates as an Application User.
+
+The admin portal is the best place to manage roles. While you can manage
+roles and permissions programmatically (see [Role](/role)),
+security-related calls from a mobile app will pose a security risk.
+Consider doing so only from a server-side web application.
+
+For easy-to-read examples, this section expresses permission rules in
+this way:
+
+    <operations>:<entity path pattern>
+
+-   \<operations\> is a comma-delimited set of REST operations
+    (GET, PUT, POST, DELETE) that are allowed for the specified entity
+    path.
+-   \<entity path pattern\> is a parameter evaluated using Apache Ant
+    pattern matching
+    (see [http://ant.apache.org/manual/dirtasks.html\#patterns](http://ant.apache.org/manual/dirtasks.html#patterns)).
+
+For example, in the Default role, first remove the permission rule that
+grants full access to all authenticated users. You could then begin by
+creating a rule that grants access for the authenticated user to makes
+changes only to data associated with their account. 
+
+    GET,PUT,POST,DELETE:/users/me/**
+
+Use the Admin Portal to make role and permission rule changes. On the
+left sidebar of the portal, click Users, then click Roles. This displays
+the roles defined for the application. To create a role, click the Add
+button (it looks like a person's silhouette). To delete a role, select
+the role you want to delete and click the Remove button (it looks like a
+trash can). To view the privileges in a role, click the role.
+
+Suppose you created a role named "customer". Here’s what the privileges
+for the role might look like:
+
+![](/docs/sites/docs/files/worker_permissions.png)
+
+Notice that specific privileges for operations are represented using
+checkboxes in the Permission Rules section. The path indicates the
+resource path for which the permissions apply. The permissions apply to
+all resources in the specified path directory and its subdirectories. As
+currently specified, the worker role has GET permission on the base
+directory path (/) and all resource paths below it (in other words, all
+resource paths).
+
+You can add a permission, by entering the entity path pattern in the
+Path field of the Add Permission Rule section, and checking the
+operation checkboxes (get, post, put, and delete) as appropriate. For
+example, the following adds permission to create a user:
+
+![](/docs/sites/docs/files/add_permission.png)
+
+Click Add, and the permission is added to the role.
+
+![](/docs/sites/docs/files/pemission_list.png)
+
+Permission rule examples
+------------------------
+
+Here are some examples to illustrate how permissions are specified:
+
+-   Authenticated user can change any data related to the:\
+
+        POST:/users/*
+
+-   A permission the permits the current user to make any changes to
+    resources associated with them:\
+
+        GET,PUT,POST,DELETE:/users/me/**
+
+-   A permission that allows someone to look at a specific user:\
+
+        GET:/users/john.doe
+
+-   A permission that allows the current user to see his activity feed:\
+
+        GET:/users/${user}/feed/*
+
+    The \${user} in the entity path refers to a variable that represents
+    the current user’s UUID.
+
+-   A permission allowing linked entities to be read:\
+
+        GET:/users/${user}/**
+
+    The /\*\* in the entity path is a wildcard that matches everything
+    under that path. This means that the full specification matches
+    multiple resource paths, including, but not limited to, the
+    following:
+
+        /users/${user}/feed
+        /users/${user}/feed/item1/a/b/c
+
+-   A permission that allows the current user to add himself or another
+    user to a group:\
+
+        POST:/groups/${user}/users/**
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/messagee-example.md
----------------------------------------------------------------------
diff --git a/content/content/docs/messagee-example.md b/content/content/docs/messagee-example.md
new file mode 100644
index 0000000..e9ec380
--- /dev/null
+++ b/content/content/docs/messagee-example.md
@@ -0,0 +1,192 @@
+---
+title: Messagee Example
+category: docs
+layout: docs
+---
+
+Messagee Example
+================
+
+*Messagee* is a simple Twitter-style messaging application that
+leverages the extensive functionality of App services. This section
+describes some of the features of Messagee.
+
+There are three client versions of Messagee:
+
+-   An [iOS client](#iOS_client)
+-   An [Android client](#android_client)
+-   An [HTML5 client](#html5_client)
+
+The sections below describe how to create a new app, enter some test
+users, and run the app. You also learn how to use the App services admin
+portal, a user interface that streamlines data and application
+management in the App services system. The portal is also a reference
+application that shows how to incorporate App services APIs with
+JavaScript. For a more detailed discussion of the portal's
+functionality, see [Admin portal](/admin-portal).
+
+Creating a user account in App services
+---------------------------------------
+
+Go to [https://apigee.com/usergrid/](https://apigee.com/usergrid/) to
+access the login screen for the App services admin portal. If you are
+new to App services, sign up for an account to access the portal,
+specifying an organization (e.g., the name of your company or project
+team) and a username and password that you can use to authenticate.
+Because App services are designed for use by development teams, the same
+username can be associated with one or more organizations.
+
+If you create a new account, you receive a confirmation email that
+contains a URL that you must click to activate the account. After this,
+simply log in to the portal with your username and password.
+
+![](/docs/sites/docs/files/styles/large/public/login.png?itok=ws5DhLDI)
+
+Creating an app and users
+-------------------------
+
+When you have logged in, you need to create a new application.
+
+![](/docs/sites/docs/files/styles/large/public/portal-1.png?itok=4o63Ia-y)
+
+1.  2.  Enter a unique application name. The name must be unique to
+    avoid a conflict with another user running the same application.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-2.png?itok=yz8QznI7)
+
+3.  4.  Make sure that the portal shows the application name you entered
+    as the active application beneath the Applications menu **(1)**.
+
+    If the correct name is not displayed, click the menu and select your
+    application.
+
+    Next, you need to populate a test user *user-test-1* that is going
+    to log in to your copy of the server-side Messagee app.
+
+5.  6.  Click the Users box on the left side of the console **(2)**.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-3.png?itok=ncRlqPGQ)
+
+7.  8.  Click the Add button and enter the user information for your
+    application in the pop-up window (be sure to create a password you
+    can remember), and then click the Create button. Repeat these steps
+    to create a second username *test-user-2*.
+
+    ![](/docs/sites/docs/files/styles/large/public/portal-4.png?itok=X_kKe5Ke)
+
+9.  
+
+When you have finished all these steps, you have a new application and
+two new users.
+
+![](/docs/sites/docs/files/styles/large/public/portal-5.png?itok=jSmAcwc3)
+
+Now that you have created a uniquely named copy of the Messagee
+application as well as two user accounts (*test-user-1* and
+*test-user-2*), you are ready to test out the Messagee app. Use
+test-user-1 to log in to the app, and test-user-2 as the user to follow.
+
+To continue with the example, follow the instructions for a client app
+([iOS client](#iOS_client), [Android client](#android_client), or [HTML5
+client](#html5_client)).
+
+iOS client
+----------
+
+Messagee is available as an iPhone app that uses Apache Usergrid and
+RestKit. The source for the iOS version of Messagee is available in the
+/samples/messagee directory of the [Apache Usergrid iOS SDK](#ios_sdk)
+
+Here are the steps to run the Messagee app on iOS:
+
+1.  2.  Run Steps 1-6 under [Creating an app and users](#app_user).
+
+    These steps create a unique instance of the Messagee app on the
+    server and two test users, *test-user-1* and *test-user-2*.
+
+3.  4.  Access the Messagee server app by typing a URL similar to the
+    following into your iOS mobile client (replace \<Messagee\> with the
+    unique name of your application):
+
+    [https://api.usergrid.com](https://api.usergrid.com)/\<Messagee\>/index.html
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-1-chooseapp.jpg?itok=NSQcdJrj)
+
+5.  6.  On the mobile client, complete the registration information and
+    click Register.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-2-register.jpg?itok=Xzqe7mXV)
+
+7.  8.  Log in to the Messagee app by entering the *test-user-1* account
+    information created previously, and click the Sign in button.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-4-signin.jpg?itok=0M9QYU7b)
+
+    At this point, the message board is empty:
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-5-emptyfeed.jpg?itok=EWcUVMQN)
+
+9.  10. To post a message using the app, click the top-right icon in the
+    message board to create a message, write the message text, and send
+    it by clicking Post.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-6-newmsg.jpg?itok=Wj16l_5V)
+
+    **Note:** The posted message should appear in the message board
+    within few seconds.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-7-feed1msg.jpg?itok=RclSnHuU)
+
+    For your instance of the Messagee application to act like Twitter,
+    you need to "follow" another user.
+
+11. 12. In the message board, click Add People and add *test-user-2* as
+    a person that *test-user-1* follows.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-9-follow.jpg?itok=yJeaYnEj)
+
+13. 14. Log in as *test-user-2* and post a message as this user to the
+    message board.
+15. 16. Go back and log in as user *test-user-1*.
+
+    Because *test-user-1* follows *test-user-2*, you should see the
+    message sent by *test-user-2* in the message board.
+
+    ![](/docs/sites/docs/files/styles/large/public/iOS-10-seeusermsg.jpg?itok=Wcd7avBh)
+
+17. 
+
+iOS SDK
+-------
+
+If you want to write iOS applications that connect to App services,
+[download the Apache Usergrid iOS
+SDK](http://www.apigee.com/docs/content/ios-sdk-redirect)
+
+**Note:** The Messagee iOS application uses RestKit, a popular REST
+framework for iOS, to communicate with App services. Because App
+services use a REST API, you can use any REST framework to talk with the
+service. However, the official App services iOS SDK provides a more
+convenient communication mechanism that you should use unless you're
+already using RestKit or some other framework in your project.
+
+Android client and SDK
+----------------------
+
+Messagee is available as a sample Android app that acts as a App
+services client. The source for the Android version is packaged with the
+Apache Usergrid Android SDK in the /samples/messagee directory.
+
+[Download the Apache Usergrid Android
+SDK](http://www.apigee.com/docs/content/android-sdk-redirect).
+
+Javascript/HTML5 client and SDK
+-------------------------------
+
+Messagee is also available as a sample HTML5 app that behaves in much
+the same way as the two previous examples. The source for the HTML5
+version is packaged with the Apache Usergrid Javascript/HTML5 SDK in the
+/samples/messagee directory.
+
+[Download the Apache Usergrid Javascript/HTML5
+SDK](http://www.apigee.com/docs/content/javascript-sdk-redirect).

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/nodejs-module.md
----------------------------------------------------------------------
diff --git a/content/content/docs/nodejs-module.md b/content/content/docs/nodejs-module.md
new file mode 100644
index 0000000..e9f10f9
--- /dev/null
+++ b/content/content/docs/nodejs-module.md
@@ -0,0 +1,61 @@
+---
+title: Node.js module
+category: docs
+layout: docs
+---
+
+Installation
+------------
+
+From the command-line, run:
+
+```bash
+$ npm install usergrid
+```
+
+
+Client Initialization
+---------------------
+
+TODO
+
+
+
+Organizations
+-------------
+
+```javascript
+// Create an Organization
+var options = {
+    method:'POST',
+    endpoint:'management/orgs',
+    body:{ 
+          password:'test12345', 
+          email:'tester12345@gmail.com', 
+          name:'test', 
+          username:'tes123', 
+          organization:'testorg' 
+    }    
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});
+
+
+// Read an Organization
+var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});
+```
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/old-forks.md
----------------------------------------------------------------------
diff --git a/content/content/docs/old-forks.md b/content/content/docs/old-forks.md
new file mode 100644
index 0000000..276e694
--- /dev/null
+++ b/content/content/docs/old-forks.md
@@ -0,0 +1,35 @@
+---
+title: What about old forks of Apigee Usergrid?
+category: docs
+layout: docs
+---
+If you previously developed with Apigee Usergrid (i.e. before we moved to Apache), you know our code used to be structured into _separate_ repositories: usergrid-stack, usergrid-portal, etc. We are now using a _merged_ repository.
+
+### How to update your code setup & pull changes from your old forks
+
+You just need to clone this repository, and use [git subtree (usually requires git 1.8+)](http://engineeredweb.com/blog/how-to-install-git-subtree/) to merge your changes under the new structure. Here’s an example for a portal fork. Adjust the prefix, repository address and branch you want to pull from as necessary.
+
+    git clone git@github.com:apache/incubator-usergrid.git
+    cd usergrid
+    git subtree pull --prefix=portal git@github.com:my-github-account/my-usergrid-portal-fork.git master
+
+This will pull (i.e. merge) the changes you made from the master branch of github.com/my-github-account/my-usergrid-portal-fork into the portal/ subfolder. It should ask you to provide a commit message for the merge. There’s lot of flexibility on how to fetch and merge, [please see the git subtree manual](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) for details. Then please do consider sending us a pull request with these changes ;)
+
+
+### How to pull commits made on this repo into your old forks
+
+You should really update your old repositories to the new structure with the instructions above, but the following may work for you, although we make no guarantee they will work in the future.
+
+You can produce a branch compatible with the old repos by using [git subtree (usually requires git 1.8+)](http://engineeredweb.com/blog/how-to-install-git-subtree/). Then from this repository you can
+
+    git clone git@github.com:apache/incubator-usergrid.git
+    cd usergrid
+    git checkout master
+    git subtree split --prefix=portal -b portal
+    git checkout portal
+
+This will create a “portal” branch that is compatible with the old usergrid-portal repository, from the code under the portal/ directory. You can pull from that branch (or push changes to it, although we will not accept pull requests sent thusly).
+
+The `git subtree split` above should function for portal, ugc, and any of the SDKs, but will not work for the stack, due to some anonymous comments left in the tree that prevent a split, and cannot be corrected lest we break the history and force a rebase on all forks.
+
+**Please update your code setup as soon as possible and [ask the dev list](https://mail-archives.apache.org/mod_mbox/incubator-usergrid-dev/) if you have any questions!**

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/organization.md
----------------------------------------------------------------------
diff --git a/content/content/docs/organization.md b/content/content/docs/organization.md
new file mode 100644
index 0000000..388e4e0
--- /dev/null
+++ b/content/content/docs/organization.md
@@ -0,0 +1,1266 @@
+---
+title: Organization
+category: docs
+layout: docs
+---
+
+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.
+
+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.
+
+Creating an organization
+------------------------
+
+Use the POST method to create an organization through a form post.
+
+### Request URI
+
+POST /organizations|orgs {request body}
+
+### Parameters
+
+Parameter
+
+Description
+
+request body
+
+The following set of organization properties supplied through a form:
+
+Property
+
+Description
+
+organization (string)
+
+The name of the organization.
+
+username (string)
+
+The username of the administrator.
+
+name (string)
+
+The name of the administrator.
+
+email (string)
+
+The email address of the administrator.
+
+password (string)
+
+The password of the administrator.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_create_org)
+-   [JavaScript (HTML5)](#javascript_create_org)
+-   [Ruby](#ruby_create_org)
+-   [Node.js](#nodejs_create_org)
+
+
+```bash
+$ curl -X POST "https://api.usergrid.com/management/orgs" \
+       -d '{"password":"test12345","email":"tester123@hotmail.com","name":"test","username":"test123","organization":"testorg"}'
+```
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+````ruby
+mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+management.create_organization 'testorg', 'test123', 'test', 'tester123@hotmail.com', 'test12345'
+````
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+```javascript
+var options = {
+    method:'POST',
+    endpoint:'management/orgs',
+    body:{ 
+          password:'test12345', 
+          email:'tester12345@gmail.com', 
+          name:'test', 
+          username:'tes123', 
+          organization:'testorg' 
+    }    
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});
+```
+
+### Example - Response
+
+```javascript
+{
+  "action": "new organization",
+  "status": "ok",
+  "data":  {
+    "owner":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": false,
+      "disabled": false,
+      "uuid": "48c92c73-0d7e-11e2-98b9-12313d288ee0",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 <te...@hotmail.com>",
+      "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+    },
+    "organization":  {
+      "name": "testorg",
+      "uuid": "5de0bb69-0d7f-11e2-87b9-12313d288ff0"
+    }
+  },
+  "timestamp": 1349284674173,
+  "duration": 21376
+}
+```
+
+Getting an organization
+-----------------------
+
+Use the GET method to retrieve an organization given a specified UUID or
+username.
+
+### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_org)
+-   [JavaScript (HTML5)](#javascript_get_org)
+-   [Ruby](#ruby_get_org)
+-   [Node.js](#nodejs_get_org)
+
+```bash
+curl -X GET "https://api.usergrid.com/management/orgs/testorg"
+```
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+```ruby
+mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+org = mgmt.organization 'testorg'
+```
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+```javascript
+var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});
+```
+
+### Example - Response
+
+```javascript
+{
+  "timestamp": 1349286861746,
+  "duration": 18,
+  "organization":  {
+    "users":  {
+      "tester123":  {
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "username": "tester123",
+        "name": "test",
+        "email": "tester123@hotmail.com",
+        "activated": true,
+        "disabled": false,
+        "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
+        "adminUser": true,
+        "displayEmailAddress": "tester123 <te...@hotmail.com>",
+        "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+      }
+    },
+    "name": "testorg",
+    "applications":  {
+      "tester123/sandbox": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "tester123/testapp1": "be08a5f9-fdd3-11e1-beca-12313d027471",
+      "tester123/testapp2": "cede5b7e-fe90-11e1-95c8-12313b122c56"
+    },
+    "uuid": "33dd0563-cd0c-11e1-bcf7-12313d1c4491"
+  }
+```
+
+Activating an organization
+--------------------------
+
+Use the GET method to activate an organization from a link provided in
+an email notification.
+
+### Request URL
+
+GET
+/organizations|orgs/{org\_name}|{uuid}/activate?token={token}&confirm={confirm\_email}
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -------------------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string token                Activation token (supplied via email).
+  boolean confirm\_email      Send confirmation email (false is the default).
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_activate_org)
+-   [JavaScript (HTML5)](#javascript_activate_org)
+-   [Ruby](#ruby_activate_org)
+-   [Node.js](#nodejs_activate_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/activate',
+        qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "activate organization",
+      "timestamp": 1337928462810,              
+      "duration": 3342
+    }
+
+Reactivating an organization
+----------------------------
+
+Use the GET method to reactivate an organization.
+
+### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/reactivate
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_reactivate_org)
+-   [JavaScript (HTML5)](#javascript_reactivate_org)
+-   [Ruby](#ruby_reactivate_org)
+-   [Node.js](#nodejs_reactivate_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/reactivate"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/reactivate']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/reactivate'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "reactivate organization",
+      "timestamp": 1349385280891,
+      "duration": 3612
+    }
+
+Generating organization client credentials
+------------------------------------------
+
+Use the POST method to generate new credentials for an organization
+client.
+
+### Request URI
+
+POST /organizations|orgs/{org\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_gen_org_credentials)
+-   [JavaScript](#javascript_gen_org_credentials)
+-   [Ruby](#ruby_gen_org_credentials)
+-   [Node.js](#nodejs_gen_org_credentials)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/management/orgs/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/credentials'].create
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "generate organization client credentials",
+      "timestamp": 1349385795647,
+      "duration": 7,
+      "credentials":  {
+        "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+        "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+      }
+    }
+
+Retrieving organization client credentials
+------------------------------------------
+
+Use the GET method to retrieve the credentials for an organization
+client.
+
+### Request URL
+
+GET /organizations|orgs/{org\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_org_credentials)
+-   [JavaScript (HTML5)](#javascript_get_org_credentials)
+-   [Ruby](#ruby_get_org_credentials)
+-   [Node.js](#nodejs_get_org_credentials)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/credentials']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get organization client credentials",
+      "timestamp": 1349386672984,
+      "duration": 690,
+      "credentials":  {
+        "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+        "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+      }
+    }
+
+Getting an organization's activity feed
+---------------------------------------
+
+Use the GET method to get an organization's activity feed.
+
+### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/feed
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_org_feed)
+-   [JavaScript (HTML5)](#javascript_get_org_feed)
+-   [Ruby](#ruby_get_org_feed)
+-   [Node.js](#nodejs_get_org_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/feed"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    activities = mgmt['orgs/testorg/feed'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+     {
+      "action": "get organization feed",
+      "status": "ok",
+      "entities":  [
+         {
+          "uuid": "cf4d981c-fe90-11e1-95c8-12313b122c56",
+          "type": "activity",
+          "created": 1347643370454,
+          "modified": 1347643370454,
+          "actor":  {
+            "displayName": "tester123",
+            "objectType": "person",
+            "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
+            "entityType": "user"
+          },
+          "category": "admin",
+          "metadata":  {
+            "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz3SoH_6QEeGVyBIxOxIsVgA",
+            "path": "/groups/33dd0563-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+          },
+    "object":  {
+            "displayName": "testapp2",
+            "objectType": "Application",
+            "uuid": "cede5b7e-fe90-11e1-95c8-12313b122c56",
+            "entityType": "application_info"
+          },
+          "published": 1347643370454,
+          "title": "<a mailto="mailto:tester123@hotmail.com">tester123 (tester123@hotmail.com)</a> created a new application named testapp2",
+          "verb": "create"
+        },...
+    ,
+      "timestamp": 1349387253811,
+
+Creating an organization application
+------------------------------------
+
+Use the POST method to create an application for an organization through
+a form post.
+
+### Request URI
+
+POST /organizations|orgs/{org\_name}|{org\_uuid}/apps {request body}
+
+### Parameters
+
+Parameter
+
+Description
+
+request body
+
+The following set of organization properties supplied through a form:.
+
+Property
+
+Description
+
+access token (string)
+
+The OAuth2 access token.
+
+name (string)
+
+The name of the application.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_create_org_app)
+-   [JavaScript (HTML5)](#javascript_create_org_app)
+-   [Ruby](#ruby_create_org_app)
+-   [Node.js](#nodejs_create_org_app)
+
+<!-- -->
+
+    curl -X -i POST "https://api.usergrid.com/management/orgs/testorg/apps" -d '{"access_token":"YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ","name":"testapp1"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mynewapp = mgmt['orgs/testorg/apps'].create name: 'testapp1', access_token: 'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ'
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/testorg/apps',
+        body:{ 
+              access_token:'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ', 
+              name:'testapp1' 
+        }    
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "new application for organization",
+      "timestamp": 1338914698135,
+      "duration": 701
+    }
+
+Deleting an organization application
+------------------------------------
+
+Use the DELETE method to delete an application from an organization.
+
+### Request URI
+
+DELETE
+/organizations|orgs/{org\_name}|{org\_uuid}/apps/{app\_name}|{app\_uuid}
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_delete_org_app)
+-   [JavaScript (HTML5)](#javascript_delete_org_app)
+-   [Ruby](#ruby_delete_org_app)
+-   [Node.js](#nodejs_delete_org_app)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/apps/testapp1"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'management/orgs/testorg/apps/testapp1'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "delete application from organization",
+      "timestamp": 1349817715666,
+      "duration": 0
+    }
+
+Generating application credentials
+----------------------------------
+
+Use the POST method to generate the client ID and client secret
+credentials for an application in an organization.
+
+### Request URI
+
+POST
+/organizations|orgs/{org\_name}|{uuid}/applications|apps/{app\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_gen_app_credentials)
+-   [JavaScript (HTML5)](#javascript_gen_app_credentials)
+-   [Ruby](#ruby_gen_app_credentials)
+-   [Node.js](#nodejs_gen_app_credentials)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1/credentials'].create
+
+The example assumes use of the [Node.js
+module](https://github.com/scottganyo/usergrid_iron).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "generate application client credentials",
+      "timestamp": 1349815979529,
+      "duration": 535,
+      "credentials":  {
+        "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+        "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+      }
+    }
+
+Getting application credentials
+-------------------------------
+
+Use the GET method to retrieve the client ID and client secret
+credentials for an application in an organization.
+
+### Request URI
+
+GET
+/organizations|orgs/{org\_name}|{uuid}/applications|apps/{app\_name}|{uuid}/credentials
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+  string app\_name|arg uuid   Application name or application UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_app_credentials)
+-   [JavaScript (HTML5)](#javascript_get_app_credentials)
+-   [Ruby](#ruby_get_app_credentials)
+-   [Node.js](#nodejs_get_app_credentials)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps/testapp1/credentials"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/apps/testapp1/credentials']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get application client credentials",
+      "timestamp": 1349816819545,
+      "duration": 7,
+      "credentials":  {
+        "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+        "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+      }
+    }
+
+Getting the applications in an organization
+-------------------------------------------
+
+Use the GET method to retrieve the applications in an organization.
+
+### Request URI
+
+GET /organizations|orgs/{org\_name}|{uuid}/applications|apps
+
+Parameters
+
+  Parameter                   Description
+  --------------------------- -----------------------------------------
+  string org\_name|arg uuid   Organization name or organization UUID.
+
+**Note:** You also need to provide a valid access token with the API
+call. See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_apps_org)
+-   [JavaScript (HTML5)](#javascript_get_apps_org)
+-   [Ruby](#ruby_get_apps_org)
+-   [Node.js](#nodejs_get_apps_org)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/apps"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    apps = mgmt['orgs/testorg/apps'].collection
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/apps'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+ 
+
+### Example - Response
+
+    {
+      "action": "get organization application",
+      "data":  {
+        "testorg/sandbox": "3500ba10-cd0c-11e1-bcf8-12313d1c5591",
+        "testorg/testapp1": "be09a5f9-fdd3-11e1-beca-12313d027361",
+        "testorg/testapp2": "cede5b8e-fe90-11e1-65c8-12313b111c56"    
+      },
+      "timestamp": 1349815338635,
+      "duration": 22
+    }
+
+Adding an admin user to an organization
+---------------------------------------
+
+Use the PUT method to add an existing admin user to an organization.
+
+### Request URI
+
+PUT
+/organizations|orgs/{org\_name}|{org\_uuid}/users/{username|email|uuid}
+
+### Parameters
+
+  Parameter                               Description
+  --------------------------------------- ----------------------------------------------
+  string org\_name|arg org\_uuid          Organization name or organization UUID.
+  string username|string email|arg uuid   User name, user email address, or user UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_add_admin_user)
+-   [JavaScript (HTML5)](#javascript_add_admin_user)
+-   [Ruby](#ruby_add_admin_user)
+-   [Node.js](#nodejs_add_admin_user)
+
+<!-- -->
+
+    curl -X PUT "https://api.usergrid.com/management/orgs/testorg/users/test123"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/users/test123'].put nil
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/orgs/testorg/users/test123'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "add user to organization",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 1349390189106,
+      "duration": 11808
+    }
+
+Getting the admin users in an organization
+------------------------------------------
+
+Use the GET method to retrieve details about the admin users in an
+organization.
+
+### Request URI
+
+GET /organizations|orgs/{org\_name}|{org\_uuid}/users
+
+### Parameters
+
+  Parameter                        Description
+  -------------------------------- -----------------------------------------
+  string org\_name|arg org\_uuid   Organization name or organization UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_admin_users)
+-   [JavaScript (HTML5)](#javascript_get_admin_users)
+-   [Ruby](#ruby_get_admin_users)
+-   [Node.js](#nodejs_get_admin_users)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/orgs/testorg/users"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    admins = mgmt['orgs/testorg/users']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/orgs/testorg/users'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get organization users",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 13494542201685,
+      "duration": 10
+    }
+
+Removing an admin user from an organization
+-------------------------------------------
+
+Use the DELETE method to remove an admin user from an organization.
+
+### Request URI
+
+DELETE
+/organizations|orgs/{org\_name}|{org\_uuid}/users/{username|email|uuid}
+
+### Parameters
+
+  Parameter                               Description
+  --------------------------------------- ----------------------------------------------
+  string org\_name|arg org\_uuid          Organization name or organization UUID.
+  string username|string email|arg uuid   User name, user email address, or user UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_delete_admin_user)
+-   [JavaScript (HTML5)](#javascript_delete_admin_user)
+-   [Ruby](#ruby_delete_admin_user)
+-   [Node.js](#nodejs_delete_admin_user)
+
+<!-- -->
+
+    curl -X DELETE "https://api.usergrid.com/management/orgs/testorg/users/test123"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['orgs/testorg/users/test123'].delete
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'DELETE',
+        endpoint:'management/orgs/testorg/users/test123'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — DELETE failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "remove user from organization",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "tester123",
+          "name": "test",
+          "email": "tester123@hotmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "tester123 <te...@hotmail.com>",
+          "htmldisplayEmailAddress": "tester123 <<a href="mailto:tester123@hotmail.com">tester123@hotmail.com</a>>"
+        }
+      },
+      "timestamp": 1349453590005,
+      "duration": 727
+    }
+
+ 


[15/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/default-data-entities/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/default-data-entities/index.html b/content/publish/docs/default-data-entities/index.html
new file mode 100644
index 0000000..35d5e51
--- /dev/null
+++ b/content/publish/docs/default-data-entities/index.html
@@ -0,0 +1,1288 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Default Data Entities</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Default Data Entities</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/default-data-entities.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#default-data-entities">Default Data Entities</a><ul>
+<li>
+<a href="#activity">Activity</a><ul>
+<li><a href="#properties">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#application">Application</a><ul>
+<li><a href="#properties-1">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#asset">Asset</a><ul>
+<li><a href="#properties-2">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#device">Device</a><ul>
+<li><a href="#properties-3">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#event">Event</a><ul>
+<li><a href="#properties-4">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#folder">Folder</a><ul>
+<li><a href="#properties-5">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#group">Group</a><ul>
+<li><a href="#properties-6">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#notification">Notification</a><ul>
+<li><a href="#properties-7">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#notifier">Notifier</a><ul>
+<li><a href="#properties-8">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#receipt">Receipt</a><ul>
+<li><a href="#properties-9">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#role">Role</a><ul>
+<li><a href="#properties-10">Properties</a></li>
+</ul>
+</li>
+<li>
+<a href="#user">User</a><ul>
+<li><a href="#properties-11">Properties</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="default-data-entities">Default Data Entities</h1>
+<p>This following describes all of the default data entities available in Apache Usergrid, and their default properties. Each entity can be accessed in a corresponding collection, named with the plural form of the entity name (see <a href="/app-services-data-model-1">Apache Usergrid Data model</a> for more information on how data is stored in Apache Usergrid).</p>
+<p>Properties marked ‘required’ must be set for the entity to be successfully created. Properties marked ‘optional’ are reserved by the API but not required. All other properties are automatically set and returned by the API when the entity is created.</p>
+<p>For information on creating custom entities or custom properties for any entity, see You do not have access to view this node.</p>
+<h2 id="activity">Activity</h2>
+<p>The <em>activity</em> entity represents a user activity, and is specifically designed for use in data streams as defined by the <a href="http://activitystrea.ms/specs/json/1.0/">JSON Activity Streams 1.0 specification</a>.</p>
+<p>For more information on using the activity entity, see <a href="/activity">Activity</a>.</p>
+<h3 id="properties">Properties</h3>
+<p>The following are the system-defined properties for activity entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “activity”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>actor</p></td>
+<td align="left"><p>ActivityObject</p></td>
+<td align="left"><p><strong>Required.</strong> Entity that performed the ‘action’ of the activity (see <a href="http://a%20ctivitystrea.ms/specs/j%20son/1.0/">JSON Activity Streams 1.0 specification</a>). By default, the UUID of the user who performed the action is recorded as the value of the ‘uuid’ property of this object.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>verb</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> The action performed by the user (for example, <em>post</em>)</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>published</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><strong>Required.</strong> <a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the activity was published</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>content</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Description of the activity</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>icon</p></td>
+<td align="left"><p>MediaLink</p></td>
+<td align="left"><p><em>Optional.</em> Visual representation of a media link resource (see <a href="http://a%20ctivitystrea.ms/specs/j%20son/1.0/">JSON Activity Streams 1.0 specification</a>)</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>category</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Category used to organize activities</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>verb</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Action that the actor performs (for example, <em>post</em>)</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>published</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><em>Optional.</em> <a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds when the activity was published</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>object</p></td>
+<td align="left"><p>ActivityObject</p></td>
+<td align="left"><p><em>Optional.</em> Object on which the action is performed (see <a href="http://a%20ctivitystrea.ms/specs/j%20son/1.0/">JSON Activity Streams 1.0 specification</a>)</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>title</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Title or headline for the activity</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the activity entity, as well as additional data entities associated with the activity. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the activity entity, including the UUID of the user entity associated with the activity and the UUID of the activity entity</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="application">Application</h2>
+<p>The <em>application</em> entity is the base entity for accessing your application data in Apache Usergrid. Aside from creating the application entity, most apps using Apache Usergrid will never need to access the application entity directly; however, you can add custom entities or make changes to the default properties of the entity for configuration purposes via the Apache Usergrid.</p>
+<p>For more information on creating and configuring applications in App Services, see <a href="/creating-new-application-admin-console">Creating a New Application with the Admin Console</a>.</p>
+<h3 id="properties-1">Properties</h3>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>String</p></td>
+<td align="left"><p>Type of entity, in this case “application”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Application name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>accesstokenttl</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><em>Optional.</em> Time to live value for an access token obtained within the application</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>organizationName</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Name of the organization the application belongs to</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>applicationName</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Name of the application</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>title</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Application title</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>description</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Application description</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>activated</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether application is activated</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>disabled</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether application is administratively disabled</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>allowOpenRegistration</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether application allows any user to register</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>registrationRequiresEma ilConfirmation</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether registration requires email confirmation</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>registrationRequiresAdm inApproval</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether registration requires admin approval</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>notify_admin_of_new<br>_users</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p><em>Optional.</em> Whether application admins should be notified of new users</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides a ‘collections’ object with the relative paths to all entity collections associated with the application. The following collections are included in metadata by default:</p>
+<ul>
+<li>
+<strong>users</strong>: Path to retrieve the /users collection</li>
+<li>
+<strong>groups</strong>: Path to retrieve the /groups collection</li>
+<li>
+<strong>folders</strong>: Path to retrieve the /folders collection</li>
+<li>
+<strong>events</strong>: Path to retrieve the /events collection</li>
+<li>
+<strong>assets</strong>: Path to retrieve the /assets collection</li>
+<li>
+<strong>activities</strong>: Path to retrieve the /activities collection</li>
+<li>
+<strong>devices</strong>: Path to retrieve the /devices collection</li>
+<li>
+<strong>notifiers</strong>: Path to retrieve the /notifiers collection</li>
+<li>
+<strong>notifications</strong>: Path to retrieve the /notifications collection</li>
+<li>
+<strong>receipts</strong>: Path to retrieve the /receipts collection</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="asset">Asset</h2>
+<p>The <em>asset</em> entity represents a binary data object stored in App Services infrastructure, such as an image, video or audio file. The asset entity does not contain the binary data, but rather contains information about the data and points to the location where it can be accessed in Apache Usergrid infrastructure.</p>
+<p>For more information on using the asset entity, see <a href="/assets">Assets</a>.</p>
+<h3 id="properties-2">Properties</h3>
+<p>The following are the system-defined properties for asset entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case“asset”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Asset name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>owner</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p><strong>Required.</strong> UUID of the user entity that owns the asset</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>path</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> Relative path to the asset</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>content-type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>MIME media type that describes the asset (see <a href="http://www.iana.%20org/assignments/media-t%20ypes">media types</a>)</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the asset entity, as well as additional data entities associated with the asset. The following properties are included in metadata:</p>
+<ul>
+<li>
+<strong>path</strong>: Path to retrieve the asset entity</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="device">Device</h2>
+<p>The <em>device</em> entity represents a unique device that is being used to access your app. Device entities should be associated with a user entity. The Apache Usergrid push notification feature requires the device entity.</p>
+<p>For more information on using the device entity, see <a href="/device">Device</a>.</p>
+<h3 id="properties-3">Properties</h3>
+<p>The following are the system-defined properties for device entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “device”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Device name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the device entity, as well as additional data entities associated with the user. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the device entity, including the device UUID</p>
+<p><strong>collections</strong>: Nested object that contains paths to data entity collections associated with the device.</p>
+<ul>
+<li>receipts: Receipt entities associated with the device</li>
+<li>users: User entities associated with the device</li>
+</ul>
+<p> </p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="event">Event</h2>
+<p>The <em>event</em> entity is used to log application data, primarily for performance and error monitoring. Event entities can be also associated with users and groups. The event mechanism in Apache Usergrid is optimized to handle large numbers of events, so it is an ideal mechanism for logging in your application.</p>
+<p>For more information on using the event entity, see <a href="/events-and-counters">Events and counters</a>.</p>
+<h3 id="properties-4">Properties</h3>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>String</p></td>
+<td align="left"><p>Type of entity, in this case “event”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>timestamp</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><strong>Required.</strong> <a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the application event occurred</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>user</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p><em>Optional.</em> UUID of application user that posted the event</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>group</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p><em>Optional.</em> UUID of application group that posted the event</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>category</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Category used for organizing similar events</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>counters</p></td>
+<td align="left"><p>map</p></td>
+<td align="left"><p><em>Optional.</em> Counter used for tracking number of similar events</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>message</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Message describing event. Will be <em>null</em> if no message is specified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the event entity, as well as additional data entities associated with the event. The following properties are included in metadata:</p>
+<ul>
+<li>
+<strong>path</strong>: Path to retrieve the event entity</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="folder">Folder</h2>
+<p>The <em>folder</em> entity is used to emulate a file structure for the purpose of organizing assets or custom entities.</p>
+<p>For more information on using the folder entity, see <a href="/folder">Folder</a>.</p>
+<h3 id="properties-5">Properties</h3>
+<p>The following are the system-defined properties for folder entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case“folder”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Folder name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>owner</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p><strong>Required.</strong> UUID of the folder’s owner</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>path</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> Relative path to the folder</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the folder entity, as well as additional data entities associated with the asset. The following properties are included in metadata:</p>
+<ul>
+<li>
+<strong>path</strong>: Path to retrieve the folder entity</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="group">Group</h2>
+<p>The <em>group</em> entity allows you to group users based on any criteria. Multiple group entities can be nested to create sub-groups. Users can also belong to multiple groups. Examples of uses for the group entity include grouping users by interest or location.</p>
+<p>The look-up properties for the entities of type group are UUID and path, that is, you can use the uuid or path property to reference a group in an API call. However, you can search on a group using any property of the group entity. See <a href="/queries-and-parameters">Queries and parameters</a> for details on searching.</p>
+<p>For more information on using the group entity, see <a href="/group">Group</a>.</p>
+<h3 id="properties-6">Properties</h3>
+<p>The following are the system-defined properties for group entities</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity UUID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “group”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>path</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> Relative path where the group can be retrieved</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>title</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Display name for the group entity</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the group entity, as well as additional data entities associated with the group. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the group entity, including the group UUID</p>
+<p><strong>sets</strong>: Nested object that contains the ‘rolenames’ and ‘permissions’ properties.</p>
+<ul>
+<li>rolenames: Path to retrieve a list of roles associated with the group.</li>
+<li>permissions: Path to retrieve a list of all permissions directly associated with the group. If the group is associated with a role, the list will not include permissions associated with the role entity.</li>
+</ul>
+<p> </p>
+<p><strong>collections</strong>: Nested object that contains paths to data entity collections associated with the group.</p>
+<ul>
+<li>activities: Activity entities associated with the group</li>
+<li>feed: A feed of all activities published by users associated with the group</li>
+<li>roles: Role entities associated with the group</li>
+<li>users: User entities associated with the group</li>
+</ul>
+<p> </p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="notification">Notification</h2>
+<p>The <em>notification</em> entity represents a push notification, including notification message and details. A notification entity is sent in conjunction with a notifier entity to a notification service, such as Apple Push Notification Service, to initiate a push notification.</p>
+<p>For more information on using the notification entity, see <a href="/create-manage-notifications">Create &amp; Manage Notifications</a>.</p>
+<h3 id="properties-7">Properties</h3>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “notification”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>payloads</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> The push notifications to be delivered, formatted as key-value pairs of notifier entities and messages (&lt;notifier_name1&gt;:&lt; message1&gt;, &lt;notifier_name2&gt;:&lt;m essage2&gt;, …)</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>errorMessage</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Error message returned by the notification service (APNs or GCM) if the notification fails entirely</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>scheduled</p></td>
+<td align="left"><p>bool</p></td>
+<td align="left"><p>Whether the notification is currently scheduled for delivery</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>state</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>The current delivery status of the notification: “FINISHED”, “SCHEDULED” or “CANCELED”.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the notification entity, as well as additional data entities associated with the notification. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the notification object</p>
+<p><strong>collections</strong>: Nested object that contains paths to data entity collections associated with the notification.</p>
+<ul>
+<li>
+<strong>queue</strong>: Device entities scheduled to receive the push notification</li>
+<li>
+<strong>receipts</strong>“: Receipt entities for delivery attempts”</li>
+</ul>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="notifier">Notifier</h2>
+<p>The <em>notifier</em> entity contains the credentials necessary to securely access push notification service providers, which in turn send your notifications to targeted devices.</p>
+<p>For more information on using the notifier entity, see <a href="/create-notifiers">Create Notifiers</a>.</p>
+<h3 id="properties-8">Properties</h3>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “notifier”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Notifier display name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>provider</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> Push notification provider: “apple” or “google”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>environment</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong> The environment that corresponds to your app: “development” or “production”</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the notifier entity</p>
+<p><strong>path</strong>: Path to retrieve the notification object</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="receipt">Receipt</h2>
+<p>The <em>receipt</em> entity is created after a push notification has been sent using Apache Usergrid. The receipt is a record of an attempted push notification, including if the notification was successful, and when it was sent.</p>
+<p>For more information on the receipt entity, see <a href="/create-manage-notifications">Create &amp; Manage Notifications</a>.</p>
+<h3 id="properties-9">Properties</h3>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “receipt”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>payload</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>The push notification message that was specified in the ‘payload’ property of the notification entity associated with the push notification.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>errorMessage</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Error message returned by the notification service (APNs or GCM) if delivery of the notification to a device fails</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>errorCode</p></td>
+<td align="left"><p>String</p></td>
+<td align="left"><p>Error code returned by the notification service, if any.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>sent</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds for when the notification was sent</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the notifier entity</p>
+<p><strong>path</strong>: Path to retrieve the notification object</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="role">Role</h2>
+<p>The <em>role</em> entity is used to define standard permission sets that can be assigned to user and groups entities. For example, you might create an Administrator role to easily grant certain users full access to all app features.</p>
+<p>For more information on using the role entity, see <a href="/role">Role</a>.</p>
+<h3 id="properties-10">Properties</h3>
+<p>The following are the system-defined properties for role entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “role”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> Unique name that identifies the role</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>roleName</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Identical to the value of the ‘name’ property by default</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>title</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Identical to the value of the ‘name’ property by default</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>inactivity</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>The amount of time, in milliseconds, that a user or group associated with the role can be inactive before they lose the permissions associated with that role. By default, ‘inactivity’ is set to 0 so that the user/group never loses the role.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the role entity, as well as additional data entities associated with the role. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the role entity</p>
+<p><strong>sets</strong>: Nested object that contains the ‘permissions’ property.</p>
+<ul>
+<li>permissions: Path to retrieve a list of all permissions associated with the role.</li>
+</ul>
+<p> </p>
+<p><strong>collections</strong>: Nested object that contains paths to data entity collections associated with the role.</p>
+<ul>
+<li>groups: Group entities associated with the role</li>
+<li>users: User entities associated with the role</li>
+</ul>
+<p> </p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="user">User</h2>
+<p>The <em>user</em> entity represents a registered user of your app, and includes optional properties for common user details, such as real name, email address, and password.</p>
+<p>For more information on using the user entity, see <a href="/user">User</a>.</p>
+<h3 id="properties-11">Properties</h3>
+<p>The following are the system-defined properties for user entities:</p>
+<table>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>uuid</p></td>
+<td align="left"><p>UUID</p></td>
+<td align="left"><p>Unique entity ID</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>type</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p>Type of entity, in this case “user”</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>created</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>modified</p></td>
+<td align="left"><p>long</p></td>
+<td align="left"><p><a href="http://en.wi%20kipedia.org/wiki/Coordi%20nated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>username</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><strong>Required.</strong>Valid and unique username</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>password</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> User password</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>name</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> <em>Optional.</em> User display name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>email</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em>User’s email address. Note that this is a required field for user entities created with the User Management tool in the Apache Usergrid console.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>firstname</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> User first name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>middlename</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> User middle name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>lastname</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> User last name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>picture</p></td>
+<td align="left"><p>string</p></td>
+<td align="left"><p><em>Optional.</em> URL where the user’s profile picture can be retrieved</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>activated</p></td>
+<td align="left"><p>boolean</p></td>
+<td align="left"><p>Whether the user account is activated. Set to ‘true’ by default when the user is created.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>metadata</p></td>
+<td align="left"><p>object</p></td>
+<td align="left">
+<p>A nested, JSON-formatted object that provides the relative path to the user entity, as well as additional data entities associated with the user. The following properties are included in metadata:</p>
+<p><strong>path</strong>: Path to retrieve the user entity</p>
+<p><strong>sets</strong>: Nested object that contains the ‘rolenames’ and ‘permissions’ properties.</p>
+<ul>
+<li>rolenames: <em>Deprecated</em>. Use <strong>/users/\/roles</strong> instead. Path to retrieve a list of roles associated with the user.</li>
+<li>permissions: Path to retrieve a list of all permissions directly associated with the user. If the user is associated with a role or group, the list will not include permissions associated with those entities.</li>
+</ul>
+<p> </p>
+<p><strong>collections</strong>: Nested object that contains paths to data entity collections associated with the user.</p>
+<ul>
+<li>activities: Activity entities associated with the user</li>
+<li>devices: Device entities associated with the user</li>
+<li>feed: A feed of all activities published by the user</li>
+<li>groups: Group entities associated with the user</li>
+<li>roles: Role entities associated with the user</li>
+<li>following: Users that the user is following</li>
+<li>followers: Users that are following the user</li>
+</ul>
+<p> </p>
+</td>
+</tr>
+</tbody>
+</table>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/default-data-entities.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[46/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/admin-user.md
----------------------------------------------------------------------
diff --git a/content/content/docs/admin-user.md b/content/content/docs/admin-user.md
new file mode 100644
index 0000000..24b9e14
--- /dev/null
+++ b/content/content/docs/admin-user.md
@@ -0,0 +1,781 @@
+---
+title: Admin user
+category: docs
+layout: docs
+---
+
+Admin user
+==========
+
+[See all management
+resources](/docs/usergrid/content/management-resources)[![](/docs/sites/docs/files/learnmore%20arrow_0.png)](/docs/usergrid/content/management-resources)
+
+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.
+
+In addition, you can add,  retrieve, or remove an admin user from an
+organization. For information on these organization-related operations,
+see [Organization](/organization).
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating an admin user
+----------------------
+
+Use the POST method to create an admin user.
+
+### Request URI
+
+POST /management/organizations/{org}/users {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| request body                         | One or more sets of user properties, |
+|                                      | of which username is mandatory and   |
+|                                      | must be unique:                      |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "username" : "jim.admin",      |
+|                                      |       "email" : "jim.admin@gmail.com |
+|                                      | ",                                   |
+|                                      |       "name" : "Jim Admin",          |
+|                                      |       "password" : "test12345"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_create_admin_user)
+-   [JavaScript (HTML5)](#javascript_create_admin_user)
+-   [Ruby](#ruby_create_admin_user)
+-   [Node.js](#nodejs_create_admin_user)
+
+<!-- -->
+
+    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"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    result = mgmt.create_user username: 'jim.admin', name: 'Jim Admin', email: 'jim.admin@gmail.com', password: 'test12345'
+    jim_admin = result.entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/organizations/my-org/users',
+        body:{ username:'jim.admin', name:'Jim Admin', email:'jim.admin@gmail.com',  
+        password:'test12345' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "post",
+      "status": "ok",
+      "data":  {
+        "user":  {
+          "applicationId": "00000000-0000-0000-0000-000000000001",
+          "username": "jim.admin",
+          "name": "Jim Admin",
+          "email": "jim.admin@gmail.com",
+          "activated": true,
+          "disabled": false,
+          "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+          "adminUser": true,
+          "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+          "htmldisplayEmailAddress": "jim.admin <a href="mailto:jim.admin@gmail.com">jinm.admin@gmail.com</a>"
+        }
+      },
+      "timestamp": 1349390189106,
+      "duration": 11808
+    }
+
+Updating an admin user
+----------------------
+
+Use the PUT method to update an admin user.
+
+### Request URI
+
+PUT /management/organizations/{org}/users/{user|username|email|uuid}
+{request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| string user|string username|string   | Admin username, name, email address, |
+| email|arg uuid                       | or UUID.                             |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of user properties: |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "city" : "San Francisco",      |
+|                                      |       "state" : "California"         |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_update_admin_user)
+-   [JavaScript (HTML5)](#javascript_update_admin_user)
+-   [Ruby](#ruby_update_admin_user)
+-   [Node.js](#nodejs_update_admin_user)
+
+<!-- -->
+
+    curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin" -d '{"city":"San Francisco","state":"California"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    jim_admin = mgmt['users/jim.admin'].entity
+    jim_admin.city = 'San Francisco'
+    jim_admin.state = 'California'
+    jim_admin.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/organizations/my-org/users/jim.admin',
+        body:{ email:'john.doe@mail.com', city:'San Francisco', state:'California' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "update user info",
+      "timestamp": 1349479321874,
+      "duration": 0
+    }
+
+Getting an admin user
+---------------------
+
+Use the GET method to retrieve details about an admin user.
+
+### Request URI
+
+GET /management/organizations/{org}/users/{user|username|email|uuid}
+
+### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_get_admin_user)
+-   [JavaScript (HTML5)](#javascript_get_admin_user)
+-   [Ruby](#ruby_get_admin_user)
+-   [Node.js](#nodejs_get_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    jim_admin = mgmt['users/jim.admin'].entity
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get admin user",
+      "status": "ok",
+      "data":  {
+        "username": "jim.admin",
+        "token": "YWMt4NqE8Q9GEeLYJhIxPSiO4AAAATo5fQfcG0cEd2h9nwmDmRorkNNrEeQyDOF",
+        "email": "edort1@gmail.com",
+        "organizations":  {
+          "jim.admin":  {
+            "users":  {
+              "jim.admin":  {
+                "applicationId": "00000000-0000-0000-0000-000000000001",
+                "username": "jim.admin",
+                "name": "Jim Admin",
+                "email": "jim.admin@gmail.com",
+                "activated": true,
+                "disabled": false,
+                "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+                "adminUser": true,
+                "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+                "htmldisplayEmailAddress": "jim.admin <<a href="mailto:jim.admin@gmail.com">jim.admin@gmail.com>"
+        },
+        ...
+        "adminUser": true,
+        "activated": true,
+        "name": "edort1",
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+        "htmldisplayEmailAddress": "jim.admin <<a href="mailto:jim.admin@gmail.com">jim.admin@gmail.com>>",
+        "displayEmailAddress": "jim.admin <ji...@gmail.com>",
+        "disabled": false
+      },
+      "timestamp": 1349480786906,
+
+Setting an admin user's password
+--------------------------------
+
+Use the PUT method to update an admin user's password.
+
+### Request URI
+
+PUT
+/management/organizations/{org}/users/{user|username|email|uuid}/password
+{request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| string user|string username|string   | Admin username, name, email address, |
+| email|arg uuid                       | or UUID.                             |
++--------------------------------------+--------------------------------------+
+| request body                         | The password property and value:     |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "password": "test123"          |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_set_admin_pw)
+-   [JavaScript (HTML5)](#javascript_set_admin_pw)
+-   [Ruby](#ruby_set_admin_pw)
+-   [Node.js](#nodejs_set_admin_pw)
+
+<!-- -->
+
+    curl -X -i PUT "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/password" -d '{"password":"test123"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org'
+    jim_admin = mgmt['users/jim.admin'].entity
+    jim_admin.password = 'test123'
+    jim_admin.save
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'PUT',
+        endpoint:'management/organizations/my-org/users/jim.admin',
+        body:{ password:'test123' }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — PUT failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "set user password",
+      "timestamp": 1349714010142,
+      "duration": 0
+    }
+
+Resetting an admin user's password
+----------------------------------
+
+Resetting an admin user's password is a two step process. In the first
+step, you initiate the password reset. This returns a browser page. The
+page includes a field for the user to enter his or her email address,
+and a field to enter a response to a Captcha challenge. In the second
+step, you handle the user's responses from the form.
+
+### Initiating a password reset
+
+Use the GET method to initiate the password reset.
+
+### Request URI
+
+GET /management/organizations/{org}/users/resetpw
+
+### Example - Request
+
+-   [cURL](#curl_init_pw_reset)
+-   [JavaScript (HTML5)](#javascript_init_pw_reset)
+-   [Ruby](#ruby_init_pw_reset)
+-   [Node.js](#nodejs_init_pw_reset)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/resetpw"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    resetpw = mgmt['users/resetpw']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/resetpw'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+    <html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+        <title>Reset Password</title>
+        <link rel="stylesheet" type="text/css" href="../../css/styles.css" />
+        <script type="text/javascript">>
+            var RecaptchaOptions = {
+                theme : 'clean'
+            };
+        </script>
+    </head>
+    <body>
+
+        <div class="dialog-area">
+            <div class="dialog-form-message">Incorrect Captcha, try again...</div>
+            <form class="dialog-form" action="" method="post">
+                <fieldset>
+                    <p>
+                        <label for="email">Please type your <strong>email
+                                address</strong> or <strong>username</strong> below.</label>
+                    </p>
+                    <p>
+                        <input class="text_field" id="email" name="email" type="text" />
+                    </p>
+                    <p id="human-proof"></p>
+                    <script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LdSTNESAAAAAKHdVglHmMu86_EoYxsJjqQD1IpZ"></script>
+
+                    <p class="buttons">
+                        <button type="submit">Submit</button>
+                    </p>
+                </fieldset>
+            </form>
+        </div>
+    </pre>
+
+### Completing a password reset
+
+Use the POST method to complete the password reset.
+
+### Request URI
+
+POST /management/organizations/{org}/users/resetpw {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| request body                         | 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:                             |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "recaptcha_response_field" : " |
+|                                      | Atistophanes tseFia",                |
+|                                      |       "recaptcha_challenge_field" :  |
+|                                      | "Atistophanes tseFia",               |
+|                                      |       "email" : "jim.admin@gmail.com |
+|                                      | "                                    |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_complete_pw_reset)
+-   [JavaScript (HTML5)](#javascript_complete_pw_reset)
+-   [Ruby](#ruby_complete_pw_reset)
+-   [Node.js](#nodejs_complete_pw_reset)
+
+<!-- -->
+
+    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"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+ 
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    resetpw = mgmt['users/resetpw']
+    resetpw { recaptcha_response_field: 'Atistophanes tseFia', recaptcha_challenge_field: 'Atistophanes tseFia', email: 'jim.admin@gmail.com' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'management/organizations/my-org/users/resetpw',
+        body:{ 
+           recaptcha_response_field:'Atistophanes tseFia', 
+           recaptcha_challenge_field:'Atistophanes tseFia', 
+           email:'jim.admin@gmail.com' 
+        }
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "reset user password",
+      "timestamp": 13546154010321,
+      "duration": 0
+    }
+
+Activating an admin user
+------------------------
+
+Use the GET method to activate an admin user from a link provided in an
+email notification.
+
+### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/activate?token={token}&confirm={confirm\_email}
+
+### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -------------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+  string token                                        Activation token (supplied via email).
+  boolean confirm\_email                              Send confirmation email (false is the default).
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_activate_admin_user)
+-   [JavaScript (HTML5)](#javascript_activate_admin_user)
+-   [Ruby](#ruby_activate_admin_user)
+-   [Node.js](#nodejs_activate_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/activate?token=33dd0563-cd0c-11e1-bcf7-12313d1c4491"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/activate',
+        qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "activate user",
+      "timestamp": 1349718021324,
+      "duration": 0
+    }
+
+Reactivating an admin user
+--------------------------
+
+Use the GET method to reactivate an admin user.
+
+### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/reactivate
+
+### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_reactivate_admin_user)
+-   [JavaScript (HTML5)](#javascript_reactivate_admin_user)
+-   [Ruby](#ruby_reactivate_admin_user)
+-   [Node.js](#nodejs_reactivate_admin_user)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/reactivate"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/reactivate']
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/reactivate'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "reactivate user",
+      "timestamp": 1349735217217,
+      "duration": 3541
+    }
+
+Getting an admin user's activity feed
+-------------------------------------
+
+Use the GET method to retrieve an admin user's activity feed.
+
+### Request URI
+
+GET
+/management/organizations/{org}/users/{user|username|email|uuid}/feed
+
+### Parameters
+
+  Parameter                                           Description
+  --------------------------------------------------- -----------------------------------------------
+  string user|string username|string email|arg uuid   Admin username, name, email address, or UUID.
+
+### Example - Request
+
+-   [cURL](#curl_get_user_feed)
+-   [JavaScript (HTML5)](#javascript_get_user_feed)
+-   [Ruby](#ruby_get_user_feed)
+-   [Node.js](#nodejs_get_user_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/organizations/my-org/users/jim.admin/feed"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+    mgmt['users/jim.admin/feed'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/organizations/my-org/users/jim.admin/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action": "get admin user feed",
+      "status": "ok",
+     "entities":  [
+         {
+          "uuid": "cf3e981c-fe80-11e1-95c8-12331b144c65",
+          "type": "activity",
+          "created": 1347643370454,
+          "modified": 1347643370454,
+          "actor":  {
+            "displayName": "jim.admin",
+            "objectType": "person",
+            "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+            "entityType": "user"
+          },
+          "category": "admin",
+          "metadata":  {
+            "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz4ZbYf6QEeGVyBIxOxIsVgA",
+            "path": "/users/327b527f-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+          },
+        "object":  {
+        ...
+        },
+        "published": 1342198809251,
+                "title": "<a mailto="jim.admingmail.com">jim.admin (jim.admin@gmail.com)</a> created a new organization account named jim.admin",
+                "verb": "create"
+              }
+            ],
+      "timestamp": 1349735719320,

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/app-security.md
----------------------------------------------------------------------
diff --git a/content/content/docs/app-security.md b/content/content/docs/app-security.md
new file mode 100644
index 0000000..3c48ebe
--- /dev/null
+++ b/content/content/docs/app-security.md
@@ -0,0 +1,42 @@
+---
+title: App security
+category: docs
+layout: docs
+---
+
+App security
+============
+
+Any app you put into production should feature security that protects
+your app, your users, and your app's data. Implementing security means
+taking steps in your mobile app's code and in your Apache Usergrid
+application.
+
+> **Important:** When you register for Apache Usergrid, you get a sandbox
+> application that you can use to try things out. This application is
+> not for use in production. By default, the sandbox application is not
+> protected by any security measures whatsoever. Use the sandbox only
+> for experimentation, and only with data that isn't in any way
+> sensitive.
+
+When securing your app, follow these high-level steps:
+
+1.  Define the rules that will govern access by your app's users to your
+    app's data and features. You do this with the admin portal by
+    creating permission rules, then associating those rules with your
+    users. For more information, see [Managing access by defining
+    permission rules](/managing-access-defining-permission-rules).
+2.  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 [Authenticating users and application
+    clients](/authenticating-users-and-application-clients).
+3.  Be sure to use coding best practices that help ensure that your app
+    is protected from malicious attacks. For more information, see
+    [Securing your app](/securing-your-app).
+
+The following illustration describes these high-level areas.
+
+![](/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL)

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/application.md
----------------------------------------------------------------------
diff --git a/content/content/docs/application.md b/content/content/docs/application.md
new file mode 100644
index 0000000..fe8cc77
--- /dev/null
+++ b/content/content/docs/application.md
@@ -0,0 +1,90 @@
+---
+title: Application
+category: docs
+layout: docs
+---
+
+Application
+===========
+
+You can create a new application in an organization through the [Admin
+portal](/admin-portal). The Admin portal creates the new application by
+issuing a post against the management endpoint (see the "Creating an
+organization application" section in [Organization](/organization) for
+details). If you need to create an application programmatically in your
+app, you can also use the API to do this. You can access application
+entities using your app name or UUID, prefixed with the organization
+name or UUID:
+
+[https://api.usergrid.com](http://api.usergrid.com/)/{org\_name|uuid}/{app\_name|uuid}
+
+Most mobile apps never access the application entity directly. For
+example you might have a server-side web app that accesses the
+application entity for configuration purposes. If you want to access
+your application entity programmatically, you can use the API.
+
+Application properties
+----------------------
+
+The following are the system-defined properties for application
+entities. You can create application-specific properties for an
+application entity in addition to the system-defined properties. The
+system-defined properties are reserved. You cannot use these names to
+create other properties for an application entity. In addition the
+applications name is reserved for the applications collection — you
+can't use it to name another collection.
+
+The look-up properties for the entities of type application are uuid and
+name, that is, you can use the uuid and name properties to reference an
+application entity in an API call. However, you can search on a role
+using any property of the application entity. See [Queries and
+parameters](/queries-and-parameters) for details on searching.
+
+  Property                                Type      Description
+  --------------------------------------- --------- ---------------------------------------------------------------------------------
+  uuid                                    UUID      Application’s unique entity ID
+  type                                    string    "application"
+  created                                 long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified                                long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  name                                    string    Application name (mandatory)
+  title                                   string    Application title
+  description                             string    Application description
+  activated                               boolean   Whether application is activated
+  disabled                                boolean   Whether application is administratively disabled
+  allowOpenRegistration                   boolean   Whether application allows any user to register
+  registrationRequiresEmailConfirmation   boolean   Whether registration requires email confirmation
+  registrationRequiresAdminApproval       boolean   Whether registration requires admin approval
+  accesstokenttl                          long      Time to live value for an access token obtained within the application
+
+Set properties
+--------------
+
+The set properties for applications are listed in the table below.
+
+  Set              Type     Description
+  ---------------- -------- ----------------------------------------------------
+  collections      string   Set of collections
+  rolenames        string   Set of roles assigned to an application
+  counters         string   Set of counters assigned to an application
+  oauthproviders   string   Set of OAuth providers for the application
+  credentials      string   Set of credentials required to run the application
+
+Collections
+-----------
+
+The collections for applications are listed in the table below.
+
+  Collection      Type           Description
+  --------------- -------------- ----------------------------------------------------------------------------------
+  users           user           Collection of users
+  groups          group          Collection of groups
+  folders         folder         Collection of assets that represent folder-like objects
+  events          event          Collection of events posted by the application
+  assets          asset          Collection of assets that represent file-like objects
+  activities      activity       Collection of activity stream actions
+  devices         device         Collection of devices in the service
+  notifiers       notifier       Collection of notifiers used for push notifications
+  notifications   notification   Collection of push notifications that have been sent or are scheduled to be sent
+  receipts        receipt        Collection of receipts from push notifications that were sent
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/applications.md
----------------------------------------------------------------------
diff --git a/content/content/docs/applications.md b/content/content/docs/applications.md
new file mode 100644
index 0000000..ebf7489
--- /dev/null
+++ b/content/content/docs/applications.md
@@ -0,0 +1,85 @@
+---
+title: Applications
+category: docs
+layout: docs
+---
+
+Applications
+------------
+
+You can create a new application in an organization through the [Admin
+portal](/admin-portal). The Admin portal creates the new application by
+issuing a post against the management endpoint (see the "Creating an
+organization application" section in [Organization](/organization) for
+details). If you need to create an application programmatically in your
+app, you can also use the API to do this. You can access application
+entities using your app name or UUID, prefixed with the organization
+name or UUID:
+
+[https://api.usergrid.com](http://api.usergrid.com/)/{org\_name|uuid}/{app\_name|uuid}
+
+Most mobile apps never access the application entity directly. For
+example you might have a server-side web app that accesses the
+application entity for configuration purposes. If you want to access
+your application entity programmatically, you can use the API.
+
+### Application properties
+
+The following are the system-defined properties for application
+entities. You can create application-specific properties for an
+application entity in addition to the system-defined properties. The
+system-defined properties are reserved. You cannot use these names to
+create other properties for an application entity. In addition the
+applications name is reserved for the applications collection — you
+can't use it to name another collection.
+
+The look-up properties for the entities of type application are uuid and
+name, that is, you can use the uuid and name properties to reference an
+application entity in an API call. However, you can search on a role
+using any property of the application entity. See [Queries and
+parameters](/queries-and-parameters) for details on searching.
+
+  Property                                Type      Description
+  --------------------------------------- --------- ---------------------------------------------------------------------------------
+  uuid                                    UUID      Application’s unique entity ID
+  type                                    string    "application"
+  created                                 long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified                                long      [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  name                                    string    Application name (mandatory)
+  title                                   string    Application title
+  description                             string    Application description
+  activated                               boolean   Whether application is activated
+  disabled                                boolean   Whether application is administratively disabled
+  allowOpenRegistration                   boolean   Whether application allows any user to register
+  registrationRequiresEmailConfirmation   boolean   Whether registration requires email confirmation
+  registrationRequiresAdminApproval       boolean   Whether registration requires admin approval
+  accesstokenttl                          long      Time to live value for an access token obtained within the application
+
+### Set properties
+
+The set properties for applications are listed in the table below.
+
+  Set              Type     Description
+  ---------------- -------- ----------------------------------------------------
+  collections      string   Set of collections
+  rolenames        string   Set of roles assigned to an application
+  counters         string   Set of counters assigned to an application
+  oauthproviders   string   Set of OAuth providers for the application
+  credentials      string   Set of credentials required to run the application
+
+### Collections
+
+The collections for applications are listed in the table below.
+
+  Collection      Type           Description
+  --------------- -------------- ----------------------------------------------------------------------------------
+  users           user           Collection of users
+  groups          group          Collection of groups
+  folders         folder         Collection of assets that represent folder-like objects
+  events          event          Collection of events posted by the application
+  assets          asset          Collection of assets that represent file-like objects
+  activities      activity       Collection of activity stream actions
+  devices         device         Collection of devices in the service
+  notifiers       notifier       Collection of notifiers used for push notifications
+  notifications   notification   Collection of push notifications that have been sent or are scheduled to be sent
+  receipts        receipt        Collection of receipts from push notifications that were sent
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/assets.md
----------------------------------------------------------------------
diff --git a/content/content/docs/assets.md b/content/content/docs/assets.md
new file mode 100644
index 0000000..8e6b7c4
--- /dev/null
+++ b/content/content/docs/assets.md
@@ -0,0 +1,24 @@
+---
+title: Assets
+category: docs
+layout: docs
+---
+
+Asset entities are used primarily in Apache Usergrid to manage binary data
+objects such as images, video, and audio content. However, an asset does
+not have to be used for a binary object. For example, assets can be used
+to model a file system.
+
+
+  Property       Type     Description
+  -------------- -------- ---------------------------------------------------------------------------------
+  uuid           UUID     Asset’s unique entity ID
+  type           string   "asset"
+  name           string   Asset name (mandatory)
+  created        long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified       long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  owner          UUID     UUID of the asset’s owner (mandatory)
+  path           string   Relative path to the asset (mandatory)
+  content-type   string   Content type of the asset (for example, “image/jpeg”)
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/authenticating-users-and-application-clients.md
----------------------------------------------------------------------
diff --git a/content/content/docs/authenticating-users-and-application-clients.md b/content/content/docs/authenticating-users-and-application-clients.md
new file mode 100644
index 0000000..2376347
--- /dev/null
+++ b/content/content/docs/authenticating-users-and-application-clients.md
@@ -0,0 +1,485 @@
+---
+title: Authenticating users and application clients
+category: docs
+layout: docs
+---
+
+Authenticating users and application clients
+============================================
+
+To protect your Apache Usergrid application data, one of the steps you'll
+take is to authenticate your app's users. By ensuring that they are who
+they say they are, you can help ensure that your application's data is
+available in secure ways. After you've created permission rules that
+define access to your application and have associated these rules with
+users, you'll want to add code that authenticates your user, as
+described in this topic.
+
+**Note: **You manage access to your application's data by creating
+permission rules that govern which users can do what. Users
+authenticated as Application User have access according to these rules.
+For more about managing permissions, see [Managing access by defining
+permission rules](/managing-access-defining-permission-rules).
+
+Authentication levels
+---------------------
+
+Apache Usergrid supports four levels of authentication, but only one of
+them is used when checking a registered user's permissions. The other
+three levels are useful for authenticating other web applications that
+want to access to your Apache Usergrid application. Because the scope of
+access that the other authentication levels provide is so broad (and as
+a result, so powerful), it's a bad practice to use them from a mobile
+app. Instead, they're better suited to other client apps, such as web
+applications.
+
+The following table describes each of the authentication levels. Note
+that only one of these is configurable using the admin portal. The
+others are independent of Application User level access, which is
+governed by permission rules you define (usually with the admin portal).
+In contrast, the level of acces provided by the others is only as
+described in the notes.
+
++--------------------+--------------------+--------------------+--------------------+
+| Authentication     | Description        | Permissions        | Notes              |
+| Level              |                    | Configurable in    |                    |
+|                    |                    | Admin Portal       |                    |
++====================+====================+====================+====================+
+| Application User   | Allows access to   | Yes                | You allow specific |
+|                    | your Apache Usergrid  |                    | access to          |
+|                    | application as     |                    | application        |
+|                    | governed by the    |                    | resources by       |
+|                    | permission rules   |                    | creating           |
+|                    | you create and     |                    | permission rules,  |
+|                    | associated with    |                    | then associating   |
+|                    | users and user     |                    | these rules with   |
+|                    | groups.            |                    | users. Typically,  |
+|                    |                    |                    | you'll begin by    |
+|                    |                    |                    | creating roles,    |
+|                    |                    |                    | then create        |
+|                    |                    |                    | permission rules   |
+|                    |                    |                    | for the roles,     |
+|                    |                    |                    | then associate the |
+|                    |                    |                    | roles with users   |
+|                    |                    |                    | (or groups of      |
+|                    |                    |                    | users).            |
+|                    |                    |                    |                    |
+|                    |                    |                    | Each Application   |
+|                    |                    |                    | User is            |
+|                    |                    |                    | represented by a   |
+|                    |                    |                    | User entity in     |
+|                    |                    |                    | your Apache Usergrid  |
+|                    |                    |                    | application. (For  |
+|                    |                    |                    | more about the     |
+|                    |                    |                    | User entity, see   |
+|                    |                    |                    | [User](/user).)    |
+|                    |                    |                    |                    |
+|                    |                    |                    | For more about     |
+|                    |                    |                    | roles and          |
+|                    |                    |                    | permissions, see   |
+|                    |                    |                    | [Managing access   |
+|                    |                    |                    | by defining        |
+|                    |                    |                    | permission         |
+|                    |                    |                    | rules](/managing-a |
+|                    |                    |                    | ccess-defining-per |
+|                    |                    |                    | mission-rules).    |
+|                    |                    |                    | For a look at how  |
+|                    |                    |                    | security features  |
+|                    |                    |                    | fit together, see  |
+|                    |                    |                    | [App Security      |
+|                    |                    |                    | Overview](/app-sec |
+|                    |                    |                    | urity-overview).   |
++--------------------+--------------------+--------------------+--------------------+
+| Application        | Allows full access | No                 | Authentication at  |
+|                    | to perform any     |                    | this level is      |
+|                    | operation on an    |                    | useful in a        |
+|                    | Apache Usergrid       |                    | server-side        |
+|                    | application        |                    | application (not a |
+|                    | account (but not   |                    | mobile app) that   |
+|                    | other applications |                    | needs access to    |
+|                    | within the same    |                    | resources through  |
+|                    | organization).     |                    | the Apache Usergrid   |
+|                    | Should not be used |                    | API.               |
+|                    | from a mobile      |                    |                    |
+|                    | client.            |                    | Imagine that you   |
+|                    |                    |                    | created a web site |
+|                    |                    |                    | that lists every   |
+|                    |                    |                    | hiking trail in    |
+|                    |                    |                    | the Rocky          |
+|                    |                    |                    | Mountains. Anyone  |
+|                    |                    |                    | can go to the web  |
+|                    |                    |                    | site and view the  |
+|                    |                    |                    | content. However,  |
+|                    |                    |                    | you don't want     |
+|                    |                    |                    | anyone to have     |
+|                    |                    |                    | access to the App  |
+|                    |                    |                    | Services API,      |
+|                    |                    |                    | where all the data |
+|                    |                    |                    | is stored. But you |
+|                    |                    |                    | do want to give    |
+|                    |                    |                    | your web server    |
+|                    |                    |                    | access so that it  |
+|                    |                    |                    | can generate the   |
+|                    |                    |                    | pages to serve to  |
+|                    |                    |                    | the website’s      |
+|                    |                    |                    | visitors.          |
+|                    |                    |                    |                    |
+|                    |                    |                    | **Warning:** You   |
+|                    |                    |                    | should never       |
+|                    |                    |                    | authenticate this  |
+|                    |                    |                    | way from a         |
+|                    |                    |                    | client-side app    |
+|                    |                    |                    | such as a mobile   |
+|                    |                    |                    | app. A hacker      |
+|                    |                    |                    | could analyze your |
+|                    |                    |                    | app and extract    |
+|                    |                    |                    | the credentials    |
+|                    |                    |                    | for malicious use  |
+|                    |                    |                    | even if those      |
+|                    |                    |                    | credentials are    |
+|                    |                    |                    | compiled and in    |
+|                    |                    |                    | binary format. See |
+|                    |                    |                    | [Safe mobile       |
+|                    |                    |                    | access](#safe_mobi |
+|                    |                    |                    | le)                |
+|                    |                    |                    | for additional     |
+|                    |                    |                    | considerations in  |
+|                    |                    |                    | keeping access to  |
+|                    |                    |                    | your app and its   |
+|                    |                    |                    | data secure.       |
++--------------------+--------------------+--------------------+--------------------+
+| Admin User         | Allows full access | No                 | This               |
+|                    | to perform any     |                    | authentication     |
+|                    | operation on all   |                    | level is useful    |
+|                    | organization       |                    | from applications  |
+|                    | accounts of which  |                    | that provide       |
+|                    | the admin user is  |                    | organization-wide  |
+|                    | a member. Should   |                    | administration     |
+|                    | not be used from a |                    | features. For      |
+|                    | mobile client.     |                    | example, the App   |
+|                    |                    |                    | Services admin     |
+|                    |                    |                    | portal uses this   |
+|                    |                    |                    | level of access    |
+|                    |                    |                    | because it         |
+|                    |                    |                    | requires full      |
+|                    |                    |                    | access to the      |
+|                    |                    |                    | administration     |
+|                    |                    |                    | features.          |
+|                    |                    |                    |                    |
+|                    |                    |                    | Unless you have a  |
+|                    |                    |                    | specific need for  |
+|                    |                    |                    | administrative     |
+|                    |                    |                    | features, such as  |
+|                    |                    |                    | to run test        |
+|                    |                    |                    | scripts that       |
+|                    |                    |                    | require access to  |
+|                    |                    |                    | management         |
+|                    |                    |                    | functionality, you |
+|                    |                    |                    | should not use the |
+|                    |                    |                    | admin user         |
+|                    |                    |                    | authentication     |
+|                    |                    |                    | level.             |
+|                    |                    |                    |                    |
+|                    |                    |                    | **Note:**          |
+|                    |                    |                    | Currently,         |
+|                    |                    |                    | organization and   |
+|                    |                    |                    | admin user access  |
+|                    |                    |                    | are effectively    |
+|                    |                    |                    | the same.          |
+|                    |                    |                    | Eventually, the    |
+|                    |                    |                    | admin user level   |
+|                    |                    |                    | will be a          |
+|                    |                    |                    | configurable       |
+|                    |                    |                    | subset of the      |
+|                    |                    |                    | organization level |
+|                    |                    |                    | of access.         |
+|                    |                    |                    | **Warning:** You   |
+|                    |                    |                    | should never       |
+|                    |                    |                    | authenticate this  |
+|                    |                    |                    | way from a         |
+|                    |                    |                    | client-side app    |
+|                    |                    |                    | such as a mobile   |
+|                    |                    |                    | app. A hacker      |
+|                    |                    |                    | could analyze your |
+|                    |                    |                    | app and extract    |
+|                    |                    |                    | the credentials    |
+|                    |                    |                    | for malicious use  |
+|                    |                    |                    | even if those      |
+|                    |                    |                    | credentials are    |
+|                    |                    |                    | compiled and in    |
+|                    |                    |                    | binary format. See |
+|                    |                    |                    | [Safe mobile       |
+|                    |                    |                    | access](#safe_mobi |
+|                    |                    |                    | le)                |
+|                    |                    |                    | for additional     |
+|                    |                    |                    | considerations in  |
+|                    |                    |                    | keeping access to  |
+|                    |                    |                    | your app and its   |
+|                    |                    |                    | data secure.       |
++--------------------+--------------------+--------------------+--------------------+
+| Organization       | Full access to     | No                 | Providing the      |
+|                    | perform any        |                    | greatest amount of |
+|                    | operation on an    |                    | access, this       |
+|                    | Apache Usergrid       |                    | authentication     |
+|                    | organization.      |                    | level lets a       |
+|                    | Should not be used |                    | client perform any |
+|                    | from a mobile      |                    | operation on an    |
+|                    | client.            |                    | Apache Usergrid       |
+|                    |                    |                    | organization. This |
+|                    |                    |                    | level of access    |
+|                    |                    |                    | should be used     |
+|                    |                    |                    | sparingly and      |
+|                    |                    |                    | carefully.         |
+|                    |                    |                    |                    |
+|                    |                    |                    | **Note:**          |
+|                    |                    |                    | Currently,         |
+|                    |                    |                    | organization and   |
+|                    |                    |                    | admin user access  |
+|                    |                    |                    | are effectively    |
+|                    |                    |                    | the same.          |
+|                    |                    |                    | Eventually, the    |
+|                    |                    |                    | admin user level   |
+|                    |                    |                    | will be a          |
+|                    |                    |                    | configurable       |
+|                    |                    |                    | subset of the      |
+|                    |                    |                    | organization level |
+|                    |                    |                    | of access.         |
+|                    |                    |                    | **Warning:** You   |
+|                    |                    |                    | should never       |
+|                    |                    |                    | authenticate this  |
+|                    |                    |                    | way from a         |
+|                    |                    |                    | client-side app    |
+|                    |                    |                    | such as a mobile   |
+|                    |                    |                    | app. A hacker      |
+|                    |                    |                    | could analyze your |
+|                    |                    |                    | app and extract    |
+|                    |                    |                    | the credentials    |
+|                    |                    |                    | for malicious use  |
+|                    |                    |                    | even if those      |
+|                    |                    |                    | credentials are    |
+|                    |                    |                    | compiled and in    |
+|                    |                    |                    | binary format. See |
+|                    |                    |                    | [Safe mobile       |
+|                    |                    |                    | access](#safe_mobi |
+|                    |                    |                    | le)                |
+|                    |                    |                    | for additional     |
+|                    |                    |                    | considerations in  |
+|                    |                    |                    | keeping access to  |
+|                    |                    |                    | your app and its   |
+|                    |                    |                    | data secure.       |
++--------------------+--------------------+--------------------+--------------------+
+
+Adding code to support authentication
+-------------------------------------
+
+### Using an access token
+
+When you obtain an access token, you must provide it with every
+subsequent API call that you make. There are two ways to provide your
+access token.
+
+-   You can add the token to the API query string:\
+    \
+
+        https://api.usergrid.com/{org-name}/{app-name}/users?access_token={access_token}
+
+-   You can include the token in an HTTP authorization header:\
+    \
+
+        Authorization: Bearer {access_token}
+
+**Note:** The App services documentation assumes you are providing a
+valid access token with every API call whether or not it is shown
+explicitly in the examples. Unless the documentation specifically says
+that you can access an API endpoint without an access token, you should
+assume that you must provide it. One application that does not require
+an access token is the sandbox application. The Guest role has been
+given full permissions (/\*\* for GET, POST, PUT, and DELETE) for this
+application. This eliminates the need for a token when making
+application level calls to the sandbox app. For further information on
+specifying permissions, see [Managing access by defining permission
+rules](/managing-access-defining-permission-rules).
+
+### Authenticating as Application User
+
+Using the username and password values specified when the user entity
+was created, your app can connect to the Apache Usergrid application
+endpoint to request an access token. (Note that it's also possible to
+use the user's email address in place of the username.) Here is an
+example in cURL format of a request for application user access:
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token" -d '{"grant_type":"password","username":"john.doe","password":"testpw"}'
+
+The results include the access token needed to make subsequent API
+requests on behalf of the application user:
+
+    {
+    "access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+    "expires_in": 3600,
+    "user": {
+    ...
+    }
+    }
+        
+
+### Authenticating as Application
+
+Using your app’s client id and client secret values, your app can
+connect to the Apache Usergrid application endpoint to request an access
+token. Here is an example in cURL format of a request for application
+access:
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'
+
+The results include the access token needed to make subsequent API
+requests on behalf of the application:
+
+    {
+    "access_token": "F8zeMOlcEeCUBwBQVsAACA:YXA6AAABMq0d4Mep_UgbZA0-sOJRe5yWlkq7JrDCkA",
+    "expires_in": 3600,
+    "application": {
+    ...  
+    }
+    }
+        
+
+**Warning:** You should never authenticate this way from a client-side
+app such as a mobile app. A hacker could analyze your app and extract
+the credentials for malicious use even if those credentials are compiled
+and in binary format. See [Safe mobile access](#safe_mobile) for
+additional considerations in keeping access to your app and its data
+secure.
+
+### Authenticating as Admin User
+
+If you do require admin user access, your app can connect to the App
+Services management endpoint to request an access token. Your app
+supplies the username and password of an admin user in the request. Here
+is an example in cURL format of a request for admin user access:
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token"  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'
+
+The results include the access token needed to make subsequent API
+requests on behalf of the admin user:
+
+    {
+    "access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+    "expires_in": 3600,
+    "user": {
+    ...
+    }
+    }
+        
+
+**Warning:** You should never authenticate this way from a client-side
+app such as a mobile app. A hacker could analyze your app and extract
+the credentials for malicious use even if those credentials are compiled
+and in binary format. See [Safe mobile access](#safe_mobile) for
+additional considerations in keeping access to your app and its data
+secure.
+
+### Authenticating as Organization
+
+If you do require organization level access, your app can connect to the
+Apache Usergrid management endpoint to request an access token. Access to
+an organization requires the client id and client secret credentials.
+Here is an example in cURL format of a request for organization access:
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'
+
+The results include the access token needed to make subsequent API
+requests to the organization:
+
+    {
+    "access_token": "gAuFEOlXEeCfRgBQVsAACA:b3U6AAABMqz-Cn0wtDxxkxmQLgZvTMubcP20FulCZQ",
+    "expires_in": 3600,
+    "organization": {
+    ...
+    }
+    }
+        
+
+**Warning:** You should never authenticate this way from a client-side
+app such as a mobile app. A hacker could analyze your app and extract
+the credentials for malicious use even if those credentials are compiled
+and in binary format. See [Safe mobile access](#safe_mobile) for
+additional considerations in keeping access to your app and its data
+secure.
+
+Authentication token time to live
+---------------------------------
+
+An access token has a “time-to-live”, which is the maximum time that the
+access token will be valid for use within the application, specified in
+milliseconds. By default, all tokens have a system-defined time-to-live
+of 24 hours.
+
+### Changing the default time-to-live
+
+You can change the default time-to-live for all application tokens by
+updating the Application entity’s accesstokenttl property. 
+
+For example, the following updates an application entity to have a
+default time-to-live value of 1800000 miliseconds (30 minutes) for all
+tokens:
+
+    curl -X PUT -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app" -d '{"accesstokenttl":"1800000"}'
+
+### Changing token time-to-live
+
+When you request an access token, you can override its time-to-live by
+including a ttl parameter in the request.
+
+The ttl value must be equal to or less than the value of the
+accesstokenttl property. If you specify a ttl value greater than the
+value of accesstokenttl, an error message is returned that indicates the
+maximum time to live value that can be specified.
+
+**Note: **If you set ttl=0, the token will never expire. This can pose a
+security risk and should be used with caution.
+
+For example, the following sets a time to live value of 1800000
+miliseconds (30 minutes) for an admin user:
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token?ttl=1800000" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'
+
+The following sets the same time to live value for an application user.
+
+    curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token?ttl=1800000" -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'
+
+Revoking authentication tokens
+------------------------------
+
+Under certain circumstances, you may need to explicitly revoke a user's
+access token, such as when a user logs out. To revoke a specific
+authentication token, send the following `PUT` request:
+
+    curl -X PUT https://api.usergrid.com/<org_name>/<app_name>/users/<user_uuid_or_username>/revoketokens?token="<token>"
+
+If the token is successfully revoked, you will receive the following
+response from the API:
+
+    {
+      "action" : "revoked user token",
+      "timestamp" : 1382050891455,
+      "duration" : 24
+    }
+
+Safe mobile access
+------------------
+
+For mobile access, it is recommended that you connect as an application
+user with configured access control policies. Mobile applications are
+inherently untrusted because they can be easily examined and even
+decompiled.
+
+Any credentials stored in a mobile app should be considered secure only
+to the Application User level. This means that if you don’t want the
+user to be able to access or delete data in your Apache Usergrid
+application, you need to make sure that you don’t enable that capability
+through roles or permissions. Because most web applications talk to the
+database using some elevated level of permissions, such as root, it’s
+generally a good idea for mobile applications to connect with a more
+restricted set of permissions. For more information on restricting
+access through permission rules, see [Managing access by defining
+permission rules](/managing-access-defining-permission-rules).

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/authentication-and-access-app-services-0.md
----------------------------------------------------------------------
diff --git a/content/content/docs/authentication-and-access-app-services-0.md b/content/content/docs/authentication-and-access-app-services-0.md
new file mode 100644
index 0000000..197dba6
--- /dev/null
+++ b/content/content/docs/authentication-and-access-app-services-0.md
@@ -0,0 +1,271 @@
+---
+title: Authentication and access in App services
+category: docs
+layout: docs
+---
+
+Authentication and access in App services
+=========================================
+
+App services requests are authenticated via OAuth (Open Authorization)
+2.0. OAuth is an authentication mechanism that allows users to grant
+access to their web resources or mobile apps safely, without having to
+share their passwords. The analogy of a valet key is sometimes used to
+describe OAuth, because users can permit general access, but limit
+access rights to perform certain operations. Instead of an app user
+having to share a password, OAuth enables access using a security token
+tied specifically to an app and device.
+
+Unlike OAuth 1.0, which requires special support in the client code for
+signing requests, OAuth 2.0 can be used by any web service client
+libraries. Although the OAuth 2.0 specification isn’t finalized yet, it
+is sufficiently complete so that many web service providers, including
+Google and Facebook, are now using it for authentication. More
+information about OAuth 2.0 is available at
+[oauth.net](http://oauth.net/2/).
+
+Access types
+------------
+
+App services take advantage of standard OAuth 2.0 mechanisms that
+require an access token with data operation requests. To obtain the
+access token, you connect to an appropriate web service endpoint and
+provide the correct client credentials. The credentials required to get
+the token depend on the type of access you need.
+
+There are four access types.
+
+  Access Type        Description
+  ------------------ -------------------------------------------------------------------------------------------------------
+  Organization       Full access to perform any operation on a App services organization account
+  Admin User         Full access to perform any operation on all organization accounts of which the admin user is a member
+  Application        Full access to perform any operation on a App services application account
+  Application User   Policy-limited access to perform operations on a App services application account
+
+The *Organization* and *Application* access types are intended for
+server-side applications because they are "superuser" access mechanisms
+with few constraints on what they are permitted to do. When connecting
+via OAuth, you supply organization or application client ID and client
+secret parameters as client credentials. The Home page of the developer
+portal shows these parameters for the organization, while the Settings
+page displays them for the currently selected app.
+
+The *Admin User* and *Application User* access types are appropriate for
+connections on behalf of a known user account, such as an admin user who
+is a member of several organizations and has management rights to
+several apps, or an application user authorized for an application. When
+connecting via OAuth on behalf of a known user, you supply username and
+password parameters as client credentials.
+
+Each access type is discussed below, along with information on supplying
+an access token in an API request.
+
+### Organizations
+
+When you sign up for the App services developer portal, you create an
+organization account in addition to your personal admin user account.
+Access to a single organization requires client ID and client secret
+credentials (or an admin user can supply username and password
+credentials, as shown in the next section).
+
+As an example of accessing an organization, you can obtain your client
+ID and client secret values from the developer portal and connect to the
+following URL (substituting the correct values for \<client\_id\> and
+\<client\_secret\>):
+
+    https://api.usergrid.com/management/token?grant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>
+
+The results show the access token needed to make subsequent API
+requests, as well as additional information about the organization:
+
+    {
+      "access_token": "gAuFEOlXEeCfRgBQVsAACA:b3U6AAABMqz-Cn0wtDxxkxmQLgZvTMubcP20FulCZQ",
+      "expires_in": 3600,
+      "organization": {
+        "users": {
+          "test": {
+            "name": "Test User",
+            "disabled": false,
+            "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+            "activated": true,
+            "username": "test",
+            "applicationId": "00000000-0000-0000-0000-000000000001",
+            "email": "test@usergrid.com",
+            "adminUser": true,
+            "mailTo": "Test User <te...@usergrid.com>"
+          }
+        },
+        "name": "test-organization",
+        "applications": {
+          "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+        },
+        "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+      }
+    }
+
+### Admin users
+
+*Admin Users* are users of the Usergrid.com service as well as members
+of one or more organizations. In turn, an organization can have one or
+more admin users. Currently all admin users in an organization have full
+access permissions after they authenticate using their basic username
+and password credentials. In a subsequent release, App services will
+support a more fine-grained, delegated administration model in which
+access rights for admin users are configurable.
+
+As an example. to authenticate as an admin user, use the username and
+password values specified when you created your admin user account and
+connect to the following URL (substituting the correct values for
+\<username\> and \<password\>):
+
+    https://api.usergrid.com/management/token?grant_type=password&username=<username>&password=<password>
+
+In these results, note the access token needed to make subsequent API
+requests on behalf of the admin user:
+
+    {
+      "access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+      "expires_in": 3600,
+      "user": {
+        "username": "test",
+        "email": "test@usergrid.com",
+        "organizations": {
+          "test-organization": {
+            "users": {
+              "test": {
+                "name": "Test User",
+                "disabled": false,
+                "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+                "activated": true,
+                "username": "test",
+                "applicationId": "00000000-0000-0000-0000-000000000001",
+                "email": "test@usergrid.com",
+                "adminUser": true,
+                "mailTo": "Test User <te...@usergrid.com>"
+              }
+            },
+            "name": "test-organization",
+            "applications": {
+              "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+            },
+            "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+          }
+        },
+        "adminUser": true,
+        "activated": true,
+        "name": "Test User",
+        "mailTo": "Test User <te...@usergrid.com>",
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+        "disabled": false
+      }
+    }
+
+Applications
+------------
+
+Users can access applications in three ways:
+
+-   With application client ID and client secret credentials
+-   With the client ID and client secret credentials of the organization
+    that owns the application
+-   With username and password credentials of an admin user associated
+    with the application’s organization
+
+Using your client ID and client secret values (obtained from the
+Application Settings section of the developer portal), you can connect
+to the following URL (substituting the correct values for
+\<org-name\>,\<app-name\>, \<client\_id\>, and \<client\_secret\>):
+
+    https://api.usergrid.com/<org-name>/<app-name>/token?grant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>
+
+The results show the access token needed to make subsequent API requests
+on behalf of the application:
+
+    {
+      "access_token": "F8zeMOlcEeCUBwBQVsAACA:YXA6AAABMq0d4Mep_UgbZA0-sOJRe5yWlkq7JrDCkA",
+      "expires_in": 3600,
+      "application": {
+        "name": "test-app",
+        "id": "17ccde30-e95c-11e0-9407-005056c00008"
+      }
+    }
+
+Application users
+-----------------
+
+*Application Users* are members of the "users" collection within an
+application. They are the actual users of an app and their data is
+stored separately from any other app in App services.
+
+Application users can authenticate with either basic username/password
+credentials or OAuth client ID and client secret credentials. When
+authenticated, these users can access App services entities depending on
+their assigned permissions, their roles, and the permissions assigned to
+those roles.
+
+Using the username and password values specified when the application
+user was created, you can connect to the following URL (substituting the
+correct values for \<org-name\>,\<app-name\>, \<username\>, and
+\<password\>):
+
+    https://api.usergrid.com/management/<org-name>/<app-name>/token?grant_type=password&username=<username>&password=<password>
+
+The results show the access token needed to make subsequent API requests
+on behalf of the application user:
+
+    {
+      "access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+      "expires_in": 3600,
+      "user": {
+        "uuid": "e70b8677-e95c-11e0-9407-005056c00008",
+        "type": "user",
+        "username": "edanuff",
+        "email": "ed@anuff.com",
+        "activated": true,
+        "created": 1317164604367013,
+        "modified": 1317164604367013
+      }
+    }
+
+Using an access token
+---------------------
+
+When you obtain an access token, you must provide it with every
+subsequent API call that you make. There are two ways to provide your
+access token.
+
+-   You can add the token to the API querystring:\
+    \
+
+        https://api.usergrid.com/<org-name>/<app-name>/users?access_token=<access_token>
+
+-   You can include the token in an HTTP authorization header:\
+    \
+
+        Authorization: Bearer <access_token>
+
+**Note:** The App services documentation assumes you are providing a
+valid access token with every API call whether or not it is shown
+explicitly in the examples. Unless the documentation specifically says
+that you can access an API endpoint without an access token, you should
+assume that you must provide it.
+
+Safe mobile access
+------------------
+
+For mobile access, it is recommended that you connect as an application
+user with configured access control policies. Mobile applications are
+inherently untrusted because they can be easily examined and even
+decompiled.
+
+Any credentials stored in a mobile app should be considered secure only
+to the level of the application user. This means that if you don’t want
+the user to be able to access or delete data in your App services
+application, you need to make sure that you don’t enable that capability
+via roles or permissions. Because most web applications talk to the
+database using some elevated level of permissions, such as root, it’s
+generally a good idea for mobile applications to connect with a more
+restricted set of permissions. For more information, see [Managing
+access by defining permission
+rules](/managing-access-defining-permission-rules).


[16/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/creating-new-application-admin-console/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/creating-new-application-admin-console/index.html b/content/publish/docs/creating-new-application-admin-console/index.html
new file mode 100644
index 0000000..e7b9bee
--- /dev/null
+++ b/content/publish/docs/creating-new-application-admin-console/index.html
@@ -0,0 +1,294 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Creating a New Application with the Admin Console</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Creating a New Application with the Admin Console</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-new-application-admin-console.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#creating-a-new-application-with-the-admin-console">Creating a New Application with the Admin Console</a><ul>
+<li><a href="#next-steps">Next Steps</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="creating-a-new-application-with-the-admin-console">Creating a New Application with the Admin Console</h1>
+<p>You can use the admin portal to create Apache Usergrid applications. An App Services application represents the data associated with your app. Through an application, you handle the entities associated with your app, including users, devices, events, and so on.</p>
+<blockquote>
+<p>For more about how data in Apache Usergrid fits together, see <a href="/app-services-data-model-1">App Services Data model</a>.</p>
+</blockquote>
+<p>Conceptually speaking, an application is like a database. You can create multiple applications within your Apache Usergrid organization. </p>
+<p> </p>
+<p>You’ll typically have one Apache Usergrid application for each of your apps. But you might want to create different applications representing sandbox, development, and production instances of your app.</p>
+<p>To create a new application with the admin console:</p>
+<ol style="list-style-type: decimal">
+<li>In the admin console, from the dropdown menu at the far top left, select the organization to which you will add the new application.</li>
+<li>Click the <strong>ADD NEW APP</strong> button, located at the top of the screen, next to the application drop-down.</li>
+<li>In the dialog box, enter a new application name, then click the <strong>Create</strong> button.</li>
+<li>Your new application will automatically be selected in the applications drop-down menu.</li>
+</ol>
+<h3 id="next-steps">Next Steps</h3>
+<p>After you’ve created a new application, finish up by thinking about the following:</p>
+<ul>
+<li>
+<p>Have you taken steps to make your application secure?</p>
+<p>If this is going to be a production application used by an app publicly, be sure to configure security roles that provide only the level of access your users will need. (You should never use a sandbox application as a public database. A sandbox is for experimenting with example data.)</p>
+<p>For more on security, see <a href="/securing-your-app">Securing your app</a>. For more about sandbox applications, see <a href="/using-sandbox-application">Using a Sandbox Application</a>.</p>
+</li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-new-application-admin-console.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/data-model/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/data-model/index.html b/content/publish/docs/data-model/index.html
new file mode 100644
index 0000000..5ce65bb
--- /dev/null
+++ b/content/publish/docs/data-model/index.html
@@ -0,0 +1,362 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Apache Usergrid Data model</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Apache Usergrid Data model</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/data-model.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#apache-usergrid-data-model">Apache Usergrid Data model</a><ul>
+<li><a href="#organizations">Organizations</a></li>
+<li><a href="#applications">Applications</a></li>
+<li><a href="#collections">Collections</a></li>
+<li>
+<a href="#entities">Entities</a><ul>
+<li><a href="#default-entities">Default entities</a></li>
+</ul>
+</li>
+<li>
+<a href="#properties">Properties</a><ul>
+<li><a href="#default-properties">Default properties</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="apache-usergrid-data-model">Apache Usergrid Data model</h1>
+<p>Apache Usergrid models the data for your apps as application-specific collections of data entities managed within an organization. The following is an overview of the component hierarchy that makes up the Apache Usergrid data model, and is intended to help you understand how data is stored, managed and accessed in Apache Usergrid.</p>
+<h2 id="organizations">Organizations</h2>
+<p>An <em>organization</em> contains one or more applications, and represents administrator-level access to Apache Usergrid. Multiple Apache Usergrid accounts may be given administrator access to an organization. App Services accounts can also be members of multiple organizations.</p>
+<p>An organization with the same name as your username is automatically created for you when you sign up for Apache Usergrid. By default, you are assigned as the administrator of this organization.</p>
+<h2 id="applications">Applications</h2>
+<p>In Apache Usergrid, you can create one or more <em>applications</em> within an organization. Applications represent an instance of application data associated with an app, and you may create as many applications as you wish. This allows you to utilize the Apache Usergrid backend in a way that corresponds to your development process. For example, you might create separate applications for development and production instances of your app. By default, all organization have a sandbox application (see <a href="/using-sandbox-application">Using a Sandbox Application</a> for important information regarding the default sandbox application).</p>
+<p>Each application provides the infrastructure for storing, retrieving, updating and deleting the entities and collections associated with a specific app instance.</p>
+<h2 id="collections">Collections</h2>
+<p>Apache Usergrid stores all data entities in uniquely-named <em>collections</em>. Collections are created automatically by Apache Usergrid for every entity type, including custom entities, and are named using the plural form of the entity type they store. For example, all user entities are stored in the /users collection, and all device entities in the /devices collection. An entity can belong to only one collection.</p>
+<p>Currently, collections cannot be renamed or deleted; however, all of the data entities in a collection can be updated or deleted.</p>
+<h2 id="entities">Entities</h2>
+<p>An <em>entity</em> represents a basic, JSON-formatted data object that is used by your app, such as a user, device, event or asset. Unlike records in conventional database tables, which have a very rigid schema that defines what they can store and how they can be related to each other, Apache Usergrid entities are very flexible. This makes Apache Usergrid a powerful solution for managing data for modern applications, where people, places, and content often need to be associated in a way that is most appropriate from a user perspective.</p>
+<p>Here is a simple example of an entity:</p>
+<pre><code>{
+  "uuid" : "5c0c1789-d503-11e1-b36a-12313b01d5c1",
+  "type" : "user",
+  "created" : 1343074620374,
+  "modified" : 1355442681264,
+  "username" : "john.doe",
+  "email" : "jdoe57@mail.com",
+  "name" : "John Doe"
+}</code></pre>
+<h3 id="default-entities">Default entities</h3>
+<p>The following entity types are predefined in Apache Usergrid. For more details, see <a href="/default-data-entities">Default Data Entities</a>.</p>
+<ul>
+<li>user</li>
+<li>group</li>
+<li>role</li>
+<li>application</li>
+<li>activity</li>
+<li>device</li>
+<li>asset</li>
+<li>folder</li>
+<li>event</li>
+<li>notifier</li>
+<li>notification</li>
+<li>receipt</li>
+</ul>
+<h2 id="properties">Properties</h2>
+<p>A data entity is a set of <em>properties</em>, which can each contain any JSON-representable value, including a nested JSON document. All entities have predefined properties, but you are free to define any number of custom properties for any entity. Default properties require specific data types for validation purposes, while custom properties can be any JSON data type. Most predefined and all application-defined entity properties are indexed, allowing you to query collections quickly and easily.</p>
+<p>Individual or multiple properties can be updated in a single operation; however, partial updating of nested JSON documents is not supported. This means that all properties of a nested document must be provided in a PUT request for the update of the nested document to be processed, even if the some of the values have not changed.</p>
+<h3 id="default-properties">Default properties</h3>
+<p>At a minimum, each entity is defined by two properties, both of which are strings: type and UUID. The entity ‘type’ is the singular form of the collection the entity is stored in. For example, an entity in the ‘users’ collection has an entity type of ‘user’. The entity ‘UUID’ is an immutable universally unique identifier, which can be used to reference the entity. A UUID is automatically generated by Apache Usergrid for every entity when it is created. You can also create custom entities and entity properties; however, Apache Usergrid reserves certain entity types with pre-defined properties by default. For a complete list of reserved entities and properties, see <a href="/default-data-entities">Default Data Entities</a>.</p>
+<p>When you access the system via the API, you’ll always provide your organization UUID or name, application UUID or name, and typically the UUID or name of the entity you’re modifying or retrieving.</p>
+<p>All entities have the following default properties:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Entity unique id</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">entity type (for example, user)</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was created</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time">UTC timestamp</a> in milliseconds of when the entity was last modified</td>
+</tr>
+</tbody>
+</table>
+<p>Dynamic entities also have an optional name property that is a string identifier.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/data-model.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/data-query-overview/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/data-query-overview/index.html b/content/publish/docs/data-query-overview/index.html
new file mode 100644
index 0000000..ca6c105
--- /dev/null
+++ b/content/publish/docs/data-query-overview/index.html
@@ -0,0 +1,293 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Apache Usergrid data query overview</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Apache Usergrid data query overview</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/data-query-overview.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#apache-usergrid-data-query-overview">Apache Usergrid data query overview</a></li>
+</ul>
+</div>
+<h1 id="apache-usergrid-data-query-overview">Apache Usergrid data query overview</h1>
+<p>You can write code to query for data you’ve stored in your Apache Usergrid application. You’ll most likely use queries as filters to retrieve specific entities. For example, you might want to get data about users who are “following” a specific other user, businesses in specific geographical locations, and so on.</p>
+<p>The following example retrieves a list of restaurants (from a restaurants collection) whose name property contains the value “diner”, sorting the list in ascending order by name:</p>
+<pre><code>/restaurants?ql=select * where name contains 'diner' order by name asc</code></pre>
+<blockquote>
+<p><strong>Note:</strong>Query examples in this content are shown unencoded to make them easier to read. Keep in mind that you might need to encode query strings if you’re sending them as part of URLs, such as when you’re executing them with the cURL tool.</p>
+</blockquote>
+<p>Having retrieved the list of restaurants, your code could display the list to your users. You could also use a query to retrieve a list of diners that are located within a particular geographical area (such as near your user’s current location).</p>
+<blockquote>
+<p><strong>Important:</strong> By default, results from queries of your Apache Usergrid data are limited to 10 items at a time. You can control this with the <code>limit</code> parameter, as discussed in <a href="/working-queries">Working with queries</a>.</p>
+</blockquote>
+<p>You query your Apache Usergrid data by using a query syntax that’s like Structured Query Language (SQL), the query language for relational databases. Unlike a relational database, where you specify tables and columns containing the data you want to query, in your Apache Usergrid queries you specify collections and entities.</p>
+<blockquote>
+<p><strong>Note:</strong> The syntax of Apache Usergrid queries only <em>resembles</em> SQL to make queries familiar and easier to write. However, the language isn’t SQL. Only the syntax items documented here are supported.</p>
+</blockquote>
+<p>The examples in these topics illustrate queries using simple strings to make the queries easier to read. You can also use one of the Apigee SDKs, which provide functions through which you can pass query strings, and in some cases shortcuts for bypassing queries altogether.</p>
+<blockquote>
+<p><strong>Note:</strong> Queries replace filters, which are deprecated.</p>
+</blockquote>
+<p>For more detail about support for queries your Apache Usergrid database, see the following topics:</p>
+<ul>
+<li><a href="/basic-query-syntax">Basic query syntax</a></li>
+<li><a href="/query-response-values">Query response values</a></li>
+<li><a href="/data-types-supported-queries">Data types supported in queries</a></li>
+<li><a href="/querying-data-admin-portal">Querying data from the admin portal</a></li>
+<li><a href="/working-queries">Working with queries</a></li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/data-query-overview.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/data-types-supported-queries/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/data-types-supported-queries/index.html b/content/publish/docs/data-types-supported-queries/index.html
new file mode 100644
index 0000000..e3b99d0
--- /dev/null
+++ b/content/publish/docs/data-types-supported-queries/index.html
@@ -0,0 +1,307 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Data types supported in queries</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Data types supported in queries</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/data-types-supported-queries/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#data-types-supported-in-queries">Data types supported in queries</a></li>
+</ul>
+</div>
+<h1 id="data-types-supported-in-queries"><a href="#data-types-supported-in-queries">Data types supported in queries</a></h1>
+<p>As you develop queries for your Apache Usergrid data, remember that entity properties each conform to a particular data type (whether the entity is included by default or an entity you defined). Your queries must acknowledge this, testing with values that conform to each property’s data type. (You can view the list of property data types for the default entities at <a href="/default-data-entities">Default Data Entities</a>.)</p>
+<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>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead><tr class="header">
+<th align="left">Data Type</th>
+<th align="left">Examples</th>
+<th align="left">Notes</th>
+</tr></thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p><code>string</code></p></td>
+<td align="left"><p><code>'value'</code>, <code>unicode '\uFFFF'</code>, <code>octal '\0707'</code></p></td>
+<td align="left"><p> </p></td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>long</code></p></td>
+<td align="left"><pre><code>1357412326021</code></pre></td>
+<td align="left"><p>Timestamps are typically stored as <code>long</code> values.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p><code>float</code></p></td>
+<td align="left">
+<pre><code>10.1, -10.1, 10e10,</code></pre>
+<p>10e-10, 10E10, 10E-10</p>
+</td>
+<td align="left"><p>Your query must be specific about the value you’re looking for, down to the value (if any) after the decimal point.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>boolean</code></p></td>
+<td align="left"><pre><code>true | false</code></pre></td>
+<td align="left"><p> </p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p><code>UUID</code></p></td>
+<td align="left">
+<pre><code>ee912c4b-5769-11e2-</code></pre>
+<p>924d-02e81ac5a17b</p>
+</td>
+<td align="left">
+<p>UUID types are typically used for the unique IDs of entities. The value must conform to the following format (do not enclose with quotation marks): xxxxxxxx-xxxx-xxxx- xxxx-xxxxxxxxxxxx</p>
+<p>.</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>object</code></p></td>
+<td align="left">
+<p>For a JSON object like this one:</p>
+<pre><code>{
+ "items": [
+  {
+   "name": "rocks"
+  },
+  {
+   "name": "boats"
+  }
+ ]
+}</code></pre>
+<p>… you can use dot notation to reach property values in the object:</p>
+<pre><code>/mycollection/thing</code></pre>
+<p>?ql=“select * where ite ms.name = ‘rocks’”</p>
+</td>
+<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>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/data-types-supported-queries/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file


[05/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/organization/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/organization/index.html b/content/publish/docs/organization/index.html
new file mode 100644
index 0000000..8bc25ea
--- /dev/null
+++ b/content/publish/docs/organization/index.html
@@ -0,0 +1,1354 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Organization</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Organization</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organization.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#creating-an-organization">Creating an organization</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-an-organization">Getting an organization</a><ul>
+<li><a href="#request-uri-1">Request URI</a></li>
+<li><a href="#example---request-1">Example - Request</a></li>
+<li><a href="#example---response-1">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#activating-an-organization">Activating an organization</a><ul>
+<li><a href="#request-url">Request URL</a></li>
+<li><a href="#example---request-2">Example - Request</a></li>
+<li><a href="#example---response-2">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#reactivating-an-organization">Reactivating an organization</a><ul>
+<li><a href="#request-uri-2">Request URI</a></li>
+<li><a href="#example---request-3">Example - Request</a></li>
+<li><a href="#example---response-3">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#generating-organization-client-credentials">Generating organization client credentials</a><ul>
+<li><a href="#request-uri-3">Request URI</a></li>
+<li><a href="#example---request-4">Example - Request</a></li>
+<li><a href="#example---response-4">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#retrieving-organization-client-credentials">Retrieving organization client credentials</a><ul>
+<li><a href="#request-url-1">Request URL</a></li>
+<li><a href="#example---request-5">Example - Request</a></li>
+<li><a href="#example---response-5">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-an-organizations-activity-feed">Getting an organization’s activity feed</a><ul>
+<li><a href="#request-uri-4">Request URI</a></li>
+<li><a href="#example---request-6">Example - Request</a></li>
+<li><a href="#example---response-6">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#creating-an-organization-application">Creating an organization application</a><ul>
+<li><a href="#request-uri-5">Request URI</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example---request-7">Example - Request</a></li>
+<li><a href="#example---response-7">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#deleting-an-organization-application">Deleting an organization application</a><ul>
+<li><a href="#request-uri-6">Request URI</a></li>
+<li><a href="#example---request-8">Example - Request</a></li>
+<li><a href="#example---response-8">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#generating-application-credentials">Generating application credentials</a><ul>
+<li><a href="#request-uri-7">Request URI</a></li>
+<li><a href="#example---request-9">Example - Request</a></li>
+<li><a href="#example---response-9">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-application-credentials">Getting application credentials</a><ul>
+<li><a href="#request-uri-8">Request URI</a></li>
+<li><a href="#example---request-10">Example - Request</a></li>
+<li><a href="#example---response-10">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-the-applications-in-an-organization">Getting the applications in an organization</a><ul>
+<li><a href="#request-uri-9">Request URI</a></li>
+<li><a href="#example---request-11">Example - Request</a></li>
+<li><a href="#example---response-11">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#adding-an-admin-user-to-an-organization">Adding an admin user to an organization</a><ul>
+<li><a href="#request-uri-10">Request URI</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example---request-12">Example - Request</a></li>
+<li><a href="#example---response-12">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#getting-the-admin-users-in-an-organization">Getting the admin users in an organization</a><ul>
+<li><a href="#request-uri-11">Request URI</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example---request-13">Example - Request</a></li>
+<li><a href="#example---response-13">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#removing-an-admin-user-from-an-organization">Removing an admin user from an organization</a><ul>
+<li><a href="#request-uri-12">Request URI</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+<li><a href="#example---request-14">Example - Request</a></li>
+<li><a href="#example---response-14">Example - Response</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<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>
+<h2 id="creating-an-organization">Creating an organization</h2>
+<p>Use the POST method to create an organization through a form post.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /organizations|orgs {request body}</p>
+<h3 id="parameters">Parameters</h3>
+<p>Parameter</p>
+<p>Description</p>
+<p>request body</p>
+<p>The following set of organization properties supplied through a form:</p>
+<p>Property</p>
+<p>Description</p>
+<p>organization (string)</p>
+<p>The name of the organization.</p>
+<p>username (string)</p>
+<p>The username of the administrator.</p>
+<p>name (string)</p>
+<p>The name of the administrator.</p>
+<p>email (string)</p>
+<p>The email address of the administrator.</p>
+<p>password (string)</p>
+<p>The password of the administrator.</p>
+<p> </p>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_org">cURL</a></li>
+<li><a href="#javascript_create_org">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_org">Ruby</a></li>
+<li><a href="#nodejs_create_org">Node.js</a></li>
+</ul>
+<pre class="highlight"><code class="language-bash"><span class="nv">$ </span>curl -X POST <span class="s2">"https://api.usergrid.com/management/orgs"</span> <span class="se">\</span>
+       -d <span class="s1">'{"password":"test12345","email":"tester123@hotmail.com","name":"test","username":"test123","organization":"testorg"}'</span></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>
+<pre class="highlight"><code class="language-ruby"><span class="n">mgmt</span> <span class="o">=</span> <span class="no">Usergrid</span><span class="o">::</span><span class="no">Management</span><span class="o">.</span><span class="n">new</span> <span class="s1">'https://api.usergrid.com/'</span>
+<span class="n">management</span><span class="o">.</span><span class="n">create_organization</span> <span class="s1">'testorg'</span><span class="p">,</span> <span class="s1">'test123'</span><span class="p">,</span> <span class="s1">'test'</span><span class="p">,</span> <span class="s1">'tester123@hotmail.com'</span><span class="p">,</span> <span class="s1">'test12345'</span></code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre class="highlight"><code class="language-javascript"><span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
+    <span class="nx">method</span><span class="o">:</span><span class="s1">'POST'</span><span class="p">,</span>
+    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs'</span><span class="p">,</span>
+    <span class="nx">body</span><span class="o">:</span><span class="p">{</span> 
+          <span class="nx">password</span><span class="o">:</span><span class="s1">'test12345'</span><span class="p">,</span> 
+          <span class="nx">email</span><span class="o">:</span><span class="s1">'tester12345@gmail.com'</span><span class="p">,</span> 
+          <span class="nx">name</span><span class="o">:</span><span class="s1">'test'</span><span class="p">,</span> 
+          <span class="nx">username</span><span class="o">:</span><span class="s1">'tes123'</span><span class="p">,</span> 
+          <span class="nx">organization</span><span class="o">:</span><span class="s1">'testorg'</span> 
+    <span class="p">}</span>    
+<span class="p">};</span>
+<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+        <span class="c1">//error — POST failed</span>
+    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
+        <span class="c1">//success — data will contain raw results from API call        </span>
+    <span class="p">}</span>
+<span class="p">});</span></code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
+  <span class="s2">"action"</span><span class="o">:</span> <span class="s2">"new organization"</span><span class="p">,</span>
+  <span class="s2">"status"</span><span class="o">:</span> <span class="s2">"ok"</span><span class="p">,</span>
+  <span class="s2">"data"</span><span class="o">:</span>  <span class="p">{</span>
+    <span class="s2">"owner"</span><span class="o">:</span>  <span class="p">{</span>
+      <span class="s2">"applicationId"</span><span class="o">:</span> <span class="s2">"00000000-0000-0000-0000-000000000001"</span><span class="p">,</span>
+      <span class="s2">"username"</span><span class="o">:</span> <span class="s2">"tester123"</span><span class="p">,</span>
+      <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"test"</span><span class="p">,</span>
+      <span class="s2">"email"</span><span class="o">:</span> <span class="s2">"tester123@hotmail.com"</span><span class="p">,</span>
+      <span class="s2">"activated"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
+      <span class="s2">"disabled"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
+      <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"48c92c73-0d7e-11e2-98b9-12313d288ee0"</span><span class="p">,</span>
+      <span class="s2">"adminUser"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
+      <span class="s2">"displayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;tester123@hotmail.com&gt;"</span><span class="p">,</span>
+      <span class="s2">"htmldisplayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;&lt;a href="</span><span class="nx">mailto</span><span class="o">:</span><span class="nx">tester123</span><span class="err">@</span><span class="nx">hotmail</span><span class="p">.</span><span class="nx">com</span><span class="s2">"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"</span>
+    <span class="p">},</span>
+    <span class="s2">"organization"</span><span class="o">:</span>  <span class="p">{</span>
+      <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"testorg"</span><span class="p">,</span>
+      <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"5de0bb69-0d7f-11e2-87b9-12313d288ff0"</span>
+    <span class="p">}</span>
+  <span class="p">},</span>
+  <span class="s2">"timestamp"</span><span class="o">:</span> <span class="mi">1349284674173</span><span class="p">,</span>
+  <span class="s2">"duration"</span><span class="o">:</span> <span class="mi">21376</span>
+<span class="p">}</span></code></pre>
+<h2 id="getting-an-organization">Getting an organization</h2>
+<p>Use the GET method to retrieve an organization given a specified UUID or username.</p>
+<h3 id="request-uri-1">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h3 id="example---request-1">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_org">cURL</a></li>
+<li><a href="#javascript_get_org">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_get_org">Ruby</a></li>
+<li><a href="#nodejs_get_org">Node.js</a></li>
+</ul>
+<pre class="highlight"><code class="language-bash">curl -X GET <span class="s2">"https://api.usergrid.com/management/orgs/testorg"</span></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>
+<pre class="highlight"><code class="language-ruby"><span class="n">mgmt</span> <span class="o">=</span> <span class="no">Usergrid</span><span class="o">::</span><span class="no">Management</span><span class="o">.</span><span class="n">new</span> <span class="s1">'https://api.usergrid.com/'</span>
+<span class="n">org</span> <span class="o">=</span> <span class="n">mgmt</span><span class="o">.</span><span class="n">organization</span> <span class="s1">'testorg'</span></code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre class="highlight"><code class="language-javascript"><span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
+    <span class="nx">method</span><span class="o">:</span><span class="s1">'GET'</span><span class="p">,</span>
+    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs/testorg'</span>
+<span class="p">};</span>
+<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+        <span class="c1">//error — GET failed</span>
+    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
+        <span class="c1">//success — data will contain raw results from API call        </span>
+    <span class="p">}</span>
+<span class="p">});</span></code></pre>
+<h3 id="example---response-1">Example - Response</h3>
+<pre class="highlight"><code class="language-javascript"><span class="p">{</span>
+  <span class="s2">"timestamp"</span><span class="o">:</span> <span class="mi">1349286861746</span><span class="p">,</span>
+  <span class="s2">"duration"</span><span class="o">:</span> <span class="mi">18</span><span class="p">,</span>
+  <span class="s2">"organization"</span><span class="o">:</span>  <span class="p">{</span>
+    <span class="s2">"users"</span><span class="o">:</span>  <span class="p">{</span>
+      <span class="s2">"tester123"</span><span class="o">:</span>  <span class="p">{</span>
+        <span class="s2">"applicationId"</span><span class="o">:</span> <span class="s2">"00000000-0000-0000-0000-000000000001"</span><span class="p">,</span>
+        <span class="s2">"username"</span><span class="o">:</span> <span class="s2">"tester123"</span><span class="p">,</span>
+        <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"test"</span><span class="p">,</span>
+        <span class="s2">"email"</span><span class="o">:</span> <span class="s2">"tester123@hotmail.com"</span><span class="p">,</span>
+        <span class="s2">"activated"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
+        <span class="s2">"disabled"</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
+        <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"327b527f-cd0c-11e1-bcf7-12313d1c4491"</span><span class="p">,</span>
+        <span class="s2">"adminUser"</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
+        <span class="s2">"displayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;tester123@hotmail.com&gt;"</span><span class="p">,</span>
+        <span class="s2">"htmldisplayEmailAddress"</span><span class="o">:</span> <span class="s2">"tester123 &lt;&lt;a href="</span><span class="nx">mailto</span><span class="o">:</span><span class="nx">tester123</span><span class="err">@</span><span class="nx">hotmail</span><span class="p">.</span><span class="nx">com</span><span class="s2">"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"</span>
+      <span class="p">}</span>
+    <span class="p">},</span>
+    <span class="s2">"name"</span><span class="o">:</span> <span class="s2">"testorg"</span><span class="p">,</span>
+    <span class="s2">"applications"</span><span class="o">:</span>  <span class="p">{</span>
+      <span class="s2">"tester123/sandbox"</span><span class="o">:</span> <span class="s2">"3400ba10-cd0c-11e1-bcf7-12313d1c4491"</span><span class="p">,</span>
+      <span class="s2">"tester123/testapp1"</span><span class="o">:</span> <span class="s2">"be08a5f9-fdd3-11e1-beca-12313d027471"</span><span class="p">,</span>
+      <span class="s2">"tester123/testapp2"</span><span class="o">:</span> <span class="s2">"cede5b7e-fe90-11e1-95c8-12313b122c56"</span>
+    <span class="p">},</span>
+    <span class="s2">"uuid"</span><span class="o">:</span> <span class="s2">"33dd0563-cd0c-11e1-bcf7-12313d1c4491"</span>
+  <span class="p">}</span></code></pre>
+<h2 id="activating-an-organization">Activating an organization</h2>
+<p>Use the GET method to activate an organization from a link provided in an email notification.</p>
+<h3 id="request-url">Request URL</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/activate?token={token}&amp;confirm={confirm_email}</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string token</td>
+<td align="left">Activation token (supplied via email).</td>
+</tr>
+<tr class="odd">
+<td align="left">boolean confirm_email</td>
+<td align="left">Send confirmation email (false is the default).</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-2">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/activate',
+    qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-2">Example - Response</h3>
+<pre><code>{
+  "action": "activate organization",
+  "timestamp": 1337928462810,              
+  "duration": 3342
+}</code></pre>
+<h2 id="reactivating-an-organization">Reactivating an organization</h2>
+<p>Use the GET method to reactivate an organization.</p>
+<h3 id="request-uri-2">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/reactivate</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example---request-3">Example - Request</h3>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/reactivate']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/reactivate'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-3">Example - Response</h3>
+<pre><code>{
+  "action": "reactivate organization",
+  "timestamp": 1349385280891,
+  "duration": 3612
+}</code></pre>
+<h2 id="generating-organization-client-credentials">Generating organization client credentials</h2>
+<p>Use the POST method to generate new credentials for an organization client.</p>
+<h3 id="request-uri-3">Request URI</h3>
+<p>POST /organizations|orgs/{org_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h3 id="example---request-4">Example - Request</h3>
+<ul>
+<li><a href="#curl_gen_org_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/credentials'].create</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-4">Example - Response</h3>
+<pre><code>{
+  "action": "generate organization client credentials",
+  "timestamp": 1349385795647,
+  "duration": 7,
+  "credentials":  {
+    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+  }
+}</code></pre>
+<h2 id="retrieving-organization-client-credentials">Retrieving organization client credentials</h2>
+<p>Use the GET method to retrieve the credentials for an organization client.</p>
+<h3 id="request-url-1">Request URL</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h3 id="example---request-5">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_org_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/credentials']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-5">Example - Response</h3>
+<pre><code>{
+  "action": "get organization client credentials",
+  "timestamp": 1349386672984,
+  "duration": 690,
+  "credentials":  {
+    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+  }
+}</code></pre>
+<h2 id="getting-an-organizations-activity-feed">Getting an organization’s activity feed</h2>
+<p>Use the GET method to get an organization’s activity feed.</p>
+<h3 id="request-uri-4">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/feed</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h3 id="example---request-6">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_org_feed">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+activities = mgmt['orgs/testorg/feed'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-6">Example - Response</h3>
+<pre><code>{
+ {
+  "action": "get organization feed",
+  "status": "ok",
+  "entities":  [
+     {
+      "uuid": "cf4d981c-fe90-11e1-95c8-12313b122c56",
+      "type": "activity",
+      "created": 1347643370454,
+      "modified": 1347643370454,
+      "actor":  {
+        "displayName": "tester123",
+        "objectType": "person",
+        "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
+        "entityType": "user"
+      },
+      "category": "admin",
+      "metadata":  {
+        "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz3SoH_6QEeGVyBIxOxIsVgA",
+        "path": "/groups/33dd0563-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+      },
+"object":  {
+        "displayName": "testapp2",
+        "objectType": "Application",
+        "uuid": "cede5b7e-fe90-11e1-95c8-12313b122c56",
+        "entityType": "application_info"
+      },
+      "published": 1347643370454,
+      "title": "&lt;a mailto="mailto:tester123@hotmail.com"&gt;tester123 (tester123@hotmail.com)&lt;/a&gt; created a new application named testapp2",
+      "verb": "create"
+    },...
+,
+  "timestamp": 1349387253811,</code></pre>
+<h2 id="creating-an-organization-application">Creating an organization application</h2>
+<p>Use the POST method to create an application for an organization through a form post.</p>
+<h3 id="request-uri-5">Request URI</h3>
+<p>POST /organizations|orgs/{org_name}|{org_uuid}/apps {request body}</p>
+<h3 id="parameters-1">Parameters</h3>
+<p>Parameter</p>
+<p>Description</p>
+<p>request body</p>
+<p>The following set of organization properties supplied through a form:.</p>
+<p>Property</p>
+<p>Description</p>
+<p>access token (string)</p>
+<p>The OAuth2 access token.</p>
+<p>name (string)</p>
+<p>The name of the application.</p>
+<p> </p>
+<h3 id="example---request-7">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_org_app">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mynewapp = mgmt['orgs/testorg/apps'].create name: 'testapp1', access_token: 'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/testorg/apps',
+    body:{ 
+          access_token:'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ', 
+          name:'testapp1' 
+    }    
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h3 id="example---response-7">Example - Response</h3>
+<pre><code>{
+  "action": "new application for organization",
+  "timestamp": 1338914698135,
+  "duration": 701
+}</code></pre>
+<h2 id="deleting-an-organization-application">Deleting an organization application</h2>
+<p>Use the DELETE method to delete an application from an organization.</p>
+<h3 id="request-uri-6">Request URI</h3>
+<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/apps/{app_name}|{app_uuid}</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h3 id="example---request-8">Example - Request</h3>
+<ul>
+<li><a href="#curl_delete_org_app">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'management/orgs/testorg/apps/testapp1'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — DELETE failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-8">Example - Response</h3>
+<pre><code>{
+  "action": "delete application from organization",
+  "timestamp": 1349817715666,
+  "duration": 0
+}</code></pre>
+<h2 id="generating-application-credentials">Generating application credentials</h2>
+<p>Use the POST method to generate the client ID and client secret credentials for an application in an organization.</p>
+<h3 id="request-uri-7">Request URI</h3>
+<p>POST /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h3 id="example---request-9">Example - Request</h3>
+<ul>
+<li><a href="#curl_gen_app_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1/credentials'].create</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-9">Example - Response</h3>
+<pre><code>{
+  "action": "generate application client credentials",
+  "timestamp": 1349815979529,
+  "duration": 535,
+  "credentials":  {
+    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+  }
+}</code></pre>
+<h2 id="getting-application-credentials">Getting application credentials</h2>
+<p>Use the GET method to retrieve the client ID and client secret credentials for an application in an organization.</p>
+<h3 id="request-uri-8">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h3 id="example---request-10">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_app_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1/credentials']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-10">Example - Response</h3>
+<pre><code>{
+  "action": "get application client credentials",
+  "timestamp": 1349816819545,
+  "duration": 7,
+  "credentials":  {
+    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+  }
+}</code></pre>
+<h2 id="getting-the-applications-in-an-organization">Getting the applications in an organization</h2>
+<p>Use the GET method to retrieve the applications in an organization.</p>
+<h3 id="request-uri-9">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h3 id="example---request-11">Example - Request</h3>
+<ul>
+<li><a href="#curl_get_apps_org">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+apps = mgmt['orgs/testorg/apps'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/apps'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<p> </p>
+<h3 id="example---response-11">Example - Response</h3>
+<pre><code>{
+  "action": "get organization application",
+  "data":  {
+    "testorg/sandbox": "3500ba10-cd0c-11e1-bcf8-12313d1c5591",
+    "testorg/testapp1": "be09a5f9-fdd3-11e1-beca-12313d027361",
+    "testorg/testapp2": "cede5b8e-fe90-11e1-65c8-12313b111c56"    
+  },
+  "timestamp": 1349815338635,
+  "duration": 22
+}</code></pre>
+<h2 id="adding-an-admin-user-to-an-organization">Adding an admin user to an organization</h2>
+<p>Use the PUT method to add an existing admin user to an organization.</p>
+<h3 id="request-uri-10">Request URI</h3>
+<p>PUT /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string username|string email|arg uuid</td>
+<td align="left">User name, user email address, or user UUID.</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-12">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/users/test123'].put nil</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/orgs/testorg/users/test123'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-12">Example - Response</h3>
+<pre><code>{
+  "action": "add user to organization",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 1349390189106,
+  "duration": 11808
+}</code></pre>
+<h2 id="getting-the-admin-users-in-an-organization">Getting the admin users in an organization</h2>
+<p>Use the GET method to retrieve details about the admin users in an organization.</p>
+<h3 id="request-uri-11">Request URI</h3>
+<p>GET /organizations|orgs/{org_name}|{org_uuid}/users</p>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example---request-13">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+admins = mgmt['orgs/testorg/users']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-13">Example - Response</h3>
+<pre><code>{
+  "action": "get organization users",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 13494542201685,
+  "duration": 10
+}</code></pre>
+<h2 id="removing-an-admin-user-from-an-organization">Removing an admin user from an organization</h2>
+<p>Use the DELETE method to remove an admin user from an organization.</p>
+<h3 id="request-uri-12">Request URI</h3>
+<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string username|string email|arg uuid</td>
+<td align="left">User name, user email address, or user UUID.</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+<h3 id="example---request-14">Example - Request</h3>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/users/test123'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'management/orgs/testorg/users/test123'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — DELETE failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h3 id="example---response-14">Example - Response</h3>
+<pre><code>{
+  "action": "remove user from organization",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 1349453590005,
+  "duration": 727
+}</code></pre>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organization.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[39/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/query-language.md
----------------------------------------------------------------------
diff --git a/content/content/docs/query-language.md b/content/content/docs/query-language.md
new file mode 100644
index 0000000..99827f9
--- /dev/null
+++ b/content/content/docs/query-language.md
@@ -0,0 +1,465 @@
+---
+title: Query Language
+category: docs
+layout: docs
+---
+
+> Query examples in this content are shown unencoded to make
+> them easier to read. Keep in mind that you might need to encode query
+> strings if you're sending them as part of URLs, such as when you're
+> executing them with the cURL tool.
+
+The following example retrieves a list of restaurants (from a
+restaurants collection) whose name property contains the value "diner",
+sorting the list in ascending order by name:
+
+    /restaurants?ql=select * where name contains 'diner' order by name asc
+
+
+## Basic syntax
+
+Queries of Apigee data for Apache Usergrid are made up of two kinds of
+statements: the path to the collection you want to query, followed by
+the query language statement containing your query. These two statements
+are separated by "?ql=" to indicate where the query language statement
+starts.
+
+To retrieve items from a collection, you would use a syntax such as the
+following:
+
+    /<collection>?ql=<query_statement>
+
+In the following example, the query is retrieving all users whose name
+is Gladys Kravitz.
+
+    /users?ql=select * where name = 'Gladys Kravitz'
+
+The following example selects all items except those that have an a
+property value of 5:
+
+    /items?ql=select * where NOT a = 5
+
+Note that there is a shortcut available when your query selects all
+items matching certain criteria -- in other words, where you use a
+statement that starts "select \* where". In this case, you can omit the
+first part of the statement and abbreviate it this way:
+
+    /items?ql=NOT a = 5
+
+You query your Apache Usergrid data by using a query syntax that's like
+Structured Query Language (SQL), the query language for relational
+databases. Unlike a relational database, where you specify tables and
+columns containing the data you want to query, in your Apache Usergrid
+queries you specify collections and entities.
+
+The syntax of Apache Usergrid queries only *resembles* SQL to
+make queries familiar and easier to write. However, the language isn't
+SQL. Only the syntax items documented here are supported.
+
+## Supported operators
+
+Comparisons
+
+* Less than `<` or `lt`
+* Less than or equal `<=` or `lte`
+* Equal `=` or `eq`
+* Greater than or equal `>=` or `gte`
+* Greater than `>` or `gt`
+* Not equal `NOT`
+
+Logical operations
+
+* Intersection of results `and`
+* Union of results `or`
+* Subtraction of results `not`
+
+
+## Query Response Format
+
+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.
+
+So for the following query:
+
+    /users?ql=select * where name = ‘Gladys Kravitz’
+
+...you would get a response such as the the one below. The JSON format
+arranges the data in name/value pairs. Many of the values correspond to
+specifics of the request, including the request’s HTTP action (GET), the
+application’s UUID, the request’s parameters (the query string you
+sent), and so on.
+
+Here, the query is asking for whole entities in the users collection.
+Data corresponding to the response is captured in the response’s
+`entities` array. The array has one member here, corresponding to the
+one user found by the query (another kind of query might have found more
+users). That one member gives the UUID of the entity (user), the entity
+type, and values for properties such as name, username, email, and so
+on.
+
+```json
+{
+  "action" : "get",
+  "application" : "8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0",
+  "params" : {
+    "ql" : [ "select * where name = 'Gladys Kravitz'" ]
+  },
+  "path" : "/users",
+  "uri" : "http://api.usergrid.com/myorg/myapp/users",
+  "entities" : [ {
+    "uuid" : "d0d7d0ba-e97b-11e2-8cef-411c466c4f2c",
+    "type" : "user",
+    "name" : "Gladys Kravitz",
+    "created" : 1373472876859,
+    "modified" : 1373472876859,
+    "username" : "gladys",
+    "email" : "gladys@example.com",
+    "activated" : true,
+    "picture" : "http://www.gravatar.com/avatar/20c57d4f41cf51f2db44165eb058b3b2",
+    "metadata" : {
+      "path" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c",
+      "sets" : {
+        "rolenames" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/rolenames",
+        "permissions" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/permissions"
+      },
+      "connections" : {
+        "firstname" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/firstname",
+        "lastname" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/lastname"
+      },
+      "collections" : {
+        "activities" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/activities",
+        "devices" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/devices",
+        "feed" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/feed",
+        "groups" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/groups",
+        "roles" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/roles",
+        "following" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/following",
+        "followers" : "/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/followers"
+      }
+    }
+  } ],
+  "timestamp" : 1374694196061,
+  "duration" : 48,
+  "organization" : "myorg",
+  "applicationName" : "myapp",
+  "count" : 1
+}
+```
+
+Compare the preceding example with the following for another kind of
+query. Imagine the following request string, where the query string is
+asking for only the values of two of the entity’s properties (username
+and name):
+
+    /users?ql=select username,name where name=’Gladys Kravitz’
+
+In the response JSON from this query, the return value is specified as
+the property of the `list` item -- here, an array containing only the
+values of the properties the query asked for, in the order they were
+requested (username first, then name).
+
+    {
+      "action" : "get",
+      "application" : "8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0",
+      "params" : {
+        "ql" : [ "select username,name where name='Gladys Kravitz'" ]
+      },
+      "path" : "/users",
+      "uri" : "http://api.usergrid.com/myorg/myapp/users",
+      "list" : [ [ "gladys", "Gladys Kravitz" ] ],
+      "timestamp" : 1374697463190,
+      "duration" : 25,
+      "organization" : "myorg",
+      "applicationName" : "myapp",
+      "count" : 1
+    }
+
+
+## Data types supported in queries
+
+As you develop queries for your Apache Usergrid data, remember that entity
+properties each conform to a particular data type (whether the entity is
+included by default or an entity you defined). Your queries must
+acknowledge this, testing with values that conform to each property's
+data type. (You can view the list of property data types for the default
+entities at [Default Data Entities](/default-data-entities).)
+
+For example, in the default entity `User`, the `name` property is stored
+as a `string`, the created date as a `long`, 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.
+
+So imagine you define an entity with a `price` property whose value
+might be `100.00`. Querying for `100` will return no results even if
+there are occurrences of `100.00` as `price` values in your data set.
+That's because the database expected a decimal-delimited `float` value
+in your query.
+
++-------------------------+-------------------------+-------------------------+
+| Data Type               | Examples                | Notes                   |
++=========================+=========================+=========================+
+| `string`                | `'value'`,              |                         |
+|                         | `unicode '\uFFFF'`,     |                         |
+|                         | `octal '\0707'`         |                         |
++-------------------------+-------------------------+-------------------------+
+| `long`                  |     1357412326021       | Timestamps are          |
+|                         |                         | typically stored as     |
+|                         |                         | `long` values.          |
++-------------------------+-------------------------+-------------------------+
+| `float`                 |     10.1, -10.1, 10e10, | Your query must be      |
+|                         |  10e-10, 10E10, 10E-10  | specific about the      |
+|                         |                         | value you're looking    |
+|                         |                         | for, down to the value  |
+|                         |                         | (if any) after the      |
+|                         |                         | decimal point.          |
++-------------------------+-------------------------+-------------------------+
+| `boolean`               |     true | false        |                         |
++-------------------------+-------------------------+-------------------------+
+| `UUID`                  |     ee912c4b-5769-11e2- | UUID types are          |
+|                         |     924d-02e81ac5a17b   | typically used for the  |
+|                         |                         | unique IDs of entities. |
+|                         |                         | The value must conform  |
+|                         |                         | to the following format |
+|                         |                         | (do not enclose with    |
+|                         |                         | quotation marks):       |
+|                         |                         |     xxxxxxxx-xxxx-xxxx- |
+|                         |                         | xxxx-xxxxxxxxxxxx       |
+|                         |                         |                         |
+|                         |                         | .                       |
++-------------------------+-------------------------+-------------------------+
+| `object`                | For a JSON object like  | Objects are often used  |
+|                         | this one:               | to contain entity       |
+|                         |                         | metadata, such as the   |
+|                         |     {                   | activities associated   |
+|                         |      "items": [         | with a user, the users  |
+|                         |       {                 | associated with a role, |
+|                         |        "name": "rocks"  | and so on.              |
+|                         |       },                |                         |
+|                         |       {                 |                         |
+|                         |        "name": "boats"  |                         |
+|                         |       }                 |                         |
+|                         |      ]                  |                         |
+|                         |     }                   |                         |
+|                         |                         |                         |
+|                         | ... you can use dot     |                         |
+|                         | notation to reach       |                         |
+|                         | property values in the  |                         |
+|                         | object:                 |                         |
+|                         |                         |                         |
+|                         |     /mycollection/thing |                         |
+|                         | ?ql="select * where ite |                         |
+|                         | ms.name = 'rocks'"      |                         |
++-------------------------+-------------------------+-------------------------+
+
+
+## Retrieving values for multiple properties
+
+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.
+
+For example, the following request returns the address and phone number
+of users whose name is Gladys Kravitz:
+
+    /users?ql=select address,phone_number where name = 'Gladys Kravitz'
+
+
+## Querying for the contents of text
+
+Your query can search the text of entity values of the string data type.
+For example, you can search a postal code field for values that start
+with a specific three numbers.
+
+For example, the following query selects all restaurants with the word
+`diner` in the name:
+
+    /restaurants?ql=select * where name contains 'diner'
+
+**Note:** Not all string properties of the default entities are
+indexed for searching. This includes the `User` entity's `username`
+property.
+
+This will return all users whose name property contains the word 'Kravitz'
+
+    /users?ql=select * where name contains 'Kravitz'
+
+This will return all users whose name property contains a word beginning with 'Krav'
+
+    /users?ql=select * where name contains 'Krav*'
+
+This will return all users whose name is exactly 'Gladys Kravitz'
+
+    /users?ql=select * where name = 'Gladys Kravitz'
+
+
+## Sorting results
+
+You can return query results that are sorted in the order you specify.
+Use the `order by` clause to specify the property to sort by, along with
+the order in which results should be sorted. The syntax for the clause
+is as follows `order by <property_name> asc | desc`
+
+The following table includes a few examples:
+
+    /users?ql=select * where lastname = 'Smith' order by firstname asc
+
+
+    /users?ql=select * where lastname = 'Smith' order by firstname desc
+
+
+    /users?ql=select * where lastname contains 'Sm*' order by lastname asc, firstname asc
+
+
+## Geoqueries
+
+Many of today's apps are enhanced by the use of *geolocation*, wireless
+detection of the physical location of a remote device. These apps are
+said to be *geolocation-aware* in that they query the device to
+determine the user's position and then use this data to further enhance
+the user's experience. For example, apps can capture the exact location
+where a picture was taken or a message was created.
+
+App services support geolocation on any entity, both built in (e.g.,
+users, groups) and user defined.
+
+To add a location to any entity, include the following member to the
+JSON in a POST or PUT call:
+
+    "location": {
+        "latitude": 37.779632,
+        "longitude": -122.395131  
+    } 
+
+For example, to store a listing of restaurants and their locations,
+start by creating a collection called restaurants:
+
+    POST https://api.usergrid.com/org_name/app_name/restaurants
+
+Next, add a new entity to the collection:
+
+    POST https://api.usergrid.com/org_name/app_name/restaurants
+    {
+      "name": "Rockadero",
+      "address": "21 Slate Street, Bedrock, CA",
+      "location": {
+        "latitude": 37.779632,
+        "longitude": -122.395131
+      }
+    }
+
+This creates a new restaurant entity called "Rockadero" with the
+longitude and latitude included as part of the object.
+
+When a location is added to an entity, it is easy to make queries
+against that data. For example, to see all restaurants within a 10 mile
+radius of the user's location, make a GET call against that entity, and
+include a search query in the following format:
+
+    location within <distance in meters> of <latitude>, <longitude>
+
+If we use the location of our user Fred, we first need to convert miles
+to meters. 1 mile is equivalent to 1609.344 meters, so 10 miles is about
+16093 meters. Thus, the API call looks like this:
+
+    GET https://api.usergrid.com/org_name/app_name/restaurants?ql=location within 16093 of 37.776753, -122.407846
+
+
+## Managing large sets of results
+
+When your query might return more results than you want to display to
+the user at once, you can use the limit parameter with cursors or API
+methods to manage the display of results. By default, query results are
+limited to 10 at a time. You can adjust this by setting the limit
+parameter to a value you prefer.
+
+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.
+
+You would use the following parameters in your query:
+
++-------------------------+-------------------------+-------------------------+
+| Parameter               | Type                    | Description             |
++=========================+=========================+=========================+
+| `limit`                 | integer                 | Number of results to    |
+|                         |                         | return. The maximum     |
+|                         |                         | number of results is    |
+|                         |                         | 1,000. Specifying a     |
+|                         |                         | limit greater than      |
+|                         |                         | 1,000 will result in a  |
+|                         |                         | limit of 1,000.         |
+|                         |                         |                         |
+|                         |                         | Limit is applied to the |
+|                         |                         | collection, not the     |
+|                         |                         | query string. For       |
+|                         |                         | example, the following  |
+|                         |                         | query will find the     |
+|                         |                         | first 100 entities in   |
+|                         |                         | the books collection,   |
+|                         |                         | then from that set      |
+|                         |                         | return the ones with    |
+|                         |                         | author='Hemingway':     |
+|                         |                         |                         |
+|                         |                         |     /books?ql=author =  |
+|                         |                         | 'Hemingway'&limit=100   |
+|                         |                         |                         |
+|                         |                         | You can also use the    |
+|                         |                         | limit parameter on a    |
+|                         |                         | request without a query |
+|                         |                         | string. The following   |
+|                         |                         | example is shorthand    |
+|                         |                         | for selecting all books |
+|                         |                         | and limiting by 100 at  |
+|                         |                         | a time:                 |
+|                         |                         |                         |
+|                         |                         |     /books?limit=100    |
+|                         |                         |                         |
+|                         |                         | Using a limit on a      |
+|                         |                         | DELETE can help you     |
+|                         |                         | manage the amount of    |
+|                         |                         | time it takes to delete |
+|                         |                         | data. For example you   |
+|                         |                         | can delete all of the   |
+|                         |                         | books, 1000 at a time,  |
+|                         |                         | with the following:     |
+|                         |                         |                         |
+|                         |                         |     DELETE /books?limit |
+|                         |                         | =1000                   |
+|                         |                         |                         |
+|                         |                         | Keep in mind that       |
+|                         |                         | DELETE operations can   |
+|                         |                         | take longer to execute. |
+|                         |                         | Yet even though the     |
+|                         |                         | DELETE query call might |
+|                         |                         | time out (such as with  |
+|                         |                         | a very large limit),    |
+|                         |                         | the operation will      |
+|                         |                         | continue on the server  |
+|                         |                         | even if the client      |
+|                         |                         | stops waiting for the   |
+|                         |                         | result.                 |
++-------------------------+-------------------------+-------------------------+
+| `cursor`                | string                  | 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.  |
++-------------------------+-------------------------+-------------------------+
+
+For example:
+
+Select all users whose name starts with fred, and returns the first 50
+results:
+
+    /users?ql=select * where name = 'fred*'&limit=50
+
+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:
+
+    /users?ql=select * where name = 'fred*'&limit=50&cursor=LTIxNDg0NDUxNDpnR2tBQVFFQWdITUFDWFJ2YlM1emJXbDBhQUNBZFFBUUQyMVZneExfRWVLRlV3TG9Hc1doZXdDQWRRQVFIYVdjb0JwREVlS1VCd0xvR3NWT0JRQQ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/querying-data-admin-portal.md
----------------------------------------------------------------------
diff --git a/content/content/docs/querying-data-admin-portal.md b/content/content/docs/querying-data-admin-portal.md
new file mode 100644
index 0000000..72238a4
--- /dev/null
+++ b/content/content/docs/querying-data-admin-portal.md
@@ -0,0 +1,40 @@
+---
+title: Querying data from the admin portal
+category: docs
+layout: docs
+---
+
+Querying data from the admin portal
+===================================
+
+The easiest way to try out Apache Usergrid queries you're considering is to
+use the admin portal, which you can reach at
+[https://apigee.com/usergrid/](https://apigee.com/usergrid/).
+
+To try out queries in the portal, use the following steps:
+
+1.  Go to the **Data Explorer** using the left navigation pane.
+2.  Under **Method**, select the HTTP method you want to use, as
+    follows:
+    -   GET to retrieve data.
+    -   POST to create data.
+    -   PUT to update data.
+    -   DELETE to delete data.
+
+3.  In the **Path** box, enter the path to the collection you're
+    querying.
+4.  In the **Query String** box, enter your query string.
+
+    Note that you put the path and query string in separate fields,
+    rather than appending the query string to the path in the **Path**
+    box.
+
+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:
+
+    /users?ql=select * where name = 'gladys*'
+
+The string received by Apigee would be the following:
+
+    /users?ql=select%20*%20where%20name%20%3d%20'gladys*'

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/querying-your-app-services-data.md
----------------------------------------------------------------------
diff --git a/content/content/docs/querying-your-app-services-data.md b/content/content/docs/querying-your-app-services-data.md
new file mode 100644
index 0000000..25158ba
--- /dev/null
+++ b/content/content/docs/querying-your-app-services-data.md
@@ -0,0 +1,81 @@
+---
+title: Querying your Apache Usergrid data
+category: docs
+layout: docs
+---
+
+Querying your Apache Usergrid data
+===============================
+
+You can write code to query for data you've stored in your Apache Usergrid
+application. You'll most likely use queries as filters to retrieve
+specific entities. For example, you might want to get data about users
+who are "following" a specific other user, businesses in specific
+geographical locations, and so on.
+
+The following example retrieves a list of restaurants (from a
+restaurants collection) whose name property contains the value "diner",
+sorting the list in ascending order by name:
+
+    /restaurants?ql=select * where name contains 'diner' order by name asc
+
+Having retrieved the list of restaurants, your code could display the
+list to your users. You could also use a query to retrieve a list of
+diners that are located within a particular geographical area (such as
+near your user's current location).
+
+> **Important:** By default, results from queries of your Apache Usergrid
+> data are limited to 10 items at a time. You can control this with the
+> `limit` parameter, as discussed [Working with
+> queries](/working-queries#cursor).
+
+You query your Apache Usergrid data by using a query syntax that's like
+Structured Query Language (SQL), the query language for relational
+databases. Unlike a relational database, where you specify tables and
+columns containing the data you want to query, in your Apache Usergrid
+queries you specify collections and entities.
+
+The examples in this section illustrate queries using simple strings to
+make the queries easier to read. You can also use one of the Apigee
+SDKs, which provide functions through which you can pass query strings,
+and in some cases shortcuts for bypassing queries altogether.
+
+**Note:** Queries replace filters, which are deprecated.
+
+Querying data from the admin portal
+-----------------------------------
+
+The easiest way to try out queries you're considering is to use the
+admin portal, which you can reach at
+[https://apigee.com/usergrid/](https://apigee.com/usergrid/).
+
+To try out queries in the portal, use the following steps:
+
+1.  Go to the **Data Explorer** using the left navigation pane.
+
+    ![](/docs/sites/docs/files/styles/large/public/as_push_console_delete.png?itok=BFAfMReE)
+
+2.  Under **Method**, select the HTTP method you want to use, as
+    follows:\
+    -   GET to retrieve data.
+    -   POST to create data.
+    -   PUT to update data.
+    -   DELETE to delete data.
+
+3.  In the **Path** box, enter the path to the collection you're
+    querying.
+4.  In the **Query String** box, enter your query string.
+
+    Note that you put the path and query string in separate fields,
+    rather than appending the query string to the path in the **Path**
+    box.
+
+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:
+
+    /users?ql=select * where name = 'gladys*'
+
+The string received by Apigee would be the following:
+
+    /users?ql=select%20*%20where%20name%20%3d%20'gladys*'

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/relationships.md
----------------------------------------------------------------------
diff --git a/content/content/docs/relationships.md b/content/content/docs/relationships.md
new file mode 100644
index 0000000..9d57d3c
--- /dev/null
+++ b/content/content/docs/relationships.md
@@ -0,0 +1,104 @@
+---
+title: Relationships
+category: docs
+layout: docs
+---
+
+Creating connections between entities
+-------------------------------------
+
+One of the most useful features of App services is the ability to create
+connections between entities. A simple example of this is the
+Twitter-like use of *following*, where one user forms a connection with
+another by subscribing to any tweets they post. [Messagee
+Example](/messagee-example) walks you through an example of following
+other users in our sample app, *Messagee*. Here is the basic format:
+
+    POST https://api.usergrid.com/my-org/my-app/users/fred/following/users/barney
+
+This API call results in two users, Fred and Barney, linked with a
+connection where Fred is following Barney.
+
+If you create a *following* connection between two users, Apache Usergrid
+automatically creates a virtual connection called *followers* that
+mirrors the *following* connection. In other words, if you create a
+connection where Fred is following Barney, Apache Usergrid automatically
+creates a virtual connection where Fred is a follower of Barney.
+
+Note that there is no mirror connection established. Apache Usergrid only
+creates a mirror connection when you create a *following* connection. It
+does not create a mirror connection for other verbs such as likes.
+
+You can see all the users that Fred is following, in this case only
+Barney, by making the following API call:
+
+    GET https://api.usergrid.com/my-org/my-app/users/fred/following
+
+You can see all of barney’s followers, in this case only Fred, by making
+the following API call:
+
+    GET https://api.usergrid.com/my-org/my-app/users/barney/followers
+
+The *followers* connection is a virtual connection because you can’t use
+it to link two entities. In other words, you can’t make fred a follower
+of barney by using a *followers* connection.  **This is wrong:**
+
+    POST https://api.usergrid.com/my-org/my-app/users/barney/followers/users/fred
+
+To create a *following* connection with the users switched, so that
+Barney is following Fred, do this:
+
+    POST https://api.usergrid.com/my-org/my-app/users/barney/following/users/fred
+
+You can now see Fred’s followers (only Barney) by making the following
+call:
+
+    GET https://api.usergrid.com/my-org/my-app/users/fred/followers
+
+Creating other connections
+--------------------------
+
+You can extend this connection structure to create connections using any
+"verb" that can link two entities. For example, you could use likes to
+denote a connection between a user and his dog. First, create a dogs
+collection:
+
+    POST https://api.usergrid.com/my-org/my-app/dogs
+
+Then populate this collection with a new dog named Dino:
+
+    POST https://api.usergrid.com/my-org/my-app/dogs {"name" : "dino"}
+
+Then create a likes connection between Fred and his dog Dino:
+
+    POST https://api.usergrid.com/my-org/my-app/users/fred/likes/dogs/dino
+
+Getting connections
+-------------------
+
+### Get all connections for an entity
+
+To get a list that only contains the connections, do a GET on the
+connections sub-property of the entity:
+
+    GET https://api.usergrid.com/my-org/my-app/users/fred/connections
+
+### Get information on a specific connection type
+
+To get a list of users who like Fred:
+
+    GET https://api.usergrid.com/my-org/my-app/users/fred/connecting/likes
+
+To get a list of all dogs that Fred likes:
+
+    GET https://api.usergrid.com/my-org/my-app/users/fred/likes/dog
+
+Deleting a connection
+---------------------
+
+You can delete a connection in a way similar to creating one. Just
+replace the POST method with the DELETE method. For example, you can
+delete the connection between fred and barney with the following API
+call:
+
+    DELETE https://api.usergrid.com/my-org/my-app/users/fred/following/barney

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/rest-api.md
----------------------------------------------------------------------
diff --git a/content/content/docs/rest-api.md b/content/content/docs/rest-api.md
new file mode 100644
index 0000000..91d263b
--- /dev/null
+++ b/content/content/docs/rest-api.md
@@ -0,0 +1,17 @@
+---
+title: REST API
+category: docs
+layout: docs
+---
+
+Organizations
+-------------
+
+```bash
+# Create an Organization
+curl -X POST "https://api.usergrid.com/management/organizations" \
+     -d '{ "password":"test12345", "email":"tester123@hotmail.com", "name":"test", "username":"test123", "organization":"testorg" }'
+
+# Read an Organization
+curl -X GET "https://api.usergrid.com/management/organizations/testorg"
+```
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/rest-endpoints.md
----------------------------------------------------------------------
diff --git a/content/content/docs/rest-endpoints.md b/content/content/docs/rest-endpoints.md
new file mode 100644
index 0000000..b99c094
--- /dev/null
+++ b/content/content/docs/rest-endpoints.md
@@ -0,0 +1,918 @@
+---
+title: REST Endpoints
+category: docs
+layout: docs
+---
+
+REST Endpoints
+==============
+
+### Base URL: https://api.usergrid.com/management
+
+ 
+
+### Access Token
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/token
+'{"grant\_type":"client\_credentials","client\_id":"{client\_id}","client\_secret":"client\_secret"}'
+
+POST
+
+application/json
+
+Obtain an access token (access type = organization)
+
+[Detail](/access-token)
+
+/token
+'{"grant\_type":"password","username":"{username}":"password"="{password}"}'
+
+POST
+
+application/json
+
+Obtain an access token (access type = admin user)
+
+[Detail](/access-token)
+
+/{org\_id}/{app\_id}/token
+'{"grant\_type":"client\_credentials","client\_id":"{client\_id}","client\_secret":"{client\_secret}"}'
+
+POST
+
+application/json
+
+Obtain an access token (access type = application)
+
+[Detail](/access-token)
+
+{org\_id}/{app\_id}/token
+'{"grant\_type":"password","username":"{username}","password":"{password}"}'
+
+POST
+
+application/json
+
+Obtain an access token (access type = application user)
+
+[Detail](/access-token)
+
+### Admin users
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/users
+
+POST
+
+application/json
+
+Create an admin user
+
+[Detail](/docs/usergrid/content/admin-user#creating-an-admin-user)
+
+/users/{user|username|email|uuid}
+
+PUT
+
+application/json
+
+Update an admin user
+
+[Detail](/docs/usergrid/content/admin-user#updating-an-admin-user)
+
+/users/{user|username|email|uuid}
+
+GET
+
+application/json
+
+Get an admin user
+
+[Detail](/docs/usergrid/content/admin-user#getting-an-admin-user)
+
+/users/{user|username|email|uuid}/\
+ password
+
+PUT
+
+application/json
+
+Set an admin user's password
+
+[Detail](/docs/usergrid/content/admin-user#setting-an-admin-user-s-password)
+
+users/resetpw
+
+GET
+
+application/json
+
+Initiate the reset of an admin user's password
+
+[Detail](/docs/usergrid/content/admin-user#setting-an-admin-user-s-password)
+
+/users/resetpw
+
+POST
+
+application/json
+
+Complete the reset of an admin user's password
+
+[Detail](/docs/usergrid/content/admin-user#setting-an-admin-user-s-password)
+
+/users/{user|username|email|uuid}/activate?\
+ token={token}&confirm={confirm\_email}
+
+GET
+
+application/json
+
+Activate an admin user
+
+[Detail](/docs/usergrid/content/admin-user#activating-an-admin-user)
+
+/users/{user|username|email|uuid}/reactivate
+
+GET
+
+application/json
+
+Reactivate an admin user
+
+[Detail](/docs/usergrid/content/admin-user#reactivating-an-admin-user)
+
+/users/{user|username|email|uuid}/feed
+
+GET
+
+application/json
+
+Get an admin user's feed
+
+[Detail](/docs/usergrid/content/admin-user#getting-an-admin-user-s-activity-feed)
+
+### Applications
+
+  -------------------
+  See Organizations
+  -------------------
+
+### Client authorization
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/authorize?response\_type={response\_type}&\
+ client\_id={client\_id}
+
+GET
+
+application/json
+
+Authorize a client
+
+[Detail](/docs/usergrid/content/client-authorization)
+
+### Organizations
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/organizations|orgs
+
+POST
+
+application/json
+
+Create an organization
+
+[Detail](/docs/usergrid/content/organization#creating-an-organization)
+
+/organizations|orgs/{org\_name}|{uuid}
+
+GET
+
+application/json
+
+Retrieve an organization
+
+[Detail](/docs/usergrid/content/organization#getting-an-organization)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ activate?token={token}&confirm={confirm\_email}
+
+GET
+
+application/json
+
+Activate an organization
+
+[Detail](/docs/usergrid/content/organization#activating-an-organization)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ reactivate
+
+GET
+
+application/json
+
+Reactivate an organization
+
+[Detail](/docs/usergrid/content/organization#reactivating-an-organization)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ credentials
+
+POST
+
+application/json
+
+Generate organization client credentials
+
+[Detail](/docs/usergrid/content/organization#generating-organization-client-credentials)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ credentials
+
+GET
+
+application/json
+
+Retrieve organization client credentials
+
+[Detail](/docs/usergrid/content/organization#retrieving-organization-client-credentials)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ feed
+
+GET
+
+application/json
+
+Retrieve an organization's activity feed
+
+[Detail](/docs/usergrid/content/organization#getting-an-organization-s-activity-feed)
+
+/organizations|orgs/{org\_name}|{org\_uuid}/\
+ apps
+
+POST
+
+application/json
+
+Create an organization application
+
+[Detail](/docs/usergrid/content/organization#creating-an-organization-application)
+
+/organizations|orgs/{org\_name}|{org\_uuid}/\
+ apps/{app\_name}|{app\_uuid}
+
+DELETE
+
+application/json
+
+Delete an organization application
+
+[Detail](/docs/usergrid/content/organization#deleting-an-organization-application)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ applications|apps/{app\_name}|{uuid}/\
+ credentials
+
+POST
+
+application/json
+
+Generate credentials for an organization application
+
+[Detail](/docs/usergrid/content/organization#generating-an-application-credentials)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ applications|apps/\
+ {app\_name}|{uuid}/credentials
+
+GET
+
+application/json
+
+Get credentials for an organization application
+
+[Detail](/docs/usergrid/content/organization#getting-application-credentials)
+
+/organizations|orgs/{org\_name}|{uuid}/\
+ applications|apps
+
+GET
+
+application/json
+
+Get the applications in an organization
+
+[Detail](/docs/usergrid/content/organization#getting-the-applications-in-an-organization)
+
+/organizations|orgs/{org\_name}|{org\_uuid}/\
+ users/{username|email|uuid}
+
+PUT
+
+application/json
+
+Adding an admin user to an organization
+
+[Detail](/docs/usergrid/content/organization#adding-an-admin-user-to-an-organization)
+
+/organizations|orgs/{org\_name}|{org\_uuid}/ users
+
+GET
+
+application/json
+
+Getting the admin users in an organization
+
+[Detail](/docs/usergrid/content/organization#getting-the-admin-users-in-an-organization)
+
+/organizations|orgs/{org\_name}|{org\_uuid}/\
+ users/{username|email|uuid}
+
+DELETE
+
+application/json
+
+Removing an admin user from an organization
+
+[Detail](/docs/usergrid/content/organization#removing-an-admin-user-from-an-organization)
+
+### Base URL: https://api.usergrid.com
+
+### Activities
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/users/\
+ {uuid|username}/activities
+
+POST
+
+application/json
+
+Create an activity
+
+[Detail](/docs/usergrid/content/activity#creating-an-activity)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}/activities
+
+POST
+
+application/json
+
+Post an activity to a group
+
+[Detail](/docs/usergrid/content/activity#posting-an-activity-to-a-group)
+
+### Assets
+
+  -------------------------------------------------------
+  See Collections (other than users, groups, and roles)
+  -------------------------------------------------------
+
+### Collections (other than users, groups, and roles)
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/
+
+GET
+
+application/json
+
+Retrieve all collections
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#create_entity)
+
+/{org\_id}/{app\_id}/{collection}
+
+POST
+
+application/json
+
+Create a new entity or collection
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#create_entity)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {uuid|name}
+
+GET
+
+application/json
+
+Retrieve an entity
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#get_entity_uuid)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {uuid|name}
+
+PUT
+
+application/json
+
+Update an entity
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#update_entity)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {uuid|name}
+
+DELETE
+
+application/json
+
+Delete an entity
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#delete_uuid)
+
+/{org\_id}/{app\_id}/{collection}?{query}
+
+GET
+
+application/json
+
+Query a collection
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#query_entity_collection)
+
+/{org\_id}/{app\_id}/{collection}?{query}
+
+PUT
+
+application/json
+
+Update a collection by query
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#update_collection)
+
+/{org\_id}/{app\_id}/{collection}/{entity\_id}/\
+ {relationship}?{query}
+
+GET
+
+application/json
+
+Query an entity's collections or connections
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#query_entity_collection)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_id}\
+ or\
+ /{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_type}/{second\_entity\_id}
+
+POST
+
+application/json
+
+Add an entity to a collection or create a connection
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#put_entity)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_id}\
+ or\
+ /{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_type}/{second\_entity\_id}
+
+DELETE
+
+application/json
+
+Remove an entity from a collection or delete a connection
+
+[Detail](/docs/usergrid/content/general-purpose-endpoints#remove_entity)
+
+### Devices
+
+  -------------------------------------------------------
+  See Collections (other than users, groups, and roles)
+  -------------------------------------------------------
+
+### Events
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/events
+
+POST
+
+application/json
+
+Create an event
+
+[Detail](/docs/usergrid/content/events-and-counters#new_event)
+
+### Folders
+
+  -------------------------------------------------------
+  See Collections (other than users, groups, and roles)
+  -------------------------------------------------------
+
+### Groups
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/groups
+
+POST
+
+application/json
+
+Create a new group
+
+[Detail](/docs/usergrid/content/group#create_group)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}/users/{uuid|username}
+
+POST
+
+application/json
+
+Add a user to a group
+
+[Detail](/docs/usergrid/content/group#add_user_group)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}
+
+GET
+
+application/json
+
+Get a group
+
+[Detail](/docs/usergrid/content/group#get_group)
+
+/{org\_id}{app\_id}/groups/\
+ {uuid|groupname}
+
+PUT
+
+application/json
+
+Update a group
+
+[Detail](/docs/usergrid/content/group#update_group)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}/users/{uuid|username}
+
+DELETE
+
+application/json
+
+Delete user from a group
+
+[Detail](/docs/usergrid/content/group#delete_user_group)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}/feed
+
+GET
+
+application/json
+
+Get a group's feed
+
+[Detail](/docs/usergrid/content/group#getting-a-group-s-feed)
+
+### Roles
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/roles
+
+POST
+
+application/json
+
+Create a new role
+
+[Detail](/docs/usergrid/content/role#create_role)
+
+/{org\_id}/{app\_id}/roles
+
+GET
+
+application/json
+
+Get the roles in an application
+
+[Detail](/docs/usergrid/content/role#get_roles)
+
+/{org\_id}/{app\_id}/roles/{rolename}
+
+DELETE
+
+application/json
+
+Delete a role
+
+[Detail](/docs/usergrid/content/role#delete_role)
+
+/{org\_id}/{app\_id}/roles/\
+ {rolename|role\_id}/permissions
+
+GET
+
+application/json
+
+Get permissions for a role
+
+[Detail](/docs/usergrid/content/role#get_permission)
+
+/{org\_id}/{app\_id}/roles/\
+ {rolename|role\_id}/permissions
+
+POST
+
+application/json
+
+Add permissions to a role
+
+[Detail](/docs/usergrid/content/role#add_permission)
+
+{org\_id}/{app\_id}/roles/\
+ {rolename|role\_id}/permissions?\
+ permission={grant\_url\_pattern}
+
+DELETE
+
+application/json
+
+Delete permissions from a role
+
+[Detail](/docs/usergrid/content/role#delete_permission)
+
+/{org\_id}/{app\_id}/roles/{role\_id}/\
+ users/{uuid|username}\
+ or\
+ /{org\_id}/{app\_id}/users/\
+ {uuid|username}/roles/{role\_id}
+
+POST
+
+application/json
+
+Add a user to a role
+
+[Detail](/docs/usergrid/content/role#adding-a-user-to-a-role)
+
+/{org\_id}/{app\_id}/roles/{role\_id}/\
+ users
+
+GET
+
+application/json
+
+Get the users in a role
+
+[Detail](/docs/usergrid/content/role#getting-the-users-in-a-role)
+
+/{org\_id}/{app\_id}/roles/{role\_id}/\
+ users/{uuid|username}
+
+DELETE
+
+application/json
+
+Delete a user from a role
+
+[Detail](/docs/usergrid/content/role#deleting-a-user-from-a-role)
+
+### Users
+
+URI
+
+Verb
+
+Content Types
+
+Action
+
+ 
+
+/{org\_id}/{app\_id}/users
+
+POST
+
+application/json
+
+Create a user in the users collection
+
+[Detail](/docs/usergrid/content/user#create_user)
+
+/{org\_id}/{app\_id}/users/{user}/\
+ password
+
+POST
+
+application/json
+
+Set a user's password or reset the user's existing password
+
+[Detail](/docs/usergrid/content/user#set_password)
+
+/{org\_id}/{app\_id}/users/\
+ {uuid|username|email\_address}
+
+GET
+
+application/json
+
+Retrieve a user
+
+[Detail](/docs/usergrid/content/user#uuid)
+
+/{org\_id}/{app\_id}/users/\
+ {uuid|username}
+
+PUT
+
+application/json
+
+Update a user
+
+[Detail](/docs/usergrid/content/user#update_user)
+
+/{org\_id}/{app\_id}/users/{uuid|username}
+
+DELETE
+
+application/json
+
+Delete a user
+
+[Detail](/docs/usergrid/content/user#delete_user)
+
+/{org\_id}/{app\_id}/users?{query}
+
+GET
+
+application/json
+
+Query to get users
+
+[Detail](/docs/usergrid/content/user#query_get)
+
+/{org\_id}/{app\_id}/groups/\
+ {uuid|groupname}/users/{uuid|username}
+
+POST
+
+application/json
+
+Add a user to a group
+
+[Detail](/docs/usergrid/content/user#add_user_group)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_id}\
+ or\
+ /{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_type}/{second\_entity\_id}
+
+POST
+
+application/json
+
+Add a user to a collection or create a connection
+
+[Detail](/docs/usergrid/content/user#add_collection)
+
+/{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_id}\
+ or\
+ /{org\_id}/{app\_id}/{collection}/\
+ {first\_entity\_id}/{relationship}/\
+ {second\_entity\_type}/{second\_entity\_id}
+
+DELETE
+
+application/json
+
+Remove a user from a collection or delete a connection
+
+[Detail](/docs/usergrid/content/user#delete_collection)
+
+/{org\_id}/{app\_id}/users/{uuid|username}/\
+ {relationship}?{query}
+
+GET
+
+application/json
+
+Query a user's collections or connections
+
+[Detail](/docs/usergrid/content/user#query_collection)
+
+/{org\_id}/{app\_id}/users/\
+ {uuid|username}/feed
+
+GET
+
+application/json
+
+Get a user's feed
+
+[Detail](/docs/usergrid/content/user#getting-a-user-s-feed)
+
+### Notifications, Notifiers, and Receipts
+
+  -------------------------------------------------------------------
+  See [Create & Manage Notifications](/create-manage-notifications)
+  -------------------------------------------------------------------
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/retrieving-collections.md
----------------------------------------------------------------------
diff --git a/content/content/docs/retrieving-collections.md b/content/content/docs/retrieving-collections.md
new file mode 100644
index 0000000..9a510f6
--- /dev/null
+++ b/content/content/docs/retrieving-collections.md
@@ -0,0 +1,484 @@
+---
+title: Retrieving Collections
+category: docs
+layout: docs
+---
+
+Retrieving Collections
+======================
+
+This article describes how to retrieve all of the entities in a
+collection.
+
+By default, the Apache Usergrid API returns 10 entities per request. For
+collections with more than 10 entities, use the returned 'cursor'
+property to retrieve the next 10 entities in the result set. You may
+also use the `LIMIT` parameter in a query string to increase the number
+of results returned. For more information on using cursors, see
+[Managing large sets of results](/working-queries#cursor).
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Retrieving sets of entities from a collection
+---------------------------------------------
+
+-   [cURL](#curl_get_collection)
+-   [iOS](#ios_get_collection)
+-   [Android](#android_get_collection)
+-   [JavaScript (HTML5)](#javascript_get_collection)
+-   [Ruby](#ruby_get_collection)
+-   [Node.js](#nodejs_get_collection)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X GET "https://api.usergrid.com/your-org/your-app/items"
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : { },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+                },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+            "name" : "bread",
+            "price" : "2.50"
+          } ],
+          "timestamp" : 1378426821261,
+          "duration" : 35,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### Request Syntax
+
+    curl -X GET https://api.usergrid.com/<org>/<app>/<collection>
+
+### Parameters
+
+  Parameter    Description
+  ------------ ----------------------------------------
+  org          Organization UUID or organization name
+  app          Application UUID or application name
+  collection   Collection UUID or collection name
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)getCollection {
+
+        //specify the entity type that corresponds to the collection to be retrieved
+        NSString *type = @"item";
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        ApigeeCollection *collection = [[ApigeeCollection alloc] init:apigeeClient.dataClient type:type];
+        
+        @try {
+            //success
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+
+    }
+                        
+                        
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : { },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+                },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+            "name" : "bread",
+            "price" : "2.50"
+          } ],
+          "timestamp" : 1378426821261,
+          "duration" : 35,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### SDK Method
+
+    (ApigeeCollection*)getCollection:(NSString*)type
+
+### Properties
+
+  Parameter   Description
+  ----------- ----------------------------------------------------------------
+  type        The entity type associated with the collection to be retrieved
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    String type = "item"; //entity type to be retrieved
+    Map<String,Object> queryString =  null; //we don't need any additional query parameters, in this case
+        
+    //call getCollectionAsync to initiate the asynchronous API call    
+    dataClient.getCollectionAsync(type, queryString, new ApiResponseCallback() {    
+
+    //If getEntitiesAsync fails, catch the error
+        @Override
+        public void onException(Exception e) { 
+            // Error
+        }
+        
+        //If getCollectionAsync is successful, handle the response object
+        @Override
+        public void onResponse(ApiResponse response) {
+            try { 
+                if (response != null) {
+                    // Success
+                }
+            } catch (Exception e) { //The API request returned an error
+                    // Fail
+            }
+        }
+    }); 
+                        
+
+#### Response:
+
+        {"action":"get","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"4.00","created":1378405020796,"name":"milk","modified":1378505935248,"availability":"in-stock","metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}},{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1a9356ba-1682-11e3-a72a-81581bbaf055","price":"2.50","created":1378423379867,"name":"bread","modified":1378423379867,"metadata":{"path":"/items/1a9356ba-1682-11e3-a72a-81581bbaf055"}}],"params":{},"path":"/items","rawResponse":"{
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : { },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+            "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+            "type" : "item",
+            "name" : "milk",
+            "created" : 1378405020796,
+            "modified" : 1378505935248,
+            "availability" : "in-stock",
+            "metadata" : {
+              "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+            },
+            "name" : "milk",
+            "price" : "4.00"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+              "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+            "name" : "bread",
+            "price" : "2.50"
+          } ],
+          "timestamp" : 1378512710357,
+          "duration" : 39,
+          "organization" : "your-org",
+          "applicationName" : "your-app"
+        }
+        ","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378512710357,"entityCount":2,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"4.00","created":1378405020796,"name":"milk","modified":1378505935248,"availability":"in-stock","metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1a9356ba-1682-11e3-a72a-81581bbaf055","price":"2.50","created":1378423379867,"name":"bread","modified":1378423379867,"metadata":{"path":"/items/1a9356ba-1682-11e3-a72a-81581bbaf055"}},"organi
 zation":"your-org","duration":39,"applicationName":"your-app"}
+                        
+
+### SDK Method
+
+Asynchronous:
+
+    getCollectionAsync(String type, Map<String,Object> queryString, ApiResponseCallback callback)
+
+Synchronous:
+
+    ApiResponse getCollection(String type, Map<String,Object> queryString)
+
+### Properties
+
+  Parameter     Description
+  ------------- ----------------------------------------------------------------------------------
+  type          The entity type being retrieved
+  queryString   Map object of entity properties to be matched for the collection to be retrieved
+  callback      Callback function (Asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    var options = {
+        type:"item", //Required - the type of collection to be retrieved
+        client:dataClient //Required
+    };
+
+    //Create a collection object to hold the response
+    var collection = new Usergrid.Collection(options);
+
+    //Call request to initiate the API call
+    collection.fetch(
+        function() {
+            //success callback
+        },
+        function() {
+            //error callback
+        }
+    );
+                        
+
+#### Response:
+
+    Object {action: "get", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+        action: "get"
+        application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+        applicationName: "your-app"
+        count: 2
+        duration: 33
+        entities: Array[2]
+            0: Object
+                created: 1378423379867
+                metadata: Object
+                modified: 1378423379867
+                name: "bread"
+                price: "2.50"
+                type: "item"
+                uuid: "1a9356ba-1682-11e3-a72a-81581bbaf055"
+                __proto__: Object
+            1: Object
+                created: 1378405020796
+                metadata: Object
+                modified: 1378405020796
+                name: "milk"
+                price: "3.25"
+                type: "item"
+                uuid: "5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+                __proto__: Object
+            length: 2
+        __proto__: Array[0]
+        organization: "your-org"
+        params: Object
+        path: "/items"
+        timestamp: 1378427598013
+        uri: "http://api.usergrid.com/your-org/your-app/items"
+        __proto__: Object               
+                        
+
+### SDK Method
+
+    Collection.fetch(callback);
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  callback    Callback function to handle the API response
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+        #Create a client object
+        usergrid_api = 'https://api.usergrid.com'
+        organization = 'your-org'
+        application = 'your-app'
+        
+        dataClient = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+        
+        begin
+        # Retrieve the collection by referencing the [type]
+        # and save the response
+        response = dataClient['items'].entity
+        
+        rescue
+        #fail
+        end
+                        
+                        
+
+#### Response:
+
+    {
+          "action" : "get",
+          "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+          "params" : { },
+          "path" : "/items",
+          "uri" : "http://api.usergrid.com/your-org/your-app/items",
+          "entities" : [ {
+                "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+                "type" : "item",
+                "name" : "milk",
+                "created" : 1378405020796,
+                "modified" : 1378405020796,
+                "metadata" : {
+                      "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+                },
+                "name" : "milk",
+                "price" : "3.25"
+          }, {
+            "uuid" : "1a9356ba-1682-11e3-a72a-81581bbaf055",
+            "type" : "item",
+            "name" : "bread",
+            "created" : 1378423379867,
+            "modified" : 1378423379867,
+            "metadata" : {
+                  "path" : "/items/1a9356ba-1682-11e3-a72a-81581bbaf055"
+            },
+            "name" : "bread",
+            "price" : "2.50"
+          } ],
+          "timestamp" : 1378426821261,
+          "duration" : 35,
+          "organization" : "your-org",
+          "applicationName" : "your-app",
+          "count" : 2
+    }
+
+### SDK Method
+
+    Application.[<entity_type>].entity
+
+### Parameters
+
+  Parameter      Description
+  -------------- ----------------------------------------------------------------
+  entity\_type   The entity type associated with the collection to be retrieved
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+        var dataClient = new Usergrid.client({
+            orgName:'your-org',
+            appName:'your-app'
+        });
+        
+        var options = {
+            type:"item", //Required - the type of collection to be retrieved
+            client:dataClient //Required
+        };
+        
+        //Create a collection object to hold the response
+        var collection = new Usergrid.collection(options);
+        
+        //Call request to initiate the API call
+        collection.fetch(function (error, response) {
+            if (error) {
+                //error
+            } else {
+                //success      
+            }
+        });
+                        
+
+#### Response:
+
+        { action: 'get',
+          application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+          params: {},
+          path: '/items',
+          uri: 'http://api.usergrid.com/your-org/your-app/items',
+          entities: 
+           [ { uuid: '5bb76bca-1657-11e3-903f-9ff6c621a7a4',
+               type: 'item',
+               name: 'milk',
+               created: 1378405020796,
+               modified: 1378405020796,
+               metadata: [Object],
+               price: '3.25' },
+             { uuid: '1a9356ba-1682-11e3-a72a-81581bbaf055',
+               type: 'item',
+               name: 'bread',
+               created: 1378423379867,
+               modified: 1378423379867,
+               metadata: [Object],
+               price: '2.50' } ],
+          timestamp: 1378428161834,
+          duration: 33,
+          organization: 'your-org',
+          applicationName: 'your-app' }             
+                        
+
+### SDK Method
+
+    Collection.fetch(callback)
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  callback    Callback function to handle the API response
+
+ 


[04/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/organizations-admins 2/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/organizations-admins 2/index.html b/content/publish/docs/organizations-admins 2/index.html
new file mode 100644
index 0000000..2d07cc0
--- /dev/null
+++ b/content/publish/docs/organizations-admins 2/index.html	
@@ -0,0 +1,1807 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Organizations & Admins</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Organizations & Admins</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organizations-admins 2.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#organizations">Organizations</a><ul>
+<li><a href="#activating-an-organization">Activating an organization</a></li>
+<li><a href="#reactivating-an-organization">Reactivating an organization</a></li>
+<li><a href="#generating-organization-client-credentials">Generating organization client credentials</a></li>
+<li><a href="#retrieving-organization-client-credentials">Retrieving organization client credentials</a></li>
+<li><a href="#getting-an-organizations-activity-feed">Getting an organization’s activity feed</a></li>
+<li><a href="#creating-an-organization-application">Creating an organization application</a></li>
+<li><a href="#deleting-an-organization-application">Deleting an organization application</a></li>
+<li><a href="#generating-application-credentials">Generating application credentials</a></li>
+<li><a href="#getting-application-credentials">Getting application credentials</a></li>
+<li><a href="#getting-the-applications-in-an-organization">Getting the applications in an organization</a></li>
+<li><a href="#adding-an-admin-user-to-an-organization">Adding an admin user to an organization</a></li>
+<li><a href="#getting-the-admin-users-in-an-organization">Getting the admin users in an organization</a></li>
+<li><a href="#removing-an-admin-user-from-an-organization">Removing an admin user from an organization</a></li>
+</ul>
+</li>
+<li>
+<a href="#admins">Admins</a><ul>
+<li><a href="#creating-an-admin-user">Creating an admin user</a></li>
+<li><a href="#updating-an-admin-user">Updating an admin user</a></li>
+<li><a href="#getting-an-admin-user">Getting an admin user</a></li>
+<li><a href="#setting-an-admin-users-password">Setting an admin user’s password</a></li>
+<li><a href="#resetting-an-admin-users-password">Resetting an admin user’s password</a></li>
+<li><a href="#activating-an-admin-user">Activating an admin user</a></li>
+<li><a href="#reactivating-an-admin-user">Reactivating an admin user</a></li>
+<li><a href="#getting-an-admin-users-activity-feed">Getting an admin user’s activity feed</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<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>
+<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">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Organization’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“organization”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">organization</td>
+<td align="left">string</td>
+<td align="left">The name of the organization.</td>
+</tr>
+<tr class="even">
+<td align="left">username</td>
+<td align="left">string</td>
+<td align="left">The username of the administrator.</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">The name of the administrator.</td>
+</tr>
+<tr class="even">
+<td align="left">email</td>
+<td align="left">string</td>
+<td align="left">The email address of the administrator.</td>
+</tr>
+<tr class="odd">
+<td align="left">password</td>
+<td align="left">string</td>
+<td align="left">The password of the administrator. (create-only)</td>
+</tr>
+</tbody>
+</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}&amp;confirm={confirm_email}</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string token</td>
+<td align="left">Activation token (supplied via email).</td>
+</tr>
+<tr class="odd">
+<td align="left">boolean confirm_email</td>
+<td align="left">Send confirmation email (false is the default).</td>
+</tr>
+</tbody>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/activate',
+    qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response">Example - Response</h4>
+<pre><code>{
+  "action": "activate organization",
+  "timestamp": 1337928462810,              
+  "duration": 3342
+}</code></pre>
+<h3 id="reactivating-an-organization">Reactivating an organization</h3>
+<p>Use the GET method to reactivate an organization.</p>
+<h4 id="request-uri">Request URI</h4>
+<p>GET /organizations|orgs/{org_name}|{uuid}/reactivate</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/reactivate']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/reactivate'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-1">Example - Response</h4>
+<pre><code>{
+  "action": "reactivate organization",
+  "timestamp": 1349385280891,
+  "duration": 3612
+}</code></pre>
+<h3 id="generating-organization-client-credentials">Generating organization client credentials</h3>
+<p>Use the POST method to generate new credentials for an organization client.</p>
+<h4 id="request-uri-1">Request URI</h4>
+<p>POST /organizations|orgs/{org_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h4 id="example---request-2">Example - Request</h4>
+<ul>
+<li><a href="#curl_gen_org_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/credentials'].create</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-2">Example - Response</h4>
+<pre><code>{
+  "action": "generate organization client credentials",
+  "timestamp": 1349385795647,
+  "duration": 7,
+  "credentials":  {
+    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+  }
+}</code></pre>
+<h3 id="retrieving-organization-client-credentials">Retrieving organization client credentials</h3>
+<p>Use the GET method to retrieve the credentials for an organization client.</p>
+<h4 id="request-url-1">Request URL</h4>
+<p>GET /organizations|orgs/{org_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h4 id="example---request-3">Example - Request</h4>
+<ul>
+<li><a href="#curl_get_org_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/credentials']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-3">Example - Response</h4>
+<pre><code>{
+  "action": "get organization client credentials",
+  "timestamp": 1349386672984,
+  "duration": 690,
+  "credentials":  {
+    "client_id": "c2V7N61DY90MCdG78xIxPRxFdQ",                  
+    "client_secret": "c2V7WEdXIutZWEkWdySLCt_lYDFVMMN"                      
+  }
+}</code></pre>
+<h3 id="getting-an-organizations-activity-feed">Getting an organization’s activity feed</h3>
+<p>Use the GET method to get an organization’s activity feed.</p>
+<h4 id="request-uri-2">Request URI</h4>
+<p>GET /organizations|orgs/{org_name}|{uuid}/feed</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h4 id="example---request-4">Example - Request</h4>
+<ul>
+<li><a href="#curl_get_org_feed">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+activities = mgmt['orgs/testorg/feed'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-4">Example - Response</h4>
+<pre><code>{
+ {
+  "action": "get organization feed",
+  "status": "ok",
+  "entities":  [
+     {
+      "uuid": "cf4d981c-fe90-11e1-95c8-12313b122c56",
+      "type": "activity",
+      "created": 1347643370454,
+      "modified": 1347643370454,
+      "actor":  {
+        "displayName": "tester123",
+        "objectType": "person",
+        "uuid": "327b527f-cd0c-11e1-bcf7-12313d1c4491",
+        "entityType": "user"
+      },
+      "category": "admin",
+      "metadata":  {
+        "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz3SoH_6QEeGVyBIxOxIsVgA",
+        "path": "/groups/33dd0563-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+      },
+"object":  {
+        "displayName": "testapp2",
+        "objectType": "Application",
+        "uuid": "cede5b7e-fe90-11e1-95c8-12313b122c56",
+        "entityType": "application_info"
+      },
+      "published": 1347643370454,
+      "title": "&lt;a mailto="mailto:tester123@hotmail.com"&gt;tester123 (tester123@hotmail.com)&lt;/a&gt; created a new application named testapp2",
+      "verb": "create"
+    },...
+,
+  "timestamp": 1349387253811,</code></pre>
+<h3 id="creating-an-organization-application">Creating an organization application</h3>
+<p>Use the POST method to create an application for an organization through a form post.</p>
+<h4 id="request-uri-3">Request URI</h4>
+<p>POST /organizations|orgs/{org_name}|{org_uuid}/apps {request body}</p>
+<h4 id="parameters">Parameters</h4>
+<p>Parameter</p>
+<p>Description</p>
+<p>request body</p>
+<p>The following set of organization properties supplied through a form:.</p>
+<p>Property</p>
+<p>Description</p>
+<p>access token (string)</p>
+<p>The OAuth2 access token.</p>
+<p>name (string)</p>
+<p>The name of the application.</p>
+<p> </p>
+<h4 id="example---request-5">Example - Request</h4>
+<ul>
+<li><a href="#curl_create_org_app">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mynewapp = mgmt['orgs/testorg/apps'].create name: 'testapp1', access_token: 'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/testorg/apps',
+    body:{ 
+          access_token:'YWMtmNIFFBI6EeKvXSIACowF7QAAATpL0bVQtGOWe8PMwLfQ9kD_VKQa7IH4UBQ', 
+          name:'testapp1' 
+    }    
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h4 id="example---response-5">Example - Response</h4>
+<pre><code>{
+  "action": "new application for organization",
+  "timestamp": 1338914698135,
+  "duration": 701
+}</code></pre>
+<h3 id="deleting-an-organization-application">Deleting an organization application</h3>
+<p>Use the DELETE method to delete an application from an organization.</p>
+<h4 id="request-uri-4">Request URI</h4>
+<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/apps/{app_name}|{app_uuid}</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h4 id="example---request-6">Example - Request</h4>
+<ul>
+<li><a href="#curl_delete_org_app">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'management/orgs/testorg/apps/testapp1'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — DELETE failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-6">Example - Response</h4>
+<pre><code>{
+  "action": "delete application from organization",
+  "timestamp": 1349817715666,
+  "duration": 0
+}</code></pre>
+<h3 id="generating-application-credentials">Generating application credentials</h3>
+<p>Use the POST method to generate the client ID and client secret credentials for an application in an organization.</p>
+<h4 id="request-uri-5">Request URI</h4>
+<p>POST /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h4 id="example---request-7">Example - Request</h4>
+<ul>
+<li><a href="#curl_gen_app_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1/credentials'].create</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-7">Example - Response</h4>
+<pre><code>{
+  "action": "generate application client credentials",
+  "timestamp": 1349815979529,
+  "duration": 535,
+  "credentials":  {
+    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+  }
+}</code></pre>
+<h3 id="getting-application-credentials">Getting application credentials</h3>
+<p>Use the GET method to retrieve the client ID and client secret credentials for an application in an organization.</p>
+<h4 id="request-uri-6">Request URI</h4>
+<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps/{app_name}|{uuid}/credentials</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string app_name|arg uuid</td>
+<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>
+<p> </p>
+<h4 id="example---request-8">Example - Request</h4>
+<ul>
+<li><a href="#curl_get_app_credentials">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/apps/testapp1/credentials']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/apps/testapp1/credentials'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-8">Example - Response</h4>
+<pre><code>{
+  "action": "get application client credentials",
+  "timestamp": 1349816819545,
+  "duration": 7,
+  "credentials":  {
+    "client_id": "YXA7ygil-f3TEeG-yhIxPQK1cQ",
+    "client_secret": "YXA65gYlqja8aYYSAy8Ox3Vg5aRZp48"
+  }
+}</code></pre>
+<h3 id="getting-the-applications-in-an-organization">Getting the applications in an organization</h3>
+<p>Use the GET method to retrieve the applications in an organization.</p>
+<h4 id="request-uri-7">Request URI</h4>
+<p>GET /organizations|orgs/{org_name}|{uuid}/applications|apps</p>
+<p>Parameters</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<p> </p>
+<h4 id="example---request-9">Example - Request</h4>
+<ul>
+<li><a href="#curl_get_apps_org">cURL</a></li>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+apps = mgmt['orgs/testorg/apps'].collection</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/apps'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<p> </p>
+<h4 id="example---response-9">Example - Response</h4>
+<pre><code>{
+  "action": "get organization application",
+  "data":  {
+    "testorg/sandbox": "3500ba10-cd0c-11e1-bcf8-12313d1c5591",
+    "testorg/testapp1": "be09a5f9-fdd3-11e1-beca-12313d027361",
+    "testorg/testapp2": "cede5b8e-fe90-11e1-65c8-12313b111c56"    
+  },
+  "timestamp": 1349815338635,
+  "duration": 22
+}</code></pre>
+<h3 id="adding-an-admin-user-to-an-organization">Adding an admin user to an organization</h3>
+<p>Use the PUT method to add an existing admin user to an organization.</p>
+<h4 id="request-uri-8">Request URI</h4>
+<p>PUT /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
+<h4 id="parameters-1">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string username|string email|arg uuid</td>
+<td align="left">User name, user email address, or user UUID.</td>
+</tr>
+</tbody>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/users/test123'].put nil</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/orgs/testorg/users/test123'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-10">Example - Response</h4>
+<pre><code>{
+  "action": "add user to organization",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 1349390189106,
+  "duration": 11808
+}</code></pre>
+<h3 id="getting-the-admin-users-in-an-organization">Getting the admin users in an organization</h3>
+<p>Use the GET method to retrieve details about the admin users in an organization.</p>
+<h4 id="request-uri-9">Request URI</h4>
+<p>GET /organizations|orgs/{org_name}|{org_uuid}/users</p>
+<h4 id="parameters-2">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+admins = mgmt['orgs/testorg/users']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/orgs/testorg/users'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-11">Example - Response</h4>
+<pre><code>{
+  "action": "get organization users",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 13494542201685,
+  "duration": 10
+}</code></pre>
+<h3 id="removing-an-admin-user-from-an-organization">Removing an admin user from an organization</h3>
+<p>Use the DELETE method to remove an admin user from an organization.</p>
+<h4 id="request-uri-10">Request URI</h4>
+<p>DELETE /organizations|orgs/{org_name}|{org_uuid}/users/{username|email|uuid}</p>
+<h4 id="parameters-3">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string username|string email|arg uuid</td>
+<td align="left">User name, user email address, or user UUID.</td>
+</tr>
+</tbody>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+mgmt['orgs/testorg/users/test123'].delete</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'DELETE',
+    endpoint:'management/orgs/testorg/users/test123'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — DELETE failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-12">Example - Response</h4>
+<pre><code>{
+  "action": "remove user from organization",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "tester123",
+      "name": "test",
+      "email": "tester123@hotmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "tester123 &lt;tester123@hotmail.com&gt;",
+      "htmldisplayEmailAddress": "tester123 &lt;&lt;a href="mailto:tester123@hotmail.com"&gt;tester123@hotmail.com&lt;/a&gt;&gt;"
+    }
+  },
+  "timestamp": 1349453590005,
+  "duration": 727
+}</code></pre>
+<h2 id="admins">Admins</h2>
+<p><a href="/docs/usergrid/content/management-resources">See all management resources</a><a href="/docs/usergrid/content/management-resources"><img src="/docs/sites/docs/files/learnmore%20arrow_0.png"></a></p>
+<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>
+<p>In addition, you can add,  retrieve, or remove an admin user from an organization. For information on these organization-related operations, see <a href="/organization">Organization</a>.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h3 id="creating-an-admin-user">Creating an admin user</h3>
+<p>Use the POST method to create an admin user.</p>
+<h4 id="request-uri-11">Request URI</h4>
+<p>POST /management/organizations/{org}/users {request body}</p>
+<h4 id="parameters-4">Parameters</h4>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<pre><code>{
+  "username" : "jim.admin",
+  "email" : "jim.admin@gmail.com</code></pre>
+<p>“,”name" : “Jim Admin”, “password” : “test12345” }</p>
+</td>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+result = mgmt.create_user username: 'jim.admin', name: 'Jim Admin', email: 'jim.admin@gmail.com', password: 'test12345'
+jim_admin = result.entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/organizations/my-org/users',
+    body:{ username:'jim.admin', name:'Jim Admin', email:'jim.admin@gmail.com',  
+    password:'test12345' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h4 id="example---response-13">Example - Response</h4>
+<pre><code>{
+  "action": "post",
+  "status": "ok",
+  "data":  {
+    "user":  {
+      "applicationId": "00000000-0000-0000-0000-000000000001",
+      "username": "jim.admin",
+      "name": "Jim Admin",
+      "email": "jim.admin@gmail.com",
+      "activated": true,
+      "disabled": false,
+      "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+      "adminUser": true,
+      "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+      "htmldisplayEmailAddress": "jim.admin &lt;a href="mailto:jim.admin@gmail.com"&gt;jinm.admin@gmail.com&lt;/a&gt;"
+    }
+  },
+  "timestamp": 1349390189106,
+  "duration": 11808
+}</code></pre>
+<h3 id="updating-an-admin-user">Updating an admin user</h3>
+<p>Use the PUT method to update an admin user.</p>
+<h4 id="request-uri-12">Request URI</h4>
+<p>PUT /management/organizations/{org}/users/{user|username|email|uuid} {request body}</p>
+<h4 id="parameters-5">Parameters</h4>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>string user|string username|string email|arg uuid</p></td>
+<td align="left"><p>Admin username, name, email address, or UUID.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of user properties:</p>
+<pre><code>{
+  "city" : "San Francisco",
+  "state" : "California"
+}</code></pre>
+</td>
+</tr>
+</tbody>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+jim_admin = mgmt['users/jim.admin'].entity
+jim_admin.city = 'San Francisco'
+jim_admin.state = 'California'
+jim_admin.save</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/organizations/my-org/users/jim.admin',
+    body:{ email:'john.doe@mail.com', city:'San Francisco', state:'California' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call        
+    }
+});</code></pre>
+<h4 id="example---response-14">Example - Response</h4>
+<pre><code>{
+  "action": "update user info",
+  "timestamp": 1349479321874,
+  "duration": 0
+}</code></pre>
+<h3 id="getting-an-admin-user">Getting an admin user</h3>
+<p>Use the GET method to retrieve details about an admin user.</p>
+<h4 id="request-uri-13">Request URI</h4>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}</p>
+<h4 id="parameters-6">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+jim_admin = mgmt['users/jim.admin'].entity</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-15">Example - Response</h4>
+<pre><code>{
+  "action": "get admin user",
+  "status": "ok",
+  "data":  {
+    "username": "jim.admin",
+    "token": "YWMt4NqE8Q9GEeLYJhIxPSiO4AAAATo5fQfcG0cEd2h9nwmDmRorkNNrEeQyDOF",
+    "email": "edort1@gmail.com",
+    "organizations":  {
+      "jim.admin":  {
+        "users":  {
+          "jim.admin":  {
+            "applicationId": "00000000-0000-0000-0000-000000000001",
+            "username": "jim.admin",
+            "name": "Jim Admin",
+            "email": "jim.admin@gmail.com",
+            "activated": true,
+            "disabled": false,
+            "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+            "adminUser": true,
+            "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+            "htmldisplayEmailAddress": "jim.admin &lt;&lt;a href="mailto:jim.admin@gmail.com"&gt;jim.admin@gmail.com&gt;"
+    },
+    ...
+    "adminUser": true,
+    "activated": true,
+    "name": "edort1",
+    "applicationId": "00000000-0000-0000-0000-000000000001",
+    "uuid": "328b526e-cd0c-11e1-bcf8-12424d1c4491",
+    "htmldisplayEmailAddress": "jim.admin &lt;&lt;a href="mailto:jim.admin@gmail.com"&gt;jim.admin@gmail.com&gt;&gt;",
+    "displayEmailAddress": "jim.admin &lt;jim.admin@gmail.com&gt;",
+    "disabled": false
+  },
+  "timestamp": 1349480786906,</code></pre>
+<h3 id="setting-an-admin-users-password">Setting an admin user’s password</h3>
+<p>Use the PUT method to update an admin user’s password.</p>
+<h4 id="request-uri-14">Request URI</h4>
+<p>PUT /management/organizations/{org}/users/{user|username|email|uuid}/password {request body}</p>
+<h4 id="parameters-7">Parameters</h4>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>string user|string username|string email|arg uuid</p></td>
+<td align="left"><p>Admin username, name, email address, or UUID.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>The password property and value:</p>
+<pre><code>{
+  "password": "test123"
+}</code></pre>
+</td>
+</tr>
+</tbody>
+</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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org'
+jim_admin = mgmt['users/jim.admin'].entity
+jim_admin.password = 'test123'
+jim_admin.save</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'PUT',
+    endpoint:'management/organizations/my-org/users/jim.admin',
+    body:{ password:'test123' }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — PUT failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-16">Example - Response</h4>
+<pre><code>{
+  "action": "set user password",
+  "timestamp": 1349714010142,
+  "duration": 0
+}</code></pre>
+<h3 id="resetting-an-admin-users-password">Resetting an admin user’s password</h3>
+<p>Resetting an admin user’s password is a two step process. In the first step, you initiate the password reset. This returns a browser page. The page includes a field for the user to enter his or her email address, and a field to enter a response to a Captcha challenge. In the second step, you handle the user’s responses from the form.</p>
+<h4 id="initiating-a-password-reset">Initiating a password reset</h4>
+<p>Use the GET method to initiate the password reset.</p>
+<h4 id="request-uri-15">Request URI</h4>
+<p>GET /management/organizations/{org}/users/resetpw</p>
+<h4 id="example---request-17">Example - Request</h4>
+<ul>
+<li><a href="#curl_init_pw_reset">cURL</a></li>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+resetpw = mgmt['users/resetpw']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/resetpw'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-17">Example - Response</h4>
+<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html&gt;
+&lt;head&gt;
+    &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
+    &lt;title&gt;Reset Password&lt;/title&gt;
+    &lt;link rel="stylesheet" type="text/css" href="../../css/styles.css" /&gt;
+    &lt;script type="text/javascript"&gt;&gt;
+        var RecaptchaOptions = {
+            theme : 'clean'
+        };
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+    &lt;div class="dialog-area"&gt;
+        &lt;div class="dialog-form-message"&gt;Incorrect Captcha, try again...&lt;/div&gt;
+        &lt;form class="dialog-form" action="" method="post"&gt;
+            &lt;fieldset&gt;
+                &lt;p&gt;
+                    &lt;label for="email"&gt;Please type your &lt;strong&gt;email
+                            address&lt;/strong&gt; or &lt;strong&gt;username&lt;/strong&gt; below.&lt;/label&gt;
+                &lt;/p&gt;
+                &lt;p&gt;
+                    &lt;input class="text_field" id="email" name="email" type="text" /&gt;
+                &lt;/p&gt;
+                &lt;p id="human-proof"&gt;&lt;/p&gt;
+                &lt;script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6LdSTNESAAAAAKHdVglHmMu86_EoYxsJjqQD1IpZ"&gt;&lt;/script&gt;
+
+                &lt;p class="buttons"&gt;
+                    &lt;button type="submit"&gt;Submit&lt;/button&gt;
+                &lt;/p&gt;
+            &lt;/fieldset&gt;
+        &lt;/form&gt;
+    &lt;/div&gt;
+&lt;/pre&gt;</code></pre>
+<h4 id="completing-a-password-reset">Completing a password reset</h4>
+<p>Use the POST method to complete the password reset.</p>
+<h4 id="request-uri-16">Request URI</h4>
+<p>POST /management/organizations/{org}/users/resetpw {request body}</p>
+<h4 id="parameters-8">Parameters</h4>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<pre><code>{
+  "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>
+<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>
+<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>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+resetpw = mgmt['users/resetpw']
+resetpw { recaptcha_response_field: 'Atistophanes tseFia', recaptcha_challenge_field: 'Atistophanes tseFia', email: 'jim.admin@gmail.com' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'management/organizations/my-org/users/resetpw',
+    body:{ 
+       recaptcha_response_field:'Atistophanes tseFia', 
+       recaptcha_challenge_field:'Atistophanes tseFia', 
+       email:'jim.admin@gmail.com' 
+    }
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — POST failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-18">Example - Response</h4>
+<pre><code>{
+  "action": "reset user password",
+  "timestamp": 13546154010321,
+  "duration": 0
+}</code></pre>
+<h3 id="activating-an-admin-user">Activating an admin user</h3>
+<p>Use the GET method to activate an admin user from a link provided in an email notification.</p>
+<h4 id="request-uri-17">Request URI</h4>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/activate?token={token}&amp;confirm={confirm_email}</p>
+<h4 id="parameters-9">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<tr class="even">
+<td align="left">string token</td>
+<td align="left">Activation token (supplied via email).</td>
+</tr>
+<tr class="odd">
+<td align="left">boolean confirm_email</td>
+<td align="left">Send confirmation email (false is the default).</td>
+</tr>
+</tbody>
+</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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/activate'].get params: { token: '33dd0563-cd0c-11e1-bcf7-12313d1c4491' }</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/activate',
+    qs:{token:'33dd0563-cd0c-11e1-bcf7-12313d1c4491'}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-19">Example - Response</h4>
+<pre><code>{
+  "action": "activate user",
+  "timestamp": 1349718021324,
+  "duration": 0
+}</code></pre>
+<h3 id="reactivating-an-admin-user">Reactivating an admin user</h3>
+<p>Use the GET method to reactivate an admin user.</p>
+<h4 id="request-uri-18">Request URI</h4>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/reactivate</p>
+<h4 id="parameters-10">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/reactivate']</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/reactivate'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-20">Example - Response</h4>
+<pre><code>{
+  "action": "reactivate user",
+  "timestamp": 1349735217217,
+  "duration": 3541
+}</code></pre>
+<h3 id="getting-an-admin-users-activity-feed">Getting an admin user’s activity feed</h3>
+<p>Use the GET method to retrieve an admin user’s activity feed.</p>
+<h4 id="request-uri-19">Request URI</h4>
+<p>GET /management/organizations/{org}/users/{user|username|email|uuid}/feed</p>
+<h4 id="parameters-11">Parameters</h4>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<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>
+<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>
+<pre><code>mgmt = Usergrid::Management.new 'https://api.usergrid.com/management/organizations/my-org/'
+mgmt['users/jim.admin/feed'].get</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'GET',
+    endpoint:'management/organizations/my-org/users/jim.admin/feed'
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error — GET failed
+    } else {
+        //success — data will contain raw results from API call       
+    }
+});</code></pre>
+<h4 id="example---response-21">Example - Response</h4>
+<pre><code>{
+  "action": "get admin user feed",
+  "status": "ok",
+ "entities":  [
+     {
+      "uuid": "cf3e981c-fe80-11e1-95c8-12331b144c65",
+      "type": "activity",
+      "created": 1347643370454,
+      "modified": 1347643370454,
+      "actor":  {
+        "displayName": "jim.admin",
+        "objectType": "person",
+        "uuid": "335b527f-cd0d-11e1-bef8-12331d1c5591",
+        "entityType": "user"
+      },
+      "category": "admin",
+      "metadata":  {
+        "cursor": "gGkAAQMAgGkABgE5xc3r1gCAdQAQz02YHP6QEeGVyBIxOxIsVgCAdQAQz4ZbYf6QEeGVyBIxOxIsVgA",
+        "path": "/users/327b527f-cd0c-11e1-bcf7-12313d1c4491/feed/cf4d981c-fe90-11e1-95c8-12313b122c56"
+      },
+    "object":  {
+    ...
+    },
+    "published": 1342198809251,
+            "title": "&lt;a mailto="jim.admingmail.com"&gt;jim.admin (jim.admin@gmail.com)&lt;/a&gt; created a new organization account named jim.admin",
+            "verb": "create"
+          }
+        ],
+  "timestamp": 1349735719320,</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organizations-admins 2.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[44/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/data-query-overview.md
----------------------------------------------------------------------
diff --git a/content/content/docs/data-query-overview.md b/content/content/docs/data-query-overview.md
new file mode 100644
index 0000000..b48f45e
--- /dev/null
+++ b/content/content/docs/data-query-overview.md
@@ -0,0 +1,62 @@
+---
+title: Apache Usergrid data query overview
+category: docs
+layout: docs
+---
+
+Apache Usergrid data query overview
+===================================
+
+You can write code to query for data you've stored in your Apache Usergrid
+application. You'll most likely use queries as filters to retrieve
+specific entities. For example, you might want to get data about users
+who are "following" a specific other user, businesses in specific
+geographical locations, and so on.
+
+The following example retrieves a list of restaurants (from a
+restaurants collection) whose name property contains the value "diner",
+sorting the list in ascending order by name:
+
+    /restaurants?ql=select * where name contains 'diner' order by name asc
+
+> **Note:**Query examples in this content are shown unencoded to make
+> them easier to read. Keep in mind that you might need to encode query
+> strings if you're sending them as part of URLs, such as when you're
+> executing them with the cURL tool.
+
+Having retrieved the list of restaurants, your code could display the
+list to your users. You could also use a query to retrieve a list of
+diners that are located within a particular geographical area (such as
+near your user's current location).
+
+> **Important:** By default, results from queries of your Apache Usergrid
+> data are limited to 10 items at a time. You can control this with the
+> `limit` parameter, as discussed in [Working with
+> queries](/working-queries).
+
+You query your Apache Usergrid data by using a query syntax that's like
+Structured Query Language (SQL), the query language for relational
+databases. Unlike a relational database, where you specify tables and
+columns containing the data you want to query, in your Apache Usergrid
+queries you specify collections and entities.
+
+> **Note:** The syntax of Apache Usergrid queries only *resembles* SQL to
+> make queries familiar and easier to write. However, the language isn't
+> SQL. Only the syntax items documented here are supported.
+
+The examples in these topics illustrate queries using simple strings to
+make the queries easier to read. You can also use one of the Apigee
+SDKs, which provide functions through which you can pass query strings,
+and in some cases shortcuts for bypassing queries altogether.
+
+> **Note:** Queries replace filters, which are deprecated.
+
+For more detail about support for queries your Apache Usergrid database,
+see the following topics:
+
+-   [Basic query syntax](/basic-query-syntax)
+-   [Query response values](/query-response-values)
+-   [Data types supported in queries](/data-types-supported-queries)
+-   [Querying data from the admin portal](/querying-data-admin-portal)
+-   [Working with queries](/working-queries)
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/default-data-entities.md
----------------------------------------------------------------------
diff --git a/content/content/docs/default-data-entities.md b/content/content/docs/default-data-entities.md
new file mode 100644
index 0000000..129457e
--- /dev/null
+++ b/content/content/docs/default-data-entities.md
@@ -0,0 +1,1175 @@
+---
+title: Default Data Entities
+category: docs
+layout: docs
+---
+
+Default Data Entities
+=====================
+
+This following describes all of the default data entities available in
+Apache Usergrid, and their default properties. Each entity can be accessed
+in a corresponding collection, named with the plural form of the entity
+name (see [Apache Usergrid Data model](/app-services-data-model-1) for more
+information on how data is stored in Apache Usergrid).
+
+Properties marked 'required' must be set for the entity to be
+successfully created. Properties marked 'optional' are reserved by the
+API but not required. All other properties are automatically set and
+returned by the API when the entity is created.
+
+For information on creating custom entities or custom properties for any
+entity, see You do not have access to view this node.
+
+Activity
+--------
+
+The *activity* entity represents a user activity, and is specifically
+designed for use in data streams as defined by the [JSON Activity
+Streams 1.0 specification](http://activitystrea.ms/specs/json/1.0/).
+
+For more information on using the activity entity, see
+[Activity](/activity).
+
+### Properties
+
+The following are the system-defined properties for activity entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case "activity"         |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| actor                   | ActivityObject          | **Required.** Entity    |
+|                         |                         | that performed the      |
+|                         |                         | 'action' of the         |
+|                         |                         | activity (see [JSON     |
+|                         |                         | Activity Streams 1.0    |
+|                         |                         | specification](http://a |
+|                         |                         | ctivitystrea.ms/specs/j |
+|                         |                         | son/1.0/)).             |
+|                         |                         | By default, the UUID of |
+|                         |                         | the user who performed  |
+|                         |                         | the action is recorded  |
+|                         |                         | as the value of the     |
+|                         |                         | 'uuid' property of this |
+|                         |                         | object.                 |
++-------------------------+-------------------------+-------------------------+
+| verb                    | string                  | **Required.** The       |
+|                         |                         | action performed by the |
+|                         |                         | user (for example,      |
+|                         |                         | *post*)                 |
++-------------------------+-------------------------+-------------------------+
+| published               | long                    | **Required.** [UTC      |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the activity was        |
+|                         |                         | published               |
++-------------------------+-------------------------+-------------------------+
+| content                 | string                  | *Optional.* Description |
+|                         |                         | of the activity         |
++-------------------------+-------------------------+-------------------------+
+| icon                    | MediaLink               | *Optional.* Visual      |
+|                         |                         | representation of a     |
+|                         |                         | media link resource     |
+|                         |                         | (see [JSON Activity     |
+|                         |                         | Streams 1.0             |
+|                         |                         | specification](http://a |
+|                         |                         | ctivitystrea.ms/specs/j |
+|                         |                         | son/1.0/))              |
++-------------------------+-------------------------+-------------------------+
+| category                | string                  | *Optional.* Category    |
+|                         |                         | used to organize        |
+|                         |                         | activities              |
++-------------------------+-------------------------+-------------------------+
+| verb                    | string                  | *Optional.* Action that |
+|                         |                         | the actor performs (for |
+|                         |                         | example, *post*)        |
++-------------------------+-------------------------+-------------------------+
+| published               | long                    | *Optional.* [UTC        |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds when    |
+|                         |                         | the activity was        |
+|                         |                         | published               |
++-------------------------+-------------------------+-------------------------+
+| object                  | ActivityObject          | *Optional.* Object on   |
+|                         |                         | which the action is     |
+|                         |                         | performed (see [JSON    |
+|                         |                         | Activity Streams 1.0    |
+|                         |                         | specification](http://a |
+|                         |                         | ctivitystrea.ms/specs/j |
+|                         |                         | son/1.0/))              |
++-------------------------+-------------------------+-------------------------+
+| title                   | string                  | *Optional.* Title or    |
+|                         |                         | headline for the        |
+|                         |                         | activity                |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | activity entity, as     |
+|                         |                         | well as additional data |
+|                         |                         | entities associated     |
+|                         |                         | with the activity. The  |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the activity   |
+|                         |                         | entity, including the   |
+|                         |                         | UUID of the user entity |
+|                         |                         | associated with the     |
+|                         |                         | activity and the UUID   |
+|                         |                         | of the activity entity  |
++-------------------------+-------------------------+-------------------------+
+
+Application
+-----------
+
+The *application* entity is the base entity for accessing your
+application data in Apache Usergrid. Aside from creating the application
+entity, most apps using Apache Usergrid will never need to access the
+application entity directly; however, you can add custom entities or
+make changes to the default properties of the entity for configuration
+purposes via the Apache Usergrid.
+
+For more information on creating and configuring applications in App
+Services, see [Creating a New Application with the Admin
+Console](/creating-new-application-admin-console).
+
+### Properties
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | String                  | Type of entity, in this |
+|                         |                         | case "application"      |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Application |
+|                         |                         | name                    |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| accesstokenttl          | long                    | *Optional.* Time to     |
+|                         |                         | live value for an       |
+|                         |                         | access token obtained   |
+|                         |                         | within the application  |
++-------------------------+-------------------------+-------------------------+
+| organizationName        | string                  | Name of the             |
+|                         |                         | organization the        |
+|                         |                         | application belongs to  |
++-------------------------+-------------------------+-------------------------+
+| applicationName         | string                  | Name of the application |
++-------------------------+-------------------------+-------------------------+
+| title                   | string                  | *Optional.* Application |
+|                         |                         | title                   |
++-------------------------+-------------------------+-------------------------+
+| description             | string                  | *Optional.* Application |
+|                         |                         | description             |
++-------------------------+-------------------------+-------------------------+
+| activated               | boolean                 | *Optional.* Whether     |
+|                         |                         | application is          |
+|                         |                         | activated               |
++-------------------------+-------------------------+-------------------------+
+| disabled                | boolean                 | *Optional.* Whether     |
+|                         |                         | application is          |
+|                         |                         | administratively        |
+|                         |                         | disabled                |
++-------------------------+-------------------------+-------------------------+
+| allowOpenRegistration   | boolean                 | *Optional.* Whether     |
+|                         |                         | application allows any  |
+|                         |                         | user to register        |
++-------------------------+-------------------------+-------------------------+
+| registrationRequiresEma | boolean                 | *Optional.* Whether     |
+| ilConfirmation          |                         | registration requires   |
+|                         |                         | email confirmation      |
++-------------------------+-------------------------+-------------------------+
+| registrationRequiresAdm | boolean                 | *Optional.* Whether     |
+| inApproval              |                         | registration requires   |
+|                         |                         | admin approval          |
++-------------------------+-------------------------+-------------------------+
+| notify\_admin\_of\_new\ | boolean                 | *Optional.* Whether     |
+| _users                  |                         | application admins      |
+|                         |                         | should be notified of   |
+|                         |                         | new users               |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides a         |
+|                         |                         | 'collections' object    |
+|                         |                         | with the relative paths |
+|                         |                         | to all entity           |
+|                         |                         | collections associated  |
+|                         |                         | with the application.   |
+|                         |                         | The following           |
+|                         |                         | collections are         |
+|                         |                         | included in metadata by |
+|                         |                         | default:                |
+|                         |                         |                         |
+|                         |                         | -   **users**: Path to  |
+|                         |                         |     retrieve the /users |
+|                         |                         |     collection          |
+|                         |                         | -   **groups**: Path to |
+|                         |                         |     retrieve the        |
+|                         |                         |     /groups collection  |
+|                         |                         | -   **folders**: Path   |
+|                         |                         |     to retrieve the     |
+|                         |                         |     /folders collection |
+|                         |                         | -   **events**: Path to |
+|                         |                         |     retrieve the        |
+|                         |                         |     /events collection  |
+|                         |                         | -   **assets**: Path to |
+|                         |                         |     retrieve the        |
+|                         |                         |     /assets collection  |
+|                         |                         | -   **activities**:     |
+|                         |                         |     Path to retrieve    |
+|                         |                         |     the /activities     |
+|                         |                         |     collection          |
+|                         |                         | -   **devices**: Path   |
+|                         |                         |     to retrieve the     |
+|                         |                         |     /devices collection |
+|                         |                         | -   **notifiers**: Path |
+|                         |                         |     to retrieve the     |
+|                         |                         |     /notifiers          |
+|                         |                         |     collection          |
+|                         |                         | -   **notifications**:  |
+|                         |                         |     Path to retrieve    |
+|                         |                         |     the /notifications  |
+|                         |                         |     collection          |
+|                         |                         | -   **receipts**: Path  |
+|                         |                         |     to retrieve the     |
+|                         |                         |     /receipts           |
+|                         |                         |     collection          |
++-------------------------+-------------------------+-------------------------+
+
+Asset
+-----
+
+The *asset* entity represents a binary data object stored in App
+Services infrastructure, such as an image, video or audio file. The
+asset entity does not contain the binary data, but rather contains
+information about the data and points to the location where it can be
+accessed in Apache Usergrid infrastructure.
+
+For more information on using the asset entity, see [Assets](/assets).
+
+### Properties
+
+The following are the system-defined properties for asset entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case"asset"             |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Asset name  |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| owner                   | UUID                    | **Required.** UUID of   |
+|                         |                         | the user entity that    |
+|                         |                         | owns the asset          |
++-------------------------+-------------------------+-------------------------+
+| path                    | string                  | **Required.** Relative  |
+|                         |                         | path to the asset       |
++-------------------------+-------------------------+-------------------------+
+| content-type            | string                  | MIME media type that    |
+|                         |                         | describes the asset     |
+|                         |                         | (see [media             |
+|                         |                         | types](http://www.iana. |
+|                         |                         | org/assignments/media-t |
+|                         |                         | ypes))                  |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | asset entity, as well   |
+|                         |                         | as additional data      |
+|                         |                         | entities associated     |
+|                         |                         | with the asset. The     |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | -   **path**: Path to   |
+|                         |                         |     retrieve the asset  |
+|                         |                         |     entity              |
++-------------------------+-------------------------+-------------------------+
+
+Device
+------
+
+The *device* entity represents a unique device that is being used to
+access your app. Device entities should be associated with a user
+entity. The Apache Usergrid push notification feature requires the device
+entity.
+
+For more information on using the device entity, see [Device](/device).
+
+### Properties
+
+The following are the system-defined properties for device entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case "device"           |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Device name |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | device entity, as well  |
+|                         |                         | as additional data      |
+|                         |                         | entities associated     |
+|                         |                         | with the user. The      |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the device     |
+|                         |                         | entity, including the   |
+|                         |                         | device UUID             |
+|                         |                         |                         |
+|                         |                         | **collections**: Nested |
+|                         |                         | object that contains    |
+|                         |                         | paths to data entity    |
+|                         |                         | collections associated  |
+|                         |                         | with the device.        |
+|                         |                         |                         |
+|                         |                         | -   receipts: Receipt   |
+|                         |                         |     entities associated |
+|                         |                         |     with the device     |
+|                         |                         | -   users: User         |
+|                         |                         |     entities associated |
+|                         |                         |     with the device     |
+|                         |                         |                         |
+|                         |                         |                         |
++-------------------------+-------------------------+-------------------------+
+
+Event
+-----
+
+The *event* entity is used to log application data, primarily for
+performance and error monitoring. Event entities can be also associated
+with users and groups. The event mechanism in Apache Usergrid is optimized
+to handle large numbers of events, so it is an ideal mechanism for
+logging in your application.
+
+For more information on using the event entity, see [Events and
+counters](/events-and-counters).
+
+### Properties
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | String                  | Type of entity, in this |
+|                         |                         | case "event"            |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| timestamp               | long                    | **Required.** [UTC      |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the application event   |
+|                         |                         | occurred                |
++-------------------------+-------------------------+-------------------------+
+| user                    | UUID                    | *Optional.* UUID of     |
+|                         |                         | application user that   |
+|                         |                         | posted the event        |
++-------------------------+-------------------------+-------------------------+
+| group                   | UUID                    | *Optional.* UUID of     |
+|                         |                         | application group that  |
+|                         |                         | posted the event        |
++-------------------------+-------------------------+-------------------------+
+| category                | string                  | *Optional.* Category    |
+|                         |                         | used for organizing     |
+|                         |                         | similar events          |
++-------------------------+-------------------------+-------------------------+
+| counters                | map                     | *Optional.* Counter     |
+|                         |                         | used for tracking       |
+|                         |                         | number of similar       |
+|                         |                         | events                  |
++-------------------------+-------------------------+-------------------------+
+| message                 | string                  | *Optional.* Message     |
+|                         |                         | describing event. Will  |
+|                         |                         | be *null* if no message |
+|                         |                         | is specified            |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | event entity, as well   |
+|                         |                         | as additional data      |
+|                         |                         | entities associated     |
+|                         |                         | with the event. The     |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | -   **path**: Path to   |
+|                         |                         |     retrieve the event  |
+|                         |                         |     entity              |
++-------------------------+-------------------------+-------------------------+
+
+Folder
+------
+
+The *folder* entity is used to emulate a file structure for the purpose
+of organizing assets or custom entities.
+
+For more information on using the folder entity, see [Folder](/folder).
+
+### Properties
+
+The following are the system-defined properties for folder entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case"folder"            |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Folder name |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| owner                   | UUID                    | **Required.** UUID of   |
+|                         |                         | the folder’s owner      |
++-------------------------+-------------------------+-------------------------+
+| path                    | string                  | **Required.** Relative  |
+|                         |                         | path to the folder      |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | folder entity, as well  |
+|                         |                         | as additional data      |
+|                         |                         | entities associated     |
+|                         |                         | with the asset. The     |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | -   **path**: Path to   |
+|                         |                         |     retrieve the folder |
+|                         |                         |     entity              |
++-------------------------+-------------------------+-------------------------+
+
+Group
+-----
+
+The *group* entity allows you to group users based on any criteria.
+Multiple group entities can be nested to create sub-groups. Users can
+also belong to multiple groups. Examples of uses for the group entity
+include grouping users by interest or location.
+
+The look-up properties for the entities of type group are UUID and path,
+that is, you can use the uuid or path property to reference a group in
+an API call. However, you can search on a group using any property of
+the group entity. See [Queries and parameters](/queries-and-parameters)
+for details on searching.
+
+For more information on using the group entity, see [Group](/group).
+
+### Properties
+
+The following are the system-defined properties for group entities
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity UUID      |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case “group”            |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| path                    | string                  | **Required.** Relative  |
+|                         |                         | path where the group    |
+|                         |                         | can be retrieved        |
++-------------------------+-------------------------+-------------------------+
+| title                   | string                  | *Optional.* Display     |
+|                         |                         | name for the group      |
+|                         |                         | entity                  |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | group entity, as well   |
+|                         |                         | as additional data      |
+|                         |                         | entities associated     |
+|                         |                         | with the group. The     |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the group      |
+|                         |                         | entity, including the   |
+|                         |                         | group UUID              |
+|                         |                         |                         |
+|                         |                         | **sets**: Nested object |
+|                         |                         | that contains the       |
+|                         |                         | 'rolenames' and         |
+|                         |                         | 'permissions'           |
+|                         |                         | properties.             |
+|                         |                         |                         |
+|                         |                         | -   rolenames: Path to  |
+|                         |                         |     retrieve a list of  |
+|                         |                         |     roles associated    |
+|                         |                         |     with the group.     |
+|                         |                         | -   permissions: Path   |
+|                         |                         |     to retrieve a list  |
+|                         |                         |     of all permissions  |
+|                         |                         |     directly associated |
+|                         |                         |     with the group. If  |
+|                         |                         |     the group is        |
+|                         |                         |     associated with a   |
+|                         |                         |     role, the list will |
+|                         |                         |     not include         |
+|                         |                         |     permissions         |
+|                         |                         |     associated with the |
+|                         |                         |     role entity.        |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         | **collections**: Nested |
+|                         |                         | object that contains    |
+|                         |                         | paths to data entity    |
+|                         |                         | collections associated  |
+|                         |                         | with the group.         |
+|                         |                         |                         |
+|                         |                         | -   activities:         |
+|                         |                         |     Activity entities   |
+|                         |                         |     associated with the |
+|                         |                         |     group               |
+|                         |                         | -   feed: A feed of all |
+|                         |                         |     activities          |
+|                         |                         |     published by users  |
+|                         |                         |     associated with the |
+|                         |                         |     group               |
+|                         |                         | -   roles: Role         |
+|                         |                         |     entities associated |
+|                         |                         |     with the group      |
+|                         |                         | -   users: User         |
+|                         |                         |     entities associated |
+|                         |                         |     with the group      |
+|                         |                         |                         |
+|                         |                         |                         |
++-------------------------+-------------------------+-------------------------+
+
+Notification
+------------
+
+The *notification* entity represents a push notification, including
+notification message and details. A notification entity is sent in
+conjunction with a notifier entity to a notification service, such as
+Apple Push Notification Service, to initiate a push notification.
+
+For more information on using the notification entity, see [Create &
+Manage Notifications](/create-manage-notifications).
+
+### Properties
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case “notification”     |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| payloads                | string                  | **Required.** The push  |
+|                         |                         | notifications to be     |
+|                         |                         | delivered, formatted as |
+|                         |                         | key-value pairs of      |
+|                         |                         | notifier entities and   |
+|                         |                         | messages                |
+|                         |                         | (\<notifier\_name1\>:\< |
+|                         |                         | message1\>,             |
+|                         |                         | \<notifier\_name2\>:\<m |
+|                         |                         | essage2\>,              |
+|                         |                         | ...)                    |
++-------------------------+-------------------------+-------------------------+
+| errorMessage            | string                  | Error message returned  |
+|                         |                         | by the notification     |
+|                         |                         | service (APNs or GCM)   |
+|                         |                         | if the notification     |
+|                         |                         | fails entirely          |
++-------------------------+-------------------------+-------------------------+
+| scheduled               | bool                    | Whether the             |
+|                         |                         | notification is         |
+|                         |                         | currently scheduled for |
+|                         |                         | delivery                |
++-------------------------+-------------------------+-------------------------+
+| state                   | string                  | The current delivery    |
+|                         |                         | status of the           |
+|                         |                         | notification:           |
+|                         |                         | "FINISHED", "SCHEDULED" |
+|                         |                         | or "CANCELED".          |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | notification entity, as |
+|                         |                         | well as additional data |
+|                         |                         | entities associated     |
+|                         |                         | with the notification.  |
+|                         |                         | The following           |
+|                         |                         | properties are included |
+|                         |                         | in metadata:            |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the            |
+|                         |                         | notification object     |
+|                         |                         |                         |
+|                         |                         | **collections**: Nested |
+|                         |                         | object that contains    |
+|                         |                         | paths to data entity    |
+|                         |                         | collections associated  |
+|                         |                         | with the notification.  |
+|                         |                         |                         |
+|                         |                         | -   **queue**: Device   |
+|                         |                         |     entities scheduled  |
+|                         |                         |     to receive the push |
+|                         |                         |     notification        |
+|                         |                         | -   **receipts**":      |
+|                         |                         |     Receipt entities    |
+|                         |                         |     for delivery        |
+|                         |                         |     attempts"           |
++-------------------------+-------------------------+-------------------------+
+
+Notifier
+--------
+
+The *notifier* entity contains the credentials necessary to securely
+access push notification service providers, which in turn send your
+notifications to targeted devices.
+
+For more information on using the notifier entity, see [Create
+Notifiers](/create-notifiers).
+
+### Properties
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case “notifier”         |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Notifier    |
+|                         |                         | display name            |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| provider                | string                  | **Required.** Push      |
+|                         |                         | notification provider:  |
+|                         |                         | "apple" or "google"     |
++-------------------------+-------------------------+-------------------------+
+| environment             | string                  | **Required.** The       |
+|                         |                         | environment that        |
+|                         |                         | corresponds to your     |
+|                         |                         | app: "development" or   |
+|                         |                         | "production"            |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | notifier entity         |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the            |
+|                         |                         | notification object     |
++-------------------------+-------------------------+-------------------------+
+
+Receipt
+-------
+
+The *receipt* entity is created after a push notification has been sent
+using Apache Usergrid. The receipt is a record of an attempted push
+notification, including if the notification was successful, and when it
+was sent.
+
+For more information on the receipt entity, see [Create & Manage
+Notifications](/create-manage-notifications).
+
+### Properties
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case “receipt”          |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| payload                 | string                  | The push notification   |
+|                         |                         | message that was        |
+|                         |                         | specified in the        |
+|                         |                         | 'payload' property of   |
+|                         |                         | the notification entity |
+|                         |                         | associated with the     |
+|                         |                         | push notification.      |
++-------------------------+-------------------------+-------------------------+
+| errorMessage            | string                  | Error message returned  |
+|                         |                         | by the notification     |
+|                         |                         | service (APNs or GCM)   |
+|                         |                         | if delivery of the      |
+|                         |                         | notification to a       |
+|                         |                         | device fails            |
++-------------------------+-------------------------+-------------------------+
+| errorCode               | String                  | Error code returned by  |
+|                         |                         | the notification        |
+|                         |                         | service, if any.        |
++-------------------------+-------------------------+-------------------------+
+| sent                    | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds for     |
+|                         |                         | when the notification   |
+|                         |                         | was sent                |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | notifier entity         |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the            |
+|                         |                         | notification object     |
++-------------------------+-------------------------+-------------------------+
+
+Role
+----
+
+The *role* entity is used to define standard permission sets that can be
+assigned to user and groups entities. For example, you might create an
+Administrator role to easily grant certain users full access to all app
+features.
+
+For more information on using the role entity, see [Role](/role).
+
+### Properties
+
+The following are the system-defined properties for role entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case "role"             |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* Unique name |
+|                         |                         | that identifies the     |
+|                         |                         | role                    |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| roleName                | string                  | Identical to the value  |
+|                         |                         | of the 'name' property  |
+|                         |                         | by default              |
++-------------------------+-------------------------+-------------------------+
+| title                   | string                  | Identical to the value  |
+|                         |                         | of the 'name' property  |
+|                         |                         | by default              |
++-------------------------+-------------------------+-------------------------+
+| inactivity              | string                  | The amount of time, in  |
+|                         |                         | milliseconds, that a    |
+|                         |                         | user or group           |
+|                         |                         | associated with the     |
+|                         |                         | role can be inactive    |
+|                         |                         | before they lose the    |
+|                         |                         | permissions associated  |
+|                         |                         | with that role. By      |
+|                         |                         | default, 'inactivity'   |
+|                         |                         | is set to 0 so that the |
+|                         |                         | user/group never loses  |
+|                         |                         | the role.               |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | role entity, as well as |
+|                         |                         | additional data         |
+|                         |                         | entities associated     |
+|                         |                         | with the role. The      |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the role       |
+|                         |                         | entity                  |
+|                         |                         |                         |
+|                         |                         | **sets**: Nested object |
+|                         |                         | that contains the       |
+|                         |                         | 'permissions' property. |
+|                         |                         |                         |
+|                         |                         | -   permissions: Path   |
+|                         |                         |     to retrieve a list  |
+|                         |                         |     of all permissions  |
+|                         |                         |     associated with the |
+|                         |                         |     role.               |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         | **collections**: Nested |
+|                         |                         | object that contains    |
+|                         |                         | paths to data entity    |
+|                         |                         | collections associated  |
+|                         |                         | with the role.          |
+|                         |                         |                         |
+|                         |                         | -   groups: Group       |
+|                         |                         |     entities associated |
+|                         |                         |     with the role       |
+|                         |                         | -   users: User         |
+|                         |                         |     entities associated |
+|                         |                         |     with the role       |
+|                         |                         |                         |
+|                         |                         |                         |
++-------------------------+-------------------------+-------------------------+
+
+User
+----
+
+The *user* entity represents a registered user of your app, and includes
+optional properties for common user details, such as real name, email
+address, and password.
+
+For more information on using the user entity, see [User](/user).
+
+### Properties
+
+The following are the system-defined properties for user entities:
+
++-------------------------+-------------------------+-------------------------+
+| Property                | Type                    | Description             |
++=========================+=========================+=========================+
+| uuid                    | UUID                    | Unique entity ID        |
++-------------------------+-------------------------+-------------------------+
+| type                    | string                  | Type of entity, in this |
+|                         |                         | case “user”             |
++-------------------------+-------------------------+-------------------------+
+| created                 | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was created  |
++-------------------------+-------------------------+-------------------------+
+| modified                | long                    | [UTC                    |
+|                         |                         | timestamp](http://en.wi |
+|                         |                         | kipedia.org/wiki/Coordi |
+|                         |                         | nated_Universal_Time)   |
+|                         |                         | in milliseconds of when |
+|                         |                         | the entity was last     |
+|                         |                         | modified                |
++-------------------------+-------------------------+-------------------------+
+| username                | string                  | **Required.**Valid and  |
+|                         |                         | unique username         |
++-------------------------+-------------------------+-------------------------+
+| password                | string                  | *Optional.* User        |
+|                         |                         | password                |
++-------------------------+-------------------------+-------------------------+
+| name                    | string                  | *Optional.* *Optional.* |
+|                         |                         | User display name       |
++-------------------------+-------------------------+-------------------------+
+| email                   | string                  | *Optional.*User's email |
+|                         |                         | address. Note that this |
+|                         |                         | is a required field for |
+|                         |                         | user entities created   |
+|                         |                         | with the User           |
+|                         |                         | Management tool in the  |
+|                         |                         | Apache Usergrid console.   |
++-------------------------+-------------------------+-------------------------+
+| firstname               | string                  | *Optional.* User first  |
+|                         |                         | name                    |
++-------------------------+-------------------------+-------------------------+
+| middlename              | string                  | *Optional.* User middle |
+|                         |                         | name                    |
++-------------------------+-------------------------+-------------------------+
+| lastname                | string                  | *Optional.* User last   |
+|                         |                         | name                    |
++-------------------------+-------------------------+-------------------------+
+| picture                 | string                  | *Optional.* URL where   |
+|                         |                         | the user's profile      |
+|                         |                         | picture can be          |
+|                         |                         | retrieved               |
++-------------------------+-------------------------+-------------------------+
+| activated               | boolean                 | Whether the user        |
+|                         |                         | account is activated.   |
+|                         |                         | Set to 'true' by        |
+|                         |                         | default when the user   |
+|                         |                         | is created.             |
++-------------------------+-------------------------+-------------------------+
+| metadata                | object                  | A nested,               |
+|                         |                         | JSON-formatted object   |
+|                         |                         | that provides the       |
+|                         |                         | relative path to the    |
+|                         |                         | user entity, as well as |
+|                         |                         | additional data         |
+|                         |                         | entities associated     |
+|                         |                         | with the user. The      |
+|                         |                         | following properties    |
+|                         |                         | are included in         |
+|                         |                         | metadata:               |
+|                         |                         |                         |
+|                         |                         | **path**: Path to       |
+|                         |                         | retrieve the user       |
+|                         |                         | entity                  |
+|                         |                         |                         |
+|                         |                         | **sets**: Nested object |
+|                         |                         | that contains the       |
+|                         |                         | 'rolenames' and         |
+|                         |                         | 'permissions'           |
+|                         |                         | properties.             |
+|                         |                         |                         |
+|                         |                         | -   rolenames:          |
+|                         |                         |     *Deprecated*. Use   |
+|                         |                         |     **/users/\\/roles** |
+|                         |                         |     instead. Path to    |
+|                         |                         |     retrieve a list of  |
+|                         |                         |     roles associated    |
+|                         |                         |     with the user.      |
+|                         |                         | -   permissions: Path   |
+|                         |                         |     to retrieve a list  |
+|                         |                         |     of all permissions  |
+|                         |                         |     directly associated |
+|                         |                         |     with the user. If   |
+|                         |                         |     the user is         |
+|                         |                         |     associated with a   |
+|                         |                         |     role or group, the  |
+|                         |                         |     list will not       |
+|                         |                         |     include permissions |
+|                         |                         |     associated with     |
+|                         |                         |     those entities.     |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         |                         |
+|                         |                         | **collections**: Nested |
+|                         |                         | object that contains    |
+|                         |                         | paths to data entity    |
+|                         |                         | collections associated  |
+|                         |                         | with the user.          |
+|                         |                         |                         |
+|                         |                         | -   activities:         |
+|                         |                         |     Activity entities   |
+|                         |                         |     associated with the |
+|                         |                         |     user                |
+|                         |                         | -   devices: Device     |
+|                         |                         |     entities associated |
+|                         |                         |     with the user       |
+|                         |                         | -   feed: A feed of all |
+|                         |                         |     activities          |
+|                         |                         |     published by the    |
+|                         |                         |     user                |
+|                         |                         | -   groups: Group       |
+|                         |                         |     entities associated |
+|                         |                         |     with the user       |
+|                         |                         | -   roles: Role         |
+|                         |                         |     entities associated |
+|                         |                         |     with the user       |
+|                         |                         | -   following: Users    |
+|                         |                         |     that the user is    |
+|                         |                         |     following           |
+|                         |                         | -   followers: Users    |
+|                         |                         |     that are following  |
+|                         |                         |     the user            |
+|                         |                         |                         |
+|                         |                         |                         |
++-------------------------+-------------------------+-------------------------+
+
+


[30/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/jquery.icheck.js
----------------------------------------------------------------------
diff --git a/content/content/js/jquery.icheck.js b/content/content/js/jquery.icheck.js
new file mode 100755
index 0000000..c92faa0
--- /dev/null
+++ b/content/content/js/jquery.icheck.js
@@ -0,0 +1,397 @@
+/*!
+ * iCheck v0.8, http://git.io/uhUPMA
+ * =================================
+ * Powerful jQuery plugin for checkboxes and radio buttons customization
+ *
+ * (c) 2013 Damir Foy, http://damirfoy.com
+ * MIT Licensed
+ */
+
+(function($, _iCheck, _checkbox, _radio, _checked, _disabled, _type, _click, _touch, _add, _remove, _cursor) {
+
+  // Create a plugin
+  $.fn[_iCheck] = function(options, fire) {
+
+    // Cached vars
+    var user = navigator.userAgent,
+      ios = /ipad|iphone|ipod/i.test(user),
+      handle = ':' + _checkbox + ', :' + _radio;
+
+    // Check if we should operate with some method
+    if (/^(check|uncheck|toggle|disable|enable|update|destroy)$/.test(options)) {
+
+      // Find checkboxes and radio buttons
+      return this.each(function() {
+        var self = $(this),
+          tree = self.is(handle) ? self : self.find(handle);
+
+        tree.each(function() {
+          self = $(this);
+
+          if (options == 'destroy') {
+            tidy(self, 'ifDestroyed');
+          } else {
+            operate(self, true, options);
+          };
+
+          // Fire method's callback
+          if ($.isFunction(fire)) {
+            fire();
+          };
+        });
+      });
+
+    // Customization
+    } else if (typeof options == 'object' || !options) {
+
+      //  Check if any options were passed
+      var settings = $.extend({
+          checkedClass: _checked,
+          disabledClass: _disabled,
+          labelHover: true
+        }, options),
+
+        selector = settings.handle,
+        hoverClass = settings.hoverClass || 'hover',
+        focusClass = settings.focusClass || 'focus',
+        activeClass = settings.activeClass || 'active',
+        labelHover = !!settings.labelHover,
+        labelHoverClass = settings.labelHoverClass || 'hover',
+
+        // Setup clickable area
+        area = ('' + settings.increaseArea).replace('%', '') | 0;
+
+      // Selector limit
+      if (selector == _checkbox || selector == _radio) {
+        handle = ':' + selector;
+      };
+
+      // Clickable area limit
+      if (area < -50) {
+        area = -50;
+      };
+
+      // Walk around the selector
+      return this.each(function() {
+        var self = $(this),
+          tree = self.is(handle) ? self : self.find(handle);
+
+        tree.each(function() {
+          self = $(this);
+
+          // If already customized
+          tidy(self);
+
+          var node = this,
+            id = node.id,
+
+            // Layer styles
+            offset = -area + '%',
+            size = 100 + (area * 2) + '%',
+            layer = {
+              position: 'absolute',
+              top: offset,
+              left: offset,
+              display: 'block',
+              width: size,
+              height: size,
+              margin: 0,
+              padding: 0,
+              background: '#fff',
+              border: 0,
+              opacity: 0
+            },
+
+            // Choose how to hide input
+            hide = ios || /android|blackberry|windows phone|opera mini/i.test(user) ? {
+              position: 'absolute',
+              visibility: 'hidden'
+            } : area ? layer : {
+              position: 'absolute',
+              opacity: 0
+            },
+
+            // Get proper class
+            className = node[_type] == _checkbox ? settings.checkboxClass || 'i' + _checkbox : settings.radioClass || 'i' + _radio,
+
+            // Find assigned labels
+            label = $('label[for="' + id + '"]').add(self.closest('label')),
+
+            // Wrap input
+            parent = self.wrap('<div class="' + className + '"/>').trigger('ifCreated').parent().append(settings.insert),
+
+            // Layer addition
+            helper = $('<ins class="' + _iCheck + '-helper"/>').css(layer).appendTo(parent);
+
+          // Finalize customization
+          self.data(_iCheck, {o: settings, s: self.attr('style')}).css(hide);
+          !!settings.inheritClass && parent[_add](node.className);
+          !!settings.inheritID && id && parent.attr('id', _iCheck + '-' + id);
+          parent.css('position') == 'static' && parent.css('position', 'relative');
+          operate(self, true, 'update');
+
+          // Label events
+          if (label.length) {
+            label.on(_click + '.i mouseenter.i mouseleave.i ' + _touch, function(event) {
+              var type = event[_type],
+                item = $(this);
+
+              // Do nothing if input is disabled
+              if (!node[_disabled]) {
+
+                // Click
+                if (type == _click) {
+                  operate(self, false, true);
+
+                // Hover state
+                } else if (labelHover) {
+                  if (/ve|nd/.test(type)) {
+                    // mouseleave|touchend
+                    parent[_remove](hoverClass);
+                    item[_remove](labelHoverClass);
+                  } else {
+                    parent[_add](hoverClass);
+                    item[_add](labelHoverClass);
+                  };
+                };
+
+                if (ios) {
+                  event.stopPropagation();
+                } else {
+                  return false;
+                };
+              };
+            });
+          };
+
+          // Input events
+          self.on(_click + '.i focus.i blur.i keyup.i keydown.i keypress.i', function(event) {
+            var type = event[_type],
+              key = event.keyCode;
+
+            // Click
+            if (type == _click) {
+              return false;
+
+            // Keydown
+            } else if (type == 'keydown' && key == 32) {
+              if (!(node[_type] == _radio && node[_checked])) {
+                if (node[_checked]) {
+                  off(self, _checked);
+                } else {
+                  on(self, _checked);
+                };
+              };
+
+              return false;
+
+            // Keyup
+            } else if (type == 'keyup' && node[_type] == _radio) {
+              !node[_checked] && on(self, _checked);
+
+            // Focus/blur
+            } else if (/us|ur/.test(type)) {
+              parent[type == 'blur' ? _remove : _add](focusClass);
+            };
+          });
+
+          // Helper events
+          helper.on(_click + ' mousedown mouseup mouseover mouseout ' + _touch, function(event) {
+            var type = event[_type],
+
+              // mousedown|mouseup
+              toggle = /wn|up/.test(type) ? activeClass : hoverClass;
+
+            // Do nothing if input is disabled
+            if (!node[_disabled]) {
+
+              // Click
+              if (type == _click) {
+                operate(self, false, true);
+
+              // Active and hover states
+              } else {
+
+                // State is on
+                if (/wn|er|in/.test(type)) {
+                  // mousedown|mouseover|touchbegin
+                  parent[_add](toggle);
+
+                // State is off
+                } else {
+                  parent[_remove](toggle + ' ' + activeClass);
+                };
+
+                // Label hover
+                if (label.length && labelHover && toggle == hoverClass) {
+
+                  // mouseout|touchend
+                  label[/ut|nd/.test(type) ? _remove : _add](labelHoverClass);
+                };
+              };
+
+              if (ios) {
+                event.stopPropagation();
+              } else {
+                return false;
+              };
+            };
+          });
+        });
+      });
+    } else {
+      return this;
+    };
+  };
+
+  // Do something with inputs
+  function operate(input, direct, method) {
+    var node = input[0];
+
+      // disable|enable
+      state = /ble/.test(method) ? _disabled : _checked,
+      active = method == 'update' ? {checked: node[_checked], disabled: node[_disabled]} : node[state];
+
+    // Check and disable
+    if (/^ch|di/.test(method) && !active) {
+      on(input, state);
+
+    // Uncheck and enable
+    } else if (/^un|en/.test(method) && active) {
+      off(input, state);
+
+    // Update
+    } else if (method == 'update') {
+
+      // Both checked and disabled states
+      for (var state in active) {
+        if (active[state]) {
+          on(input, state, true);
+        } else {
+          off(input, state, true);
+        };
+      };
+
+    } else if (!direct || method == 'toggle') {
+
+      // Helper or label was clicked
+      if (!direct) {
+        input.trigger('ifClicked');
+      };
+
+      // Toggle checked state
+      if (active) {
+        if (node[_type] !== _radio) {
+          off(input, state);
+        };
+      } else {
+        on(input, state);
+      };
+    };
+  };
+
+  // Set checked or disabled state
+  function on(input, state, keep) {
+    var node = input[0],
+      parent = input.parent(),
+      label = input.parent().siblings(),
+      remove = state == _disabled ? 'enabled' : 'un' + _checked,
+      regular = option(input, remove + capitalize(node[_type])),
+      specific = option(input, state + capitalize(node[_type]));
+
+    // Prevent unnecessary actions
+    if (node[state] !== true && !keep) {
+
+      // Toggle state
+      node[state] = true;
+
+      // Trigger callbacks
+      input.trigger('ifChanged').trigger('if' + capitalize(state));
+
+      // Toggle assigned radio buttons
+      if (state == _checked && node[_type] == _radio && node.name) {
+        var form = input.closest('form'),
+          stack = 'input[name="' + node.name + '"]';
+
+        stack = form.length ? form.find(stack) : $(stack);
+
+        stack.each(function() {
+          if (this !== node && $(this).data(_iCheck)) {
+            off($(this), state);
+          };
+        });
+      };
+    };
+
+    // Add proper cursor
+    if (node[_disabled] && !!option(input, _cursor, true)) {
+      parent.find('.' + _iCheck + '-helper').css(_cursor, 'default');
+    };
+
+    // Add state class
+    parent[_add](specific || option(input, state));
+    label[_add](specific || option(input, state));
+
+    // Remove regular state class
+    parent[_remove](regular || option(input, remove) || '');
+    label[_remove](regular || option(input, remove) || '');
+  };
+
+  // Remove checked or disabled state
+  function off(input, state, keep) {
+    var node = input[0],
+      parent = input.parent(),
+      label = input.parent().siblings(),
+      callback = state == _disabled ? 'enabled' : 'un' + _checked,
+      regular = option(input, callback + capitalize(node[_type])),
+      specific = option(input, state + capitalize(node[_type]));
+
+    // Prevent unnecessary actions
+    if (node[state] !== false && !keep) {
+
+      // Toggle state
+      node[state] = false;
+
+      // Trigger callbacks
+      input.trigger('ifChanged').trigger('if' + capitalize(callback));
+    };
+
+    // Add proper cursor
+    if (!node[_disabled] && !!option(input, _cursor, true)) {
+      parent.find('.' + _iCheck + '-helper').css(_cursor, 'pointer');
+    };
+
+    // Remove state class
+    parent[_remove](specific || option(input, state) || '');
+    label[_remove](specific || option(input, state) || '');
+
+    // Add regular state class
+    parent[_add](regular || option(input, callback));
+    label[_add](regular || option(input, callback));
+  };
+
+  // Remove all traces of iCheck
+  function tidy(input, callback) {
+    if (input.data(_iCheck)) {
+
+      // Remove everything except input
+      input.parent().html(input.attr('style', input.data(_iCheck).s || '').trigger(callback || ''));
+
+      // Unbind events
+      input.off('.i').unwrap();
+      $('label[for="' + input[0].id + '"]').add(input.closest('label')).off('.i');
+    };
+  };
+
+  // Get some option
+  function option(input, state, regular) {
+    if (input.data(_iCheck)) {
+      return input.data(_iCheck).o[state + (regular ? '' : 'Class')];
+    };
+  };
+
+  // Capitalize some string
+  function capitalize(string) {
+    return string.charAt(0).toUpperCase() + string.slice(1);
+  };
+})(jQuery, 'iCheck', 'checkbox', 'radio', 'checked', 'disabled', 'type', 'click', 'touchbegin.i touchend.i', 'addClass', 'removeClass', 'cursor');

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/respond.min.js
----------------------------------------------------------------------
diff --git a/content/content/js/respond.min.js b/content/content/js/respond.min.js
new file mode 100755
index 0000000..8353e99
--- /dev/null
+++ b/content/content/js/respond.min.js
@@ -0,0 +1,6 @@
+/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
+/*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
+window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
+
+/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs  */
+(function(a){"use strict";function x(){u(!0)}var b={};if(a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,!b.mediaQueriesSupported){var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var b=m.shift();v(b.href,function(c){p(c,b.href,b.media),h[b.href]=!0,a.setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/
 (url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(b){var h="clientWidth",k=d[h],m="CSS1Compat"===c.c
 ompatMode&&k||c.body[h]||k,n={},o=l[l.length-1],p=(new Date).getTime();if(b&&q&&i>p-q)return a.clearTimeout(r),r=a.setTimeout(u,i),void 0;q=p;for(var v in e)if(e.hasOwnProperty(v)){var w=e[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?t||s():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?t||s():1)),w.hasquery&&(z&&A||!(z||m>=x)||!(A||y>=m))||(n[w.media]||(n[w.media]=[]),n[w.media].push(f[w.rules]))}for(var C in g)g.hasOwnProperty(C)&&g[C]&&g[C].parentNode===j&&j.removeChild(g[C]);for(var D in n)if(n.hasOwnProperty(D)){var E=c.createElement("style"),F=n[D].join("\n");E.type="text/css",E.media=D,j.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(c.createTextNode(F)),g.push(E)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new
  a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)}})(this);

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/js/usergrid-site.js
----------------------------------------------------------------------
diff --git a/content/content/js/usergrid-site.js b/content/content/js/usergrid-site.js
new file mode 100644
index 0000000..1a513fa
--- /dev/null
+++ b/content/content/js/usergrid-site.js
@@ -0,0 +1,50 @@
+var start = 40;
+var end = 210;
+
+function setHeaderForScroll(scrollTop) {
+  if ( ($( window ).width() > 768) && ($('header.secondary').length == 0) ) {
+
+    if(scrollTop > start) {
+        opacity = (Math.floor(scrollTop) - start)/end;
+        //console.log(opacity);
+        percent = Math.min(opacity, 1)
+        red = Math.floor(36 + (52-36) * percent);
+        green = Math.floor(129 - (129-73) * percent);
+        blue = Math.floor(166 - (166-94) * percent);
+        blur = Math.floor(2 * percent);
+    } else {
+        opacity = 0;
+        red = 36;
+        green = 129;
+        blue = 166;
+        blur = 0;
+    }
+    $("#home-logo").css("opacity", opacity);
+    $("header").css("box-shadow", "0px 1px "+blur+"px rgb("+red+','+green+','+blue+")");
+  } else {
+    $("#home-logo").css("opacity", 1);
+    $("header").css("box-shadow", "0px 1px 2px rgb(52,73,94)");
+  }
+}
+
+$(document).ready(function() {
+
+    $('table').addClass('table');
+
+    // Detect initial scroll on page load
+    setHeaderForScroll($("body").scrollTop());
+
+    //reduce the opacity of the banner if the page is scrolled.
+    $(window).scroll(function () {
+      setHeaderForScroll($("body").scrollTop());
+    });
+
+    // $(".navbar-toggle").bind("click", function(){
+    //     if($(".collapse").hasClass("collapse"))
+    //         $("#home-logo").css("opacity", 100);
+    //     else
+    //         $("#home-logo").css("opacity", 0);
+    // });
+  
+
+});
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/releases/index.html
----------------------------------------------------------------------
diff --git a/content/content/releases/index.html b/content/content/releases/index.html
new file mode 100644
index 0000000..e382740
--- /dev/null
+++ b/content/content/releases/index.html
@@ -0,0 +1,65 @@
+<section class="bf-tagline">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2>Usergrid Releases</h2>
+			</div>
+		</div>
+	</div>
+</section> 
+
+<section class="bf-releases">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12" id="events">
+    	    	<h2 class="icns-download"><span>Releases</span></h2>
+			</div>
+		</div>
+		</br>
+		<div class="row">
+    		<div class="col-md-9 done">
+    			<p>
+				Releases of Usergrid are made available to the general public at no charge, under the <a href="http://apache.org/licenses/">Apache License</a>, in both binary and source distributions.
+				</p>
+				<p>
+					General Availability (GA) Releases - Usergrid 1.0.1
+				</p>
+				<p>
+					Download the release from a <a href="http://www.apache.org/dyn/closer.cgi/incubator/usergrid/usergrid-1/v1.0.1">mirror: http://www.apache.org/dyn/closer.cgi/incubator/usergrid/usergrid-1/v1.0.1</a>
+				</p>
+				<p>
+					Project releases are approved by vote of the Apache Usergrid (incubating) Project Management Committee (PMC). Support for a release is provided by project volunteers on the project <a href="http://usergrid.incubator.apache.org/community/#mailing-lists">mailing lists</a>. Bugs found in a release may be discussed on the list and reported through the <a href="https://issues.apache.org/jira/browse/USERGRID">issue tracker</a>. The user mailing list and issue tracker are the only support options hosted by the Apache Usergrid project.
+				</p>
+				<p>
+					Note: When downloading from a mirror, please be sure to verify that checksums and signatures are correct. To do so, use the checksum and signature files from the main Apache site at <a href="https://dist.apache.org/repos/dist/release/incubator/usergrid/usergrid-1/v1.0.1/">https://dist.apache.org/repos/dist/release/incubator/usergrid/usergrid-1/v1.0.1/</a>. Find here the KEYS file, which contains all OpenPGP keys we use to sign releases here: <a href="https://dist.apache.org/repos/dist/release/incubator/usergrid/KEYS">https://dist.apache.org/repos/dist/release/incubator/usergrid/KEYS</a>
+				</p>
+				<p>
+					The PGP signatures can be verified using PGP or GPG. First download the <a href="https://dist.apache.org/repos/dist/release/incubator/usergrid/KEYS">KEYS</a> as well as the <a href="https://dist.apache.org/repos/dist/release/incubator/usergrid/usergrid-1/v1.0.1/">asc signature</a> file for the particular distribution. Then verify the signatures using:
+				</p>
+				<p>
+       				% pgpk -a KEYS
+					</br></br>
+        			% pgpv ${filename}.tar.gz.asc
+        			</br></br>
+    				or
+    				</br></br>
+        			% pgp -ka KEYS
+        			</br></br>
+        			% pgp ${filename}.tar.gz.asc
+        			</br></br>
+    				or
+    				</br></br>
+        			% gpg --import KEYS
+        			</br></br>
+        			% gpg --verify ${filename}.tar.gz.asc
+        			</br></br>
+        		</p>
+    			<p>
+					Alternatively, you can verify the MD5 signature on the files. A Unix program called md5 or md5sum is included in many Unix distributions. It is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>. Windows users can get binary md5 programs from <a href="http://www.fourmilab.ch/md5/">here</a>, <a href="http://www.pc-tools.net/win32/md5sums/">here</a>, or <a href="http://www.slavasoft.com/fsum/">here</a>.
+				<p>
+					If you want to build directly from the sources, please check the <a href="/docs/getting-up-and-running-locally/">Project Docs</a>.
+				</p>
+			</div>
+		</div>
+	</div>
+</section>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/static/github-btn.html
----------------------------------------------------------------------
diff --git a/content/content/static/github-btn.html b/content/content/static/github-btn.html
new file mode 100644
index 0000000..76a7c55
--- /dev/null
+++ b/content/content/static/github-btn.html
@@ -0,0 +1,2 @@
+
+<html><body><style type="text/css">body{padding:0;margin:0;font:bold 11px/14px "Helvetica Neue",Helvetica,Arial,sans-serif;text-rendering:optimizeLegibility;overflow:hidden}.github-btn{height:20px;overflow:hidden}.gh-btn,.gh-count,.gh-ico{float:left}.gh-btn,.gh-count{padding:2px 5px 2px 4px;color:#555;text-decoration:none;text-shadow:0 1px 0 #fff;white-space:nowrap;cursor:pointer;border-radius:3px}.gh-btn{background-color:#e6e6e6;background-image:-webkit-gradient(linear,0 0,0 100%,from(#fafafa),to(#eaeaea));background-image:-webkit-linear-gradient(#fafafa,#eaeaea);background-image:-moz-linear-gradient(top,#fafafa,#eaeaea);background-image:-ms-linear-gradient(#fafafa,#eaeaea);background-image:-o-linear-gradient(#fafafa,#eaeaea);background-image:linear-gradient(#fafafa,#eaeaea);background-repeat:no-repeat;border:1px solid #d4d4d4;border-bottom-color:#bcbcbc}.gh-btn:hover,.gh-btn:focus,.gh-btn:active{color:#fff;text-decoration:none;text-shadow:0 -1px 0 rgba(0,0,0,.25);border-color:#518
 cc6 #518cc6 #2a65a0;background-color:#3072b3}.gh-btn:hover,.gh-btn:focus{background-image:-webkit-gradient(linear,0 0,0 100%,from(#599bdc),to(#3072b3));background-image:-webkit-linear-gradient(#599bdc,#3072b3);background-image:-moz-linear-gradient(top,#599bdc,#3072b3);background-image:-ms-linear-gradient(#599bdc,#3072b3);background-image:-o-linear-gradient(#599bdc,#3072b3);background-image:linear-gradient(#599bdc,#3072b3)}.gh-btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 5px rgba(0,0,0,.10);-moz-box-shadow:inset 0 2px 5px rgba(0,0,0,.10);box-shadow:inset 0 2px 5px rgba(0,0,0,.10)}.gh-ico{width:14px;height:15px;margin-top:-1px;margin-right:4px;vertical-align:middle;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAtCAQAAABGtvB0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB7RJREFUWMPt12tQVPcZx/HHGw0VG6yo1Y42YGIbjamT6JhEbc1AUodaJNbnsNwsFRQUsUSQQUEUNILGotFITTA2olVCI7FoiLdquOgEcFBAQS5Z5bLcXFZcdvfs7ZxfX+yqoLvQ6btO+5w3e3bOdz87+9/5n12i/3RGkSf
 NoV/RQppDnjTq3yjYg9O4kg2s50pOY48hg/E+v63NNtXIomww1dRmey+hCUMRywVthDKntKy8rDynNEIp9LEwaDAhL0XWohzRWIRFiEa53HdqK00cjBAEU16N9RD8MRuz4W899GWNYOQgp4FLfopsvJs4Zj79jKbRdPIas6AxURYLUukHzoiJAfqz1bsPsoq38G4+xLu4a+en528GiDzFcfGnuZIOIU0Jorr8SM3JhoKqk6YH9akQJEPSAifIij9vuo930rMYT46kfCxK7g77i+Oi7oh4hejqLvSb6uM0QrxQf8IJsrItv4AorLk/ojDx6NOnwrocF1qlOoRIq+yPWI07x/cK+lYniEI6H0IkSP0RRuys4uWC7LiQzcWvkYtsxYCp/GXhDFlyiuxcwhPDjQORfd7JvoGSM+SCb+lUa8dA5M6cc0slkxMkWpewJXNWfkWA/IRI78z2iUuP0jkujA1l2xqn1W+ApZ9xHL+4mWFUOkH2V0eVn5iR9mlb6VGlAEaK+kalnIypa69n1jouTLs7r6bNbN72/rs1ByEDPUV4C8PIo/Oqcb8TpCE+0LQ6cveRkMKIpmBrhBh7DzMxjP0VlltbHBeYJOvO7mhJMp7VVUl6Y8fD74ho4snNsogXnCAYd/amYMrMunhsW/06bXxXch0RBwni11X4CTlrgmXjhV3HVnec6WvqrWj/hl4vSJUNCCbnA5/CqgDxD5XrGyO061VRbVwRYCysgg8N1gRCpy/vKTO0aaq0tWI19AiiwQfeqiuZFZH3Ay2BlqiefTdU38KbhmqmIB3V0EOPaqRjylDXExEmYBU+wzmcw2dYhaF21P/P//yMpMn0Cr1BC2khvUGv0GQaOUTBY3kNn2Yl93EfK/k0r+Gxg1w+nDzn+17cqyo1tFsNVoOhXVV6ce98X/Kk4c4AV94u6GwbZKg51Gx7JOh4B7s6DFynL6jMsRrsG6QGGvudxXDj2PQF5KhhL+EWQyHtaS+p
 NhSjAAW64pLqPe0KiSHU8ovPEpHLtUoAJhyGL0YTEcENvsiGCdDeixaeYfhFoYuRrL5Xio2Yh+eIiOCKeYhvKU1RM4Tup5jhsctMPYBcmDv3qTUY+de51q8BkyZ2GY0Y8EEp6hkHWjs/ilvFPxqAu69f27I/q4WhaGK3J8/P/7n2HoB9yS/nprz2G3qBvGgGzaTp5PXm4q+2fzAbHwK6Fp9Z/V4qKJWxo0uOWb2aIfRyCqfzCc7jTzhDeMhYvQFRGR2MoI8eB6OuHwbkPAyrXwdY+iqOVP2t+VLrlYYzVScsOqAxkUjKAW5/QS6P3u04hRhmup+OYemZA2/BtmNHNlF36gpzgJkn2Yq4GVa9VQ13ojsJcDA3dxHBXdJIpqQ5diQ8hnHkNtyI0g47QqLLieD2+W3Gym22omwroN9KRCOufewIUZXSWCIxCajea0eiyhgVG4jYTWFwhDDYm+hmjICoGlvRVQJgGlHCZIseDudyEBGmQlZX2JGVPREiJhNFejsh8H4WESZEGlbobYW+1dhBRHR7MZzMvUwiIrHVpLEjgZZYNRHRvnBnyNYzRERxnQxbIYnaKiKidqdI18dERL0VsBekkGNVRESn/ZwhmV8QEW1ofoTIFk0ljSWPU3OdId+nkgd5qMsfI+HGMB37sH9CeJjJMZJ2nP3Y748Pw+w/3cxdolrpZ30P/nK3EyURfr2/N3Ra1HZkcwfj89AHb2PBtZIQy7NERgeC8NbVpQI2dtsK3T+B/CVwoR+3L0avA+IoEVHaXMj6a3bk6DnG+j0YyYvzlnVezPk+URNqp9bqMzqLq7GJiChiK+NQsX3h1wLlWTSy9b3EgMJp2CRftvTZXt3UiBwsISKiEWUHAHGzHakNDrIG9fLzuUEK5fb5CNYcXCnakEM3sAlvEhHxmBCNQrq9xlZggqw3ad6dh1fNyoRQennhr433bUjN4z8bb78uqmUzJttP4Z7dyAjMg1fud0IvHxduBJsZa
 /UrzBF3HyWBxxj7mzHu0bmUBjRfIi8pUuptL9TeseoAUWl9oK2zX+Cp/AaQnmxEROqoGB2Ddxn9Dt+JUkU+SOpmJLYmd0T1EBHxME5jROvUcU8KuMk1QNXJsa+atuG6pV5TAmiK1N/qG4nIxWVW5VFAqsWYfghclXlhJobwj4YYfHLxUnwTI74prnGNhogn8VeMMFPTKfyw//4MT7kbUJX+bim9VBSuKQI0RZqiviZ6yd9fVQLI3Xj6HoRJzedj+hiCng/E5mxsYCTWxTeGGvmAoGOs0929gJ/S042nXA1Yxbr8qhPtpUDblY5r5od1+VYDIN/CNHp2MEl3NKsl0MpgCDIj2L74gVJWi/bY4wUc2IzGh7DdfiXAorV/gUXsgRs5HjyHKPXl3MbknpVGAYIcbkzuyW1UX8EauJLTwXjEohAqyJDQhkLEYjwNPnDHcmTgS1zGZfwdGVgOd/pvmX8Bbv8r+TZ9z+kAAAAASUVORK5CYII=);background-repeat:no-repeat;background-position:0 0}.gh-btn:hover .gh-ico,.gh-btn:focus .gh-ico,.gh-btn:active .gh-ico{background-position:-25px 0}.gh-count{position:relative;display:none;margin-left:4px;background-color:#fafafa;border:1px solid #d4d4d4}.gh-count:hover,.gh-count:focus{color:#4183c4}.gh-count:before,.gh-count:after{content:' ';position:absolute;display:inline-block;width:0;height:0;border-color:transparent;border-style:solid}.gh-count:before{top:50%;left:-3px;margin-top:-4px;
 border-width:4px 4px 4px 0;border-right-color:#fafafa}.gh-count:after{top:50%;left:-4px;z-index:-1;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#d4d4d4}.github-btn-large{height:30px}.github-btn-large .gh-btn,.github-btn-large .gh-count{padding:3px 10px 3px 8px;font-size:16px;line-height:22px;border-radius:4px}.github-btn-large .gh-ico{width:22px;height:23px;background-position:0 -20px}.github-btn-large .gh-btn:hover .gh-ico,.github-btn-large .gh-btn:focus .gh-ico,.github-btn-large .gh-btn:active .gh-ico{background-position:-25px -20px}.github-btn-large .gh-count{margin-left:6px}.github-btn-large .gh-count:before{left:-5px;margin-top:-6px;border-width:6px 6px 6px 0}.github-btn-large .gh-count:after{left:-6px;margin-top:-7px;border-width:7px 7px 7px 0}@media(-moz-min-device-pixel-ratio:2),(-o-min-device-pixel-ratio:2/1),(-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){.gh-ico{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABaCAQAA
 ADkmzsCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAE81JREFUeNrtnGl0VFW2gHcIIggINLQoaj9bQHmgjUwRBZMK2A4Iora7CAFjGBIRFESZmwZkEgkiAg0oiigIggJhkkGgAjIpgyAkEAhICCGQkEDmoaru937UkKqQhFTwvbd6Lc5dK6tycm/t8917zj57uhH5/2h+Uk+aSGt5UoIkSJ6UVtJY6omf/Ec1P7lPnhBTKUd7afQHwqi//l1n6V69rHa16SXdox9pZ63yB319LWknplqdFgw78V32EdsV7Nhsadm/xn07793qwWKSdlLrj4CoqkP0vFLKcVYHaNWbFnCXBNbpvHNOYQqltIILP86s01kC5c83i/GYHncMO6Rg9JlPT648tSJ+wclRZ0MKnTDHtOVNCWgoQWP655x1jjub1UzkbQYzibXkODvPjO4nQXLXzWD00AJFGXZ5128FO7EUHwU7Y469m6oomq+vVlpAbQn8/n17EYARQ1eqe/6R6nQ3fgKwF64YL4FSu7IYvdSmvFawNRYLFn5gIn14hVfoyxQ2YcGyNbZ3oaI2NVdKQBUJiJ5s2IErW0dIkLSQO0Skhtwp9aSWVJWa8qgEbR7JVTDs302QAKnMqtQ2WqhE5p3fn7onYx5PUM3rblWjw5UFF/ad2x+Zp2iBtq6EiPsnRBpFwBkefOXFNi+ISQKlo4fGChJT+25hr9KEM2AvGhch9/uOcbvGK+FF5/aztu9hten32kz9tLE+oZ21ldbT5rpR7eFxrD+3P6xI0RN6u68q976gnCQglSYiGQcNe9LOt8OqBvcLnTZo3rtjI9p3G/p6yn7DyDwuQhOuQE7ifUE+q2IdppiN/UdYxj3mK4qihXrNQ2PZFMV8jXtZtv+IGUXf9VFEg93zATtPi0jVoqsAdqs1p1hjGXYAa7bUFeFpDPjp31LfN4zbNEWJusga7hXpf7VU5YsSni3Cva
 ydnqLoRb3NFxl/aVGYDnwhIiJ/zU2ijJafKgEiInwJhVf+0tw3kO6K2Ti/jzYiemf/3LJAzIaaRGiTuM+Mol19kbHmPcDOgyIi7TrnpZQFYthnvyM1RWiMAd8P9Qmkx+fKqAxGiIjolLIwFEVPqJ8II4dmKT0W+iLjzHoo2OX4fGQJ5bScxNr1RUSKDkPCWp9AwuKVpQncIyJi/r1cEPRRERotPquExfsiI/M0ZI91fM67SLlt21MiItkTIfOUTyCh+crm1Y7PZnv5ID26iIhs3aiE5vsiw5YLSS87PjuWddkt6RURkaRXwJrj2xpB2T7C8TnkBiDj+omI7PinovgiA2DV03Kn1JXaRmH5IGfNUltqf/cMgM8gS8Icn/vnlw/ydR8RkaWvVwZkyUtyp9SWWrYL5YMc6iS1pdZXL/sM0tuqvDNe22ugthuXWh6G2Vg4QFtr2yETld5WX2TYc+DgVNoTSDvWlcth5yla0/bQh2DP8glkSLbyxpcaoK211br9ZqNskLHp0/poW23Zf5kyJNsXGUXHIHbl+adovTco8Q1s5YBs4mnang04tRaKfvMJZPp5JfIozfkbzZiyKa6XrXSMoZnpP/E3mvJwRKwyI9GnJ/I5pB6SZiJyhwT88h7ZZWD8jMMXaZZ2FPjUJ5Aftihm49tnaDr1tc9G2Xek714VP/5KZL7ZCdDT/nZ2VErMMXsMH9KGh7/uZDaUzZt9WiPdwTAiekldOiV3rx4c0S59aMGm/GQM53wqLDjBIrrjsHjrRvQyDKCbTyB5I/sUKrpYRB/SuMHr+QELlo1xLpDwwkt7sWBhPnVFRHSx0rewYIRPINVIgbObpUPCI8RdWu6weNdOdYEUpQ99yn3y7fLk2c3ARXwyg4QOSxMUNTSYVitD1PranLXDNi3vm6soDnW84BAj6ICfiIgGq6EsS+BJ36xGRgDGnKHyeEIbrGkLvjBv7J+fCmAUASTMcp5YQx6fMxQDGOajYUr
 VgjUDchVNXRrA4rF71VBDDWVMujL1Ur+CAVlhi9yq+j69rLyZW7AaH/13biceiq6azdIh8ysMDAzI3A1X1hWk5p+9uMzp03d8VYsygJP46iqIEHLsYIhd0VNLA23b5yzvu3HAuhD71EvKzAv988ddGbXNidFYzygh9uMH6eG7Z0U7CiE36fWedTrv/yBvFYvsRWnr4dLy/EsZO5OXSwN5TEz9QvOSgULaVMJ54zaWbIozG4qmL1nCDnawo7d1bJwy4ee+eaOS/rVbRER76lXFbGyJ5WsfZ69LTi/sYM1cNVFMYpKO1pyLmyB5eX5a6u74aDGJadUkWxZgI6SSHjvN+HFrbIhNUfrHbfiqcFSobfRRZdye3kXDTg87rN11p6KE2LYd50ceqmz8gR4UAFw9snB4nc62gnPbID7ampOyN3HH0n9m/OpwSqh8gEOEp9kRe3BglnPXuKYMuGBm2OEe9ogrrp1kUNaJA2yn081EhGjNcafKzYLMExiJOwxr3ln3TnKMx24yqkUwW4t2rjzdJ7u07bBP1venbDFsIehmY3RUYzDnS90OExnEzQcBRWjKl1hsMXuPfnJ2aGZYvqJGeOGQ1LlJ+4/YYrCwiCZ/TNwUf55hFj+TChhcZi8z6Yz/Hxb3pSqvsMIzOOc+VvDSHyjo/6JRhba8xXzWYGEHa5jLQFpTRW61W+1Wu9VutVvtVvtfbf5SXx6URyVAOkqgBEoHCZBH5EH5k/zH2BJ+0kAekcBSs+4mMUmgtJD6f0juXWtpF/1A1+kJzdBCLdB0jdNonaLPaM2b/vKGEiAmMT3a5cuRR79J2ZuTaM2yW+1FRVk555J3H1m6cPjDz4lJTNLu5rK8VfRFXeXI9JZ65OlK7VrpQoKa0kpM1YOXjEne5cj0lhp2LEyyLB5dPVhM0koqc+PUT3tp3A1SDI7juIao74++kQRWDY6ekpNIBVrWuVUTqwZLoDTyFaOF/lRywD3tkXlDsgdnR+aV
 ErHfqS18WhdNxTS8b/qx6zNvnOEwv3LG4RB7tvSj74aLSZr6sF40Uj1i8q9Zo1I2x17YZ49xeSb2mKR9P8RNT+lt9UDJ1YgKY7QQ09aP7J7JhQwW0ZMHil0FqvBXevMl1zymWcHWGWKS5hVCUX+dXTy8t3I2xRW6aiC2sIzPWMgytrrqITbGDczxgJldofXyUK1OJ6M9IH6jV9kRLKrzmsvHBzgZXauTPFQRjGWuYb1eFH3SHoOF9YygM3fjvg/4cQ9/ZyQbsNhj1sSHFblRvtEb6f17a3VKsrjHlUY/bnh/qUJ/0lyXnLfU6iT33ghknmtIYzLS9mBhEU+XHcGiGs+wGEvanjEZbpR55QqoJYHxxU9jy9Tm0lYelnrlTsT60kLaj3mMLa7LTq29QaWKvukazsxkWwzRvFCBu+VHV9baYmYmu1HeLGdQbbfPcmPMw18ecW57baSuiPhLbakvDaWRNJQGUlP8pI60dZ7REn/muS7dMVvalrlStKVrx5iThIWoAeF6RL/QTuXuM930O02MfIsoLHOTnCAFWlZcqtHYCLvVOZaPREQ2js5MSNj476HOTS/oul3dVD148eikmLzLu6JERIhyLnvruIgyVLH662HHQCZfNiy8RxVd5RzYQQ0U0ZraVrvpaxqpvfRFfVRv00A94jxjE1V4z7BMuez8/XCpK6VK7Q6Zp50Yyx3POiXG8eu1+FmDxfTwc++/8dWYtVO3zoievGTM8L71n/5osOuKtIPO57/c8XvmmXodSq0e0n6OQbyZm7OLt0REwhLck8XQWLWW2DkK1J2i65UmIsKgvF0DXVUTpanihltnODHicO7ReaeLSx6yfi+ZtrYXubInUJDsnMp3EOvo+XGmNLweo6omKIqZw4cZ57hbfa5WaF9HCctx3q1/HTnkzEAmarWSMv7SxpENwU57V19hMhVsRVfFWaZGAHaAvEv3t70eRB1DmnaJr6nh6BuaUlGQwRlunb94uuuqn
 iVEVFszyTmmL919ddOPVBTk2ilp41refO7oi54sJW+X+QdH8vn3/Tzi6puaUFGQ8AK9zymiReK+HoaimEtmGBte+gUAK43dfW3P/FDhJ3Ktp9k1lfgrVoDUgyUml9Yz2xRl7BVGu/sCy0tTX3cccC1vRo5PUxSzXb1qrfq3NwwAY527q/bsd25UzOH1TOIbuOv2jGgAw4jwTv/py47hbDnOfe6+Az5geEwlGm37zdnzD08Z28Y4x+POfNS4P/MUPrUNE92710uOHss/vUB6z3VMrLRZboxHfcTwmEoZMxzPsvd8TxmnvwPAxp2unmXd8LGlHnApXGobVoAzq7xA+u9XlCHZBLtB3vIVJMRdB0Hg0CxF6fOrp4yMIwB5R4t7Tk7yFaQos9iDz/sVIMO7MiI8TVGmpuC2XwbM9RVEUZd6vGNaiqK8fsVTRt5lgGvfFfdcXIDvzW0lZ6wAyE/zAulVoCizDxf3jFlVCRC3Izr3gKKEFnjKsOYCXJxR3JO+sBIg7lud8iGALc9b+RqKMttDYU5e5ztIcaXw3I2ONedlXAKQMKm4J2u67xwea25CyR4RcWj+qJXFPXOW+ooRZi0uEJ/xTVkgh6ZLA2kgDaWh/ClxpK8YthxpIHdJfblL7v55SikgYVZFGe+hAX6Y7CvI0Mziq8evVErWc9lyAI5/KjWlljSQ+lL/QBdfQfKPSSOpL3+WBlL32AIAe64XyBt5ihIZqy/pSxqmofr8x7NCbb6BjErV7mrWLhqi4RGxihLpVfNoTQZIO3S+Z7rZ9hqhPEcfcn0k2UZ3zHQh5FpE6mEA6yUvkDGXFaVvkjbXlvqidtUXJg6efNk3kBlHNVK76qv6sgb1vaAoI7y0VuE+gMzT6zvSkhfpygu8zAofQT4mkm68SvdfXsk8A1D4sxfIxyccc/rzQds1swudeZxns38ckFdxjDHpRNEBE4/TaVcfR3nUTK9yWttcAMP2RS8edDnP1OW0Dxjbi/
 3VMc87DHybt2O9drVzng+jMU/yBO15ivEpe9/JqhjGiKsZuxlIV54giKcmjHL0Rq/3WuyvOkazcpw4rOu7pJ00TXyQgxXE2EUD95fVcFvS3qU9F4c59FafXdzjqjvgDpbYYtaeHHatfOPxnaz1J+wxRHkYPFsdz/fCKC+Q+o46xot7pJkz/t5cgqT17Nvpxx7KNx4PEe6VHG+WvMfp2Xi/wkTHsVecte9Nnd5JrH6y8iEWYMFyee/6E7OSR5Zws8ZkzL6w4cSFfViw8EmxBaWNHSXQY9MJ9LbjjS0OizUyVO4UoQexyUuDusnD4idCI8Jzvkj7tYRtdShrIeE8UMIhqOMsE4StJSMhtX90WaxLRES0pn6rNv15zJ10YS47sGB5v0QZ7ftphiNs9ynPecZaXHGxLceL4ZxSQp3lyZslQPypxQps1+KaPSuPSUOpJ40kIHmXN0jyrtsfKiWTEnDWFRjqdd1fi6Y7VLAa+qQIJhYPO6RW/VyriFCf56LnXz+pVs/jWe4u4WmaHJ58ZF7R9FKiYOcdz+SDgdJcBD++MWwJG6oHS5AEStDC4dfPqfXX+/7NPxrs9OR/LyXiRtC6E84BxmtNqjMu7adQq9p0p4bq3/XN4ri8R1Rx1nUOc0096fjb2pPFlrSHlAjX+whNnpUmIjQk17CnHVkzacGwHz/OOecOOlx1V8kvLfEVTZs86z7vjdLCbP62ZUNcOmqt+ovwr3nnFLWrVfMc7/OMTe9lU5acUULsY9OVyM3XJSKWO75hSLZteWnlN/hz2FnNtKNqsDQTP6IAu2EzChyqIGe7vQguTAXI3w5p673Cew9XDU7c5sQ4WkY5FM+fPNDTlS6Yr37UK9gyLs1zKn17WlG+ilOU1fHK8AMlMJzh1hD7yQN0KSMu2cqVLohdWTVYWs6rx3qvcq1xABcmApwb7gVSTVpWDT65xnliIa3KDhR/tjrePeyv9TbewLLv13mJ05M++31IlrJoi6L
 MXKQoK9cro496hZO+cF27Kp7Pyq4kYpD7nYRNdTpLR7nH+gxRfM7k3Fj4fRS4fp5+0w3iJ/dIhzqdEza4iQeVF8VtzJZZxRFcy1tNmOrKiEy9pER9pigffaEos2d4gmgjtbium5XMVo84SWly3BHc1MNms5ikndwtVURSN8CZ0d4glzZKFblbAsTU7R+ph4ujxjcKSHezxUy75Ea5pv0L2jGA4fQbf1r5cL7i+jljigtE/TVC013XTEuxxdD9BlL8XWFPsOZsiqoeLCZ5Sv47aQs4TPvL7wHED4Rz26SjmKoHb55RlOnGWF6B8jfescfMvuCxMo5pmNYQGXXUjTDHBfLeCa2h4Z55xtlJ9hjeuXGmB3/meOQHz6yf+sCzYkrcDo5Y/a6JAGsmQfKeB57dMK1YnwGzK1QARxVGY4k+6WXEZ+s3YdnKrFmK8vV4RZn6kaKGZhafFWpbexILoytaZ0ckeR4uU965bYXpsGEawPz3ADZFAYbV09TPpX+F84f48TaW07+MuC7ya7YrZsITSrO9Rl5N+BkLb+NDdpcW7Lr+5T3AuHbKMEqxuGLw7a1EEV5gs2HZEuuVHyzzeCtna6xhYXNZKrfcm9aTuArZvsfpQWWqH3iAT7DYY2J+m5Ra9utjofbJl3cfNSxY+Jj/qlzVAFXoxvfXJ6PdLY8VdKHyJRz40YnFWLDk7Np99NPECWkDc18vCrWH2sKLBuW8n7bw3N6jebuwYGERwdxkrQi1eJ4PiCaONPLIJZXjrGYyz3DzZSIi+PEkE1zJ6FKOzYwngP+U/5xBDQKIYDKLiWYzm1nDl0ykH229/0PArXarlWz/A3bbfoDcyFIFAAAAAElFTkSuQmCC);background-size:50px 45px}}</style> <span class=github-btn id=github-btn> <a class=gh-btn id=gh-btn href="#" target=_blank> <span 
 class=gh-ico></span> <span class=gh-text id=gh-text></span> </a> <a class=gh-count id=gh-count href="#" target=_blank></a> </span> <script type="text/javascript">var params=function(){var d=[],c;var a=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(var b=0;b<a.length;b++){c=a[b].split("=");d.push(c[0]);d[c[0]]=c[1]}return d}();var user=params.user,repo=params.repo,type=params.type,count=params.count,size=params.size,head=document.getElementsByTagName("head")[0],button=document.getElementById("gh-btn"),mainButton=document.getElementById("github-btn"),text=document.getElementById("gh-text"),counter=document.getElementById("gh-count");function addCommas(a){return String(a).replace(/(\d)(?=(\d{3})+$)/g,"$1,")}function jsonp(b){var a=document.createElement("script");a.src=b+"?callback=callback";head.insertBefore(a,head.firstChild)}function callback(a){if(type=="watch"){counter.innerHTML=addCommas(a.data.watchers)}else{if(type=="fork"){counter.innerHTML=addC
 ommas(a.data.forks)}else{if(type=="follow"){counter.innerHTML=addCommas(a.data.followers)}}}if(count=="true"){counter.style.display="block"}}button.href="https://github.com/"+user+"/"+repo+"/";if(type=="watch"){mainButton.className+=" github-watchers";text.innerHTML="Star";counter.href="https://github.com/"+user+"/"+repo+"/stargazers"}else{if(type=="fork"){mainButton.className+=" github-forks";text.innerHTML="Fork";counter.href="https://github.com/"+user+"/"+repo+"/network"}else{if(type=="follow"){mainButton.className+=" github-me";text.innerHTML="Follow @"+user;button.href="https://github.com/"+user;counter.href="https://github.com/"+user+"/followers"}}}if(size=="large"){mainButton.className+=" github-btn-large"}if(type=="follow"){jsonp("https://api.github.com/users/"+user)}else{jsonp("https://api.github.com/repos/"+user+"/"+repo)};</script></body></html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/layouts/community.html
----------------------------------------------------------------------
diff --git a/content/layouts/community.html b/content/layouts/community.html
new file mode 100644
index 0000000..1111028
--- /dev/null
+++ b/content/layouts/community.html
@@ -0,0 +1 @@
+<%= render 'default', :community => true, :content => @content, :item => @item %>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/layouts/default.html
----------------------------------------------------------------------
diff --git a/content/layouts/default.html b/content/layouts/default.html
new file mode 100644
index 0000000..e3da4b4
--- /dev/null
+++ b/content/layouts/default.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<%= render 'header', {:docs => @docs, :community => @community} %>
+
+<% if @docs %>
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1><%= @item[:title] %></h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content<%= @item.path[0..-2] %>.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <%= @content %>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content<%= @item.path[0..-2] %>.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+<% else %>
+
+<%= @content %>
+
+<% end %>
+
+<%= render 'footer' %>
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/layouts/docs.html
----------------------------------------------------------------------
diff --git a/content/layouts/docs.html b/content/layouts/docs.html
new file mode 100644
index 0000000..119b865
--- /dev/null
+++ b/content/layouts/docs.html
@@ -0,0 +1 @@
+<%= render 'default', :docs => true, :content => @content, :item => @item %>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/layouts/footer.html
----------------------------------------------------------------------
diff --git a/content/layouts/footer.html b/content/layouts/footer.html
new file mode 100644
index 0000000..05310ad
--- /dev/null
+++ b/content/layouts/footer.html
@@ -0,0 +1,94 @@
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/layouts/header.html
----------------------------------------------------------------------
diff --git a/content/layouts/header.html b/content/layouts/header.html
new file mode 100644
index 0000000..b9cbba8
--- /dev/null
+++ b/content/layouts/header.html
@@ -0,0 +1,228 @@
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — <%= @item[:title] %></title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    <% if @community == true %>
+    <script type="text/javascript"
+      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBYSxyIKS22zC4wSLFXZGR8QKXbGWLFwYw&sensor=false">
+    </script>
+    <script type="text/javascript">
+
+        var points = [
+                new google.maps.LatLng(-33.8674869,151.2069902),
+                new google.maps.LatLng(40.2338438,-111.6585337),
+                new google.maps.LatLng(37.6909682,-122.3107517),
+                new google.maps.LatLng(-37.6825027,176.1880232),
+                new google.maps.LatLng(-0.023559,37.906193),
+                new google.maps.LatLng(41.00527,28.97696),
+                new google.maps.LatLng(47.1569444,27.5902778),
+                new google.maps.LatLng(49.261226,-123.1139268),
+                new google.maps.LatLng(55.378051,-3.435973),
+                new google.maps.LatLng(30.3321838,-81.65565099999999),
+                new google.maps.LatLng(30.267153,-97.7430608),
+                new google.maps.LatLng(-14.235004,-51.92528),
+                new google.maps.LatLng(41.76371109999999,-72.6850932),
+                new google.maps.LatLng(53.3498053,-6.2603097),
+                new google.maps.LatLng(-37.814107,144.96328),
+                new google.maps.LatLng(26.820553,30.802498),
+                new google.maps.LatLng(34.0522342,-118.2436849),
+                new google.maps.LatLng(37.566535,126.9779692),
+                new google.maps.LatLng(7.873053999999999,80.77179699999999),
+                new google.maps.LatLng(39.737567,-104.9847179),
+                new google.maps.LatLng(52.9399159,-73.5491361),
+                new google.maps.LatLng(40.7143528,-74.00597309999999),
+                new google.maps.LatLng(44.9374831,-93.20099979999999),
+                new google.maps.LatLng(38.963745,35.243322),
+                new google.maps.LatLng(35.7795897,-78.6381787),
+                new google.maps.LatLng(35.907757,127.766922),
+                new google.maps.LatLng(-6.2689913,106.8060388),
+                new google.maps.LatLng(27.3364347,-82.53065269999999),
+                new google.maps.LatLng(44.494887,11.3426163),
+                new google.maps.LatLng(39.952335,-75.16378900000001),
+                new google.maps.LatLng(37.09024,-95.712891),
+                new google.maps.LatLng(40.5852602,-105.084423),
+                new google.maps.LatLng(43.653226,-79.3831843),
+                new google.maps.LatLng(47.6062095,-122.3320708),
+                new google.maps.LatLng(31.046051,34.851612),
+                new google.maps.LatLng(51.41233,-0.300689),
+                new google.maps.LatLng(39.4699075,-0.3762881),
+                new google.maps.LatLng(51.51121389999999,-0.1198244),
+                new google.maps.LatLng(42.3556899,-83.361853),
+                new google.maps.LatLng(33.4483771,-112.0740373),
+                new google.maps.LatLng(45.5234515,-122.6762071),
+                new google.maps.LatLng(43.0730517,-89.4012302),
+                new google.maps.LatLng(36.1031378,-80.202394),
+                new google.maps.LatLng(37.7749295,-122.4194155),
+                new google.maps.LatLng(5.263234100000001,100.4846227),
+                new google.maps.LatLng(35.5950581,-82.5514869),
+                new google.maps.LatLng(35.86166,104.195397),
+                new google.maps.LatLng(34.4208305,-119.6981901),
+                new google.maps.LatLng(1.352083,103.819836),
+                new google.maps.LatLng(36.8507689,-76.28587259999999),
+                new google.maps.LatLng(22.396428,114.109497),
+                new google.maps.LatLng(48.856614,2.3522219),
+                new google.maps.LatLng(40.4167754,-3.7037902),
+                new google.maps.LatLng(18.5204303,73.8567437),
+                new google.maps.LatLng(36.1666667,-86.7833333),
+                new google.maps.LatLng(53.3498053,-6.2603097),
+                new google.maps.LatLng(26.0993883,-80.1343301),
+                new google.maps.LatLng(42.331427,-83.0457538),
+                new google.maps.LatLng(37.82206000000001,-122.272437),
+                new google.maps.LatLng(30.42130899999999,-87.2169149),
+                new google.maps.LatLng(44.4325,26.1038889),
+                new google.maps.LatLng(41.0700485,-81.49516210000002),
+                new google.maps.LatLng(12.9715987,77.5945627),
+                new google.maps.LatLng(53.41291,-8.24389),
+                new google.maps.LatLng(34.0583995,-106.8914159),
+                new google.maps.LatLng(-9.189967,-75.015152),
+                new google.maps.LatLng(55.6760968,12.5683371),
+                new google.maps.LatLng(53.9807737,-6.7148821),
+                new google.maps.LatLng(31.230416,121.473701),
+                new google.maps.LatLng(33.7489954,-84.3879824),
+                new google.maps.LatLng(8.4874949,76.948623),
+                new google.maps.LatLng(13.0524139,80.25082460000002),
+                new google.maps.LatLng(28.0836269,-80.60810889999999),
+                new google.maps.LatLng(39.0457549,-76.64127119999999),
+                new google.maps.LatLng(17.385044,78.486671),
+                new google.maps.LatLng(-23.5489433,-46.6388182),
+                new google.maps.LatLng(52.09179,5.114569899999999),
+                new google.maps.LatLng(19.2667,76.7833),
+                new google.maps.LatLng(19.0759837,72.8776559),
+                new google.maps.LatLng(12.9715987,77.5945627),
+                new google.maps.LatLng(41.1566892,-8.6239254),
+                new google.maps.LatLng(39.90403,116.407526),
+                new google.maps.LatLng(42.3584308,-71.0597732),
+                new google.maps.LatLng(32.725409,-97.3208496),
+                new google.maps.LatLng(39.074208,21.824312),
+                new google.maps.LatLng(10.066049,123.538599),
+                new google.maps.LatLng(37.42410599999999,-122.1660756),
+                new google.maps.LatLng(36.204824,138.252924)
+              ];
+
+        var map;
+        var markers = [];
+        var iterator = 0;
+        var dropped = false;
+        var recentered = false;
+
+        function initialize() {
+            var mapOptions = {
+              center: new google.maps.LatLng(0,0),
+              //draggable: false,
+              //zoomControl: false,
+              scrollwheel: false,
+              streetViewControl: false,
+              mapTypeControl: false,
+              panControl: false,
+              //disableDoubleClickZoom: true,
+              zoom: 2,
+              //disableDefaultUI: true,
+              mapTypeId: google.maps.MapTypeId.ROADMAP
+            };
+            map = new google.maps.Map(document.getElementById("map-canvas"),
+                mapOptions);
+
+            google.maps.event.addDomListener(map, 'idle', function() {
+                        if (recentered == false) {
+                            map.setCenter(new google.maps.LatLng(20,0));
+                            recentered = true;
+                        }
+                    });
+
+            var bounds = new google.maps.LatLngBounds();
+
+            // Extend bounds with each point
+            for (var i = 0; i < points.length; i++) {
+            bounds.extend(points[i]);
+            }
+            map.fitBounds(bounds);
+
+            if (document.hasFocus()) {
+                dropped = true;
+                drop();
+            }
+
+
+        }
+        function drop() {
+            dropped = true;
+            for (var i = 0; i < points.length; i++) {
+                setTimeout(function() {
+                    addMarker();
+                }, i * 50);
+            }
+        }
+
+        function addMarker() {
+            markers.push(new google.maps.Marker({
+                position: points[iterator],
+                map: map,
+                draggable: false,
+                animation: google.maps.Animation.DROP
+            }));
+            iterator++;
+        }
+        
+        google.maps.event.addDomListener(window, 'load', initialize);
+        
+        window.onfocus = function () { 
+            if (dropped == false) {
+                drop(); 
+            }
+        };
+    </script>
+    <% end %>
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav <%= 'secondary' if @docs or @community %>" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class="<%= 'active' if @community %>"><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/lib/default.rb
----------------------------------------------------------------------
diff --git a/content/lib/default.rb b/content/lib/default.rb
new file mode 100644
index 0000000..8adfad9
--- /dev/null
+++ b/content/lib/default.rb
@@ -0,0 +1,43 @@
+# All files in the 'lib' directory will be loaded
+# before nanoc starts compiling.
+include Nanoc::Helpers::Rendering
+
+require 'pandoc-ruby'
+require 'htmlentities'
+
+class PandocFilter < Nanoc3::Filter
+  identifier :pandoc
+  type :text
+
+  def run(content, params = {})
+    ::PandocRuby.convert(content, 'smart', 'no-highlight', 'toc', :template => 'lib/pandoc.template')
+  end
+end
+
+class FencedCodeBlock < Nanoc3::Filter
+  identifier :fenced_code_block
+  
+  def run(content, params={})
+    content.gsub(/(^`{3,}\s*(\S*)\s*$([^`]*)^`{3,}\s*$)+?/m) {|match|
+      lang_spec  = $2
+      code_block = $3
+      
+      replacement = ''
+      
+      replacement << '<pre class="highlight"><code class="language'
+      
+      if lang_spec && lang_spec.length > 0
+        replacement << '-'
+        replacement << lang_spec
+      end
+      
+      replacement << '">'
+      
+      code_block.gsub!("[:backtick:]", "`")
+      
+      coder = HTMLEntities.new
+      replacement << coder.encode(code_block)
+      replacement << '</code></pre>'
+    }
+  end
+end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/lib/helpers_.rb
----------------------------------------------------------------------
diff --git a/content/lib/helpers_.rb b/content/lib/helpers_.rb
new file mode 100644
index 0000000..e69de29

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/lib/pandoc.template
----------------------------------------------------------------------
diff --git a/content/lib/pandoc.template b/content/lib/pandoc.template
new file mode 100644
index 0000000..598e2c2
--- /dev/null
+++ b/content/lib/pandoc.template
@@ -0,0 +1,4 @@
+<div class="toc">
+	$toc$
+</div>
+$body$
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/nanoc.yaml
----------------------------------------------------------------------
diff --git a/content/nanoc.yaml b/content/nanoc.yaml
new file mode 100644
index 0000000..ca828ab
--- /dev/null
+++ b/content/nanoc.yaml
@@ -0,0 +1,77 @@
+# A list of file extensions that nanoc will consider to be textual rather than
+# binary. If an item with an extension not in this list is found,  the file
+# will be considered as binary.
+text_extensions: [ 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ]
+
+# The path to the directory where all generated files will be written to. This
+# can be an absolute path starting with a slash, but it can also be path
+# relative to the site directory.
+output_dir: publish
+
+# A list of index filenames, i.e. names of files that will be served by a web
+# server when a directory is requested. Usually, index files are named
+# “index.html”, but depending on the web server, this may be something else,
+# such as “default.htm”. This list is used by nanoc to generate pretty URLs.
+index_filenames: [ 'index.html' ]
+
+# Whether or not to generate a diff of the compiled content when compiling a
+# site. The diff will contain the differences between the compiled content
+# before and after the last site compilation.
+enable_output_diff: false
+
+prune:
+  # Whether to automatically remove files not managed by nanoc from the output
+  # directory. For safety reasons, this is turned off by default.
+  auto_prune: false
+
+  # Which files and directories you want to exclude from pruning. If you version
+  # your output directory, you should probably exclude VCS directories such as
+  # .git, .svn etc.
+  exclude: [ '.git', '.hg', '.svn', 'CVS' ]
+
+# The data sources where nanoc loads its data from. This is an array of
+# hashes; each array element represents a single data source. By default,
+# there is only a single data source that reads data from the “content/” and
+# “layout/” directories in the site directory.
+data_sources:
+  -
+    # The type is the identifier of the data source. By default, this will be
+    # `filesystem_unified`.
+    type: filesystem_unified
+
+    # The path where items should be mounted (comparable to mount points in
+    # Unix-like systems). This is “/” by default, meaning that items will have
+    # “/” prefixed to their identifiers. If the items root were “/en/”
+    # instead, an item at content/about.html would have an identifier of
+    # “/en/about/” instead of just “/about/”.
+    items_root: /
+
+    # The path where layouts should be mounted. The layouts root behaves the
+    # same as the items root, but applies to layouts rather than items.
+    layouts_root: /
+
+    # Whether to allow periods in identifiers. When turned off, everything
+    # past the first period is considered to be the extension, and when
+    # turned on, only the characters past the last period are considered to
+    # be the extension. For example,  a file named “content/about.html.erb”
+    # will have the identifier “/about/” when turned off, but when turned on
+    # it will become “/about.html/” instead.
+    allow_periods_in_identifiers: false
+
+# Configuration for the “watch” command, which watches a site for changes and
+# recompiles if necessary.
+watcher:
+  # A list of directories to watch for changes. When editing this, make sure
+  # that the “output/” and “tmp/” directories are _not_ included in this list,
+  # because recompiling the site will cause these directories to change, which
+  # will cause the site to be recompiled, which will cause these directories
+  # to change, which will cause the site to be recompiled again, and so on.
+  dirs_to_watch: [ 'content', 'layouts', 'lib' ]
+
+  # A list of single files to watch for changes. As mentioned above, don’t put
+  # any files from the “output/” or “tmp/” directories in here.
+  files_to_watch: [ 'nanoc.yaml', 'Rules' ]
+
+  # When to send notifications (using Growl or notify-send).
+  notify_on_compilation_success: true
+  notify_on_compilation_failure: true


[12/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/entity-relationships/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/entity-relationships/index.html b/content/publish/docs/entity-relationships/index.html
new file mode 100644
index 0000000..caeded4
--- /dev/null
+++ b/content/publish/docs/entity-relationships/index.html
@@ -0,0 +1,285 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Entity relationships</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Entity relationships</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/entity-relationships/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#entity-relationships">Entity relationships</a><ul>
+<li><a href="#creating-connections-between-entities">Creating connections between entities</a></li>
+<li><a href="#creating-other-connections">Creating other connections</a></li>
+<li>
+<a href="#getting-connections">Getting connections</a><ul>
+<li><a href="#get-all-connections-for-an-entity">Get all connections for an entity</a></li>
+<li><a href="#get-information-on-a-specific-connection-type">Get information on a specific connection type</a></li>
+</ul>
+</li>
+<li><a href="#deleting-a-connection">Deleting a connection</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="entity-relationships"><a href="#entity-relationships">Entity relationships</a></h1>
+<h2 id="creating-connections-between-entities"><a href="#creating-connections-between-entities">Creating connections between entities</a></h2>
+<p>One of the most useful features of App services is the ability to create connections between entities. A simple example of this is the Twitter-like use of <em>following</em>, where one user forms a connection with another by subscribing to any tweets they post. <a href="/messagee-example">Messagee Example</a> walks you through an example of following other users in our sample app, <em>Messagee</em>. Here is the basic format:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/users/fred/following/users/barney</code></pre>
+<p>This API call results in two users, Fred and Barney, linked with a connection where Fred is following Barney.</p>
+<p>If you create a <em>following</em> connection between two users, Apache Usergrid automatically creates a virtual connection called <em>followers</em> that mirrors the <em>following</em> connection. In other words, if you create a connection where Fred is following Barney, Apache Usergrid automatically creates a virtual connection where Fred is a follower of Barney.</p>
+<p>Note that there is no mirror connection established. Apache Usergrid only creates a mirror connection when you create a <em>following</em> connection. It does not create a mirror connection for other verbs such as likes.</p>
+<p>You can see all the users that Fred is following, in this case only Barney, by making the following API call:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/fred/following</code></pre>
+<p>You can see all of barney’s followers, in this case only Fred, by making the following API call:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/barney/followers</code></pre>
+<p>The <em>followers</em> connection is a virtual connection because you can’t use it to link two entities. In other words, you can’t make fred a follower of barney by using a <em>followers</em> connection.  <strong>This is wrong:</strong></p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/users/barney/followers/users/fred</code></pre>
+<p>To create a <em>following</em> connection with the users switched, so that Barney is following Fred, do this:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/users/barney/following/users/fred</code></pre>
+<p>You can now see Fred’s followers (only Barney) by making the following call:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/fred/followers</code></pre>
+<h2 id="creating-other-connections"><a href="#creating-other-connections">Creating other connections</a></h2>
+<p>You can extend this connection structure to create connections using any “verb” that can link two entities. For example, you could use likes to denote a connection between a user and his dog. First, create a dogs collection:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/dogs</code></pre>
+<p>Then populate this collection with a new dog named Dino:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/dogs {"name" : "dino"}</code></pre>
+<p>Then create a likes connection between Fred and his dog Dino:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/users/fred/likes/dogs/dino</code></pre>
+<h2 id="getting-connections"><a href="#getting-connections">Getting connections</a></h2>
+<h3 id="get-all-connections-for-an-entity"><a href="#get-all-connections-for-an-entity">Get all connections for an entity</a></h3>
+<p>To get a list that only contains the connections, do a GET on the connections sub-property of the entity:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/fred/connections</code></pre>
+<h3 id="get-information-on-a-specific-connection-type"><a href="#get-information-on-a-specific-connection-type">Get information on a specific connection type</a></h3>
+<p>To get a list of users who like Fred:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/fred/connecting/likes</code></pre>
+<p>To get a list of all dogs that Fred likes:</p>
+<pre><code>GET https://api.usergrid.com/my-org/my-app/users/fred/likes/dog</code></pre>
+<h2 id="deleting-a-connection"><a href="#deleting-a-connection">Deleting a connection</a></h2>
+<p>You can delete a connection in a way similar to creating one. Just replace the POST method with the DELETE method. For example, you can delete the connection between fred and barney with the following API call:</p>
+<pre><code>DELETE https://api.usergrid.com/my-org/my-app/users/fred/following/barney</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/entity-relationships/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/events-and-counters 2/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/events-and-counters 2/index.html b/content/publish/docs/events-and-counters 2/index.html
new file mode 100644
index 0000000..8c5d316
--- /dev/null
+++ b/content/publish/docs/events-and-counters 2/index.html	
@@ -0,0 +1,612 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Events and counters</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Events and counters</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/events-and-counters 2.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#creating-a-new-event">Creating a new event</a><ul>
+<li><a href="#request-uri">Request URI</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example---request">Example - Request</a></li>
+<li><a href="#example---response">Example - Response</a></li>
+</ul>
+</li>
+<li>
+<a href="#event-properties">Event properties</a><ul>
+<li><a href="#categorizing-events">Categorizing events</a></li>
+</ul>
+</li>
+<li>
+<a href="#counters">Counters</a><ul>
+<li><a href="#user-defined-counters">User-Defined Counters</a></li>
+<li><a href="#counter-hierarchy">Counter hierarchy</a></li>
+<li><a href="#using-counters-in-time-series-queries">Using counters in time series queries</a></li>
+<li><a href="#retrieving-counter-data">Retrieving counter data</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<p>Events are typically used for application logging. For example, they could be used to log error messages that a system administrator might review at a later time. The event mechanism is optimized to handle large numbers of events, so it is an ideal mechanism for logging in your application.</p>
+<p>You can link events to specific users, groups, or custom-defined categories. When created with these links, events offer a powerful tool for running highly targeted, custom reports.</p>
+<p>Events are also the primary way to store custom counter data for analytics. See Counters (below) for further details.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<p>Using App services APIs you can create an event.</p>
+<h2 id="creating-a-new-event">Creating a new event</h2>
+<p>Use the POST method to create a new event in the events collection.</p>
+<h3 id="request-uri">Request URI</h3>
+<p>POST /{org_id}/{app_id}/events {request body}</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>arg uuid|string org_id</p></td>
+<td align="left"><p>Organization UUID or organization name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>arg uuid|string app_id</p></td>
+<td align="left"><p>Application UUID or application name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>request body</p></td>
+<td align="left">
+<p>One or more sets of event properties. You must provide a timestamp property, but if you set it to 0 it is assigned by the system.</p>
+<pre><code>{
+  "timestamp":0,
+  "category" : "advertising",
+  "counters" : {
+    "ad_clicks" : 5
+  }
+}</code></pre>
+</td>
+</tr>
+</tbody>
+</table>
+<h3 id="example---request">Example - Request</h3>
+<ul>
+<li><a href="#curl_create_event">cURL</a></li>
+<li><a href="#javascript_create_event">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_event">Ruby</a></li>
+<li><a href="#nodejs_create_event">Node.js</a></li>
+</ul>
+<!-- -->
+
+<pre><code>curl -X POST "https://api.usergrid.com/my-org/my-app/events" -d '{"timestamp":0, "category" : "advertising", "counters" : {"ad_clicks" : 5}}'</code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-javascript-sdk">JavaScript (HTML5) SDK</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'events',
+    body:{timestamp:0, category:'advertising', counters:{ad_clicks : 5}}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<p>The example assumes use of the <a href="https://github.com/scottganyo/usergrid_iron">Ruby SDK</a>.</p>
+<pre><code>app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+result = app.create_event timestamp: '0', category: 'advertising', counters: { ad_clicks: 5 }
+mynewevent = result.entity   </code></pre>
+<p>The example assumes use of the <a href="https://github.com/apigee/usergrid-node-module">Node.js module</a>.</p>
+<pre><code>var options = {
+    method:'POST',
+    endpoint:'events',
+    body:{timestamp:0, category:'advertising', counters:{ad_clicks : 5}}
+};
+client.request(options, function (err, data) {
+    if (err) {
+        //error
+    } else {
+        //success - data will contain raw results from API call
+    }
+});</code></pre>
+<h3 id="example---response">Example - Response</h3>
+<pre><code>{
+      "action": "post",
+      "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+      "params": {},
+      "path": "/events",
+      "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+      "entities": [
+        {
+          "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+          "type": "event",
+          "created": 1331166585282,
+          "modified": 1331166585282,
+          "counters": {
+            "ad_clicks": 5
+          },
+          "metadata": {
+            "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+          },
+          "timestamp": 1331166585282
+        }
+      ],
+      "timestamp": 1331166585018,
+      "duration": 919,
+      "organization": "my-org",
+      "applicationName": "my-app"
+}</code></pre>
+<h2 id="event-properties">Event properties</h2>
+<p>You can pass various system-defined properties for an event. For example, you can specify a user property, with a uuid as its value. This will link the event to the user and can be used to query against the events queue (see Categorization below). The same is true for the group property. Pass it with a uuid as the value and the event will be linked to the group. To include a uuid of a user or group, add the uuid to the request body, for example:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/events {"timestamp":0, "category" : "advertising", "counters" :  {"ad_clicks" : 5},"user" : "1234891-477d-11e1-b2bd-22005a1c4e22", "group" : "75577d891-347d-2231-b5bd-23400a1c4e22"}</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+ "action": "post",
+ "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+ "params": {},
+ "path": "/events",
+ "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+ "entities": [
+   {
+     "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+     "user": "1234891-477d-11e1-b2bd-22005a1c4e22",
+     "group": "75577d891-347d-2231-b5bd-23400a1c4e22",
+     "type": "event",
+     "created": 1331166585282,
+     "modified": 1331166585282,
+     "counters": {
+       "ad_clicks": 5
+     },
+     "metadata": {
+       "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+     },
+     "timestamp": 1331166585282
+   }
+ ],
+ "timestamp": 1331166585018,
+ "duration": 919,
+ "organization": "my-org",
+ "applicationName": "my-app"
+}</code></pre>
+<p>You can also create application-specific event properties in addition to these predefined properties. The system-defined properties are reserved. You cannot use these names to create other properties for an event entity. In addition the events name is reserved for the events collection — you can’t use it to name another collection.</p>
+<p>The System-defined properties are as follows:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Event’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">String</td>
+<td align="left">“event”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">timestamp</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of application event (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">user</td>
+<td align="left">UUID</td>
+<td align="left">UUID of application user that posted the event</td>
+</tr>
+<tr class="odd">
+<td align="left">group</td>
+<td align="left">UUID</td>
+<td align="left">UUID of application group that posted the event</td>
+</tr>
+<tr class="even">
+<td align="left">category</td>
+<td align="left">string</td>
+<td align="left">Category used for organizing similar events</td>
+</tr>
+<tr class="odd">
+<td align="left">counters</td>
+<td align="left">map</td>
+<td align="left">Counter used for tracking number of similar events</td>
+</tr>
+<tr class="even">
+<td align="left">message</td>
+<td align="left">string</td>
+<td align="left">Message describing event</td>
+</tr>
+</tbody>
+</table>
+<h3 id="categorizing-events">Categorizing events</h3>
+<p>As mentioned previously, you can link an event to a user or a group. This enables you to categorize and qualify event data for use in tracking and analysis. For example, linking events to users and groups, enables you to track how often people use a feature. Not only can you determine the total number of users that used the feature, but also which groups contain users that made the most use of the feature. Or, you could provide a location with the event, so you could see how often a feature was used by people in San Francisco versus Los Angeles.</p>
+<h2 id="counters">Counters</h2>
+<p>User-defined counters are used in conjunction with events to keep statistics on many aspects of an application. User-defined counters are JSON objects that are added to events when they are posted. The act of posting an event increments the counter. Once created, user-defined counters can be used to get reports.</p>
+<p><strong>Note:</strong> It may take up to 30 seconds for a counter to be updated.</p>
+<h3 id="user-defined-counters">User-Defined Counters</h3>
+<p>With Apache Usergrid, you can define your own counters. Some of the things that you might track with a user-defined counter are:</p>
+<ul>
+<li>How many times people click on the help button in your application.</li>
+<li>How many times your game is played each day.</li>
+<li>How many times your banner ads are clicked each day.</li>
+</ul>
+<p>You can choose any name for a user-defined counter. For example, the counter for the help button might be named “help_button” or “help_button_clicks”.</p>
+<p>To create a user-defined counter, you post to the events collection and specify the name and increment value of the counter in the request body. The increment value is the value that the counter is incremented by for each tracked event. An increment value of 1, means that the counter is increment by 1 for each tracked event. You could also specify a higher increment value, such as 15, which would increment the value by that number, or a negative number, which would decrement the value.  You can also reset the value of the counter, by specifying an increment value of 0.</p>
+<p>When a counter is incremented by an event, there will be a 20-30 second delay between when the event is posted and when the counter is incremented. </p>
+<p>As an example, here’s how to create a user-defined counter named “button_clicks” with an increment value of 1:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/events {"counters" : {"button_clicks" : 1},"timestamp" : "0"}</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+   "action": "post",
+   "path": "/events",
+   "uri": "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/events",
+   "entities": [
+       {
+           "uuid": "39d41c46-d8e4-11e0-bcc1-12313f0204bb",
+           "type": "event",
+           "timestamp": 1315353555546016,
+           "category":"advertising",
+           "counters": {
+               "button_clicks": 1
+           },
+           "created": 1315353555546016,
+           "modified": 1315353555546016,
+           "metadata": {
+           "path": "/events/39d41c46-d8e4-11e0-bcc1-12313f0204bb"
+           }
+       }
+   ],
+   "timestamp": 1315353555537,
+   "duration": 110,
+   "organization": "my-org",
+   "applicationName": "my-app"
+}</code></pre>
+<h3 id="counter-hierarchy">Counter hierarchy</h3>
+<p>Counters are hierarchical in their structure and in the way they are incremented. Each level of the hierarchy is separated by the dot “.” operator. The hierarchical structure can be useful if you want to store or view statistics in a hierarchical way. For example, suppose you want to log errors that your app generates. One way to do this, is to fire an event every time an error occurs, by creating a counter called “errors”. However, you can get more detail by adding additional parameters to the counter. Imagine that you want to track errors in a specific module and function within that module, say module_1, function_1, you could use a counter like this:</p>
+<p>errors.module_1.function_1</p>
+<p>And then for a different function in the same module:</p>
+<p>errors.module_1.function_2</p>
+<p>And then for a different function in a different module:</p>
+<p>errors.module_2.function_3</p>
+<p>If each of the preceding examples were called once, the resulting values would be:</p>
+<p>errors = 3<br><br> errors.module_1 = 2<br><br> errors.module_1.function_1 = 1<br><br> errors.module_1.function_2 = 1<br><br> errors.module_2 = 1<br><br> errors.module_2.function_3 = 1</p>
+<p>This tells you that there were 3 errors in the application, with 2 of those errors in module_1. You can then drill down further to see errors in specific functions.</p>
+<h3 id="using-counters-in-time-series-queries">Using counters in time series queries</h3>
+<p>Knowing the value of a counter is useful. However, you often need to know how the value varies over time. Fortunately, the API provides a method for you to view this data over any time interval or level of granularity.</p>
+<p>For example, let’s say you’re incrementing a counter every time someone launches your application. You might be interested in which days of the week the application sees the most usage. Using the API, you can examine the counter over a set of weeks, with the data split into daily intervals. Using this information, you can see which are your peak days of usage. You can also view usage across a single day, so you can see if your application is used more in the mornings or the evenings. For business reporting, you may be more interested in monthly reporting.</p>
+<p>Note that the system is able to provide you with the report data as you need it. The data is maintained in real-time so it can be viewed instantly.</p>
+<h3 id="retrieving-counter-data">Retrieving counter data</h3>
+<p>To retrieve counter data, you issue a GET request to the /counters endpoint. This is a special, built-in collection that gives you access to all the counters currently in the system. The API also provides a number of parameters that you can use to search for counter data, as follows:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">start_time</td>
+<td align="left">An <a href="http://en.wikipedia.org/wiki/Unix_time">Epoch(Unix)</a> timestamp in milliseconds</td>
+<td align="left">The beginning of the time period to search</td>
+</tr>
+<tr class="even">
+<td align="left">end_time</td>
+<td align="left">An <a href="http://en.wikipedia.org/wiki/Unix_time">Epoch(Unix)</a> timestamp in milliseconds</td>
+<td align="left">The end of the time period to search</td>
+</tr>
+<tr class="odd">
+<td align="left">counter</td>
+<td align="left">string</td>
+<td align="left">The name of a specific counter to search. You can specify more than one counter in a query (for example, counter=counter1&amp;counter=counter2…)</td>
+</tr>
+<tr class="even">
+<td align="left">resolution</td>
+<td align="left">string</td>
+<td align="left">The interval at which counters are displayed. For example, if the interval is day, and the start time and end time values span 4 days, you will get aggregate counts for each of the 4 days. Possible values are all, minute, five_minutes, half_hour, hour, six_day, day, week, and month.</td>
+</tr>
+</tbody>
+</table>
+<p>For example, to retrieve a time range of values, with a granularity of “day”, for a counter called “button_clicks”, the GET request would look like this:</p>
+<pre><code>GET /my-org/my-app/counters?start_time=1315119600000&amp;end_time=1315724400000&amp;resolution=day&amp;counter=button_clicks</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+ action: "get",
+    uri: "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/counters",
+    timestamp: 1315354369272,
+    duration: 28,
+    counters: [
+        {
+            name: "button_clicks",
+            values: [
+                {
+                    value: 2
+                    timestamp: 1315180800000
+                },
+                {
+                    value: 1
+                    timestamp: 1315267200000
+                },
+                {
+                    value: 1
+                    timestamp: 1315353600000
+                }
+            ]
+        }
+    ]
+}</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/events-and-counters 2.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/events-and-counters/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/events-and-counters/index.html b/content/publish/docs/events-and-counters/index.html
new file mode 100644
index 0000000..c56426b
--- /dev/null
+++ b/content/publish/docs/events-and-counters/index.html
@@ -0,0 +1,502 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Events and counters</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Events and counters</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/events-and-counters.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#event-properties">Event properties</a><ul>
+<li><a href="#categorizing-events">Categorizing events</a></li>
+</ul>
+</li>
+<li>
+<a href="#counters">Counters</a><ul>
+<li><a href="#user-defined-counters">User-Defined Counters</a></li>
+<li><a href="#counter-hierarchy">Counter hierarchy</a></li>
+<li><a href="#using-counters-in-time-series-queries">Using counters in time series queries</a></li>
+<li><a href="#retrieving-counter-data">Retrieving counter data</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<p>Events are typically used for application logging. For example, they could be used to log error messages that a system administrator might review at a later time. The event mechanism is optimized to handle large numbers of events, so it is an ideal mechanism for logging in your application.</p>
+<p>You can link events to specific users, groups, or custom-defined categories. When created with these links, events offer a powerful tool for running highly targeted, custom reports.</p>
+<p>Events are also the primary way to store custom counter data for analytics. See Counters (below) for further details.</p>
+<h2 id="event-properties">Event properties</h2>
+<p>You can pass various system-defined properties for an event. For example, you can specify a user property, with a uuid as its value. This will link the event to the user and can be used to query against the events queue (see Categorization below). The same is true for the group property. Pass it with a uuid as the value and the event will be linked to the group. To include a uuid of a user or group, add the uuid to the request body, for example:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/events {"timestamp":0, "category" : "advertising", "counters" :  {"ad_clicks" : 5},"user" : "1234891-477d-11e1-b2bd-22005a1c4e22", "group" : "75577d891-347d-2231-b5bd-23400a1c4e22"}</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+ "action": "post",
+ "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+ "params": {},
+ "path": "/events",
+ "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+ "entities": [
+   {
+     "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+     "user": "1234891-477d-11e1-b2bd-22005a1c4e22",
+     "group": "75577d891-347d-2231-b5bd-23400a1c4e22",
+     "type": "event",
+     "created": 1331166585282,
+     "modified": 1331166585282,
+     "counters": {
+       "ad_clicks": 5
+     },
+     "metadata": {
+       "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+     },
+     "timestamp": 1331166585282
+   }
+ ],
+ "timestamp": 1331166585018,
+ "duration": 919,
+ "organization": "my-org",
+ "applicationName": "my-app"
+}</code></pre>
+<p>You can also create application-specific event properties in addition to these predefined properties. The system-defined properties are reserved. You cannot use these names to create other properties for an event entity. In addition the events name is reserved for the events collection — you can’t use it to name another collection.</p>
+<p>The System-defined properties are as follows:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Event’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">String</td>
+<td align="left">“event”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">timestamp</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of application event (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">user</td>
+<td align="left">UUID</td>
+<td align="left">UUID of application user that posted the event</td>
+</tr>
+<tr class="odd">
+<td align="left">group</td>
+<td align="left">UUID</td>
+<td align="left">UUID of application group that posted the event</td>
+</tr>
+<tr class="even">
+<td align="left">category</td>
+<td align="left">string</td>
+<td align="left">Category used for organizing similar events</td>
+</tr>
+<tr class="odd">
+<td align="left">counters</td>
+<td align="left">map</td>
+<td align="left">Counter used for tracking number of similar events</td>
+</tr>
+<tr class="even">
+<td align="left">message</td>
+<td align="left">string</td>
+<td align="left">Message describing event</td>
+</tr>
+</tbody>
+</table>
+<h3 id="categorizing-events">Categorizing events</h3>
+<p>As mentioned previously, you can link an event to a user or a group using a standard <a href="/docs/relationships">Relationship</a>. This enables you to categorize and qualify event data for use in tracking and analysis. For example, linking events to users and groups, enables you to track how often people use a feature. Not only can you determine the total number of users that used the feature, but also which groups contain users that made the most use of the feature. Or, you could provide a location with the event, so you could see how often a feature was used by people in San Francisco versus Los Angeles.</p>
+<h2 id="counters">Counters</h2>
+<p>User-defined counters are used in conjunction with events to keep statistics on many aspects of an application. User-defined counters are JSON objects that are added to events when they are posted. The act of posting an event increments the counter. Once created, user-defined counters can be used to get reports.</p>
+<p><strong>Note:</strong> It may take up to 30 seconds for a counter to be updated.</p>
+<h3 id="user-defined-counters">User-Defined Counters</h3>
+<p>With Apache Usergrid, you can define your own counters. Some of the things that you might track with a user-defined counter are:</p>
+<ul>
+<li>How many times people click on the help button in your application.</li>
+<li>How many times your game is played each day.</li>
+<li>How many times your banner ads are clicked each day.</li>
+</ul>
+<p>You can choose any name for a user-defined counter. For example, the counter for the help button might be named “help_button” or “help_button_clicks”.</p>
+<p>To create a user-defined counter, you post to the events collection and specify the name and increment value of the counter in the request body. The increment value is the value that the counter is incremented by for each tracked event. An increment value of 1, means that the counter is increment by 1 for each tracked event. You could also specify a higher increment value, such as 15, which would increment the value by that number, or a negative number, which would decrement the value.  You can also reset the value of the counter, by specifying an increment value of 0.</p>
+<p>When a counter is incremented by an event, there will be a 20-30 second delay between when the event is posted and when the counter is incremented. </p>
+<p>As an example, here’s how to create a user-defined counter named “button_clicks” with an increment value of 1:</p>
+<pre><code>POST https://api.usergrid.com/my-org/my-app/events {"counters" : {"button_clicks" : 1},"timestamp" : "0"}</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+   "action": "post",
+   "path": "/events",
+   "uri": "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/events",
+   "entities": [
+       {
+           "uuid": "39d41c46-d8e4-11e0-bcc1-12313f0204bb",
+           "type": "event",
+           "timestamp": 1315353555546016,
+           "category":"advertising",
+           "counters": {
+               "button_clicks": 1
+           },
+           "created": 1315353555546016,
+           "modified": 1315353555546016,
+           "metadata": {
+           "path": "/events/39d41c46-d8e4-11e0-bcc1-12313f0204bb"
+           }
+       }
+   ],
+   "timestamp": 1315353555537,
+   "duration": 110,
+   "organization": "my-org",
+   "applicationName": "my-app"
+}</code></pre>
+<h3 id="counter-hierarchy">Counter hierarchy</h3>
+<p>Counters are hierarchical in their structure and in the way they are incremented. Each level of the hierarchy is separated by the dot “.” operator. The hierarchical structure can be useful if you want to store or view statistics in a hierarchical way. For example, suppose you want to log errors that your app generates. One way to do this, is to fire an event every time an error occurs, by creating a counter called “errors”. However, you can get more detail by adding additional parameters to the counter. Imagine that you want to track errors in a specific module and function within that module, say module_1, function_1, you could use a counter like this:</p>
+<pre><code>errors.module_1.function_1</code></pre>
+<p>And then for a different function in the same module:</p>
+<pre><code>errors.module_1.function_2</code></pre>
+<p>And then for a different function in a different module:</p>
+<pre><code>errors.module_2.function_3</code></pre>
+<p>If each of the preceding examples were called once, the resulting values would be:</p>
+<pre><code>errors = 3
+errors.module_1 = 2
+errors.module_1.function_1 = 1
+errors.module_1.function_2 = 1
+errors.module_2 = 1
+errors.module_2.function_3 = 1</code></pre>
+<p>This tells you that there were 3 errors in the application, with 2 of those errors in module_1. You can then drill down further to see errors in specific functions.</p>
+<h3 id="using-counters-in-time-series-queries">Using counters in time series queries</h3>
+<p>Knowing the value of a counter is useful. However, you often need to know how the value varies over time. Fortunately, the API provides a method for you to view this data over any time interval or level of granularity.</p>
+<p>For example, let’s say you’re incrementing a counter every time someone launches your application. You might be interested in which days of the week the application sees the most usage. Using the API, you can examine the counter over a set of weeks, with the data split into daily intervals. Using this information, you can see which are your peak days of usage. You can also view usage across a single day, so you can see if your application is used more in the mornings or the evenings. For business reporting, you may be more interested in monthly reporting.</p>
+<p>Note that the system is able to provide you with the report data as you need it. The data is maintained in real-time so it can be viewed instantly.</p>
+<h3 id="retrieving-counter-data">Retrieving counter data</h3>
+<p>To retrieve counter data, you issue a GET request to the /counters endpoint. This is a special, built-in collection that gives you access to all the counters currently in the system. The API also provides a number of parameters that you can use to search for counter data, as follows:</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">start_time</td>
+<td align="left">An <a href="http://en.wikipedia.org/wiki/Unix_time">Epoch(Unix)</a> timestamp in milliseconds</td>
+<td align="left">The beginning of the time period to search</td>
+</tr>
+<tr class="even">
+<td align="left">end_time</td>
+<td align="left">An <a href="http://en.wikipedia.org/wiki/Unix_time">Epoch(Unix)</a> timestamp in milliseconds</td>
+<td align="left">The end of the time period to search</td>
+</tr>
+<tr class="odd">
+<td align="left">counter</td>
+<td align="left">string</td>
+<td align="left">The name of a specific counter to search. You can specify more than one counter in a query (for example, counter=counter1&amp;counter=counter2…)</td>
+</tr>
+<tr class="even">
+<td align="left">resolution</td>
+<td align="left">string</td>
+<td align="left">The interval at which counters are displayed. For example, if the interval is day, and the start time and end time values span 4 days, you will get aggregate counts for each of the 4 days. Possible values are all, minute, five_minutes, half_hour, hour, six_day, day, week, and month.</td>
+</tr>
+</tbody>
+</table>
+<p>For example, to retrieve a time range of values, with a granularity of “day”, for a counter called “button_clicks”, the GET request would look like this:</p>
+<pre><code>GET /my-org/my-app/counters?start_time=1315119600000&amp;end_time=1315724400000&amp;resolution=day&amp;counter=button_clicks</code></pre>
+<p>The response body would look something like this:</p>
+<pre><code>{
+ action: "get",
+    uri: "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/counters",
+    timestamp: 1315354369272,
+    duration: 28,
+    counters: [
+        {
+            name: "button_clicks",
+            values: [
+                {
+                    value: 2
+                    timestamp: 1315180800000
+                },
+                {
+                    value: 1
+                    timestamp: 1315267200000
+                },
+                {
+                    value: 1
+                    timestamp: 1315353600000
+                }
+            ]
+        }
+    ]
+}</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/events-and-counters.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[20/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/assets/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/assets/index.html b/content/publish/docs/assets/index.html
new file mode 100644
index 0000000..1f7f16a
--- /dev/null
+++ b/content/publish/docs/assets/index.html
@@ -0,0 +1,319 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Assets</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Assets</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/assets.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	
+</div>
+<p>Asset entities are used primarily in Apache Usergrid to manage binary data objects such as images, video, and audio content. However, an asset does not have to be used for a binary object. For example, assets can be used to model a file system.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Asset’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“asset”</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">Asset name (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="odd">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="even">
+<td align="left">owner</td>
+<td align="left">UUID</td>
+<td align="left">UUID of the asset’s owner (mandatory)</td>
+</tr>
+<tr class="odd">
+<td align="left">path</td>
+<td align="left">string</td>
+<td align="left">Relative path to the asset (mandatory)</td>
+</tr>
+<tr class="even">
+<td align="left">content-type</td>
+<td align="left">string</td>
+<td align="left">Content type of the asset (for example, “image/jpeg”)</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/assets.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/authenticating-users-and-application-clients/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/authenticating-users-and-application-clients/index.html b/content/publish/docs/authenticating-users-and-application-clients/index.html
new file mode 100644
index 0000000..26deb0e
--- /dev/null
+++ b/content/publish/docs/authenticating-users-and-application-clients/index.html
@@ -0,0 +1,439 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Authenticating users and application clients</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Authenticating users and application clients</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/authenticating-users-and-application-clients.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#authenticating-users-and-application-clients">Authenticating users and application clients</a><ul>
+<li><a href="#authentication-levels">Authentication levels</a></li>
+<li>
+<a href="#adding-code-to-support-authentication">Adding code to support authentication</a><ul>
+<li><a href="#using-an-access-token">Using an access token</a></li>
+<li><a href="#authenticating-asapplication-user">Authenticating as Application User</a></li>
+<li><a href="#authenticating-asapplication">Authenticating as Application</a></li>
+<li><a href="#authenticating-asadmin-user">Authenticating as Admin User</a></li>
+<li><a href="#authenticating-asorganization">Authenticating as Organization</a></li>
+</ul>
+</li>
+<li>
+<a href="#authentication-token-time-to-live">Authentication token time to live</a><ul>
+<li><a href="#changing-the-default-time-to-live">Changing the default time-to-live</a></li>
+<li><a href="#changing-token-time-to-live">Changing token time-to-live</a></li>
+</ul>
+</li>
+<li><a href="#revoking-authentication-tokens">Revoking authentication tokens</a></li>
+<li><a href="#safe-mobile-access">Safe mobile access</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="authenticating-users-and-application-clients">Authenticating users and application clients</h1>
+<p>To protect your Apache Usergrid application data, one of the steps you’ll take is to authenticate your app’s users. By ensuring that they are who they say they are, you can help ensure that your application’s data is available in secure ways. After you’ve created permission rules that define access to your application and have associated these rules with users, you’ll want to add code that authenticates your user, as described in this topic.</p>
+<p><strong>Note: </strong>You manage access to your application’s data by creating permission rules that govern which users can do what. Users authenticated as Application User have access according to these rules. For more about managing permissions, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</p>
+<h2 id="authentication-levels">Authentication levels</h2>
+<p>Apache Usergrid supports four levels of authentication, but only one of them is used when checking a registered user’s permissions. The other three levels are useful for authenticating other web applications that want to access to your Apache Usergrid application. Because the scope of access that the other authentication levels provide is so broad (and as a result, so powerful), it’s a bad practice to use them from a mobile app. Instead, they’re better suited to other client apps, such as web applications.</p>
+<p>The following table describes each of the authentication levels. Note that only one of these is configurable using the admin portal. The others are independent of Application User level access, which is governed by permission rules you define (usually with the admin portal). In contrast, the level of acces provided by the others is only as described in the notes.</p>
+<table>
+<col width="25%">
+<col width="25%">
+<col width="25%">
+<col width="25%">
+<thead>
+<tr class="header">
+<th align="left">Authentication Level</th>
+<th align="left">Description</th>
+<th align="left">Permissions Configurable in Admin Portal</th>
+<th align="left">Notes</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>Application User</p></td>
+<td align="left"><p>Allows access to your Apache Usergrid application as governed by the permission rules you create and associated with users and user groups.</p></td>
+<td align="left"><p>Yes |</p></td>
+<td align="left">
+<p>You allow specific | access to application resources by creating permission rules, then associating these rules with users. Typically, you’ll begin by creating roles, then create permission rules for the roles, then associate the roles with users (or groups of users).</p>
+<p>Each Application User is represented by a User entity in your Apache Usergrid application. (For more about the User entity, see <a href="/user">User</a>.)</p>
+<p>For more about roles and permissions, see <a href="/managing-a%20ccess-defining-per%20mission-rules">Managing access by defining permission rules</a>. For a look at how security features fit together, see <a href="/app-sec%20urity-overview">App Security Overview</a>.</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>Application</p></td>
+<td align="left"><p>Allows full access to perform any operation on an Apache Usergrid application account (but not other applications within the same organization). Should not be used from a mobile client.</p></td>
+<td align="left">
+<p>No</p>
+<p>|</p>
+</td>
+<td align="left">
+<p>Authentication at this level is useful in a | server-side application (not a mobile app) that needs access to resources through the Apache Usergrid API.</p>
+<p>Imagine that you created a web site that lists every hiking trail in the Rocky Mountains. Anyone can go to the web site and view the content. However, you don’t want anyone to have access to the App Services API, where all the data is stored. But you do want to give your web server access so that it can generate the pages to serve to the website’s visitors.</p>
+<p><strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobi%20le">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+</td>
+</tr>
+<tr class="odd">
+<td align="left"><p>Admin User</p></td>
+<td align="left"><p>Allows full access to perform any operation on all organization accounts of which the admin user is a member. Should not be used from a mobile client.</p></td>
+<td align="left"><p>No</p></td>
+<td align="left">
+<p>This authentication level is useful from applications that provide organization-wide administration features. For example, the App Services admin portal uses this level of access because it requires full access to the administration features.</p>
+<p>Unless you have a specific need for administrative features, such as to run test scripts that require access to management functionality, you should not use the admin user authentication level.</p>
+<p><strong>Note:</strong> Currently, organization and admin user access are effectively the same. Eventually, the admin user level will be a configurable subset of the organization level of access. <strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobi%20le">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>Organization</p></td>
+<td align="left"><p>Full access to perform any operation on an Apache Usergrid organization. Should not be used from a mobile client.</p></td>
+<td align="left">
+<p>No</p>
+<p>|</p>
+</td>
+<td align="left">
+<p>Providing the greatest amount of access, this | authentication level lets a client perform any operation on an Apache Usergrid organization. This level of access should be used sparingly and carefully.</p>
+<p><strong>Note:</strong> Currently, organization and admin user access are effectively the same. Eventually, the admin user level will be a configurable subset of the organization level of access. <strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobi%20le">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+</td>
+</tr>
+</tbody>
+</table>
+<h2 id="adding-code-to-support-authentication">Adding code to support authentication</h2>
+<h3 id="using-an-access-token">Using an access token</h3>
+<p>When you obtain an access token, you must provide it with every subsequent API call that you make. There are two ways to provide your access token.</p>
+<ul>
+<li><p>You can add the token to the API query string:<br><br> https://api.usergrid.com/{org-name}/{app-name}/users?access_token={access_token}</p></li>
+<li><p>You can include the token in an HTTP authorization header:<br><br> Authorization: Bearer {access_token}</p></li>
+</ul>
+<p><strong>Note:</strong> The App services documentation assumes you are providing a valid access token with every API call whether or not it is shown explicitly in the examples. Unless the documentation specifically says that you can access an API endpoint without an access token, you should assume that you must provide it. One application that does not require an access token is the sandbox application. The Guest role has been given full permissions (/** for GET, POST, PUT, and DELETE) for this application. This eliminates the need for a token when making application level calls to the sandbox app. For further information on specifying permissions, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</p>
+<h3 id="authenticating-asapplication-user">Authenticating as Application User</h3>
+<p>Using the username and password values specified when the user entity was created, your app can connect to the Apache Usergrid application endpoint to request an access token. (Note that it’s also possible to use the user’s email address in place of the username.) Here is an example in cURL format of a request for application user access:</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token" -d '{"grant_type":"password","username":"john.doe","password":"testpw"}'</code></pre>
+<p>The results include the access token needed to make subsequent API requests on behalf of the application user:</p>
+<pre><code>{
+"access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+"expires_in": 3600,
+"user": {
+...
+}
+}
+    </code></pre>
+<h3 id="authenticating-asapplication">Authenticating as Application</h3>
+<p>Using your app’s client id and client secret values, your app can connect to the Apache Usergrid application endpoint to request an access token. Here is an example in cURL format of a request for application access:</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'</code></pre>
+<p>The results include the access token needed to make subsequent API requests on behalf of the application:</p>
+<pre><code>{
+"access_token": "F8zeMOlcEeCUBwBQVsAACA:YXA6AAABMq0d4Mep_UgbZA0-sOJRe5yWlkq7JrDCkA",
+"expires_in": 3600,
+"application": {
+...  
+}
+}
+    </code></pre>
+<p><strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobile">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+<h3 id="authenticating-asadmin-user">Authenticating as Admin User</h3>
+<p>If you do require admin user access, your app can connect to the App Services management endpoint to request an access token. Your app supplies the username and password of an admin user in the request. Here is an example in cURL format of a request for admin user access:</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token"  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'</code></pre>
+<p>The results include the access token needed to make subsequent API requests on behalf of the admin user:</p>
+<pre><code>{
+"access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+"expires_in": 3600,
+"user": {
+...
+}
+}
+    </code></pre>
+<p><strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobile">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+<h3 id="authenticating-asorganization">Authenticating as Organization</h3>
+<p>If you do require organization level access, your app can connect to the Apache Usergrid management endpoint to request an access token. Access to an organization requires the client id and client secret credentials. Here is an example in cURL format of a request for organization access:</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'</code></pre>
+<p>The results include the access token needed to make subsequent API requests to the organization:</p>
+<pre><code>{
+"access_token": "gAuFEOlXEeCfRgBQVsAACA:b3U6AAABMqz-Cn0wtDxxkxmQLgZvTMubcP20FulCZQ",
+"expires_in": 3600,
+"organization": {
+...
+}
+}
+    </code></pre>
+<p><strong>Warning:</strong> You should never authenticate this way from a client-side app such as a mobile app. A hacker could analyze your app and extract the credentials for malicious use even if those credentials are compiled and in binary format. See <a href="#safe_mobile">Safe mobile access</a> for additional considerations in keeping access to your app and its data secure.</p>
+<h2 id="authentication-token-time-to-live">Authentication token time to live</h2>
+<p>An access token has a “time-to-live”, which is the maximum time that the access token will be valid for use within the application, specified in milliseconds. By default, all tokens have a system-defined time-to-live of 24 hours.</p>
+<h3 id="changing-the-default-time-to-live">Changing the default time-to-live</h3>
+<p>You can change the default time-to-live for all application tokens by updating the Application entity’s accesstokenttl property. </p>
+<p>For example, the following updates an application entity to have a default time-to-live value of 1800000 miliseconds (30 minutes) for all tokens:</p>
+<pre><code>curl -X PUT -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app" -d '{"accesstokenttl":"1800000"}'</code></pre>
+<h3 id="changing-token-time-to-live">Changing token time-to-live</h3>
+<p>When you request an access token, you can override its time-to-live by including a ttl parameter in the request.</p>
+<p>The ttl value must be equal to or less than the value of the accesstokenttl property. If you specify a ttl value greater than the value of accesstokenttl, an error message is returned that indicates the maximum time to live value that can be specified.</p>
+<p><strong>Note: </strong>If you set ttl=0, the token will never expire. This can pose a security risk and should be used with caution.</p>
+<p>For example, the following sets a time to live value of 1800000 miliseconds (30 minutes) for an admin user:</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/management/token?ttl=1800000" -d '{"grant_type":"client_credentials","client_id":"YXB7NAD7EM0MEeJ989xIxPRxEkQ","client_secret":"YXB7NAUtV9krhhMr8YCw0QbOZH2pxEf"}'</code></pre>
+<p>The following sets the same time to live value for an application user.</p>
+<pre><code>curl -X POST -i -H "Content-Type: application/json" "https://api.usergrid.com/my-org/my-app/token?ttl=1800000" -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'</code></pre>
+<h2 id="revoking-authentication-tokens">Revoking authentication tokens</h2>
+<p>Under certain circumstances, you may need to explicitly revoke a user’s access token, such as when a user logs out. To revoke a specific authentication token, send the following <code>PUT</code> request:</p>
+<pre><code>curl -X PUT https://api.usergrid.com/&lt;org_name&gt;/&lt;app_name&gt;/users/&lt;user_uuid_or_username&gt;/revoketokens?token="&lt;token&gt;"</code></pre>
+<p>If the token is successfully revoked, you will receive the following response from the API:</p>
+<pre><code>{
+  "action" : "revoked user token",
+  "timestamp" : 1382050891455,
+  "duration" : 24
+}</code></pre>
+<h2 id="safe-mobile-access">Safe mobile access</h2>
+<p>For mobile access, it is recommended that you connect as an application user with configured access control policies. Mobile applications are inherently untrusted because they can be easily examined and even decompiled.</p>
+<p>Any credentials stored in a mobile app should be considered secure only to the Application User level. This means that if you don’t want the user to be able to access or delete data in your Apache Usergrid application, you need to make sure that you don’t enable that capability through roles or permissions. Because most web applications talk to the database using some elevated level of permissions, such as root, it’s generally a good idea for mobile applications to connect with a more restricted set of permissions. For more information on restricting access through permission rules, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/authenticating-users-and-application-clients.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/authentication-and-access-app-services-0/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/authentication-and-access-app-services-0/index.html b/content/publish/docs/authentication-and-access-app-services-0/index.html
new file mode 100644
index 0000000..d802138
--- /dev/null
+++ b/content/publish/docs/authentication-and-access-app-services-0/index.html
@@ -0,0 +1,432 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Authentication and access in App services</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Authentication and access in App services</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/authentication-and-access-app-services-0.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#authentication-and-access-in-app-services">Authentication and access in App services</a><ul>
+<li>
+<a href="#access-types">Access types</a><ul>
+<li><a href="#organizations">Organizations</a></li>
+<li><a href="#admin-users">Admin users</a></li>
+</ul>
+</li>
+<li><a href="#applications">Applications</a></li>
+<li><a href="#application-users">Application users</a></li>
+<li><a href="#using-an-access-token">Using an access token</a></li>
+<li><a href="#safe-mobile-access">Safe mobile access</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="authentication-and-access-in-app-services">Authentication and access in App services</h1>
+<p>App services requests are authenticated via OAuth (Open Authorization) 2.0. OAuth is an authentication mechanism that allows users to grant access to their web resources or mobile apps safely, without having to share their passwords. The analogy of a valet key is sometimes used to describe OAuth, because users can permit general access, but limit access rights to perform certain operations. Instead of an app user having to share a password, OAuth enables access using a security token tied specifically to an app and device.</p>
+<p>Unlike OAuth 1.0, which requires special support in the client code for signing requests, OAuth 2.0 can be used by any web service client libraries. Although the OAuth 2.0 specification isn’t finalized yet, it is sufficiently complete so that many web service providers, including Google and Facebook, are now using it for authentication. More information about OAuth 2.0 is available at <a href="http://oauth.net/2/">oauth.net</a>.</p>
+<h2 id="access-types">Access types</h2>
+<p>App services take advantage of standard OAuth 2.0 mechanisms that require an access token with data operation requests. To obtain the access token, you connect to an appropriate web service endpoint and provide the correct client credentials. The credentials required to get the token depend on the type of access you need.</p>
+<p>There are four access types.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Access Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">Organization</td>
+<td align="left">Full access to perform any operation on a App services organization account</td>
+</tr>
+<tr class="even">
+<td align="left">Admin User</td>
+<td align="left">Full access to perform any operation on all organization accounts of which the admin user is a member</td>
+</tr>
+<tr class="odd">
+<td align="left">Application</td>
+<td align="left">Full access to perform any operation on a App services application account</td>
+</tr>
+<tr class="even">
+<td align="left">Application User</td>
+<td align="left">Policy-limited access to perform operations on a App services application account</td>
+</tr>
+</tbody>
+</table>
+<p>The <em>Organization</em> and <em>Application</em> access types are intended for server-side applications because they are “superuser” access mechanisms with few constraints on what they are permitted to do. When connecting via OAuth, you supply organization or application client ID and client secret parameters as client credentials. The Home page of the developer portal shows these parameters for the organization, while the Settings page displays them for the currently selected app.</p>
+<p>The <em>Admin User</em> and <em>Application User</em> access types are appropriate for connections on behalf of a known user account, such as an admin user who is a member of several organizations and has management rights to several apps, or an application user authorized for an application. When connecting via OAuth on behalf of a known user, you supply username and password parameters as client credentials.</p>
+<p>Each access type is discussed below, along with information on supplying an access token in an API request.</p>
+<h3 id="organizations">Organizations</h3>
+<p>When you sign up for the App services developer portal, you create an organization account in addition to your personal admin user account. Access to a single organization requires client ID and client secret credentials (or an admin user can supply username and password credentials, as shown in the next section).</p>
+<p>As an example of accessing an organization, you can obtain your client ID and client secret values from the developer portal and connect to the following URL (substituting the correct values for &lt;client_id&gt; and &lt;client_secret&gt;):</p>
+<pre><code>https://api.usergrid.com/management/token?grant_type=client_credentials&amp;client_id=&lt;client_id&gt;&amp;client_secret=&lt;client_secret&gt;</code></pre>
+<p>The results show the access token needed to make subsequent API requests, as well as additional information about the organization:</p>
+<pre><code>{
+  "access_token": "gAuFEOlXEeCfRgBQVsAACA:b3U6AAABMqz-Cn0wtDxxkxmQLgZvTMubcP20FulCZQ",
+  "expires_in": 3600,
+  "organization": {
+    "users": {
+      "test": {
+        "name": "Test User",
+        "disabled": false,
+        "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+        "activated": true,
+        "username": "test",
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "email": "test@usergrid.com",
+        "adminUser": true,
+        "mailTo": "Test User &lt;test@usergrid.com&gt;"
+      }
+    },
+    "name": "test-organization",
+    "applications": {
+      "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+    },
+    "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+  }
+}</code></pre>
+<h3 id="admin-users">Admin users</h3>
+<p><em>Admin Users</em> are users of the Usergrid.com service as well as members of one or more organizations. In turn, an organization can have one or more admin users. Currently all admin users in an organization have full access permissions after they authenticate using their basic username and password credentials. In a subsequent release, App services will support a more fine-grained, delegated administration model in which access rights for admin users are configurable.</p>
+<p>As an example. to authenticate as an admin user, use the username and password values specified when you created your admin user account and connect to the following URL (substituting the correct values for &lt;username&gt; and &lt;password&gt;):</p>
+<pre><code>https://api.usergrid.com/management/token?grant_type=password&amp;username=&lt;username&gt;&amp;password=&lt;password&gt;</code></pre>
+<p>In these results, note the access token needed to make subsequent API requests on behalf of the admin user:</p>
+<pre><code>{
+  "access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+  "expires_in": 3600,
+  "user": {
+    "username": "test",
+    "email": "test@usergrid.com",
+    "organizations": {
+      "test-organization": {
+        "users": {
+          "test": {
+            "name": "Test User",
+            "disabled": false,
+            "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+            "activated": true,
+            "username": "test",
+            "applicationId": "00000000-0000-0000-0000-000000000001",
+            "email": "test@usergrid.com",
+            "adminUser": true,
+            "mailTo": "Test User &lt;test@usergrid.com&gt;"
+          }
+        },
+        "name": "test-organization",
+        "applications": {
+          "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+        },
+        "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+      }
+    },
+    "adminUser": true,
+    "activated": true,
+    "name": "Test User",
+    "mailTo": "Test User &lt;test@usergrid.com&gt;",
+    "applicationId": "00000000-0000-0000-0000-000000000001",
+    "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+    "disabled": false
+  }
+}</code></pre>
+<h2 id="applications">Applications</h2>
+<p>Users can access applications in three ways:</p>
+<ul>
+<li>With application client ID and client secret credentials</li>
+<li>With the client ID and client secret credentials of the organization that owns the application</li>
+<li>With username and password credentials of an admin user associated with the application’s organization</li>
+</ul>
+<p>Using your client ID and client secret values (obtained from the Application Settings section of the developer portal), you can connect to the following URL (substituting the correct values for &lt;org-name&gt;,&lt;app-name&gt;, &lt;client_id&gt;, and &lt;client_secret&gt;):</p>
+<pre><code>https://api.usergrid.com/&lt;org-name&gt;/&lt;app-name&gt;/token?grant_type=client_credentials&amp;client_id=&lt;client_id&gt;&amp;client_secret=&lt;client_secret&gt;</code></pre>
+<p>The results show the access token needed to make subsequent API requests on behalf of the application:</p>
+<pre><code>{
+  "access_token": "F8zeMOlcEeCUBwBQVsAACA:YXA6AAABMq0d4Mep_UgbZA0-sOJRe5yWlkq7JrDCkA",
+  "expires_in": 3600,
+  "application": {
+    "name": "test-app",
+    "id": "17ccde30-e95c-11e0-9407-005056c00008"
+  }
+}</code></pre>
+<h2 id="application-users">Application users</h2>
+<p><em>Application Users</em> are members of the “users” collection within an application. They are the actual users of an app and their data is stored separately from any other app in App services.</p>
+<p>Application users can authenticate with either basic username/password credentials or OAuth client ID and client secret credentials. When authenticated, these users can access App services entities depending on their assigned permissions, their roles, and the permissions assigned to those roles.</p>
+<p>Using the username and password values specified when the application user was created, you can connect to the following URL (substituting the correct values for &lt;org-name&gt;,&lt;app-name&gt;, &lt;username&gt;, and &lt;password&gt;):</p>
+<pre><code>https://api.usergrid.com/management/&lt;org-name&gt;/&lt;app-name&gt;/token?grant_type=password&amp;username=&lt;username&gt;&amp;password=&lt;password&gt;</code></pre>
+<p>The results show the access token needed to make subsequent API requests on behalf of the application user:</p>
+<pre><code>{
+  "access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+  "expires_in": 3600,
+  "user": {
+    "uuid": "e70b8677-e95c-11e0-9407-005056c00008",
+    "type": "user",
+    "username": "edanuff",
+    "email": "ed@anuff.com",
+    "activated": true,
+    "created": 1317164604367013,
+    "modified": 1317164604367013
+  }
+}</code></pre>
+<h2 id="using-an-access-token">Using an access token</h2>
+<p>When you obtain an access token, you must provide it with every subsequent API call that you make. There are two ways to provide your access token.</p>
+<ul>
+<li><p>You can add the token to the API querystring:<br><br> https://api.usergrid.com/<org-name>/<app-name>/users?access_token=<access_token></access_token></app-name></org-name></p></li>
+<li><p>You can include the token in an HTTP authorization header:<br><br> Authorization: Bearer <access_token></access_token></p></li>
+</ul>
+<p><strong>Note:</strong> The App services documentation assumes you are providing a valid access token with every API call whether or not it is shown explicitly in the examples. Unless the documentation specifically says that you can access an API endpoint without an access token, you should assume that you must provide it.</p>
+<h2 id="safe-mobile-access">Safe mobile access</h2>
+<p>For mobile access, it is recommended that you connect as an application user with configured access control policies. Mobile applications are inherently untrusted because they can be easily examined and even decompiled.</p>
+<p>Any credentials stored in a mobile app should be considered secure only to the level of the application user. This means that if you don’t want the user to be able to access or delete data in your App services application, you need to make sure that you don’t enable that capability via roles or permissions. Because most web applications talk to the database using some elevated level of permissions, such as root, it’s generally a good idea for mobile applications to connect with a more restricted set of permissions. For more information, see <a href="/managing-access-defining-permission-rules">Managing access by defining permission rules</a>.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/authentication-and-access-app-services-0.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[34/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/font/fontawesome-webfont-svg.svg
----------------------------------------------------------------------
diff --git a/content/content/font/fontawesome-webfont-svg.svg b/content/content/font/fontawesome-webfont-svg.svg
new file mode 100755
index 0000000..2edb4ec
--- /dev/null
+++ b/content/content/font/fontawesome-webfont-svg.svg
@@ -0,0 +1,399 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata></metadata>
+<defs>
+<font id="fontawesomeregular" horiz-adv-x="1536" >
+<font-face units-per-em="1792" ascent="1536" descent="-256" />
+<missing-glyph horiz-adv-x="448" />
+<glyph unicode=" "  horiz-adv-x="448" />
+<glyph unicode="&#x09;" horiz-adv-x="448" />
+<glyph unicode="&#xa0;" horiz-adv-x="448" />
+<glyph unicode="&#xa8;" horiz-adv-x="1792" />
+<glyph unicode="&#xa9;" horiz-adv-x="1792" />
+<glyph unicode="&#xae;" horiz-adv-x="1792" />
+<glyph unicode="&#xb4;" horiz-adv-x="1792" />
+<glyph unicode="&#xc6;" horiz-adv-x="1792" />
+<glyph unicode="&#x2000;" horiz-adv-x="768" />
+<glyph unicode="&#x2001;" />
+<glyph unicode="&#x2002;" horiz-adv-x="768" />
+<glyph unicode="&#x2003;" />
+<glyph unicode="&#x2004;" horiz-adv-x="512" />
+<glyph unicode="&#x2005;" horiz-adv-x="384" />
+<glyph unicode="&#x2006;" horiz-adv-x="256" />
+<glyph unicode="&#x2007;" horiz-adv-x="256" />
+<glyph unicode="&#x2008;" horiz-adv-x="192" />
+<glyph unicode="&#x2009;" horiz-adv-x="307" />
+<glyph unicode="&#x200a;" horiz-adv-x="85" />
+<glyph unicode="&#x202f;" horiz-adv-x="307" />
+<glyph unicode="&#x205f;" horiz-adv-x="384" />
+<glyph unicode="&#x2122;" horiz-adv-x="1792" />
+<glyph unicode="&#x221e;" horiz-adv-x="1792" />
+<glyph unicode="&#x2260;" horiz-adv-x="1792" />
+<glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
+<glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
+<glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
+<glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
+<glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
+<glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
+<glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
+<glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
+<glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t1
 9 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
+<glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
+<glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28
 t28 -68z" />
+<glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
+<glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
+<glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
+<glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
+<glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
+<glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
+<glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
+<glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
+<glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
+<glyph unicode="&#xf016;" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " />
+<glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
+<glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
+<glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
+<glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
+<glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
+<glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -1
 13 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
+<glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
+<glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
+<glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
+<glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
+<glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
+<glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
+<glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
+<glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
+<glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
+<glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
+<glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
+<glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
+<glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" />
+<glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" />
+<glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" />
+<glyph unicode="&#xf034;" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" />
+<glyph unicode="&#xf035;" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" />
+<glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t
 -22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
+<glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
+<glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
+<glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
+<glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
+<glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
+<glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
+<glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
+<glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
+<glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
+<glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
+<glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
+<glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
+<glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
+<glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
+<glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
+<glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
+<glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
+<glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
+<glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
+<glyph unicode="&#xf053;" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" />
+<glyph unicode="&#xf054;" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" />
+<glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
+<glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
+<glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
+<glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
+<glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
+<glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
+<glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
+<glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
+<glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
+<glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
+<glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
+<glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
+<glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
+<glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
+<glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
+<glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
+<glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
+<glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
+<glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
+<glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
+<glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf077;" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" />
+<glyph unicode="&#xf078;" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
+<glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
+<glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
+<glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
+<glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
+<glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
+<glyph unicode="&#xf080;" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
+<glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf082;" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
+<glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
+<glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 
 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
+<glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
+<glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
+<glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
+<glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
+<glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
+<glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
+<glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
+<glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
+<glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
+<glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 
 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
+<glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
+<glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
+<glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
+<glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
+<glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
+<glyph unicode="&#xf09a;" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" />
+<glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
+<glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
+<glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
+<glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
+<glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
+<glyph unicode="&#xf0a2;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
+<glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
+<glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
+<glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
+<glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
+<glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
+<glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
+<glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17
 t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-1
 5 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q
 -15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
+<glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -

<TRUNCATED>
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/font/fontawesome-webfont-ttf.ttf
----------------------------------------------------------------------
diff --git a/content/content/font/fontawesome-webfont-ttf.ttf b/content/content/font/fontawesome-webfont-ttf.ttf
new file mode 100755
index 0000000..d365924
Binary files /dev/null and b/content/content/font/fontawesome-webfont-ttf.ttf differ


[37/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/updating-collections.md
----------------------------------------------------------------------
diff --git a/content/content/docs/updating-collections.md b/content/content/docs/updating-collections.md
new file mode 100644
index 0000000..50a1ecb
--- /dev/null
+++ b/content/content/docs/updating-collections.md
@@ -0,0 +1,436 @@
+---
+title: Updating Collections
+category: docs
+layout: docs
+---
+
+Updating Collections
+====================
+
+This article describes how to perform batch updates on all entities in a
+collection. Batch updates require the use of a query string in the
+request, which can either specify all entities in the collection or a
+subset of entities for the update to be performed on. For more
+information on queries, see [Basic query syntax](/basic-query-syntax).
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Batch updating entities in a collection
+---------------------------------------
+
+-   [cURL](#curl_update_collection)
+-   [iOS](#ios_update_collection)
+-   [Android](#android_update_collection)
+-   [JavaScript (HTML5)](#javascript_update_collection)
+-   [Ruby](#ruby_update_collection)
+-   [Node.js](#nodejs_update_collection)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X PUT https://api.usergrid.com/your-org/your-app/items/?ql= -d '{"availability":"in-stock"}'
+
+Note the empty `?ql=` query string.
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "31847b9a-1a62-11e3-be04-8d05e96f700d",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "availability" : "in-stock"
+        "created" : 1378849479113,
+        "modified" : 1378849567301,
+        "name" : "milk",
+      }, {
+        "uuid" : "3192ac6a-1a62-11e3-a24f-496ca1d42ce7",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "availability" : "in-stock"
+        "created" : 1378849479206,
+        "modified" : 1378849567351,
+        "name" : "bread",
+      } ],
+      "timestamp" : 1378849567280,
+      "duration" : 207,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X PUT https://api.usergrid.com/<org>/<app>/<collection>/?ql= -d {<property>}
+
+Note the empty query string (ql=) appended to the URL.
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| org                                  | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| app                                  | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| collection                           | Collection UUID or collection name   |
++--------------------------------------+--------------------------------------+
+| property                             | An entity property to be updated,    |
+|                                      | formatted as a key-value pair. For   |
+|                                      | example:                             |
+|                                      |                                      |
+|                                      |     {"property_1":"value_1", "proper |
+|                                      | ty_2":"value_2",...}                 |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)updateCollection {
+
+        NSString *url = @"https://api.usergrid.com/your-org/your-app/items/?ql";
+        NSString *op = @"PUT";
+        NSString *opData = @"{\"availability\":\"in-stock\"}"; //we escape the quotes
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient apiRequest: url operation: op data: opData];
+        
+        @try {
+            //success
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+
+    }
+                    
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "31847b9a-1a62-11e3-be04-8d05e96f700d",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "availability" : "in-stock"
+        "created" : 1378849479113,
+        "modified" : 1378849567301,
+        "name" : "milk",
+      }, {
+        "uuid" : "3192ac6a-1a62-11e3-a24f-496ca1d42ce7",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "availability" : "in-stock"
+        "created" : 1378849479206,
+        "modified" : 1378849567351,
+        "name" : "bread",
+      } ],
+      "timestamp" : 1378849567280,
+      "duration" : 207,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)op data:(NSString *)opData
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| url                                  | A fully-formed request url in the    |
+|                                      | following format:                    |
+|                                      |     https://api.usergrid.com/<org>/< |
+|                                      | app>/<collection>/?ql=               |
+|                                      |                                      |
+|                                      | Note that you must include an empty  |
+|                                      | '?ql=' query string at the end of    |
+|                                      | the URL                              |
++--------------------------------------+--------------------------------------+
+| op                                   | The HTTP method - in this case,      |
+|                                      | 'PUT'                                |
++--------------------------------------+--------------------------------------+
+| opData                               | A JSON-formatted string that         |
+|                                      | contains the entity properties to be |
+|                                      | updated                              |
++--------------------------------------+--------------------------------------+
+
+Updating all entities in a collection is not currently supported by the
+[Apache Usergrid Android SDK](/app-services-sdks#android).
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //options for the request
+    var options = {
+        endpoint:"items/?ql=", //don't forget to append '/?ql='
+        method:"PUT",
+        body: {"availability":"in-stock"}
+    }
+
+    dataClient.request(options,function (error,response) {
+
+        if (error) { 
+            // Error
+        } else { 
+            // Success
+        }
+
+    });    
+                    
+
+#### Response:
+
+    Object {action: "put", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "put"
+    application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+    applicationName: "your-app"
+    duration: 92
+    entities: Array[2]
+        0: Object
+            availability: "in-stock"
+            created: 1378852309294
+            modified: 1378853303215
+            name: "milk"
+            price: "3.25"
+            type: "item"
+            uuid: "c86ffbf0-1a68-11e3-ab22-3713e5fcf9d2"
+            __proto__: Object
+        1: Object
+            availability: "in-stock"
+            created: 1378852309373
+            modified: 1378853303256
+            name: "bread"
+            price: "4.00"
+            type: "item"
+            uuid: "c87be2da-1a68-11e3-80f4-975f1f8b1f86"
+            __proto__: Object
+        length: 2
+        __proto__: Array[0]
+    organization: "your-org"
+    params: Object
+    path: "/items"
+    timestamp: 1378853303201
+    uri: "http://api.usergrid.com/your-org/your-app/items"
+    __proto__: Object
+                    
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | A JSON-formatted object containing   |
+|                                      | the following properties:            |
+|                                      |                                      |
+|                                      | -   endpoint: the UUID or name of    |
+|                                      |     the collection to be updated,    |
+|                                      |     appended by an empty query       |
+|                                      |     string in the format:            |
+|                                      |     \<collection\>/?ql=              |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request – in this case `PUT`     |
+|                                      | -   body: the body of the request    |
+|                                      |     that specifies the properties to |
+|                                      |     be updated in JSON format        |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function to handle the API  |
+|                                      | response                             |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        collection = client['items'].collection
+        collection.update_query({availability: 'in-stock'},"")
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "31847b9a-1a62-11e3-be04-8d05e96f700d",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "availability" : "in-stock"
+        "created" : 1378849479113,
+        "modified" : 1378849567301,
+        "name" : "milk",
+      }, {
+        "uuid" : "3192ac6a-1a62-11e3-a24f-496ca1d42ce7",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "availability" : "in-stock"
+        "created" : 1378849479206,
+        "modified" : 1378849567351,
+        "name" : "bread",
+      } ],
+      "timestamp" : 1378849567280,
+      "duration" : 207,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    collection.update_query(properties, query_string)
+
+### Properties
+
+  Parameter       Description
+  --------------- --------------------------------------------------------------------------------------------------------------
+  properties      JSON-formatted string that contains the entity properties to be updated
+  query\_string   A query string that specifies the entities to be updated. Use an empty string (`""`) to update all entities.
+
+The example assumes use of the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create the Apache Usergrid client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Specify the options for the request
+    var options = {
+        endpoint:"items/?ql=", //don't forget to append '/?ql='
+        method:"PUT",
+        body: {"availability":"in-stock"}
+    }
+
+    dataClient.request(options,function (error,response) {
+
+        if (error) { 
+            //error
+        } else { 
+            //success
+        }
+
+    });             
+                    
+
+#### Response:
+
+    { action: 'put',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: { ql: [ '' ] },
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: 'c86ffbf0-1a68-11e3-ab22-3713e5fcf9d2',
+           type: 'item',
+           name: 'milk',
+           created: 1378852309294,
+           modified: 1378855073613,
+           availability: 'in-stock' },
+         { uuid: 'c87be2da-1a68-11e3-80f4-975f1f8b1f86',
+           type: 'item',
+           name: 'bread',
+           created: 1378852309373,
+           modified: 1378855073655,
+           availability: 'in-stock' } ],
+      timestamp: 1378855073595,
+      duration: 106,
+      organization: 'your-org',
+      applicationName: 'your-app' }
+                    
+
+### SDK Method
+
+    request(options,callback);
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | A JSON-formatted object containing   |
+|                                      | the following properties:            |
+|                                      |                                      |
+|                                      | -   endpoint: the UUID or name of    |
+|                                      |     the collection to be updated,    |
+|                                      |     appended by an empty query       |
+|                                      |     string in the format:            |
+|                                      |     \<collection\>/?ql=              |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request, in this case *PUT*      |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function to handle the API  |
+|                                      | response                             |
++--------------------------------------+--------------------------------------+
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/updating-data-entities.md
----------------------------------------------------------------------
diff --git a/content/content/docs/updating-data-entities.md b/content/content/docs/updating-data-entities.md
new file mode 100644
index 0000000..a034a2b
--- /dev/null
+++ b/content/content/docs/updating-data-entities.md
@@ -0,0 +1,1008 @@
+---
+title: Updating Data Entities
+category: docs
+layout: docs
+---
+
+Updating Data Entities
+======================
+
+This article describes how to update entities in your Apache Usergrid
+account.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Updating an entity
+------------------
+
+One or more properties can be updated with a single PUT request. For
+information on updating sub-properties, see [Updating
+sub-properties](#update_nested) below.
+
+-   [cURL](#curl_update_entity)
+-   [iOS](#ios_update_entity)
+-   [Android](#android_update_entity)
+-   [JavaScript (HTML5)](#javascript_update_entity)
+-   [Ruby](#ruby_update_entity)
+-   [Node.js](#nodejs_update_entity)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X PUT https://api.usergrid.com/your-org/your-app/items/milk -d '{"price":"4.00", "availability":"in-stock"}'
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378505705077,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "price" : "4.00"
+      } ],
+      "timestamp" : 1378505705050,
+      "duration" : 87,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X PUT https://api.usergrid.com/<org>/<app>/<collection>/<entity> -d {<property>}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| org                                  | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| app                                  | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| collection                           | Collection UUID or collection name   |
++--------------------------------------+--------------------------------------+
+| entity                               | Entity UUID or entity name           |
++--------------------------------------+--------------------------------------+
+| property                             | An entity property to be updated,    |
+|                                      | formatted as a key-value pair. For   |
+|                                      | example:                             |
+|                                      |                                      |
+|                                      |     {"property_1":"value_1", "proper |
+|                                      | ty_2":"value_2",...}                 |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)updateEntity {
+
+        //UUID of the entity to be updated
+        NSString *entityID = @"f42752aa-08fe-11e3-8268-5bd5fa5f701f";
+        
+        //Create an entity object
+        NSMutableDictionary *updatedEntity = [[NSMutableDictionary alloc] init ];
+        
+        //Set entity properties to be updated
+        [updatedEntity setObject:@"item" forKey:@"type"]; //Required - entity type
+        [updatedEntity setObject:@"in-stock" forKey:@"availability"];
+        [updatedEntity setObject:@"4.00" forKey:@"price"];
+
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient updateEntity:entityID entity:updatedEntity];
+
+        @try {
+            
+           //success
+            
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+        
+    }
+                    
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378505705077,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "price" : "4.00"
+      } ],
+      "timestamp" : 1378505705050,
+      "duration" : 87,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)updateEntity: (NSString *)entityID entity:(NSDictionary *)updatedEntity
+
+### Parameters
+
+  Parameter       Description
+  --------------- -------------------------------------------------------------
+  entityID        UUID of the entity to be updated
+  updatedEntity   NSMutableDictionary containing the properties to be updated
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    //Create properties object
+
+    String entityID = "fd0def5a-091c-11e3-a60d-eb644ab154cc";
+
+    Map<String, Object> updatedProperties = new HashMap<String, Object>();
+    updatedProperties.put("type", "item"); //Required
+    updatedProperties.put("availability", "in-stock");
+    updatedProperties.put("price", "4.00");
+
+    //call updateEntityAsync to initiate the asynchronous API call
+    dataClient.updateEntityAsync(entityID, updatedProperties, new ApiResponseCallback() {   
+        
+        //If updateEntityAsync fails, catch the error
+        @Override
+        public void onException(Exception e) { 
+            // Error
+        }
+        
+        //If updateEntityAsync is successful, handle the response object
+        @Override
+        public void onResponse(ApiResponse response) {
+            try { 
+                if (response != null) {
+                    // Success
+                }
+            } catch (Exception e) { //The API request returned an error
+                    // Fail
+            }
+        }
+    });
+                    
+                    
+
+#### Response:
+
+    {"action":"put","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"4.00","created":1378405020796,"name":"milk","modified":1378748497900,"availability":"in-stock","metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}}],"params":{},"path":"/items","rawResponse":"{
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378748497900,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "price" : "4.00"
+      } ],
+      "timestamp" : 1378748497887,
+      "duration" : 80,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+    ","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378748497887,"entityCount":1,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"4.00","created":1378405020796,"name":"milk","modified":1378748497900,"availability":"in-stock","metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"5bb76bca-1657-11e3-903f-9ff6c621a7a4","price":"4.00","created":1378405020796,"name":"milk","modified":1378748497900,"availability":"in-stock","metadata":{"path":"/items/5bb76bca-1657-11e3-903f-9f
 f6c621a7a4"}},"organization":"your-org","duration":80,"applicationName":"your-app"}                
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    updateEntityAsync(String entityID, Map<String, Object> updatedProperties, ApiResponseCallback callback)
+
+Synchronous:
+
+    updateEntity(String entityID, Map<String, Object> updatedProperties)
+
+### Parameters
+
+  Parameter           Description
+  ------------------- ------------------------------------------------------------------------------------
+  entityID            UUID of the entity to be updated
+  updatedProperties   Map object containing the properties to be updated. A 'type' property is required.
+  callback            Callback function (Asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create the Apache Usergrid client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Specify the UUID of the entity to be updated
+    //and the properties to be updated
+    var properties = {
+        client:dataClient, //Required
+        data:{'type':'item',
+        uuid:'b3aad0a4-f322-11e2-a9c1-999e12039f87', //UUID of the entity to be updated is required
+        price:'4.00',
+        availability:'in-stock'
+        }
+    };
+
+    //Create a new entity object that contains the updated properties
+    var entity = new Usergrid.Entity(properties);
+
+    //Call Entity.save() to initiate the API PUT request
+    entity.save(function (error,response) {
+
+        if (error) { 
+            //error
+        } else { 
+            //success
+        }
+
+    });    
+                    
+
+#### Response:
+
+    Object {action: "put", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "put"
+    application: "f34f4222-a166-11e2-a7f7-02e8sd83f3d0"
+    applicationName: "your-app"
+    duration: 62
+    entities: Array[1]
+    0: Object
+    created: 1374534114329
+    metadata: Object
+    modified: 1376693371847
+    name: "milk"
+    price: "4.00" //updated
+    availability: "in-stock" //updated
+    varieties: Array[3] //This property was already present 
+    type: "item"
+    uuid: "b3aad0a4-f322-11e2-a9c1-999e12039f87"
+    varieties: Array[3]
+    __proto__: Object
+    length: 1
+    __proto__: Array[0]
+    organization: "your-org"
+    params: Object
+    path: "/items"
+    timestamp: 1376693371836
+    uri: "http://api.usergrid.com/your-org/your-app/items"              
+                    
+
+### SDK Method
+
+    Entity.save();
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+
+        # Specify the name or uuid of the collection and entity to be updated
+        # and the entity properties to be updated
+        entity = client['item']['b3aad0a4-f322-11e2-a9c1-999e12039f87'].entity #entity object
+        entity.price = '4.00'
+        entity.availability = 'in-stock'
+        
+        # Call save to initiate the API PUT request
+        entity.save
+
+    rescue
+
+        #fail
+
+    end
+                    
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378505705077,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "price" : "4.00"
+      } ],
+      "timestamp" : 1378505705050,
+      "duration" : 87,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    save
+
+The example assumes use of the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create the Apache Usergrid client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Specify the UUID of the entity to be updated
+    //and the properties to be updated
+    var properties = {
+        client:dataClient, //Required
+        data:{'type':'item',
+        uuid:'b3aad0a4-f322-11e2-a9c1-999e12039f87', //UUID of the entity to be updated is required
+        price:'4.00',
+        availability:'in-stock'
+        }
+    };
+
+    //Create a new entity object the contains the updated properties
+    var entity = new Usergrid.entity(properties);
+
+    //Call Entity.save() to initiate the API PUT request
+    entity.save(function (error,response) {
+
+        if (error) { 
+            //error
+        } else { 
+            //success
+        }
+
+    });             
+                    
+
+### Example - Response
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "b3aad0a4-f322-11e2-a9c1-999e12039f87",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1374534114329,
+        "modified" : 1376695962803,
+        "metadata" : {
+          "path" : "/items/b3aad0a4-f322-11e2-a9c1-999e12039f87"
+        },
+        "name" : "milk",
+        "price" : "4.00",
+        "availability" : "in-stock"
+      } ],
+      "timestamp" : 1376695962790,
+      "duration" : 144,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+                    
+
+### SDK Method
+
+    Entity.save();
+
+Updating a sub-property
+-----------------------
+
+Data entities may contain sets of sub-properties as nested JSON objects.
+Unlike normal entity properties, however, sub-properties cannot be
+updated individually. Updating a nested object will cause all
+sub-properties within it to be overwritten.
+
+For example, if you have a data entity with the following nested object:
+
+    "varieties": [
+        {
+          "name": "1%",
+          "price": "3.25",
+          "SKU": "0393847575533445"
+        },
+        {
+          "name": "whole",
+          "price": "3.85",
+          "SKU": "0393394956788445"
+        }
+    ]       
+            
+
+and you send this update to Apache Usergrid:
+
+    "varieties": [
+        {
+          "name": "2%",
+          "price": "3.00",
+        },
+        {
+          "price": "4.00",
+        }
+    ]       
+            
+
+this will be the resulting nested object:
+
+    "varieties": [
+        {
+          "name": "2%",
+          "price": "3.00",
+        },
+        {
+          "price": "4.00",
+        }
+    ]       
+            
+
+-   [cURL](#curl_update_subproperty)
+-   [iOS](#ios_update_subproperty)
+-   [Android](#android_update_subproperty)
+-   [JavaScript (HTML5)](#javascript_update_subproperty)
+-   [Ruby](#ruby_update_subproperty)
+-   [Node.js](#nodejs_update_subproperty)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X PUT https://api.usergrid.com/your-org/your-app/items/milk -d '{"varieties":[{"name":"1%","price":"3.25"},{"name":"whole","price":"4.00"}]}'
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378761459069,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "varieties" : [ {
+          "name" : "1%",
+          "price" : "3.25"
+        }, {
+          "name" : "whole",
+          "price" : "4.00"
+        } ]
+      } ],
+      "timestamp" : 1378761459047,
+      "duration" : 62,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X PUT https://api.usergrid.com/<org_id>/<app_id>/<collection>/<uuid|name> -d '{<property> : [{<sub_property>}, {<sub_property>}...]}'
+
+### Parameters
+
+  ---------------------------------------------------------------------------------------------------------------
+  Parameter          Description
+  ------------------ --------------------------------------------------------------------------------------------
+  org\_id            Organization UUID or organization name
+
+  app\_id            Application UUID or application name
+
+  collection         Name of the collection containing the entity to be updated
+
+  uuid|name          UUID or name of the data entity to be updated
+
+  entity\_property   The name of the entity property that contains the nested object to be updated
+
+  sub\_property      Entity properties of the nested object, as a set of key-value pairs in the format:\
+                     *{\<property\_name\> : \<property\_value\>, \<property\_name\> : \<property\_value\> ...}*
+  ---------------------------------------------------------------------------------------------------------------
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)updateEntity {
+
+        //UUID of the entity to be updated
+        NSString *entityID = @"f42752aa-08fe-11e3-8268-5bd5fa5f701f";
+            
+        //Define our two sub-properties to include in the update
+        NSMutableDictionary *subproperty1 = [[NSMutableDictionary alloc] init];
+        NSMutableDictionary *subproperty2 = [[NSMutableDictionary alloc] init];
+        [subproperty1 setObject:@"1%" forKey:@"name"];
+        [subproperty1 setObject:@"3.25" forKey:@"price"];
+        [subproperty2 setObject:@"whole" forKey:@"name"];
+        [subproperty2 setObject:@"4.00" forKey:@"price"];
+        
+        //Put our sub-properties into an NSArray
+        NSArray *subproperties = [[NSArray alloc] initWithObjects:props1,props2, nil];
+
+        //Create an NSMutableDictionary to hold our updates
+        NSMutableDictionary *updatedEntity = [[NSMutableDictionary alloc] init ];
+
+        //Set the properties to be updated
+        [updatedEntity setObject:@"item" forKey:@"type"]; //Required - entity type
+        [updatedEntity setObject:props forKey:@"varieties"];
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient updateEntity:entityID entity:updatedEntity];
+
+        @try {
+            
+           //success
+            
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+        
+    }
+                    
+
+#### Response:
+
+    {
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378405020796,
+        "modified" : 1378761459069,
+        "availability" : "in-stock",
+        "metadata" : {
+          "path" : "/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        },
+        "name" : "milk",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4",
+        "varieties" : [ {
+          "name" : "1%",
+          "price" : "3.25"
+        }, {
+          "name" : "whole",
+          "price" : "4.00"
+        } ]
+      } ],
+      "timestamp" : 1378761459047,
+      "duration" : 62,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)updateEntity: (NSString *)entityID entity:(NSDictionary *)updatedEntity
+
+### Parameters
+
+  Parameter       Description
+  --------------- -------------------------------------------------------
+  entityID        UUID of the entity to be updated
+  updatedEntity   Entity object containing the properties to be updated
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    //UUID of the entity to be updated
+    String entityID = "1ceed6ba-1b13-11e3-a7a6-59ffaee069e1";
+
+    //The object we will pass to the API
+    Map<String,Object> entityUpdates = new HashMap<String,Object>();
+
+    //The objects we will need to setup the sub-properties
+    ArrayList<Map<String,Object>> subPropertyArray = new ArrayList<Map<String,Object>>();
+    Map<String,Object> subProperty1 = new HashMap<String,Object>();
+    Map<String,Object> subProperty2 = new HashMap<String,Object>();
+
+    //First sub-property
+    subProperty1.put("name", "1%");
+    subProperty2.put("price", "3.25");
+
+    //Second sub-property
+    subProperty2.put("name", "whole");
+    subProperty2.put("price", "4.00");
+
+    //Add the sub-properties to the List object
+    subPropertyArray.add(subProperty1);
+    subPropertyArray.add(subProperty2);
+
+    //Now we put it all together
+    entityUpdates.put("type", "item"); //Required
+    entityUpdates.put("varieties", subPropertyArray);
+
+            
+    //call updateEntityAsync to initiate the asynchronous API call
+    dataClient.updateEntityAsync(entityID, updatedProperties, new ApiResponseCallback() {   
+        
+        //If updateEntityAsync fails, catch the error
+        @Override
+        public void onException(Exception e) { 
+            // Error
+        }
+        
+        //If updateEntityAsync is successful, handle the response object
+        @Override
+        public void onResponse(ApiResponse response) {
+            try { 
+                if (response != null) {
+                    // Success
+                }
+            } catch (Exception e) { //The API request returned an error
+                    // Fail
+            }
+        }
+    }); 
+                    
+
+#### Response:
+
+    {"action":"put","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1ceed6ba-1b13-11e3-a7a6-59ffaee069e1","varieties":[{"name":"1%","price":"3.25"},{"name":"whole","price":"4.00"}],"created":1378925465499,"name":"milk","modified":1378936578609,"metadata":{"path":"/items/1ceed6ba-1b13-11e3-a7a6-59ffaee069e1"}}],"params":{},"path":"/items","rawResponse":"{
+      "action" : "put",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "1ceed6ba-1b13-11e3-a7a6-59ffaee069e1",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378925465499,
+        "modified" : 1378936578609,
+        "metadata" : {
+          "path" : "/items/1ceed6ba-1b13-11e3-a7a6-59ffaee069e1"
+        },
+        "name" : "milk",
+        "varieties" : [ {
+          "name" : "1%",
+          "price" : "3.25"
+        }, {
+          "name" : "whole",
+          "price" : "4.00"
+        } ]
+      } ],
+      "timestamp" : 1378936578595,
+      "duration" : 75,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+    ","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378936578595,"entityCount":1,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1ceed6ba-1b13-11e3-a7a6-59ffaee069e1","varieties":[{"name":"1%","price":"3.25"},{"name":"whole","price":"4.00"}],"created":1378925465499,"name":"milk","modified":1378936578609,"metadata":{"path":"/items/1ceed6ba-1b13-11e3-a7a6-59ffaee069e1"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"1ceed6ba-1b13-11e3-a7a6-59ffaee069e1","varieties":[{"name":"1%","price":"3.25"},{"name":"whole","price":"4.00"}],"created":1378925465499,"name":"milk","modified"
 :1378936578609,"metadata":{"path":"/items/1ceed6ba-1b13-11e3-a7a6-59ffaee069e1"}},"organization":"your-org","duration":75,"applicationName":"your-app"}
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    updateEntityAsync(String entityID, Map<String, Object> updatedProperties, ApiResponseCallback callback)
+
+Synchronous:
+
+    updateEntity(String entityID, Map<String, Object> updatedProperties)
+
+### Parameters
+
+  Parameter           Description
+  ------------------- ------------------------------------------------------------------------------------
+  entityID            UUID of the entity to be updated
+  updatedProperties   Map object containing the properties to be updated. A 'type' property is required.
+  callback            Callback function (Asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create the Apache Usergrid client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Specify the UUID of the entity to be updated
+    //and the properties to be updated
+    var properties = {
+        client:dataClient, //Required
+        data:{
+            type:'item',
+            uuid:'b151ddba-0921-11e3-9f60-2ba945ba461f',
+            varieties:[
+                {"name":"3%", "price":"3.25", "SKU":"9384752200033"},
+                {"name":"whole", "price":"4.00", "SKU":"9384752200033"}
+            ]
+        }
+    };
+
+    //Create a new entity object that contains the updated properties
+    var entity = new Usergrid.Entity(properties);
+
+    //Call Entity.save() to initiate the API PUT request
+    entity.save(function (error,response) {
+
+        if (error) { 
+            //error
+        } else { 
+            //success
+        }
+
+    });    
+                    
+
+#### Response:
+
+    Object {action: "put", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "put"
+    application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+    applicationName: "your-app"
+    duration: 66
+    entities: Array[1]
+        0: Object
+        availability: "in-stock"
+        created: 1378405020796
+        metadata: Object
+        modified: 1378760239203
+        name: "milk"
+        price: "4.00"
+        type: "item"
+        uri: "http://api.usergrid.com/your-org/your-app/items/5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        uuid: "5bb76bca-1657-11e3-903f-9ff6c621a7a4"
+        varieties: Array[2]
+            0: Object
+                SKU: "9384752200033"
+                name: "3%"
+                price: "3.25"
+                __proto__: Object
+            1: Object
+                SKU: "9384752200033"
+                name: "whole"
+                price: "4.00"
+                __proto__: Object
+            length: 2
+            __proto__: Array[0]
+        __proto__: Object
+        length: 1
+    __proto__: Array[0]
+    organization: "your-org"
+    params: Object
+    path: "/items"
+    timestamp: 1378760239191
+    uri: "http://api.usergrid.com/your-org/your-app/items"
+    __proto__: Object
+                    
+
+### SDK Method
+
+    Entity.save();
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+
+        # Specify the name or uuid of the collection and entity to be updated
+        # and the entity properties to be updated
+        entity = client['item']['b3aad0a4-f322-11e2-a9c1-999e12039f87'].entity #entity object
+        entity.varieties = [
+                {
+                    "name" => "1%",
+                    "price" => "3.25",
+                    "sku" => "0393847575533445"
+                },{
+                    "name" => "whole",
+                    "price" => "3.85",
+                    "sku" => "0393394956788445"
+                }
+            ]
+        
+        # Call save to initiate the API PUT request
+        entity.save
+
+    rescue
+
+        #fail
+
+    end
+                    
+
+#### Response:
+
+[[nid:11954]
+
+### SDK Method
+
+    save
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create the Apache Usergrid client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Specify the UUID of the entity to be updated
+    //and the properties to be updated
+
+    var properties = {
+        client:dataClient, //Required
+        data:{
+            type:'item',
+            uuid:'b3aad0a4-f322-11e2-a9c1-999e12039f87', //UUID of the entity to be updated is required
+            varieties : [
+                {
+                    "name" : "1%",
+                    "price" : "3.25",
+                    "sku" : "0393847575533445"
+                },{
+                    "name" : "whole",
+                    "price" : "3.85",
+                    "sku" : "0393394956788445"
+                },{
+                    "name" : "skim",
+                    "price" : "4.00",
+                    "sku" : "0390299933488445"      
+                }
+            ]           
+        }
+    };
+
+    //Create a new entity object the contains the updated properties
+    var entity = new Usergrid.entity(properties);
+
+    //Call Entity.save() to initiate the API PUT request
+    entity.save(function (error,response) {
+
+        if (error) { 
+            //error
+        } else { 
+            //success
+        }
+
+    });             
+                
+
+#### Response:
+
+    { action: 'put',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: {},
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: 'b3aad0a4-f322-11e2-a9c1-999e12039f87',
+           type: 'item',
+           created: 1374534114329,
+           modified: 1377039726738,
+           metadata: [Object],
+           varieties: [Object] } ],
+      timestamp: 1377039726724,
+      duration: 75,
+      organization: 'your-org',
+      applicationName: 'your-app' }
+                
+
+### SDK Method
+
+    Entity.save();

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/upgrading.md
----------------------------------------------------------------------
diff --git a/content/content/docs/upgrading.md b/content/content/docs/upgrading.md
new file mode 100644
index 0000000..38c560d
--- /dev/null
+++ b/content/content/docs/upgrading.md
@@ -0,0 +1,7 @@
+---
+title: Upgrading from Previous Versions
+category: docs
+layout: docs
+---
+
+If you built and used a previous version of Usergrid, that may be using a different schema, we have an easy built-in tool to audit your Cassandra column family structure and upgrade the dataset as necessary. Once you have pulled, built and launched the new version of Usergrid, just hit [http://localhost:8080/system/database/setup](http://localhost:8080/system/database/setup) to run the upgrade tool.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/uploading-files-and-assets.md
----------------------------------------------------------------------
diff --git a/content/content/docs/uploading-files-and-assets.md b/content/content/docs/uploading-files-and-assets.md
new file mode 100644
index 0000000..d8e8a7b
--- /dev/null
+++ b/content/content/docs/uploading-files-and-assets.md
@@ -0,0 +1,289 @@
+---
+title: Uploading files and assets  
+category: docs
+layout: docs
+---
+
+Uploading files and assets
+==========================
+
+**Beta Feature**\
+ Please note that this is currently a beta feature. As a result, some
+functionality may not work as expected.
+
+Using Apache Usergrid APIs, you can store and retrieve files and assets
+that hold data objects such as images, video, and audio content.
+
+Apache Usergrid manages these objects as [Assets](/assets) entities.
+Optionally, you can use [Folder](/folder) entities to organize related
+assets.
+
+**Note:** All binary objects are managed as assets. However, an asset
+does not have to be used for a binary object. For example, assets can be
+used to model a file system.
+
+Creating a folder to hold assets
+--------------------------------
+
+Suppose you have some images that you want to store. Suppose too that
+you want to organize your images in folders. To create a folder, you
+issue a POST request to the folders endpoint. The general format of the
+request is:
+
+    POST /{org-uuid}/{app-uuid}/folders {request body}
+
+The request body must specify the name of the folder, the UUID of the
+owner of the folder, as well as the relative path to the folder.
+
+Here’s how you could create a folder named myfirstfolder to hold some of
+the images:
+
+    POST https://api.usergrid.com/my-org/my-app/folders {"name": "myfirstfolder","owner": "7d1aa429-e978-11e0-8264-005056c00008", "path": "/myfolders/folder1"}
+
+**Note:** Although not shown in the API examples, you need to provide a
+valid access token with each API call. See [Authenticating users and
+application clients](/authenticating-users-and-application-clients) for
+details. You also need to replace my-org with the name of your
+organization, my-app with the name of your application, and the UUID and
+path values as appropriate.
+
+The response to the API request should include the UUID of the created
+folder, for example:
+
+     "uuid": "6640a601-2ac6-11e2-92c3-02e81ae640dc"
+
+You’ll need this UUID to link the folder to assets.
+
+Creating an assets entity
+-------------------------
+
+Assume that one of the images is named my-image.jpg. You can create an
+asset for the image by issuing a POST request to the assets endpoint.
+The general format of the request is:
+
+    POST /{org-uuid}/{app-uuid}/assets {request body}
+
+The request body must specify the UUID of the name of the asset, the
+owner of the asset, as well as the relative path to the asset. For
+example, you can create an asset for the my-image.jpg image like this:
+
+    POST https://api.usergrid.com/my-org/my-app/assets {"name": "my-image.jpg","owner": "7d1aa429-e978-11e0-8264-005056c00008", "path": "/myassets/asset1"}
+
+You can also specify a content-type property for the asset in the
+request body. For example, you can specify "content-type”:”image/jpeg”.
+That content type is then set as a property of the asset. It is also set
+(as specified) in the response header. Specifying the content-type is
+optional. Apache Usergrid can automatically detect the content type of the
+asset when the binary data for the asset is uploaded. It then sets this
+as the content-type property value on the asset.
+
+The response to the API request should include the UUID of the created
+asset, for example:
+
+    "uuid": "9501cda1-2d21-11e2-b4c6-02e81ac5a17b"
+
+You’ll need this UUID when you upload or retrieve the image.
+
+Linking a folder to an asset
+----------------------------
+
+In order to access the asset for the image in the folder, you need to
+link the folder to the asset. You can do that by issuing a POST request
+in the following format:
+
+    POST /{org-uuid}/{app-uuid}/folders/{folder-uuid}/assets/{assets_id}
+
+where {folder-uuid} is the UUID of the folder, and {assets-uuid} is the
+UUID of the assets entity.
+
+Here’s how you could link the folder and the asset you created for the
+my-image.jpg image:
+
+    POST https://api.usergrid.com/my-org/my-app/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b 
+
+In the response, you should see the assets entity for the image added to
+the folder:
+
+    {
+      "action": "post",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params": {},
+      "path": "/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets",
+      "uri": "https://api.usergrid.com/my-org/my-app/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets",
+      "entities": [
+        {
+          "uuid": "9501cda1-2d21-11e2-b4c6-02e81ac5a17b",
+          "type": "asset",
+          "name": "my-image.jpg",
+          "created": 1352763303163,
+          "modified": 1352763303163,
+          "metadata": {
+            "path": "/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b"
+          },
+          "owner": "5c0c1789-d503-11e1-b36a-12313b01d5c1",
+          "path": "/myassets/asset1"
+        }
+      ],
+      "timestamp": 1352830448045,
+      "duration": 54,
+      "organization": "my-org”,
+      "applicationName": "my-app"
+    }
+
+You can also request a list of the linked contents of the folder like
+this:
+
+    GET https://api.usergrid.com/my-org/my-app/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets
+
+The response should look something like this:
+
+    {
+      "action": "get",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params": {
+        "_": [
+          "1352830364891"
+        ]
+      },
+      "path": "/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets",
+      "uri": "https://api.usergrid.com/my-org/my-app/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets",
+      "entities": [
+        {
+          "uuid": "7bf47435-2ac8-11e2-b4c6-02e81ac5a17b",
+          "type": "asset",
+          "name": "my-image.jpg",
+          "created": 1352505133598,
+          "modified": 1352507245108,
+          "checksum": "8e0cd3866ee20746c99e9a9825f38ad8",
+          "content-length": 11853,
+          "content-type": "image/jpeg",
+          "etag": "\"8e0cd3866ee20746c99e9a9825f38ad8\"",
+          "metadata": {
+            "connecting": {
+              "assets": "/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets/7bf47435-2ac8-11e2-b4c6-02e81ac5a17b/connecting/assets"
+            },
+            "connection": "assets",
+            "path": "/folders/6640a601-2ac6-11e2-92c3-02e81ae640dc/assets/7bf47435-2ac8-11e2-b4c6-02e81ac5a17b"
+          },
+          "owner": "5c0c1789-d503-11e1-b36a-12313b01d5c1",
+          "path": "my-image"
+        }
+      ],
+      "timestamp": 1352830363797,
+      "duration": 57,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Retrieving an asset
+-------------------
+
+You can retrieve an asset by its UUID. The general form of the request
+is:
+
+    GET /{org-uuid}/{app-uuid}/assets/{asset-uuid}
+
+For example, to retrieve the asset for the my-image.jpg image, you make
+a request like this:
+
+    GET https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b
+
+The response should look something like this:
+
+    {
+      "action": "get",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params": {
+        "_": [
+          "1352833055831"
+        ]
+      },
+      "path": "/assets",
+      "uri": "https://api.usergrid.com/my-org/my-app/assets",
+      "entities": [
+        {
+          "uuid": "9501cda1-2d21-11e2-b4c6-02e81ac5a17b",
+          "type": "asset",
+          "name": "edhead3.jpg",
+          "created": 1352763303163,
+          "modified": 1352763303163,
+          "metadata": {
+            "connecting": {
+              "assets": "/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/connecting/assets"
+            },
+            "path": "/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b"
+          },
+          "owner": "5c0c1789-d503-11e1-b36a-12313b01d5c1",
+          "path": "/myassets/asset1"
+        }
+      ],
+      "timestamp": 1352833055408,
+      "duration": 17,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+Uploading and retrieving binary data for an asset
+-------------------------------------------------
+
+So far the focus has been on assets entities, which App services uses to
+manage binary objects such as images. But what about the data for those
+objects? You can use Apache Usergrid APIs to upload the data for a binary
+object and retrieve the data.
+
+**Note:** The data for an asset is stored separately from the entity
+itself.
+
+To upload data for an asset, you issue a POST request to the endpoint
+for the asset’s data. The general form of the request is:
+
+    POST /{org-uuid}/{app-uuid}/assets/{asset-uuid}/data {binary-data}
+
+where {binary-data} is the binary data for the asset.
+
+For example, you can upload the binary data for the my-image.jpg image
+asset like this:
+
+    POST https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/data {binary data}
+
+where {binary-data} is the binary data for the image.
+
+In cURL format, the upload request would look something like this:
+
+    POST  --data-binary "@src/resources/my-image.jpg" -H
+    "Content-Type: application/octet-stream"
+    ‘https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/data’
+
+In the cURL example, the binary data is in a file whose relative path is
+src/resources/my-image.jpg.
+
+**Note:** Currently, a 5 MB limitation exists for the size of the
+uploaded binary data. This limitation is temporary and the allowable
+size of a data upload should increase soon.
+
+To retrieve the data, issue a GET request to the same endpoint, for
+example:
+
+    GET https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/data
+
+In response, you’ll get the binary data for the asset.
+
+Updating the binary data for an asset
+-------------------------------------
+
+Suppose, you want to update the my-image.jpg image. You can do it by
+replacing the binary data for the asset through a PUT request. Here’s an
+example:
+
+    PUT https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/data {binary-data}
+
+where {binary-data} is the updated binary data for the image.
+
+In cURL format, the update request would look something like this:
+
+    PUT  --data-binary "@src/resources/my-image2.jpg" -H
+    "Content-Type: application/octet-stream"
+    ‘https://api.usergrid.com/my-org/my-app/assets/9501cda1-2d21-11e2-b4c6-02e81ac5a17b/data’
+
+In the cURL example, the updated binary data is in a file whose relative
+path is src/resources/my-image2.jpg.


[18/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/contributecode/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/contributecode/index.html b/content/publish/docs/contributecode/index.html
new file mode 100644
index 0000000..2703b5a
--- /dev/null
+++ b/content/publish/docs/contributecode/index.html
@@ -0,0 +1,302 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Contribute Code</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up & Running Locally</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/usergrid/usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/usergrid/usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/usergrid/usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+		    <li><a href="/docs/contribute-code">How to contribute code</a></li>
+		    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Contribute Code</h1>
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contributecode.md">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#how-to-contribute-code">How to Contribute Code</a></li>
+<li><a href="#for-small-fixes">For small fixes</a></li>
+<li><a href="#for-big-changes">For big changes</a></li>
+</ul>
+</div>
+<h2 id="how-to-contribute-code">How to Contribute Code</h2>
+<p>Usergrid is an open source project developed by folks like you. Anybody can contribute, but we do have some rules in place and we do like to review and discuss changes in public on our mailing lists and on our Github account.</p>
+<p>We use Github as our code review and collaboration system and we use the Apache Git repo as our official repository of record, that’s the code that we release when we make an official release.</p>
+<p>We have two slightly different procedures for small fixes and for more significant changes.</p>
+<h2 id="for-small-fixes">For small fixes</h2>
+<p>We welcome small “drive-by” contributions from impatient developers! If you just have a small fix that you want to contribute then these are the steps you should follow to get your changes into Usergrid.</p>
+<ul>
+<li>
+<strong>Fork our Github repo</strong>. usergrid/usergrid.</li>
+<li>
+<strong>Make your changes</strong> in your fork.</li>
+<li>
+<strong>Submit a pull request</strong> against usergrid/usergrid. In the description be sure to note “I am contributing code under the terms of the Apache Software License.”</li>
+<li>
+<strong>Wait a bit</strong> for your Pull Request to be reviewed and merged.</li>
+<li>
+<strong>Done!</strong> your changes will now be committed to the official Apache Git repo.</li>
+</ul><h2 id="for-big-changes">For big changes</h2>
+<p>We love more significant contributions of code as well. Larger contributions do require more review and a couple of additional steps. If you have a larger contribution then these are the steps you should follow:</p>
+<ul>
+<li>
+<strong>Sign up.</strong> This is a pain, to be sure, but it only has to happen once.
+<ul>
+<li>
+<strong>Get a Github account</strong> if you do not already have one.</li>
+<li>
+<strong>Send in your signed ICLA form</strong>. Apache cannot accept contributions without this.</li>
+<li>
+<strong>Sign up for a JIRA account</strong>. We track our work (and bugs) using JIRA and ideally, we would like every Pull Request that is submitted on Github to reference a JIRA issue.</li>
+<li>
+<strong>Sign up for the dev mailing list</strong>. All decisions about the Usergrid project are recorded on mailing lists and the dev mailing list is the place for discussions about development.</li>
+</ul>
+</li>
+<li>
+<strong>Discuss your changes</strong> on the dev mailing list. This step is optional, but can greatly increase your chances for getting your changes into Usergrid. You might get some good feedback and design tips.</li>
+<li>
+<strong>Fork usergrid/usergrid</strong>. Make your copy of Usergrid. This is where you will work.</li>
+<li>
+<strong>Make your changes</strong> in your fork and don’t forget to create tests for your changes.</li>
+<li>
+<strong>Submit a Pull Request</strong> to usergrid/usergrid and in the description reference the URL of your JIRA issue.</li>
+<li>
+<strong>Add a comment to the JIRA issue</strong> referencing the Pull Request, and the URL of that request.</li>
+<li>
+<strong>Announce your Pull Request</strong>. If your request seems to be getting ignored, you might want to prompby sending an email to the dev list and as for a review.</li>
+<li>
+<strong>Wait a bit</strong> for your Pull Request to be reviewed and merged.</li>
+<li>
+<strong>Done!</strong> your changes will now be committed to the official Apache Git repo.</li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contributecode.md">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/contributing/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/contributing/index.html b/content/publish/docs/contributing/index.html
new file mode 100644
index 0000000..fdf5669
--- /dev/null
+++ b/content/publish/docs/contributing/index.html
@@ -0,0 +1,239 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Contributing</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up & Running Locally</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li>REST API — Coming Soon</li>
+                    <li><a class="icns-apple" href="https://github.com/usergrid/usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/usergrid/usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/usergrid/usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>
+                    <li><a href="/docs/contributing/">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li>Deploying — Coming Soon</li>
+                    <li>Monitoring — Coming Soon</li>
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <li>Security — Coming Soon</li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Contributing</h1>
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contributing.md">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	
+</div>
+<p>We welcome all contributions! If you want to submit code, please submit a pull request to <a href="https://github.com/usergrid/usergrid/">usergrid/usergrid</a>, using a <a href="http://git-scm.com/book/en/Git-Branching-Branching-Workflows">topic branch</a>.</p>
+<p>We’d prefer if your commit messages referenced the issue at hand (if applicable). We don’t have particular guidelines for commit messages but we appreciate branch names that observe the following format: <code>issue#-singleworddescription</code> (i.e. <code>325-twitter</code>) or just a single word if no issue exists on the topic. Thanks!</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/contributing.md">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/creating-collections/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/creating-collections/index.html b/content/publish/docs/creating-collections/index.html
new file mode 100644
index 0000000..5adc080
--- /dev/null
+++ b/content/publish/docs/creating-collections/index.html
@@ -0,0 +1,612 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Creating Collections</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Creating Collections</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-collections.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#creating-collections">Creating Collections</a><ul>
+<li>
+<a href="#creating-a-collection">Creating a collection</a><ul>
+<li><a href="#example-requestresponse">Example Request/Response</a></li>
+<li><a href="#request-syntax">Request Syntax</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example-requestresponse-1">Example Request/Response</a></li>
+<li><a href="#sdk-method">SDK Method</a></li>
+<li><a href="#properties">Properties</a></li>
+<li><a href="#example-requestresponse-2">Example Request/Response</a></li>
+<li><a href="#sdk-method-1">SDK Method</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example-requestresponse-3">Example Request/Response</a></li>
+<li><a href="#sdk-method-2">SDK Method</a></li>
+<li><a href="#properties-1">Properties</a></li>
+<li><a href="#example-requestresponse-4">Example Request/Response</a></li>
+<li><a href="#sdk-method-3">SDK Method</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="creating-collections">Creating Collections</h1>
+<p>This article describes how to create collections in Apache Usergrid. In App Services, all entities are automatically associated with a corresponding collection based on the <code>type</code> property of the entity. You may create empty collections if you wish, but creating an entity of a new type will automatically create a corresponding collection for you. For example, creating a new custom “item” entity, creates an “items” collection.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-a-collection">Creating a collection</h2>
+<ul>
+<li><a href="#portal_create_collection">Admin Portal</a></li>
+<li><a href="#curl_create_collection">cURL</a></li>
+<li><a href="#ios_create_collection">iOS</a></li>
+<li><a href="#android_create_collection">Android</a></li>
+<li><a href="#javascript_create_collection">JavaScript</a></li>
+<li><a href="#ruby_create_collection">Ruby</a></li>
+<li><a href="#nodejs_create_collection">Node.js</a></li>
+</ul>
+<p>The easiest way to create a new, empty collection is by using the <em>Data Explorer</em> tool in the Apache Usergrid Admin Portal by doing the following:</p>
+<ol style="list-style-type: decimal">
+<li>
+<a href="https://www.apigee.com/usergrid">Login</a> to the Apache Usergrid Admin Portal.</li>
+<li>In the left menu, click <em>Data Explorer</em>.</li>
+<li>In the middle column, click the <em>Add Collection</em> button.</li>
+<li>In the form, enter the name for the collection you want to create. If the provided value is not a plural word, Apache Usergrid will pluralize it.</li>
+<li>Click <em>Create</em>. The new collection will appear in the list.</li>
+</ol>
+<h3 id="example-requestresponse">Example Request/Response</h3>
+<h4 id="request">Request:</h4>
+<pre><code>curl -X POST "https://api.usergrid.com/your-org/your-app/item"</code></pre>
+<h4 id="response">Response:</h4>
+<pre><code>{
+  "action" : "post",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ ],
+  "timestamp" : 1378857079220,
+  "duration" : 31,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="request-syntax">Request Syntax</h3>
+<pre><code>curl -X POST https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;collection_name&gt;</code></pre>
+<h3 id="parameters">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>org</p></td>
+<td align="left"><p>Organization UUID or organization name</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>app</p></td>
+<td align="left"><p>Application UUID or application name</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>collection_name</p></td>
+<td align="left">
+<p>Name of the collection to create. If the provided value is not a plural word, Apache Usergrid will pluralize it.</p>
+<p>For example, providing ‘item’ will create a collection named ‘items’ but providing ‘items’ will not create ‘itemses’.</p>
+</td>
+</tr>
+</tbody>
+</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*)createCollection {
+
+NSString *url = @"https://api.usergrid.com/your-org/your-app/items";
+NSString *op = @"POST";
+NSString *opData = nil;
+
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient apiRequest: url operation: op data: opData];
+
+@try {
+    //success
+}
+@catch (NSException * e) {
+    //fail
+}
+
+}
+                </code></pre>
+<h4 id="response-1">Response:</h4>
+<pre><code>{
+  "action" : "post",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ ],
+  "timestamp" : 1378857079220,
+  "duration" : 31,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method">SDK Method</h3>
+<pre><code>(ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)op data:(NSString *)opData</code></pre>
+<h3 id="properties">Properties</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>url</p></td>
+<td align="left"><p>A fully-formed url in the following format: https://api.usergrid.com/<org>/&lt; app&gt;/<collection></collection></org></p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>op</p></td>
+<td align="left"><p>The HTTP method - in this case, ‘POST’</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>opData</p></td>
+<td align="left"><p>No data is being sent, so the value is <code>nil</code></p></td>
+</tr>
+</tbody>
+</table>
+<p>Currently, creating an empty collection is not supported by the <a href="/app-services-sdks#android">App Services SDK for Android</a>.</p>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
+<h3 id="example-requestresponse-2">Example Request/Response</h3>
+<h4 id="request-2">Request:</h4>
+<pre><code>//create the basic client object
+var dataClient = new Usergrid.Client({
+orgName:'your-org',
+appName:'your-app'
+});
+
+//options for the request
+var options = {
+endpoint:"items",
+method:"POST"
+}
+
+dataClient.request(options,function (error,response) {
+
+if (error) { 
+    // Error
+} else { 
+    // Success
+}
+
+});    
+                </code></pre>
+<h4 id="response-2">Response:</h4>
+<pre><code>Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+action: "post"
+application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+applicationName: "your-app"
+duration: 29
+entities: Array[0]
+organization: "your-org"
+params: Object
+path: "/items"
+timestamp: 1378872945962
+uri: "http://api.usergrid.com/your-org/your-app/items"
+__proto__: Object               
+                </code></pre>
+<h3 id="sdk-method-1">SDK Method</h3>
+<pre><code>request(options, callback)</code></pre>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left">
+<p>A JSON-formatted object containing the following properties:</p>
+<ul>
+<li>endpoint: the name of the collection to be created</li>
+<li>method: the HTTP method for the request, in this case <em>POST</em>
+</li>
+</ul>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<td align="left"><p>Callback function to handle the API response</p></td>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ruby">Apache Usergrid RubyGem</a>.</p>
+<h3 id="example-requestresponse-3">Example Request/Response</h3>
+<h4 id="request-3">Request:</h4>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+begin
+    # Call create_entity to initiate the API call
+    # By specifying 'nil' for the request body, we get an empty collection
+    client.create_entity('item', nil)
+rescue
+    #fail
+end
+                </code></pre>
+<h4 id="response-3">Response:</h4>
+<pre><code>{
+  "action" : "post",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ ],
+  "timestamp" : 1378857079220,
+  "duration" : 31,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method-2">SDK Method</h3>
+<pre><code>create_entity(type, properties)</code></pre>
+<h3 id="properties-1">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">type</td>
+<td align="left">Custom entity type that will correspond to the collection</td>
+</tr>
+<tr class="even">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties – in this case ‘nil’</td>
+</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-4">Example Request/Response</h3>
+<h4 id="request-4">Request:</h4>
+<pre><code>//create the basic client object
+var dataClient = new Usergrid.client({
+orgName:'your-org',
+appName:'your-app'
+});
+
+//options for the request
+var options = {
+endpoint:"items",
+method:"POST"
+}
+
+dataClient.request(options,function (error,response) {
+
+    if (error) { 
+        // Error
+    } else { 
+        // Success
+    }
+
+});     
+                </code></pre>
+<h4 id="response-4">Response:</h4>
+<pre><code>{ action: 'post',
+  application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+  params: {},
+  path: '/items',
+  uri: 'http://api.usergrid.com/your-org/your-app/items',
+  entities: [],
+  timestamp: 1378873689426,
+  duration: 29,
+  organization: 'your-org',
+  applicationName: 'your-app' }
+                </code></pre>
+<h3 id="sdk-method-3">SDK Method</h3>
+<pre><code>entity.request(options,callback)</code></pre>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left">
+<p>A JSON-formatted object containing the following properties:</p>
+<ul>
+<li>endpoint: the name of the collection to be created</li>
+<li>method: the HTTP method for the request, in this case <em>POST</em>
+</li>
+</ul>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<td align="left"><p>Callback function to handle the API response</p></td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-collections.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[14/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/deleting-collections/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/deleting-collections/index.html b/content/publish/docs/deleting-collections/index.html
new file mode 100644
index 0000000..103a7e2
--- /dev/null
+++ b/content/publish/docs/deleting-collections/index.html
@@ -0,0 +1,655 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Deleting Collections</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Deleting Collections</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deleting-collections.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#deleting-collections">Deleting Collections</a><ul>
+<li>
+<a href="#batch-deleting-entities-in-a-collection">Batch deleting entities in a collection</a><ul>
+<li><a href="#example-requestresponse">Example Request/Response</a></li>
+<li><a href="#request-syntax">Request Syntax</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example-requestresponse-1">Example Request/Response</a></li>
+<li><a href="#sdk-method">SDK Method</a></li>
+<li><a href="#properties">Properties</a></li>
+<li><a href="#example-requestresponse-2">Example Request/Response</a></li>
+<li><a href="#sdk-method-1">SDK Method</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example-requestresponse-3">Example Request/Response</a></li>
+<li><a href="#sdk-method-2">SDK Method</a></li>
+<li><a href="#properties-1">Properties</a></li>
+<li><a href="#example-requestresponse-4">Example Request/Response</a></li>
+<li><a href="#sdk-method-3">SDK Method</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="deleting-collections">Deleting Collections</h1>
+<p>This article describes how to batch delete entities in a collection. Batch deletes require the use of a query string in the request, which can either specify all entities in the collection or a subset of entities to be deleted. For more information on queries, see <a href="/basic-query-syntax">Basic query syntax</a>. Currently, collections cannot be deleted in Apache Usergrid.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="batch-deleting-entities-in-a-collection">Batch deleting entities in a collection</h2>
+<ul>
+<li><a href="#curl_delete_collection">cURL</a></li>
+<li><a href="#ios_delete_collection">iOS</a></li>
+<li><a href="#android_delete_collection">Android</a></li>
+<li><a href="#javascript_delete_collection">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_collection">Ruby</a></li>
+<li><a href="#nodejs_delete_collection">Node.js</a></li>
+</ul>
+<h3 id="example-requestresponse">Example Request/Response</h3>
+<h4 id="request">Request:</h4>
+<pre><code>curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/"</code></pre>
+<h4 id="response">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : {
+    "ql" : [ "" ]
+  },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+    "type" : "item",
+    "name" : "milk",
+    "price" : "3.25",
+    "created" : 1377129832047,
+    "modified" : 1377129832047,
+    "metadata" : {
+      "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+    },
+    "name" : "milk"
+  }, {
+    "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+    "type" : "item",
+    "name" : "bread",
+    "price" : "4.00",
+    "created" : 1377129843607,
+    "modified" : 1377129843607,
+    "metadata" : {
+      "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+    },
+    "name" : "bread"
+  } ],
+  "timestamp" : 1378848117272,
+  "duration" : 12275,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="request-syntax">Request Syntax</h3>
+<pre><code>curl -X DELETE https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;collection&gt;/?ql=</code></pre>
+<p>Note that you must include an empty query string (?ql=) at the end of the URL</p>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">org</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">app</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">collection</td>
+<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>
+<h3 id="example-requestresponse-1">Example Request/Response</h3>
+<h4 id="request-1">Request:</h4>
+<pre><code>-(NSString*)deleteCollection {
+
+    NSString *url = @"https://api.usergrid.com/your-org/your-app/items/?ql";
+    NSString *op = @"DELETE";
+    NSString *opData = nil;
+    
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient apiRequest: url operation: op data: opData];
+    
+    @try {
+        //success
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+
+}
+                </code></pre>
+<h4 id="response-1">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : {
+    "ql" : [ "" ]
+  },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+    "type" : "item",
+    "name" : "milk",
+    "price" : "3.25",
+    "created" : 1377129832047,
+    "modified" : 1377129832047,
+    "metadata" : {
+      "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+    },
+    "name" : "milk"
+  }, {
+    "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+    "type" : "item",
+    "name" : "bread",
+    "price" : "4.00",
+    "created" : 1377129843607,
+    "modified" : 1377129843607,
+    "metadata" : {
+      "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+    },
+    "name" : "bread"
+  } ],
+  "timestamp" : 1378848117272,
+  "duration" : 12275,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method">SDK Method</h3>
+<pre><code>(ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)op data:(NSString *)opData</code></pre>
+<h3 id="properties">Properties</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>url</p></td>
+<td align="left">
+<p>A fully-formed url in the following format: https://api.usergrid.com/<org>/&lt; app&gt;/<collection>/?ql=</collection></org></p>
+<p>Note that you must include an empty ‘?ql=’ query string at the end of the URL</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>op</p></td>
+<td align="left"><p>The HTTP method - in this case, ‘DELETE’</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>opData</p></td>
+<td align="left"><p>No data is being sent, so the value is <code>nil</code></p></td>
+</tr>
+</tbody>
+</table>
+<p>Currently, deleting all entities in a collection is not supported by the <a href="/app-services-sdks#android">Apache Usergrid SDK for Android</a>.</p>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
+<h3 id="example-requestresponse-2">Example Request/Response</h3>
+<h4 id="request-2">Request:</h4>
+<pre><code>//create the basic client object
+var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+//options for the request
+var options = {
+    endpoint:"items/?ql=", //don't forget to append '/?ql='
+    method:"DELETE",
+}
+
+dataClient.request(options,function (error,response) {
+
+    if (error) { 
+        // Error
+    } else { 
+        // Success
+    }
+
+});    
+                </code></pre>
+<h4 id="response-2">Response:</h4>
+<p>The API will respond with 404 Resource Not Found.</p>
+<h3 id="sdk-method-1">SDK Method</h3>
+<pre><code>request(options, callback)</code></pre>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left">
+<p>A JSON-formatted object containing the following properties:</p>
+<ul>
+<li>endpoint: the UUID or name of the collection to be emptied, appended by an empty query string in the format: &lt;collection&gt;/?ql=</li>
+<li>method: the HTTP method for the request, in this case <em>DELETE</em>
+</li>
+</ul>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<td align="left"><p>Callback function to handle the API response</p></td>
+</tr>
+</tbody>
+</table>
+<h3 id="example-requestresponse-3">Example Request/Response</h3>
+<h4 id="request-3">Request:</h4>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+begin
+    client['item'].delete_query ""
+rescue
+    #fail
+end
+                </code></pre>
+<h4 id="response-3">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : {
+    "ql" : [ "" ]
+  },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+    "type" : "item",
+    "name" : "milk",
+    "price" : "3.25",
+    "created" : 1377129832047,
+    "modified" : 1377129832047,
+    "metadata" : {
+      "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+    },
+    "name" : "milk"
+  }, {
+    "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+    "type" : "item",
+    "name" : "bread",
+    "price" : "4.00",
+    "created" : 1377129843607,
+    "modified" : 1377129843607,
+    "metadata" : {
+      "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+    },
+    "name" : "bread"
+  } ],
+  "timestamp" : 1378848117272,
+  "duration" : 12275,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method-2">SDK Method</h3>
+<pre><code>delete_query &lt;query_string&gt;</code></pre>
+<h3 id="properties-1">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">query_string</td>
+<td align="left">A query string that specifies the entities to be deleted. Use an empty string (<code>""</code>) to delete all entities in the collection.</td>
+</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-4">Example Request/Response</h3>
+<h4 id="request-4">Request:</h4>
+<pre><code>//create the basic client object
+var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+//options for the request
+var options = {
+    endpoint:"items/?ql=", //don't forget to append '/?ql='
+    method:"DELETE"
+}
+
+dataClient.request(options,function (error,response) {
+
+    if (error) { 
+        // Error
+    } else { 
+        // Success
+    }
+
+});     
+                </code></pre>
+<h4 id="response-4">Response:</h4>
+<pre><code>{ action: 'delete',
+  application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+  params: { ql: [ '' ] },
+  path: '/tests',
+  uri: 'http://api.usergrid.com/your-org/your-app/items',
+  entities: 
+   [ { uuid: '5eac800a-1a61-11e3-95b8-4f685c4bb3d6',
+       type: 'item',
+       name: 'milk',
+       price: '3.25',
+       created: 1378849125376,
+       modified: 1378849125376,
+       metadata: [Object] },
+     { uuid: '5eb77c8a-1a61-11e3-aae6-3be70698d378',
+       type: 'item',
+       name: 'bread',
+       price: '4.00',
+       created: 1378849125448,
+       modified: 1378849125448,
+       metadata: [Object] } ],
+  timestamp: 1378849137959,
+  duration: 648,
+  organization: 'your-org',
+  applicationName: 'your-app' }
+                </code></pre>
+<h3 id="sdk-method-3">SDK Method</h3>
+<pre><code>entity.destroy()</code></pre>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deleting-collections.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/deleting-data-entities/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/deleting-data-entities/index.html b/content/publish/docs/deleting-data-entities/index.html
new file mode 100644
index 0000000..56c9405
--- /dev/null
+++ b/content/publish/docs/deleting-data-entities/index.html
@@ -0,0 +1,678 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Deleting Data Entities</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Deleting Data Entities</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deleting-data-entities.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#deleting-data-entities">Deleting Data Entities</a><ul>
+<li>
+<a href="#deleting-an-entity">Deleting an entity</a><ul>
+<li><a href="#example-requestresponse">Example Request/Response</a></li>
+<li><a href="#request-syntax">Request Syntax</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example-requestresponse-1">Example Request/Response</a></li>
+<li><a href="#sdk-method">SDK Method</a></li>
+<li><a href="#properties">Properties</a></li>
+<li><a href="#example-requestresponse-2">Example Request/Response</a></li>
+<li><a href="#sdk-method-1">SDK Method</a></li>
+<li><a href="#properties-1">Properties</a></li>
+<li><a href="#example-requestresponse-3">Example Request/Response</a></li>
+<li><a href="#sdk-method-2">SDK Method</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example-requestresponse-4">Example Request/Response</a></li>
+<li><a href="#sdk-method-3">SDK Method</a></li>
+<li><a href="#example-requestresponse-5">Example Request/Response</a></li>
+<li><a href="#sdk-method-4">SDK Method</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="deleting-data-entities">Deleting Data Entities</h1>
+<p>This article describes how to delete data entities.</p>
+<p><strong>Note:</strong>Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="deleting-an-entity">Deleting an entity</h2>
+<ul>
+<li><a href="#curl_delete_entity">cURL</a></li>
+<li><a href="#ios_delete_entity">iOS</a></li>
+<li><a href="#android_delete_entity">Android</a></li>
+<li><a href="#javascript_delete_entity">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_delete_entity">Ruby</a></li>
+<li><a href="#nodejs_delete_entity">Node.js</a></li>
+</ul>
+<h3 id="example-requestresponse">Example Request/Response</h3>
+<h4 id="request">Request:</h4>
+<p>Delete by UUID:</p>
+<pre><code>curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/da4a50dc-38dc-11e2-b2e4-02e81adcf3d0"</code></pre>
+<p>Delete by ‘name’ property:</p>
+<pre><code>curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/milk"</code></pre>
+<h4 id="response">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+    "type" : "item",
+    "name" : "milk",
+    "created" : 1378766158500,
+    "modified" : 1378766158500,
+    "metadata" : {
+      "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+    },
+    "name" : "milk",
+    "price" : "3.25"
+  } ],
+  "timestamp" : 1378766172016,
+  "duration" : 324,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="request-syntax">Request Syntax</h3>
+<pre><code>curl -X DELETE https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;collection&gt;/&lt;entity&gt;</code></pre>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">org</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">app</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">collection</td>
+<td align="left">Collection UUID or collection name</td>
+</tr>
+<tr class="even">
+<td align="left">entity</td>
+<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>
+<h3 id="example-requestresponse-1">Example Request/Response</h3>
+<h4 id="request-1">Request:</h4>
+<pre><code>-(NSString*)deleteEntity {
+
+    //specify the entity type to be deleted 
+    NSString *type = @"item";
+    
+    //specify the uuid or name of the entity to be deleted
+    NSString *entityId = @"milk";
+    
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient removeEntity:type entityID:entityId];
+    
+    @try {
+        //success
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+
+}
+                
+                </code></pre>
+<h4 id="response-1">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+    "type" : "item",
+    "name" : "milk",
+    "created" : 1378766158500,
+    "modified" : 1378766158500,
+    "metadata" : {
+      "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+    },
+    "name" : "milk",
+    "price" : "3.25"
+  } ],
+  "timestamp" : 1378766172016,
+  "duration" : 324,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method">SDK Method</h3>
+<pre><code>(ApigeeClientResponse *)removeEntity: (NSString *)type entityID:(NSString *)entityID</code></pre>
+<h3 id="properties">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">type</td>
+<td align="left">The entity type being deleted</td>
+</tr>
+<tr class="even">
+<td align="left">entityID</td>
+<td align="left">The UUID or name of the entity to be removed</td>
+</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
+String ORGNAME = "your-org";
+String APPNAME = "your-app";        
+ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+DataClient dataClient = apigeeClient.getDataClient();
+
+String type = "item"; //entity type to be retrieved
+String uuid = "b3aad0a4-f322-11e2-a9c1-999e12039f87";
+    
+//call removeEntityAsync to initiate the asynchronous API call    
+dataClient.removeEntityAsync(type, uuid, new ApiResponseCallback() {    
+
+//If removeEntityAsync fails, catch the error
+@Override
+public void onException(Exception e) { 
+    // Error
+}
+
+//If removeEntityAsync is successful, handle the response object
+@Override
+public void onResponse(ApiResponse response) {
+    try { 
+        if (response != null) {
+            // Success
+        }
+    } catch (Exception e) { //The API request returned an error
+            // Fail
+    }
+}
+}); 
+                </code></pre>
+<h4 id="response-2">Response:</h4>
+<pre><code>{"action":"delete","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}}],"params":{},"path":"/items","rawResponse":"{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "d1511d7a-19a1-11e3-b02b-cd5b309a29fa",
+    "type" : "item",
+    "name" : "milk",
+    "created" : 1378766854343,
+    "modified" : 1378766854343,
+    "metadata" : {
+      "path" : "/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"
+    },
+    "name" : "milk",
+    "price" : "3.25"   
+  } ],
+  "timestamp" : 1378767852615,
+  "duration" : 276,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}
+","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378767852615,"entityCount":1,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","price" : "3.25","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}},"organization":"your-org","duration":276,"applicationNa
 me":"your-app"}
+                </code></pre>
+<h3 id="sdk-method-1">SDK Method</h3>
+<pre><code>removeEntity(String entityType, String entityID)</code></pre>
+<h3 id="properties-1">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">entityType</td>
+<td align="left">The entity type of the entity to be deleted</td>
+</tr>
+<tr class="even">
+<td align="left">entityID</td>
+<td align="left">The UUID or name of the entity to be deleted</td>
+</tr>
+</tbody>
+</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>//create the basic client object
+var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+//specify the properties of the entity to be deleted
+//type is required. UUID or name of the entity to be deleted is also required
+    var properties = {
+    client:client,
+    data:{'type':'item',
+    uuid:'39d25cca-03ad-11e3-a25d-71468ad53e11'
+    }
+};
+
+//create the entity object
+var entity = new Usergrid.Entity(properties);
+
+//call destroy() to initiate the API DELETE request
+entity.destroy(function (error) {
+
+if (error) { 
+    // Error
+} else {
+    // Success
+}
+
+});     
+                </code></pre>
+<h4 id="response-3">Response:</h4>
+<p>The API will respond with 404 Resource Not Found.</p>
+<h3 id="sdk-method-2">SDK Method</h3>
+<pre><code>entity.destroy(callback)</code></pre>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+<h3 id="example-requestresponse-4">Example Request/Response</h3>
+<h4 id="request-4">Request:</h4>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+begin
+    client['items']['milk'].entity.delete
+rescue
+    #fail
+end
+                </code></pre>
+<h4 id="response-4">Response:</h4>
+<pre><code>{
+  "action" : "delete",
+  "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+  "params" : { },
+  "path" : "/items",
+  "uri" : "http://api.usergrid.com/your-org/your-app/items",
+  "entities" : [ {
+    "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+    "type" : "item",
+    "name" : "milk",
+    "created" : 1378766158500,
+    "modified" : 1378766158500,
+    "metadata" : {
+      "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+    },
+    "name" : "milk",
+    "price" : "3.25"
+  } ],
+  "timestamp" : 1378766172016,
+  "duration" : 324,
+  "organization" : "your-org",
+  "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method-3">SDK Method</h3>
+<pre><code>delete</code></pre>
+<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>//create the basic client object
+var dataClient = new Usergrid.client({
+orgName:'your-org',
+appName:'your-app'
+});
+
+//specify the properties of the entity to be deleted
+//type is required. UUID or name of the entity to be deleted is also required
+var properties = {
+    client:dataClient,
+    data:{
+        'type':'item',
+        'uuid':'39d25cca-03ad-11e3-a25d-71468ad53e11'
+    }
+};
+
+//create the entity object
+var entity = new Usergrid.entity(properties);
+
+//call destroy() to initiate the API DELETE request
+entity.destroy(function (error) {
+
+    if (error) { 
+        // Error
+    } else {
+        // Success
+    }
+
+});     
+                </code></pre>
+<h4 id="response-5">Response:</h4>
+<pre><code>{ action: 'delete',
+  application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+  params: {},
+  path: '/items',
+  uri: 'http://api.usergrid.com/your-org/your-app/items',
+  entities: 
+   [ { uuid: 'f97c35ea-1a5b-11e3-b8a1-6f428da9ad88',
+       type: 'item',
+       name: 'milk',
+       price: '3.25',
+       created: 1378846808126,
+       modified: 1378846808126,
+       metadata: [Object] } ],
+  timestamp: 1378847145757,
+  duration: 285,
+  organization: 'your-org',
+  applicationName: 'your-app' }             
+                </code></pre>
+<h3 id="sdk-method-4">SDK Method</h3>
+<pre><code>entity.destroy(callback)</code></pre>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</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>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deleting-data-entities.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[47/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/activity.md
----------------------------------------------------------------------
diff --git a/content/content/docs/activity.md b/content/content/docs/activity.md
new file mode 100644
index 0000000..f301312
--- /dev/null
+++ b/content/content/docs/activity.md
@@ -0,0 +1,1128 @@
+---
+title: Activity
+category: docs
+layout: docs
+---
+
+Activity
+========
+
+Most modern applications struggle to manage data streams, such as those
+that contain an ongoing list of comments, activities, and tweets. In
+particular, mobile applications are prone to generating very large
+amounts of data in a data stream. Beyond that, additions to a data
+stream must often be routed automatically to subscribers or filtered or
+counted.
+
+App services provides an activity entity that is specifically designed
+for data streams. An activity is an entity type that represents activity
+stream actions (see the [JSON Activity Streams 1.0
+specification](http://activitystrea.ms/specs/json/1.0/) for more
+information about these actions).
+
+When a user creates an activity, it creates a relationship between the
+activity and the user who created it. Because this relationship exists,
+the activity will appear in the feed of any of the user’s followers.
+Think of the Activities endpoint (/users/{uuid|username}/activities) as
+an "outbox" of news items created by the user. Think of the Feed
+endpoint (/users/{uuid|username}/feed) as an "inbox" of news items meant
+to be seen or consumed by the user.
+
+A user can also post an activity to a group (located at
+/groups/{uuid|groupname}/activities). This allows you to emulate
+Facebook-style group functionality, where a limited number of users can
+share content on a common "wall". In any of these cases, there is no
+need to construct publish/subscribe relationships manually.
+
+Activity entities are particularly useful in applications that enable
+users to post content to activity streams (also called feeds) and to
+display activity streams. Some examples of these applications are
+Twitter, foursquare, and Pinterest. For example, when a Twitter user
+posts a short, 140-character or less, "tweet", that activity gets added
+to the user's activity stream for display as well as to the activity
+streams of any of the user's followers.
+
+Using App services APIs you can create, retrieve, update, and delete
+activity entities. See You do not have access to view this node for
+descriptions of these APIs.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating an activity {dir="ltr"}
+--------------------
+
+Use the  POST method to create an activity in the activities collection.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/users/{uuid|username}/activities {request
+body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of activity         |
+|                                      | properties:                          |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "actor":                       |
+|                                      |         {                            |
+|                                      |         "displayName":"John Doe",    |
+|                                      |         "uuid":"1f3567aa-da83-11e1-a |
+|                                      | fad-12313b01d5c1",                   |
+|                                      |         "username":"john.doe",       |
+|                                      |         "image":{                    |
+|                                      |           "duration":0,              |
+|                                      |           "height":80,               |
+|                                      |           "url":"http://www.gravatar |
+|                                      | .com/avatar/","width":80},           |
+|                                      |       "email":"john.doe@gmail.com"}, |
+|                                      |       "verb":"post",                 |
+|                                      |       "content":"Hello World!"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_create_activity)
+-   [JavaScript (HTML5)](#javascript_create_activity)
+-   [Ruby](#ruby_create_activity)
+-   [Node.js](#nodejs_create_activity)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/users/john.doe/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+    "image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+    "email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/john.doe/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            // success — POST worked. Data will contain raw results from API call        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app.create_activity { actor: { displayName: 'John Doe', uuid: '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'users/john.doe/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            // success — POST worked. Data will contain raw results from API call        
+        }
+    });
+
+### Example - Response
+
+    {
+     "action" : "post",
+     "application" : "5111c463-6a42-11e1-b6dd-1231380a0284",
+     "params" : {
+     },
+     "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities",
+     "uri" : "https://api.usergrid.com/5111c463-6a42-11e1-b6dd-1231380a0284/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities",
+     "entities" : [ {
+       "uuid" : "da448955-f3aa-11e1-8042-12313d331ae8",
+       "type" : "activity",
+       "created" : 1346445092974,
+       "modified" : 1346445092974,
+       "actor" : {
+         "displayName" : "John Doe",
+         "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+         "username" : "john.doe",
+         "image" : {
+           "duration" : 0,
+           "height" : 80,
+           "url" : "http://www.gravatar.com/avatar/",
+           "width" : 80
+         },
+         "email" : "john.doe@gmail.com"
+       },
+       "content" : "Hello World!",
+       "metadata" : {
+         "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/activities/da448955-f3aa-11e1-8042-12313d331ae8"
+       },
+       "published" : 1346445092974,
+       "verb" : "post"
+     } ],
+     "timestamp" : 1346445092827,
+     "duration" : 1406,
+     "organization": "my-org",
+     "applicationName": "my-app"
+    }
+
+**Note:** Anytime a logged-in user makes a request, you can substitute
+"me" for the uuid or username. So the format of a request to create an
+activity for the currently logged-in user would look like this:
+
+POST /{org\_id}/{app\_id}/users/me/activities {request body}
+
+The users/me endpoint is accessible only if you provide an access token
+with the request. If you don't provide an access token with the request,
+that is, you make an anonymous (or "guest") call, the system will not be
+able to determine which user to return as /users/me.
+
+When you create an activity it creates a relationship between the
+activity and the user who created it. In other words, the newly created
+activity above belongs to john.doe. Another way of saying this is the
+user "owns" the activity. And because this relationship exists, the
+activity will appear in the feed of any of the user’s followers (in this
+example, anyone who is following john.doe). However, it will not appear
+in the feed of people the user follows. The activity is accessible at
+the /activites endpoint to users who have the permission to read that
+endpoint.
+
+Notice the properties specified in the request body in the previous
+example are *actor*, *verb*, and *content*. The *actor*, *verb*, and
+*content* properties are built into the Activity entity (see
+[System-defined activity properties](#properties)). The actor property
+specifies properties of the entity that performs the action (here, user
+john.doe). The gravatar URL is used to create an icon for the
+activity. And because an Activity is simply an Apache Usergrid entity, you
+can also create custom properties.
+
+The *verb* parameter is descriptive. You can use it to indicate what
+type of activity is posted, for example, an image versus text. The
+value*post* is defined in the JSON Activity Streams specification as
+“the act of authoring an object and then publishing it online.“
+
+Posting an activity to a group {dir="ltr"}
+------------------------------
+
+Use the POST method to post an activity to a specific group. In this
+case the activity is created in the activities collection and is
+accessible at the /activities endpoint to users who have the permission
+to read that endpoint. In addition, a relationship is established
+between the activity and the group, and because of that, the activity
+will appear in the group’s feed. The group "owns" the activity. Also,
+the activity will be published in the feed of all users that are members
+of the group.
+
+Request URI
+
+POST /{org\_id}/{app\_id}/groups/{uuid|groupname}/activities {request
+body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| arg uuid|string groupname            | UUID or name of the group            |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of activity         |
+|                                      | properties:                          |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "actor":                       |
+|                                      |         {                            |
+|                                      |         "displayName":"John Doe",    |
+|                                      |         "uuid":"1f3567aa-da83-11e1-a |
+|                                      | fad-12313b01d5c1",                   |
+|                                      |         "username":"john.doe",       |
+|                                      |         "image":{                    |
+|                                      |           "duration":0,              |
+|                                      |           "height":80,               |
+|                                      |           "url":"http://www.gravatar |
+|                                      | .com/avatar/","width":80},           |
+|                                      |       "email":"john.doe@gmail.com"}, |
+|                                      |       "verb":"post",                 |
+|                                      |       "content":"Hello World!"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_post_activity_group)
+-   [JavaScript (HTML5)](#javascript_post_activity_group)
+-   [Ruby](#ruby_post_activity_group)
+-   [Node.js](#nodejs_post_activity_group)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mygroup/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+    "image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+    "email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mygroup/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — POST worked. Data will contain raw results from API call.        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mygroup/activities'].post { actor:{ displayName: 'John Doe', uuid : '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mygroup/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — POST worked. Data will contain raw results from API call.        
+        }
+    });
+
+Because this relationship exists, this activity will appear in the feed
+of all users who are members of mygroup. It won't appear in the feeds of
+the group members’ followers or in feeds of users they follow.
+
+### Example - Response
+
+    {
+      "action": "post",
+      "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params":  {},
+      "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+      "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+      "entities":  [
+         {
+          "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+          "type": "activity",
+          "created": 1353952903811,
+          "modified": 1353952903811,
+          "actor":  {
+            "displayName": "John Doe",
+            "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+            "username": "john.doe",
+            "image":  {
+              "duration": 0,
+              "height": 80,
+              "url": "http://www.gravatar.com/avatar/",
+              "width": 80
+            },
+            "email": "john.doe@gmail.com"
+          },
+          "content": "Hello World!",
+          "metadata":  {
+            "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+          },
+          "published": 1353952903811,
+          "verb": "post"
+        }
+      ],
+      "timestamp": 1353952903800,
+      "duration": 81,
+      "organization": "my-org",
+      "applicationName": "my-app"
+
+Creating an activity for a user's followers in a group {dir="ltr"}
+------------------------------------------------------
+
+Use the POST method to create an activity that will be published only in
+the feeds of users who (1) follow you, and (2) are in the same group to
+which you posted the activity. This is useful if you want to create
+specific groups of friends (for example, acquaintances or colleagues)
+and publish content to them with more precise privacy settings. This
+allows you to re-create a privacy model similar to Google+’s Circles or
+Facebook current privacy system.
+
+When you create an activity for a user’s followers in a group:
+
+-   The activity is accessible at the /activities endpoint to users who
+    have the permission to read that endpoint. The activity will not be
+    cross-posted to the group’s activity endpoint
+    (/groups/{uuid|groupname}/activities)
+-   A relationship is automatically created between the activity entity
+    that was just created and the user within that group
+    (/groups/{uuid|groupname}/users/{uuid|username})
+-   The user within the group
+    (/groups/{uuid|groupname}/users/{uuid|username}) becomes the owner
+    of the activity (through the owner property in the activity).
+
+### Request URI
+
+POST
+/{org\_id}/{app\_id}/groups/{uuid|groupname}/users/{uuid|username}/activities
+{request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| arg uuid|string groupname            | UUID or name of the group            |
++--------------------------------------+--------------------------------------+
+| arg uuid|string username             | UUID or name of the user             |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of activity         |
+|                                      | properties:                          |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "actor":                       |
+|                                      |         {                            |
+|                                      |         "displayName":"John Doe",    |
+|                                      |         "uuid":"1f3567aa-da83-11e1-a |
+|                                      | fad-12313b01d5c1",                   |
+|                                      |         "username":"john.doe",       |
+|                                      |         "image":{                    |
+|                                      |           "duration":0,              |
+|                                      |           "height":80,               |
+|                                      |           "url":"http://www.gravatar |
+|                                      | .com/avatar/","width":80},           |
+|                                      |       "email":"john.doe@gmail.com"}, |
+|                                      |       "verb":"post",                 |
+|                                      |       "content":"Hello World!"       |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_post_activity_user_group)
+-   [JavaScript (HTML5)](#javascript_post_activity_user_group)
+-   [Ruby](#ruby_post_activity_user_group)
+-   [Node.js](#nodejs_post_activity_user_group)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/groups/mygroup/users/john.doe/activities" -d '{"actor":{"displayName":"John Doe","uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1","username":"john.doe",
+    "image":{"duration":0,"height":80,"url":"http://www.gravatar.com/avatar/","width":80},
+    "email":"john.doe@gmail.com"},"verb":"post","content":"Hello World!"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mygroup/users/john.doe/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — POST worked. Data will contain raw results from API call.        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mygroup/users/john.doe/activities'].post { actor:{ displayName: 'John Doe', uuid : '1f3567aa-da83-11e1-afad-12313b01d5c1', username: 'john.doe', image: { duration: 0, height: 80, url: 'http://www.gravatar.com/avatar/', width: 80 }, email: 'john.doe@gmail.com' }, verb: 'post', content: 'Hello World!' }
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'groups/mygroup/users/john.doe/activities',
+        body:{"actor":
+               {"displayName":"John Doe",
+                "uuid":"1f3567aa-da83-11e1-afad-12313b01d5c1",
+                "username":"john.doe",
+                "image":
+                 {"duration":0,
+                  "height":80,
+                  "url":"http://www.gravatar.com/avatar/",
+                  "width":80},
+                  "email":"john.doe@gmail.com"},
+                 "verb":"post",
+                 "content":"Hello World!"}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — POST failed
+        } else {
+            //success — POST worked. Data will contain raw results from API call.        
+        }
+    });
+
+Because this relationship exists, this activity will appear in the feed
+of all users who are members of mygroup. It won't appear in the feeds of
+the group members’ followers or in feeds of users they follow.
+
+### Example - Response
+
+    {
+      "action" : "post",
+      "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params" : { },
+      "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+      "uri" : "https://api.usergrid.com/my-org/my-app/
+    /groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities",
+      "entities" : [ {
+        "uuid" : "2440ca58-49ff-11e2-84c0-02e81adcf3d0",
+        "type" : "activity",
+        "created" : 1355937094825,
+        "modified" : 1355937094825,
+        "actor" : {
+          "displayName" : "John Doe",
+          "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "username" : "john.doe",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "email" : "john.doe@gmail.com"
+        },
+        "content" : "Happy New Year!",
+        "metadata" : {
+          "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/users/34e26bc9-2d00-11e2-a065-02e81ae640dc/activities/2440ca58-49ff-11e2-84c0-02e81adcf3d0"
+        },
+        "published" : 1355937094825,
+        "verb" : "post"
+      } ],
+      "timestamp" : 1355937094789,
+      "duration" : 95,
+      "organization" : "my-org",
+      "applicationName" : "my-app"
+
+Getting a user’s activities {dir="ltr"}
+---------------------------
+
+Use the GET method to retrieve a user’s activities. This returns the
+activities posted on the user (that is, to
+/users/{uuid|username}/activities), but not the activities of the people
+that user follows. To retrieve the user’s activities and activities of
+the users he follows, you need to get the user’s feed.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users/{uuid|username}/activities
+
+### Parameters
+
+  Parameter                  Description
+  -------------------------- ----------------------------------------
+  arg uuid|string org\_id    Organization UUID or organization name
+  arg uuid|string app\_id    Application UUID or application name
+  arg uuid|string username   UUID or name of the user
+
+### Example - Request
+
+-   [cURL](#curl_get_user_activities)
+-   [JavaScript (HTML5)](#javascript_get_user_activities)
+-   [Ruby](#ruby_get_user_activities)
+-   [Node.js](#nodejs_get_user_activities)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/john.doe/activities"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/activities'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/john.doe/activities'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/activities'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params" : { },
+      "path" : "/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities",
+      "uri" : "https://api.usergrid.com/my-org/my-app/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities",
+      "entities" : [ {
+        "uuid" : "d57e5b00-37f1-11e2-a0f7-02e81ae640dc",
+        "type" : "activity",
+        "created" : 1353952258301,
+        "modified" : 1353952258301,
+        "actor" : {
+          "displayName" : "John Doe",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email" : "john.doe@gmail.com",
+          "username" : "john.doe"
+        },
+        "content" : "Hello World!",
+        "metadata" : {
+          "path" : "/users/5c0c1789-d503-11e1-b36a-12313b01d5c1/activities/d57e5b00-37f1-11e2-a0f7-02e81ae640dc"
+        },
+        "published" : 1353952258301,
+        "verb" : "post"
+      }, 
+      "timestamp" : 1355933909077,
+      "duration" : 39,
+      "organization" : "my-org",
+      "applicationName" : "my-app"}
+
+Getting a group’s activities {dir="ltr"}
+----------------------------
+
+Use the GET method to retrieve a group’s activities. This returns the
+activities created on or by the group (that is, to
+/groups/{uuid|groupname}/activities), but not the activities of
+followers of group members. To retrieve the group’s activities and
+activities of followers, you need to get the group’s feed.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/activities
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_activities)
+-   [JavaScript (HTML5)](#javascript_get_group_activities)
+-   [Ruby](#ruby_get_group_activities)
+-   [Node.js](#nodejs_get_group_activities)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/activities"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/activities'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mygroup/activities'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/activities'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+      "params" : { },
+      "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+      "uri" : "https://api.usergrid.com/my-org/my-app//groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities",
+      "entities" : [ {
+        "uuid" : "e7a47a41-4310-11e2-8861-02e81adcf3d0",
+        "type" : "activity",
+        "created" : 1355175065939,
+        "modified" : 1355175065939,
+        "actor" : {
+          "displayName" : "Martin Smith",
+          "id" : "tag:example.org,2011:martin",
+          "image" : {
+            "duration" : 0,
+            "height" : 250,
+            "url" : "http://example.org/martin/image",
+            "width" : 250
+          },
+          "objectType" : "person",
+          "url" : "http://example.org/martin"
+        },
+        "metadata" : {
+          "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/e7a47a41-4310-11e2-8861-02e81adcf3d0"
+        },
+        "object" : {
+          "id" : "tag:example.org,2011:abc123/xyz",
+          "url" : "http://example.org/blog/2011/02/entry"
+        },
+        "published" : 1355175065939,
+        "target" : {
+          "url" : "http://example.org/blog/",
+          "objectType" : "blog",
+          "id" : "tag:example.org,2011:abc123",
+          "displayName" : "Martin's Blog"
+        },
+        "verb" : "post"
+      }, {
+        "uuid" : "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+        "type" : "activity",
+        "created" : 1353952903811,
+        "modified" : 1353952903811,
+        "actor" : {
+          "displayName" : "John Doe",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email" : "john.doe@gmail.com",
+          "username" : "john.doe"
+        },
+        "content" : "Hello World!",
+        "metadata" : {
+          "path" : "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/activities/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+        },
+        "published" : 1353952903811,
+        "verb" : "post"
+      } ],
+      "timestamp" : 1355934203039,
+      "duration" : 141,
+      "organization" : "my-org",
+      "applicationName" : "my-app"
+    }
+
+Getting a user’s feed {dir="ltr"}
+---------------------
+
+Use the GET method to retrieve a user’s feed.
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/users/{uuid|username}/feed
+
+### Parameters
+
+  Parameter                  Description
+  -------------------------- ----------------------------------------
+  arg uuid|string org\_id    Organization UUID or organization name
+  arg uuid|string app\_id    Application UUID or application name
+  arg uuid|string username   UUID or name of the user
+
+### Example - Request
+
+-   [cURL](#curl_get_user_feed)
+-   [JavaScript (HTML5)](#javascript_get_user_feed)
+-   [Ruby](#ruby_get_user_feed)
+-   [Node.js](#nodejs_get_user_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/users/john.doe/feed"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['users/john.doe/feed'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'users/john.doe/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success GET worked. Data will contain raw results from API call.       
+        }
+    });
+
+### Example - Response
+
+    {
+      "action" : "get",
+      "application" : "5111c463-6a42-11e1-b6dd-1231380a0284",
+      "params" : {
+        "_" : [ "1346438183429" ]
+      },
+      "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed",
+      "uri" : "https://api.usergrid.com/5111c463-6a42-11e1-b6dd-1231380a0284/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed",
+      "entities" : [ {
+        "uuid" : "ffd79647-f399-11e1-aec3-12313b06ae01",
+        "type" : "activity",
+        "created" : 1346437854569,
+        "modified" : 1346437854569,
+        "actor" : {
+          "displayName" : "John Doe",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email" : "john.doe@gmail.com",
+          "username" : "john.doe"
+        },
+        "content" : "Hello World!",
+        "metadata" : {
+          "cursor" : "gGkAAQMAgGkABgE5ffM1aQCAdQAQ_9eWR_OZEeGuwxIxOwauAQCAdQAQABlaOvOaEeGuwxIxOwauAQA",
+          "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed/ffd79647-f399-11e1-aec3-12313b06ae01"
+        },
+        "published" : 1346437854569,
+        "verb" : "post"
+      }, {
+        "uuid" : "2482a1c5-e7d0-11e1-96f6-12313b06d112",
+        "type" : "activity",
+        "created" : 1345141694958,
+        "modified" : 1345141694958,
+        "actor" : {
+          "displayName" : "moab",
+          "image" : {
+            "duration" : 0,
+            "height" : 80,
+            "url" : "http://www.gravatar.com/avatar/",
+            "width" : 80
+          },
+          "uuid" : "1f3567aa-da83-11e1-afad-12313b01d5c1",
+          "email" : "massoddb@mfdsadfdsaoabl.com",
+          "username" : "moab"
+        },
+        "content" : "checking in code left and right!!",
+        "metadata" : {
+          "cursor" : "gGkAAQMAgGkABgE5MLFh7gCAdQAQJIKhxefQEeGW9hIxOwbREgCAdQAQJNEP6ufQEeGW9hIxOwbREgA",
+          "path" : "/users/1f3567aa-da83-11e1-afad-12313b01d5c1/feed/2482a1c5-e7d0-11e1-96f6-12313b06d112"
+        },
+        "published" : 1345141694958,
+        "verb" : "post"
+      } ],
+      "timestamp" : 1346438331316,
+      "duration" : 144,
+      "organization": "my-org",
+      "applicationName": "my-app"
+    }
+
+When a user creates an activity, a relationship is established between
+the activity and the user who created it. The activities in the user’s
+feed are based on this relationship as well as  any following
+relationships that the user has, and any groups in which the user
+belongs. So when a user asks to get his feed, what he gets is a list of
+(1) all the activities that the user owns, (2) all the activities posted
+by any users this user is following, and (3) any activities owned by any
+groups in which this user belongs.
+
+The user john.doe’s feed includes activities posted by user moab because
+john.doe follows moab.
+
+Getting a group’s feed {dir="ltr"}
+----------------------
+
+Use the GET method to retrieve the feed for a group. This gets a list of
+all the activities that have been posted to this group, that is, the
+activities for which this group has a relationship (owns).
+
+### Request URI
+
+GET /{org\_id}/{app\_id}/groups/{uuid|groupname}/feed
+
+### Parameters
+
+  Parameter                   Description
+  --------------------------- ----------------------------------------
+  arg uuid|string org\_id     Organization UUID or organization name
+  arg uuid|string app\_id     Application UUID or application name
+  arg uuid|string groupname   UUID or name of the group
+
+### Example - Request
+
+-   [cURL](#curl_get_group_feed)
+-   [JavaScript (HTML5)](#javascript_get_group_feed)
+-   [Ruby](#ruby_get_group_feed)
+-   [Node.js](#nodejs_get_group_feed)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/my-org/my-app/groups/mygroup/feed"
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — GET worked. Data will contain raw results from API call.        
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app['groups/mygroup/feed'].get
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'groups/mygroup/feed'
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — GET worked. Data will contain raw results from API call.        
+        }
+    });
+
+### Example - Response
+
+    {
+        "action": "get",
+        "application": "3400ba10-cd0c-11e1-bcf7-12313d1c4491",
+        "params":  {},
+        "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "uri": "https://api.usergrid.com/my-org/my-app/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed",
+        "entities":  [
+           {
+            "uuid": "563f5d96-37f3-11e2-a0f7-02e81ae640dc",
+            "type": "activity",
+            "created": 1353952903811,
+            "modified": 1353952903811,
+            "actor":  {
+              "displayName": "John Doe",
+              "image":  {
+                "duration": 0,
+                "height": 80,
+                "url": "http://www.gravatar.com/avatar/",
+                "width": 80
+              },
+              "uuid": "1f3567aa-da83-11e1-afad-12313b01d5c1",
+              "email": "john.doe@gmail.com",
+            "username": "john.doe"
+            },
+              "content": "Hello World!",
+              "metadata":  {
+                "cursor": "gGkAAQMAgGkABgE7PeHCgwCAdQAQVj9dljfzEeKg9wLoGuZA3ACAdQAQVkVRCTfzEeKg9wLoGuZA3AA",
+                "path": "/groups/d87edec7-fc4d-11e1-9917-12313d1520f1/feed/563f5d96-37f3-11e2-a0f7-02e81ae640dc"
+              },
+              "published": 1353952903811,
+              "verb": "post"
+            }
+          ],
+      "timestamp": 1353953272756,
+      "duration": 29,
+      "organization": "my-org",
+      "applicationName": "my-app"
+
+Activity properties
+-------------------
+
+The following are the system-defined properties for activity entities.
+You can create application-specific properties for an activity entity in
+addition to the system-defined properties. The system-defined properties
+are reserved. You cannot use these names to create other properties for
+an activity entity. In addition the activities name is reserved for the
+activities collection — you can't use it to name another collection.
+
+  Property    Type             Description
+  ----------- ---------------- ------------------------------------------------------------------------------------------------------------------------------------------
+  uuid        UUID             Activity’s unique entity ID
+  type        string           "activity"
+  created     long             [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified    long             [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  actor       ActivityObject   Entity that performs the action of the activity (see [JSON Activity Streams 1.0 specification](http://activitystrea.ms/specs/json/1.0/))
+  content     string           Description of the activity
+  icon        MediaLink        Visual representation of a media link resource (see [JSON Activity Streams 1.0 specification](http://activitystrea.ms/specs/json/1.0/))
+  category    string           Category used to organize activities
+  verb        string           Action that the actor performs (for example, *post*)
+  published   long             [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) when the activity was published
+  object      ActivityObject   Object on which the action is performed (see [JSON Activity Streams 1.0 specification](http://activitystrea.ms/specs/json/1.0/))
+  title       string           Title or headline for the activity
+
+Set property 
+-------------
+
+Activities have the following set property.
+
+  Set           Type     Description
+  ------------- -------- -------------------------------------
+  connections   string   Set of connections for the activity
+
+ 
+
+Sample app
+----------
+
+The Messagee sample app is a simple Twitter-style messaging application
+that leverages the activity stream functionality of App services. The
+source for the application is available in HTML5 (JavaScript), iOS, and
+Android. You can download the source from github at:
+
+-   [https://github.com/apigee/usergrid-sample-html5-messagee](https://github.com/apigee/usergrid-sample-html5-messagee)
+     (HTML5)
+-   [https://github.com/apache/incubator-usergrid-sample-ios-messagee](https://github.com/apache/incubator-usergrid-sample-ios-messagee)
+    (iOS)
+-   [https://github.com/apigee/usergrid-sample-android-messagee](https://github.com/apigee/usergrid-sample-android-messagee)
+    (Android)
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/admin-portal.md
----------------------------------------------------------------------
diff --git a/content/content/docs/admin-portal.md b/content/content/docs/admin-portal.md
new file mode 100644
index 0000000..4e254bd
--- /dev/null
+++ b/content/content/docs/admin-portal.md
@@ -0,0 +1,509 @@
+---
+title: Admin portal
+category: docs
+layout: docs
+---
+
+Admin portal
+============
+
+The *admin portal* is the primary administrative user interface for
+working with App services. The portal is also the most complete
+reference application that demonstrates how to incorporate App services
+with JavaScript.
+
+The admin portal is available online at
+[https://apigee.com/usergrid/](https://apigee.com/usergrid/). The portal
+source code is fully open source and forkable, available for download on
+GitHub at
+[https://github.com/usergrid/portal](https://github.com/usergrid/portal).
+You can easily extend the portal, embed it into your own applications,
+or inspect the code to learn best practices associated with the App
+services API. The App services JavaScript client is also part of the
+GitHub portal project.
+
+The portal opens in your default web browser, either Safari, Firefox, or
+Google Chrome. The article [Messagee Example](/messagee-example)
+describes how to use the portal to run a sample application, whereas
+this section describes portal components in more detail and highlights
+App services features.
+
+Account Home page
+-----------------
+
+When you log in to the portal, you are presented with a Home page for
+managing applications and data for your organization. The Home page
+displays:
+
+-   Applications associated with the currently selected organization
+-   Administrators that are part of that organization
+-   API credentials for the organization
+-   Activities performed recently by administrators
+-   A menu for building, organizing, and managing application content
+
+Applications
+------------
+
+For every app that you build, you need a defined application space
+within App services.  By default, a test application called "sandbox" is
+created for you automatically. For ease of use, this default app has all
+authentication disabled and should be used for learning / testing
+purposes only. You may also create as many additional applications as
+needed.
+
+This unique application space allows each app to have its own private
+infrastructure to store its objects and data. In some cases, if you have
+multiple apps that share much of the same data and users, you might
+represent them in App services as a single application, which would
+allow those apps to share the same data space.
+
+### Application Dashboard
+
+The Dashboard shows a variety of statistical data for the selected
+application. You can see the activity level, the total number of
+entities, entities created in the last day, week, and month, and other
+vital statistics for monitoring application health as well as quota
+limits.
+
+### Administration for multiple organizations
+
+The portal is designed to let you work within the context of a single
+organization at any one point in time. Because it is possible to be an
+administrator for multiple organizations, you can switch between
+organizations using the menu in the upper right corner.
+
+Authentication credentials
+--------------------------
+
+The portal provides a convenient way to set and retrieve credentials for
+API access. If you click your email address at the top of the Home page,
+you can set your password for both the portal and for OAuth2
+username/password Admin-level access. On the Home page for the selected
+organization, you can see OAuth2 client credentials for
+organization-wide access to applications owned by that organization.
+Clicking the Settings button (on the left sidebar) displays OAuth2
+credentials for the selected application. See the discussion on the [App
+services security model](/app-services-security-model) for more
+information on specifying credentials and authentication.
+
+Exploring the API using the shell
+---------------------------------
+
+When you first create a new Organization account, there are no
+applications associated with the account. To create an application,
+click New Application in your organization's Home page. You are
+presented with a dialog box that prompts you for the information needed
+to create a new app. When the app is created, a number of options are
+enabled in the left sidebar for viewing and administering that
+application's data. Before you get started with the high-level tools,
+create a new application, go to the left sidebar, and click the Shell
+button to try out a few basic API commands.
+
+### Entering API requests in the shell
+
+The shell interface is a simple way to get started using the App
+services API. It provides a command-line environment within your web
+browser for trying out interactive commands. One thing to keep in mind
+when using the shell is that App services API endpoints usually take the
+form of:
+
+    https://api.usergrid.com/my-org-id/my-app-id/users
+
+where my-org-id is the organization identifier(uuid), my-app-id is your
+application identifier(uuid) and users refers to the collection of user
+objects defined for your application. Refer to the [Using the
+API](/using-api) section for more information on constructing API
+requests.
+
+When using the shell, you can abbreviate a fully qualified path name,
+omitting everything through the application identifier. The above URL
+request, which lists all the users in the application my-app-id, simply
+becomes:
+
+    /users
+
+If you type /users into the shell, it's the same as an HTTP GET command
+to the API endpoint for the currently selected portal application. (The
+current application is selected using the Applications menu in the left
+sidebar.)
+
+To create a new user entity using the shell, enter the following and
+press return:
+
+    post /users {"username":"john.doe","email":"john.doe@gmail.com"}
+
+Note that there is a space after the path and before the JSON
+representation.
+
+You've now created a new user in your application. You should see
+something like the following displayed as a result:
+
+    > post /users {"username":"john.doe","email":"john.doe@gmail.com"}
+    /users
+    {
+      "action": "post",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {},
+      "path": "/users",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "entities": [
+        {
+          "uuid": "0e47f040-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "username": "john.doe",
+          "email": "john.doe@gmail.com",
+          "created": 1315523992687007,
+          "modified": 1315523992687007,
+          "metadata": {
+            "path": "/users/0e47f040-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          }
+        }
+      ],
+      "timestamp": 1315523992585,
+      "duration": 162
+    }
+    >
+
+Enter the following to create another user:
+
+    post /users {"username":"jane.doe","email":"jane.doe@gmail.com"}
+
+You should see something like the following result:
+
+    > post /users {"username":"jane.doe","email":"jane.doe@gmail.com"}
+    /users
+    {
+      "action": "post",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {},
+      "path": "/users",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "entities": [
+        {
+          "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "username": "jane.doe",
+          "email": "jane.doe@gmail.com",
+          "created": 1315524171347008,
+          "modified": 1315524171347008,
+          "metadata": {
+            "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          }
+        }
+      ],
+      "timestamp": 1315524171329,
+      "duration": 110
+    }
+    >
+
+Now enter the command to list the elements of the users collection
+again:
+
+    /users
+
+This time the results should show the two users you added:
+
+    > /users
+    /users
+    {
+      "action": "get",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {
+        "_": [
+          "1315524221412"
+        ]
+      },
+      "path": "/users",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "entities": [
+        {
+          "uuid": "0e47f040-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "created": 1315523992687007,
+          "modified": 1315523992687007,
+          "email": "john.doe@gmail.com",
+          "metadata": {
+            "path": "/users/0e47f040-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/0e47f040-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          },
+          "username": "john.doe"
+        },
+        {
+          "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "created": 1315524171347008,
+          "modified": 1315524171347008,
+          "email": "jane.doe@gmail.com",
+          "metadata": {
+            "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          },
+          "username": "jane.doe"
+        }
+      ],
+      "timestamp": 1315524225021,
+      "duration": 59
+    }
+    >
+
+To retrieve a specific user, try the following:
+
+    /users/jane.doe
+
+You should see results similar to this:
+
+    > /users/jane.doe
+    /users/jane.doe
+    {
+      "action": "get",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {
+        "_": [
+          "1315524419746"
+        ]
+      },
+      "path": "/users",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "entities": [
+        {
+          "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "created": 1315524171347008,
+          "modified": 1315524171347008,
+          "email": "jane.doe@gmail.com",
+          "metadata": {
+            "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          },
+          "username": "jane.doe"
+        }
+      ],
+      "timestamp": 1315524421071,
+      "duration": 107
+    }
+    >
+
+### Adding properties using the shell
+
+Now, let's add some information (entity properties) for the user
+jane.doe. You can assign application-specific or system-defined
+properties to user entities. (See the You do not have access to view
+this node for a list of predefined properties for each system-defined
+entity type.) As an example of adding an application-specific property,
+let's add the property city to the user jane.doe by typing:
+
+    put /users/jane.doe {"city" : "san francisco" }
+
+You should see results similar to this:
+
+    > put /users/jane.doe {"city" : "san francisco" }
+    /users/jane.doe
+    {
+      "action": "put",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {},
+      "path": "/users",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/users",
+      "entities": [
+        {
+          "uuid": "78c54a82-da71-11e0-b93d-12313f0204bb",
+          "type": "user",
+          "created": 1315524171347008,
+          "modified": 1315524526405008,
+          "city": "san francisco",
+          "email": "jane.doe@gmail.com",
+          "metadata": {
+            "path": "/users/78c54a82-da71-11e0-b93d-12313f0204bb",
+            "collections": {
+              "activities": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/activities",
+              "feed": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/feed",
+              "groups": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/groups",
+              "messages": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/messages",
+              "queue": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/queue",
+              "roles": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/roles",
+              "following": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/following",
+              "followers": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/followers"
+            },
+            "sets": {
+              "rolenames": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/rolenames",
+              "permissions": "/users/78c54a82-da71-11e0-b93d-12313f0204bb/permissions"
+            }
+          },
+          "username": "jane.doe"
+        }
+      ],
+      "timestamp": 1315524526343,
+      "duration": 84
+    }
+    >
+
+Let's create another type of object. Type the following:
+
+    post /cats {"name" : "felix"}
+
+You should see results for the collection cats that you created with the
+entity felix:
+
+    > post /cats {"name" : "felix"}
+    /cats
+    {
+      "action": "post",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {},
+      "path": "/cats",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/cats",
+      "entities": [
+        {
+          "uuid": "89a05d85-da72-11e0-b93d-12313f0204bb",
+          "type": "cat",
+          "created": 1315524629123008,
+          "modified": 1315524629123008,
+          "metadata": {
+            "path": "/cats/89a05d85-da72-11e0-b93d-12313f0204bb"
+          },
+          "name": "felix"
+        }
+      ],
+      "timestamp": 1315524629068,
+      "duration": 107
+    }
+    >
+
+Now let's update this object by assigning a property color:
+
+    put /cats/felix {"color" : "black"}
+
+You should see something like the following results:
+
+    > put /cats/felix {"color" : "black"}
+    /cats/felix
+    {
+      "action": "put",
+      "application": "1c8f60e4-da67-11e0-b93d-12313f0204bb",
+      "params": {},
+      "path": "/cats",
+      "uri": "https://api.usergrid.com/1c8f60e4-da67-11e0-b93d-12313f0204bb/cats",
+      "entities": [
+        {
+          "uuid": "89a05d85-da72-11e0-b93d-12313f0204bb",
+          "type": "cat",
+          "created": 1315524629123008,
+          "modified": 1315524724093008,
+          "color": "black",
+          "metadata": {
+            "path": "/cats/89a05d85-da72-11e0-b93d-12313f0204bb"
+          },
+          "name": "felix"
+        }
+      ],
+      "timestamp": 1315524724058,
+      "duration": 57
+    }
+    >
+
+You can now click the Collections button in the sidebar to see all of
+the collections in your application. There are two entities in the users
+collection and one in the cats collection. Feel free to look around and
+see how the portal provides a high-level alternative to the API for
+viewing and manipulating application objects.
+
+Subsequent sections give details about using the API to access and
+modify application entities. If you're ready to start using the App
+services API, see the You do not have access to view this node for
+details and examples for each API endpoint.
+
+Analytics
+---------
+
+On the left sidebar, click Analytics to explore this functionality. You
+can specify parameters for data collection, including what data points
+you'd like to collect, over what time period, and at what resolution.
+When you click the Generate button, the results are displayed in tabular
+form and graphically in the lower portion of the window.
+
+Creating a sandbox app
+----------------------
+
+When you create a new Apache Usergrid account, an app named sandbox is
+automatically created. In some cases you may want to create (or
+re-create) the sandbox app. For example, you may want to create a
+sandbox app for another organization or you may want to create another
+app for testing purposes. See [Using a Sandbox
+Application](/using-sandbox-application) for details.
+
+Displaying API calls as cURL commands
+-------------------------------------
+
+You can display the equivalent cURL syntax for each API call that you
+make through the admin portal. The calls are displayed in the console
+area of any of the following browsers: Chrome, Internet Explorer (in the
+debugger), Firefox (in Firebug), and Safari. For details, see
+[Displaying Apache Usergrid API calls as Curl
+commands](/displaying-app-services-api-calls-curl-commands).


[17/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/creating-custom-data-entities/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/creating-custom-data-entities/index.html b/content/publish/docs/creating-custom-data-entities/index.html
new file mode 100644
index 0000000..d954466
--- /dev/null
+++ b/content/publish/docs/creating-custom-data-entities/index.html
@@ -0,0 +1,1937 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Creating Custom Data Entities</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Creating Custom Data Entities</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-custom-data-entities.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#creating-custom-data-entities">Creating Custom Data Entities</a><ul>
+<li>
+<a href="#creating-a-custom-entity">Creating a custom entity</a><ul>
+<li><a href="#example-requestresponse">Example Request/Response</a></li>
+<li><a href="#request-syntax">Request Syntax</a></li>
+<li><a href="#parameters">Parameters</a></li>
+<li><a href="#example-requestresponse-1">Example Request/Response</a></li>
+<li><a href="#sdk-method">SDK Method</a></li>
+<li><a href="#parameters-1">Parameters</a></li>
+<li><a href="#example-requestresponse-2">Example Request/Response</a></li>
+<li><a href="#sdk-method-1">SDK Method</a></li>
+<li><a href="#parameters-2">Parameters</a></li>
+<li><a href="#example-requestresponse-3">Example Request/Response</a></li>
+<li><a href="#sdk-method-2">SDK Method</a></li>
+<li><a href="#parameters-3">Parameters</a></li>
+<li><a href="#example-requestresponse-4">Example Request/Response</a></li>
+<li><a href="#sdk-method-3">SDK Method</a></li>
+<li><a href="#properties">Properties</a></li>
+<li><a href="#example-requestresponse-5">Example Request/Response</a></li>
+<li><a href="#sdk-method-4">SDK Method</a></li>
+<li><a href="#parameters-4">Parameters</a></li>
+</ul>
+</li>
+<li>
+<a href="#creating-multiple-custom-entities">Creating multiple custom entities</a><ul>
+<li><a href="#example-requestresponse-6">Example Request/Response</a></li>
+<li><a href="#request-syntax-1">Request Syntax</a></li>
+<li><a href="#parameters-5">Parameters</a></li>
+<li><a href="#example-requestresponse-7">Example Request/Response</a></li>
+<li><a href="#sdk-method-5">SDK Method</a></li>
+<li><a href="#parameters-6">Parameters</a></li>
+<li><a href="#example-requestresponse-8">Example Request/Response</a></li>
+<li><a href="#sdk-method-6">SDK Method</a></li>
+<li><a href="#parameters-7">Parameters</a></li>
+<li><a href="#example-requestresponse-9">Example Request/Response</a></li>
+<li><a href="#sdk-method-7">SDK Method</a></li>
+<li><a href="#properties-1">Properties</a></li>
+<li><a href="#example-requestresponse-10">Example Request/Response</a></li>
+<li><a href="#sdk-method-8">SDK Method</a></li>
+<li><a href="#parameters-8">Parameters</a></li>
+</ul>
+</li>
+<li>
+<a href="#creating-an-entity-with-sub-properties">Creating an entity with sub-properties</a><ul>
+<li><a href="#example-requestresponse-11">Example Request/Response</a></li>
+<li><a href="#request-syntax-2">Request Syntax</a></li>
+<li><a href="#parameters-9">Parameters</a></li>
+<li><a href="#example-requestresponse-12">Example Request/Response</a></li>
+<li><a href="#sdk-method-9">SDK Method</a></li>
+<li><a href="#parameters-10">Parameters</a></li>
+<li><a href="#example-requestresponse-13">Example Request/Response</a></li>
+<li><a href="#sdk-method-10">SDK Method</a></li>
+<li><a href="#parameters-11">Parameters</a></li>
+<li><a href="#example-requestresponse-14">Example Request/Response</a></li>
+<li><a href="#sdk-method-11">SDK Method</a></li>
+<li><a href="#parameters-12">Parameters</a></li>
+<li><a href="#example-requestresponse-15">Example Request/Response</a></li>
+<li><a href="#sdk-method-12">SDK Method</a></li>
+<li><a href="#properties-2">Properties</a></li>
+<li><a href="#example-requestresponse-16">Example Request/Response</a></li>
+<li><a href="#sdk-method-13">SDK Method</a></li>
+<li><a href="#parameters-13">Parameters</a></li>
+</ul>
+</li>
+<li><a href="#add-new-comment">Add new comment</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="creating-custom-data-entities">Creating Custom Data Entities</h1>
+<p>This article describes how to create custom data entities and entity properties in Apache Usergrid. Entity types correspond to the name of collection to which they are posted. For example, if you create a new custom “dog” entity, a “dogs” collection will be created if one did not already exist. If a “dogs” collection already exists, the new “dog” entity will be saved in it. All user-defined properties are indexed, and strings that contain multiple words are keyword-indexed.</p>
+<p>The methods cited in this article should be used to create custom data entities. If you are using one of the <a href="/app-services-sdks">Apache Usergrid SDKs</a>, use one of the entity type-specific SDK methods to create <a href="/default-data-entities">default data entities</a>.</p>
+<p><strong>Note:</strong> Although not shown in the API examples below, you need to provide a valid access token with each API call. See <a href="/authenticating-users-and-application-clients">Authenticating users and application clients</a> for details.</p>
+<h2 id="creating-a-custom-entity">Creating a custom entity</h2>
+<p>When a new entity is created, Apache Usergrid will automatically create a corresponding collection if one does not already exist. The collection will automatically be named with the plural form of the entity type. For example, creating a custom entity of type ‘item’ will automatically create a collection named ‘items’ in which all future ‘item’ entities will be saved.</p>
+<ul>
+<li><a href="#curl_create_entity">cURL</a></li>
+<li><a href="#ios_create_entity">iOS</a></li>
+<li><a href="#android_create_entity">Android</a></li>
+<li><a href="#javascript_create_entity">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_entity">Ruby</a></li>
+<li><a href="#nodejs_create_entity">Node.js</a></li>
+</ul>
+<h3 id="example-requestresponse">Example Request/Response</h3>
+<h4 id="request">Request:</h4>
+<pre><code>curl -X POST "https://api.usergrid.com/your-org/your-app/item" -d '{"name":"milk", "price":"3.25"}'</code></pre>
+<h4 id="response">Response:</h4>
+<pre><code>    { 
+        "action" : "post", 
+        "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+        "params" : { }, 
+        "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+        "entities" : [ { 
+            "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1373415195230, 
+            "modified" : 1373415195230, 
+            "metadata" : { 
+                "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+            }, 
+            "name" : "milk", 
+            "price" : "3.25"
+        } ], 
+        "timestamp" : 1373415195225, 
+        "duration" : 635, 
+        "organization" : "my-org", 
+        "applicationName" : "my-app" 
+    }</code></pre>
+<h3 id="request-syntax">Request Syntax</h3>
+<pre><code>curl -X POST https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;entity_type&gt; -d '{&lt;property&gt;, &lt;property&gt;, ...}'</code></pre>
+<h3 id="parameters">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">org</td>
+<td align="left">Organization UUID or organization name</td>
+</tr>
+<tr class="even">
+<td align="left">app</td>
+<td align="left">Application UUID or application name</td>
+</tr>
+<tr class="odd">
+<td align="left">entity_type</td>
+<td align="left">Entity type to create. Apache Usergrid will create a corresponding collection if one does not already exist. To add an entity to an existing collections, use the pluralized collection name for entity_type.</td>
+</tr>
+<tr class="even">
+<td align="left">property</td>
+<td align="left">Comma-separated list of entity properties, formatted as key-value pairs: &lt;property&gt;:&lt;value&gt; (for a full list of default properties, see <a href="/default-data-entities">Default Data Entities</a>)</td>
+</tr>
+</tbody>
+</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*)newEntity {
+    
+    //create an entity object   
+    NSMutableDictionary *entity = [[NSMutableDictionary alloc] init ];
+    
+    //Set entity properties
+    [entity setObject:@"item" forKey:@"type"]; //Required. New entity type to create
+    [entity setObject:@"milk" forKey:@"name"];
+    [entity setObject:@"3.25" forKey:@"price"];
+    
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient createEntity:entity];
+    
+    @try {      
+        //success       
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+    
+}
+                </code></pre>
+<h4 id="response-1">Response:</h4>
+<pre><code>    { 
+        "action" : "post", 
+        "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+        "params" : { }, 
+        "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+        "entities" : [ { 
+            "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1373415195230, 
+            "modified" : 1373415195230, 
+            "metadata" : { 
+                "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+            }, 
+            "name" : "milk", 
+            "price" : "3.25"
+        } ], 
+        "timestamp" : 1373415195225, 
+        "duration" : 635, 
+        "organization" : "my-org", 
+        "applicationName" : "my-app" 
+    }</code></pre>
+<h3 id="sdk-method">SDK Method</h3>
+<pre><code>(ApigeeClientResponse *)createEntity:(NSDictionary *)newEntity</code></pre>
+<h3 id="parameters-1">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">newEntity</td>
+<td align="left">NSDictionary object that contains the entity properties</td>
+</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
+        String ORGNAME = "your-org"; 
+        String APPNAME = "your-app";
+        
+        ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME,this.getBaseContext());
+        DataClient client = apigeeClient.getDataClient();
+
+//Create properties object
+Map&lt;String, Object&gt; properties = new HashMap&lt;String, Object&gt;();
+properties.put("type", "item");
+properties.put("name", "milk");
+properties.put("price", "3.25");
+
+//call createEntityAsync to initiate the asynchronous API call
+apigeeClient.createEntityAsync(properties, new ApiResponseCallback() {
+    
+    //If createEntityAsync fails, catch the error
+    @Override
+    public void onException(Exception e) { 
+        // Error
+    }
+    
+    //If createEntityAsync is successful, handle the response object
+    @Override
+    public void onResponse(ApiResponse response) {
+        try { 
+            if (response != null) {
+                // Success
+            }
+        } catch (Exception e) { //The API request returned an error
+                // Fail
+        }
+    }
+});             
+                </code></pre>
+<h4 id="response-2">Response:</h4>
+<pre><code>{
+    "action":"post",
+    "application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+    "entities":[{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    }],
+
+    "params":{},
+    "path":"/items",
+    "rawResponse":"{
+        "action" : "post",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "type" : "item",
+            "created" : 1373475098695,
+            "modified" : 1373475098695,
+            "metadata" : {
+                "path" : "/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        } ],
+        "timestamp" : 1373475098689,
+        "duration" : 24,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }",
+    "uri":"http://api.usergrid.com/your-org/your-app/items",
+    "timestamp":1373475098689,
+    "entityCount":1,
+    "firstEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "lastEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "organization":"your-org",
+    "duration":24,
+    "applicationName":"your-app"
+}
+                </code></pre>
+<h3 id="sdk-method-1">SDK Method</h3>
+<p>Asynchronous:</p>
+<pre><code>createEntityAsync(Map&lt;String, Object&gt; properties, ApiResponseCallback callback)</code></pre>
+<p>Synchronous:</p>
+<pre><code>ApiResponse createEntity(Map&lt;String, Object&gt; properties)</code></pre>
+<h3 id="parameters-2">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">properties</td>
+<td align="left">Map object that contains the entity properties. The ‘type’ property is required.</td>
+</tr>
+<tr class="even">
+<td align="left">callback</td>
+<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>
+<h3 id="example-requestresponse-3">Example Request/Response</h3>
+<h4 id="request-3">Request:</h4>
+<pre><code>//Create your client object
+var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+
+//Set the properties of the entity
+var options = {
+    type:'item', //required
+    name:'milk',
+    price:'3.25'
+};
+
+//Create the entity and process the results
+client.createEntity(options, function (err, result) {
+    if (err) {
+        //error
+    } else {
+        //success          
+    }
+});     
+                 </code></pre>
+<h4 id="response-3">Response:</h4>
+<pre><code>"_client": //Information on the client object used to initiate the call
+    "URI":"https://api.usergrid.com",
+    "orgName":"your-org",
+    "appName":"your-app",
+    "buildCurl":false,
+    "logging":false,
+    "_callTimeout":30000,
+    "_callTimeoutCallback":null,
+    "logoutCallback":null,
+    "_start":1373482218757,
+    "_end":1373482219070,
+"_data": //Information on the successfully created entity
+    "type":"item",
+    "name":"milk",
+    "price":"3.25",
+    "uuid":"9124211a-e991-11e2-ba6c-e55e3ffa12ef",
+    "created":1373482218913,
+    "modified":1373482218913,
+    "metadata":
+        "path":"/items/9124211a-e991-11e2-ba6c-e55e3ffa12ef"                    
+                </code></pre>
+<h3 id="sdk-method-2">SDK Method</h3>
+<pre><code>createEntity(properties, callback)</code></pre>
+<h3 id="parameters-3">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties. The <code>type</code> property is required.</td>
+</tr>
+<tr class="even">
+<td align="left">callback</td>
+<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>
+<h3 id="example-requestresponse-4">Example Request/Response</h3>
+<h4 id="request-4">Request:</h4>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+begin
+    # Call create_entity to initiate the API call
+    # and save the response
+    client.create_entity('item', {'name' =&gt; 'milk', 'price' =&gt; '3.25'})
+rescue
+    #fail
+end
+                </code></pre>
+<h4 id="response-4">Response:</h4>
+<pre><code>    { 
+        "action" : "post", 
+        "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+        "params" : { }, 
+        "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+        "entities" : [ { 
+            "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1373415195230, 
+            "modified" : 1373415195230, 
+            "metadata" : { 
+                "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+            }, 
+            "name" : "milk", 
+            "price" : "3.25"
+        } ], 
+        "timestamp" : 1373415195225, 
+        "duration" : 635, 
+        "organization" : "my-org", 
+        "applicationName" : "my-app" 
+    }</code></pre>
+<h3 id="sdk-method-3">SDK Method</h3>
+<pre><code>create_entity(type, properties)</code></pre>
+<h3 id="properties">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">type</td>
+<td align="left">Custom entity type to create</td>
+</tr>
+<tr class="even">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties</td>
+</tr>
+</tbody>
+</table>
+<p>The example assumes use of the <a href="/app-services-sdks#nodejs">Node.js module</a>.</p>
+<h3 id="example-requestresponse-5">Example Request/Response</h3>
+<h4 id="request-5">Request:</h4>
+<pre><code>//Create a client object
+var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+//Set the properties for your entity
+var properties = {
+    type:"item", //Requried. Type of entity to create.
+    name:"milk",
+    price:"3.25"
+};
+
+//Call createEntity to initiate the API call
+client.createEntity(properties, function(error, result){
+    if(error) {
+        //error
+    } else {
+        //success
+    }
+});
+                </code></pre>
+<h4 id="response-5">Response:</h4>
+<pre><code>{ 
+    type: 'item',
+    name: 'milk',
+    price: '3.25',
+    uuid: '126e29aa-eb40-11e2-85a8-355b0e586a1a',
+    created: 1373667119418,
+    modified: 1373667119418,
+    metadata: { path: '/items/126e29aa-eb40-11e2-85a8-355b0e586a1a' } 
+}           
+                </code></pre>
+<h3 id="sdk-method-4">SDK Method</h3>
+<pre><code>createEntity(properties, callback)</code></pre>
+<h3 id="parameters-4">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties. The ‘type’ property is required.</td>
+</tr>
+<tr class="even">
+<td align="left">callback</td>
+<td align="left">Callback function</td>
+</tr>
+</tbody>
+</table>
+<h2 id="creating-multiple-custom-entities">Creating multiple custom entities</h2>
+<ul>
+<li><a href="#curl_create_multiple_entities">cURL</a></li>
+<li><a href="#ios_create_multiple_entities">iOS</a></li>
+<li><a href="#android_create_multiple_entities">Android</a></li>
+<li><a href="#javascript_create_multiple_entities">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_multiple_entities">Ruby</a></li>
+<li><a href="#nodejs_create_multiple_entities">Node.js</a></li>
+</ul>
+<h3 id="example-requestresponse-6">Example Request/Response</h3>
+<h4 id="request-6">Request:</h4>
+<pre><code>curl -X POST "https://api.usergrid.com/your-org/your-app/item" -d '[{"name":"milk", "price":"3.25"}, {"name":"bread", "price":"2.50"}]'</code></pre>
+<h4 id="response-6">Response:</h4>
+<pre><code>{
+    "action" : "post",
+    "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+    "params" : { },
+    "path" : "/items",
+    "uri" : "http://api.usergrid.com/your-org/your-app/items",
+    "entities" : [ {
+        "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1374084538609,
+        "modified" : 1374084538609,
+        "metadata" : {
+            "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+        },
+        "name" : "milk"
+    }, {
+        "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "2.50",
+        "created" : 1374084538754,
+        "modified" : 1374084538754,
+        "metadata" : {
+            "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+        },
+        "name" : "bread"
+    } ],
+    "timestamp" : 1374084538584,
+    "duration" : 388,
+    "organization" : "your-org",
+    "applicationName" : "your-app"
+}</code></pre>
+<h3 id="request-syntax-1">Request Syntax</h3>
+<pre><code>curl -X POST https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;entity_type&gt;/ -d '[{&lt;entity&gt;}, {&lt;entity&gt;}, ...]'</code></pre>
+<h3 id="parameters-5">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">org</td>
+<td align="left">Organization UUID or name</td>
+</tr>
+<tr class="even">
+<td align="left">app</td>
+<td align="left">Application UUID or name</td>
+</tr>
+<tr class="odd">
+<td align="left">entity_type</td>
+<td align="left">Custom entity type to create. Apache Usergrid will create a corresponding collection if one does not already exist. To add an entity to an existing collections, use the collection name or colleciton UUID in place of the entity type.</td>
+</tr>
+<tr class="even">
+<td align="left">entity</td>
+<td align="left">Comma-separated list of entity objects to create. Each object should be formatted as a comma-separated list of entity properties, formatted as key-value pairs in the format &lt;property&gt;:&lt;value&gt;</td>
+</tr>
+</tbody>
+</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*)newMultipleEntities {
+
+    //apiRequest requires us to form the full API request, including base URL, org name, and app name.
+    //Note that we specify the target collection in the URL string
+    NSString * url = @"https://api.usergrid.com/your-org/your-app/items";
+    NSString * http_method = @"POST";
+    NSString * properties = @"[{\"name\":\"milk\",\"price\":\"3.25\"},{\"name\":\"bread\",\"price\":\"2.50\"}]"; //We escape the double quotes in the request body
+    
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient apiRequest:url operation:http_method data:properties];
+
+    @try {
+        
+       //success
+        
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+    
+}
+                </code></pre>
+<h4 id="response-7">Response:</h4>
+<pre><code>{
+    "action" : "post",
+    "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+    "params" : { },
+    "path" : "/items",
+    "uri" : "http://api.usergrid.com/your-org/your-app/items",
+    "entities" : [ {
+        "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1374084538609,
+        "modified" : 1374084538609,
+        "metadata" : {
+            "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+        },
+        "name" : "milk"
+    }, {
+        "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "2.50",
+        "created" : 1374084538754,
+        "modified" : 1374084538754,
+        "metadata" : {
+            "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+        },
+        "name" : "bread"
+    } ],
+    "timestamp" : 1374084538584,
+    "duration" : 388,
+    "organization" : "your-org",
+    "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method-5">SDK Method</h3>
+<p>The iOS SDK does not have a dedicated method for creating multiple entities. Instead, you can use the generic apiRequest method to form the API request manually.</p>
+<pre><code>(ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)http_method data:(NSString *)properties</code></pre>
+<h3 id="parameters-6">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>url</p></td>
+<td align="left">
+<p>Fully-formed request URL in the format:</p>
+<pre><code>https://api.usergrid.com/&lt;your-o</code></pre>
+<p>rg&gt;/<your-app>/<collection></collection></your-app></p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p>http_method</p></td>
+<td align="left"><p>HTTP Method – in this case POST</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p>properties</p></td>
+<td align="left"><p>A JSON array, containing a JSON object of entity properties for each entity to be created. The ‘type’ property is required for each entity.</p></td>
+</tr>
+</tbody>
+</table>
+<p>Currently, creating multiple entities is not supported by the <a href="/app-services-sdks#android">App Services Android SDK</a>.</p>
+<p>This example uses the <a href="/app-services-sdks#javascript">Apache Usergrid JavaScript (HTML5) SDK</a>.</p>
+<h3 id="example-requestresponse-8">Example Request/Response</h3>
+<h4 id="request-8">Request:</h4>
+<pre><code>//Create a client object with your organization name and application name.
+var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+//Set the request options: http method, endpoint, body
+var options = {
+    method:'POST',
+    endpoint:'items', //The collection name
+    body:[{"name":"milk", "price":"3.25"},{"name": "bread", "price":"3.25"}] //note the multiple JSON objects
+};
+
+//Call request() to initiate the API call and process the results
+client.request(options, function (error, response) {
+    if (error) {
+        //error
+    } else {
+        //success        
+    }
+});
+                </code></pre>
+<h4 id="response-8">Response:</h4>
+<pre><code>Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "post"
+    application: "f34f4222-a166-11e2-a7f7-02e8js76g3d0" //your Apache Usergrid application uuid
+    applicationName: "your-app"
+    duration: 315
+    entities: Array[2] //array of entities successfully created
+        0: Object //entity 1
+            created: 1374099532148
+            metadata: Object
+            modified: 1374099532148
+            name: "milk"
+            price: "3.25"
+            type: "item"
+            uuid: "dc80834a-ef2e-11e2-8a77-cf8d4c2dbd49"
+            __proto__: Object
+        1: Object //entity 2
+            created: 1374099532344
+            metadata: Object
+            modified: 1374099532344
+            name: "bread"
+            price: "3.25"
+            type: "item"
+            uuid: "dc9e6b8a-ef2e-11e2-8e8b-e39a2d988c4f"
+    length: 2
+    organization: "your-org"
+    params: Object
+    __proto__: Object
+        path: "/items"
+        timestamp: 1374099532139
+        uri: "http://api.usergrid.com/your-org/your-app/items"              
+                </code></pre>
+<h3 id="sdk-method-6">SDK Method</h3>
+<pre><code>request(options, callback)</code></pre>
+<h3 id="parameters-7">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left"><p>Object that contains the following properties: - endpoint: the collection to add the entities to - method: the HTTP method for the request - in this case <em>POST</em> - body: the body of the request – in this case, a JSON-array containing an object with properties for each entity to be created.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<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>
+<h3 id="example-requestresponse-9">Example Request/Response</h3>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+begin
+    # Call create_entity to initiate the API call - note the multiple JSON objects
+    # and save the response
+    response = client.create_entity 'multi', [{'name'=&gt; 'milk', 'price' =&gt; '3.25'},{'name'=&gt; 'bread', 'price' =&gt; '2.50'}]
+    new_items=response.entity
+rescue
+    #fail
+end         
+                </code></pre>
+<h4 id="response-9">Response:</h4>
+<pre><code>{
+    "action" : "post",
+    "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+    "params" : { },
+    "path" : "/items",
+    "uri" : "http://api.usergrid.com/your-org/your-app/items",
+    "entities" : [ {
+        "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1374084538609,
+        "modified" : 1374084538609,
+        "metadata" : {
+            "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+        },
+        "name" : "milk"
+    }, {
+        "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "2.50",
+        "created" : 1374084538754,
+        "modified" : 1374084538754,
+        "metadata" : {
+            "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+        },
+        "name" : "bread"
+    } ],
+    "timestamp" : 1374084538584,
+    "duration" : 388,
+    "organization" : "your-org",
+    "applicationName" : "your-app"
+}</code></pre>
+<h3 id="sdk-method-7">SDK Method</h3>
+<pre><code>create_entity(type, properties)</code></pre>
+<h3 id="properties-1">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">type</td>
+<td align="left">Custom entity type to create</td>
+</tr>
+<tr class="even">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties</td>
+</tr>
+</tbody>
+</table>
+<p>The example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
+<h3 id="example-requestresponse-10">Example Request/Response</h3>
+<h4 id="request-9">Request:</h4>
+<pre><code>//Create a client object
+var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+});         
+            
+//Set the request options: http method, endpoint, body
+var options = {
+method:'POST',
+endpoint:'items', //The collection name
+body:[{"name":"milk", "price":"3.25"},{"name": "bread", "price":"3.25"}] //note the multiple JSON objects
+};
+
+//Call request() to initiate the API call and process the results
+client.request(options, function (error, result) {
+    if (error) {
+        //error
+    } else {
+        //success — result will contain raw results from API call        
+    }
+});</code></pre>
+<h4 id="response-10">Response:</h4>
+<pre><code>{
+    "action": "post",
+    "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e221",
+    "params":   {},
+    "path": "/items",
+    "uri": "https://api.usergrid.com/22000a1c4e22-7fsii8t1-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/cats",
+    "entities":     [
+        {
+            "uuid": "187d31d9-0742-11e2-a7b5-12313d21509c",
+            "type": "item",
+            "name": "milk",
+            "price" : "3.25"
+            "created": 1348599123463,
+            "modified": 1348599123463,
+            "metadata":     {
+                "path": "/items/187d31d9-0742-11e2-a7b5-12313d21509c"
+                }
+        },
+        {
+            "uuid": "188f815b-0742-11e2-a7b5-12313d21509c",
+            "type": "items",
+            "name": "bread",
+            "price" : "2.50"
+            "created": 1348599123583,
+            "modified": 1348599123583,
+            "metadata":     {
+                            "path": "/cats/187d31d9-0742-11e2-a7b5-12313d21509c"
+            }
+        }
+    ],
+    "timestamp":    1348599123461,
+    "duration": 415,
+    "organization": "your-org",
+    "applicationName": "your-app"
+}
+            </code></pre>
+<h3 id="sdk-method-8">SDK Method</h3>
+<pre><code>request(options, callback)</code></pre>
+<h3 id="parameters-8">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left"><p>Object that contains the following properties: - endpoint: the collection to add the entities to - method: the HTTP method for the request – in this case <em>POST</em> - body: the body of the request. In this case, a JSON-formatted set of objects containing entity properties.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<td align="left"><p>Callback function</p></td>
+</tr>
+</tbody>
+</table>
+<h2 id="creating-an-entity-with-sub-properties">Creating an entity with sub-properties</h2>
+<p>Any valid JSON object can be stored in an entity, regardless of the level of complexity, including sub-properties. For example, suppose you have an ‘items’ collection that contains an entity named ‘milk’. You might store the different varieties of milk as sub-properties of a ‘varieties’ property:</p>
+<pre><code>{
+    "type" : "item"
+    "name" : "milk"
+    "varieties" : [ {
+        "name" : "1%",
+        "price" : "3.25",
+        "sku" : "0393847575533445"
+    }, {
+        "name" : "whole",
+        "price" : "3.85",
+        "sku" : "0393394956788445"
+    }, {
+        "name" : "skim",
+        "price" : "4.00",
+        "sku" : "0390299933488445"      
+    } ]
+}       
+    </code></pre>
+<p>The following examples show how to create a new entity that contains an entity with sub-properties.</p>
+<h4 id="updating-sub-properties">Updating sub-properties</h4>
+<p>An array of sub-properties is treated as a single object in App Services. This means that sub-properties cannot be updated atomically. All sub-properties of a given property must be updated as a set.</p>
+<p>For more on updating an existing sub-property, see <a href="/updating-data-entities#update_nested">Updating Data Entities</a>.</p>
+<ul>
+<li><a href="#curl_create_subproperties">cURL</a></li>
+<li><a href="#ios_create_subproperties">iOS</a></li>
+<li><a href="#android_create_subproperties">Android</a></li>
+<li><a href="#javascript_create_subproperties">JavaScript (HTML5)</a></li>
+<li><a href="#ruby_create_subproperties">Ruby</a></li>
+<li><a href="#nodejs_create_subproperties">Node.js</a></li>
+</ul>
+<h3 id="example-requestresponse-11">Example Request/Response</h3>
+<h4 id="request-10">Request:</h4>
+<pre><code>//Note the use of square brackets for specifying multiple nested objects
+curl -X POST "https://api.usergrid.com/your-org/your-app/items" -d '{"varieties":[{"name":"1%","price" : "3.25", "sku" : "0393847575533445"},{"name" : "whole", "price" : "3.85", "sku" : "0393394956788445"}, {"name" : "skim", "price" : "4.00", "sku" : "0390299933488445"}]}'</code></pre>
+<h4 id="response-11">Response:</h4>
+<pre><code>{ 
+    "action" : "post", 
+    "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+    "params" : { }, 
+    "path" : "/items", 
+    "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+    "entities" : [ { 
+        "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+        "type" : "item", 
+        "name" : "milk", 
+        "created" : 1374187231666, 
+        "modified" : 1374187231666, 
+        "metadata" : { 
+            "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+        }, 
+        "name" : "milk", 
+        "varieties" : [ { 
+            "name" : "1%", 
+            "price" : "3.25", 
+            "SKU" : "0393847575533445" 
+        }, { 
+            "name" : "whole", 
+            "price" : "3.85", 
+            "SKU" : "0393394956788445" 
+        }, { 
+            "name" : "skim", 
+            "price" : "4.00", 
+            "SKU" : "0390299933488445" 
+        } ] 
+    } ], 
+    "timestamp" : 1374187450826, 
+    "duration" : 50, 
+    "organization" : "your-org", 
+    "applicationName" : "your-app" 
+}</code></pre>
+<h3 id="request-syntax-2">Request Syntax</h3>
+<pre><code>curl -X POST https://api.usergrid.com/&lt;org&gt;/&lt;app&gt;/&lt;collection&gt;/ -d '{"name" : &lt;entity_name&gt;, &lt;property&gt; : [{&lt;sub_property&gt;}, {&lt;sub_property&gt;}...]}'</code></pre>
+<h3 id="parameters-9">Parameters</h3>
+<table>
+<col width="15%">
+<col width="82%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">org</td>
+<td align="left">Organization UUID or name</td>
+</tr>
+<tr class="even">
+<td align="left">app</td>
+<td align="left">Application UUID or name</td>
+</tr>
+<tr class="odd">
+<td align="left">collection</td>
+<td align="left">The UUID or name of the collection to add the new entity to</td>
+</tr>
+<tr class="even">
+<td align="left">entity_name</td>
+<td align="left">The name of the new entity</td>
+</tr>
+<tr class="odd">
+<td align="left">property</td>
+<td align="left">The name of the entity property that will contain the nested JSON object or array</td>
+</tr>
+<tr class="even">
+<td align="left">sub_property</td>
+<td align="left">Entity properties of the nested object, as a set of key-value pairs in the format:<br><em>{&lt;property&gt; : &lt;value&gt;, &lt;property&gt; : &lt;value&gt; …}</em>
+</td>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#ios">Apache Usergrid iOS SDK</a>.</p>
+<h3 id="example-requestresponse-12">Example Request/Response</h3>
+<h4 id="request-11">Request:</h4>
+<pre><code>-(NSString*)newEntity {
+    
+    //Initialize an object for the new entity to be created
+    NSMutableDictionary *entity = [[NSMutableDictionary alloc] init ];
+    
+    //Initialize an object for each nested variety object
+    NSMutableDictionary *variety_1 = [[NSMutableDictionary alloc] init ];
+    NSMutableDictionary *variety_2 = [[NSMutableDictionary alloc] init ];
+    NSMutableDictionary *variety_3 = [[NSMutableDictionary alloc] init ];
+        
+    //Initialize an array to hold the nested variety objects
+    NSMutableArray *variety_list = [[NSMutableArray alloc] init];
+    
+    [variety_1 setObject:@"1%" forKey:@"name"];
+    [variety_1 setObject:@"3.25" forKey:@"price"];
+    [variety_1 setObject:@"0393847575533445" forKey:@"sku"];    
+    
+    [variety_2 setObject:@"whole" forKey:@"name"];
+    [variety_2 setObject:@"3.85" forKey:@"price"];
+    [variety_2 setObject:@"0393394956788445" forKey:@"sku"];
+    
+    [variety_3 setObject:@"skim" forKey:@"name"];
+    [variety_3 setObject:@"4.00" forKey:@"price"];
+    [variety_3 setObject:@"0390299933488445" forKey:@"sku"];
+    
+    //Add the variety objects to the array
+    [variety_list addObject:variety_1];
+    [variety_list addObject:variety_2];
+    [variety_list addObject:variety_3];
+    
+    //Set the item entity properties
+    [entity setObject:@"item" forKey:@"type"]; //Required. New entity type to create
+    [entity setObject:@"milk" forKey:@"name"];
+    
+    //Set the variety_list array as the value of the 'varieties' property
+    [entity setObject:variety_list forKey:@"varieties"];
+    
+    //we recommend you call ApigeeClient from your AppDelegate. 
+    //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+    //create an instance of AppDelegate
+    AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+    
+    //call createEntity to initiate the API call
+    ApigeeClientResponse *response = [appDelegate.dataClient createEntity:entity];
+    
+    @try {
+        //success
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+    
+}
+                </code></pre>
+<h4 id="response-12">Response:</h4>
+<pre><code>{ 
+    "action" : "post", 
+    "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+    "params" : { }, 
+    "path" : "/items", 
+    "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+    "entities" : [ { 
+        "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+        "type" : "item", 
+        "name" : "milk", 
+        "created" : 1374187231666, 
+        "modified" : 1374187231666, 
+        "metadata" : { 
+            "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+        }, 
+        "name" : "milk", 
+        "varieties" : [ { 
+            "name" : "1%", 
+            "price" : "3.25", 
+            "SKU" : "0393847575533445" 
+        }, { 
+            "name" : "whole", 
+            "price" : "3.85", 
+            "SKU" : "0393394956788445" 
+        }, { 
+            "name" : "skim", 
+            "price" : "4.00", 
+            "SKU" : "0390299933488445" 
+        } ] 
+    } ], 
+    "timestamp" : 1374187450826, 
+    "duration" : 50, 
+    "organization" : "your-org", 
+    "applicationName" : "your-app" 
+}</code></pre>
+<h3 id="sdk-method-9">SDK Method</h3>
+<pre><code>(ApigeeClientResponse *)createEntity:(NSDictionary *)newEntity</code></pre>
+<h3 id="parameters-10">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">newEntity</td>
+<td align="left">NSMutableDictionary object that contains the entity properties</td>
+</tr>
+</tbody>
+</table>
+<p>This example uses the <a href="/app-services-sdks#android">Apache Usergrid Android SDK</a>.</p>
+<h3 id="example-requestresponse-13">Example Request/Response</h3>
+<h4 id="request-12">Request:</h4>
+<pre><code>//Create client entity
+        String ORGNAME = "your-org"; 
+        String APPNAME = "your-app";
+        
+        ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME,this.getBaseContext());
+        DataClient client = apigeeClient.getDataClient();
+
+//Create hashmap object for the properties of the new 'item' entity
+Map&lt;String, Object&gt; properties = new HashMap&lt;String, Object&gt;();
+
+//Create hashmap object for the each nested 'variety' object
+Map&lt;String, Object&gt; variety_1 = new HashMap&lt;String, Object&gt;();
+Map&lt;String, Object&gt; variety_2 = new HashMap&lt;String, Object&gt;();
+Map&lt;String, Object&gt; variety_3 = new HashMap&lt;String, Object&gt;();
+        
+//Add properties for each nested object
+variety_1.put("name","1%");
+variety_1.put("price","3.25");
+variety_1.put("sku","0393847575533445");
+
+variety_2.put("name","whole");
+variety_2.put("price","3.85");
+variety_2.put("sku","0393394956788445");
+
+variety_3.put("name","skim");
+variety_3.put("price","4.00");
+variety_3.put("sku","0390299933488445");
+
+//Create an ArrayList of the 'variety' objects
+ArrayList&lt;Map&lt;String, Object&gt;&gt; variety_list = new ArrayList&lt;Map&lt;String, Object&gt;&gt;();
+variety_list .add(variety_1);
+variety_list .add(variety_2);
+variety_list .add(variety_3);
+
+//Add the required properties for the 'item' entity
+properties.put("name", "milk");
+properties.put("type", "item");
+
+//Add 'variety_list' as the value of the 'varieties' property
+properties.put("varieties", variety_list);
+
+//call createEntityAsync to initiate the asynchronous API call
+dataClient.createEntityAsync(properties, new ApiResponseCallback() {
+    
+    //If createEntityAsync fails, catch the error
+    @Override
+    public void onException(Exception e) { 
+        // Error
+    }
+    
+    //If createEntityAsync is successful, handle the response object
+    @Override
+    public void onResponse(ApiResponse response) {
+        try { 
+            if (response != null) {
+                // Success
+            }
+        } catch (Exception e) { //The API request returned an error
+                // Fail
+        }
+    }
+});             
+                </code></pre>
+<h4 id="response-13">Response:</h4>
+<pre><code>{
+    "action":"post",
+    "application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+    "entities":[{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    }],
+
+    "params":{},
+    "path":"/items",
+    "rawResponse":"{
+        "action" : "post",
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "type" : "item",
+            "created" : 1373475098695,
+            "modified" : 1373475098695,
+            "metadata" : {
+                "path" : "/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+            "varieties": [
+                {
+                    "sku": "0393847575533445",
+                    "price": "3.25",
+                    "name": "1%"
+                },
+                {
+                    "sku": "0393394956788445",
+                    "price": "3.85",
+                    "name": "whole"
+                },
+                {
+                    "sku": "0390299933488445",
+                    "price": "4.00",
+                    "name": "skim"
+                }
+            ]
+        } ],
+        "timestamp" : 1373475098689,
+        "duration" : 24,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }",
+    "uri":"http://api.usergrid.com/your-org/your-app/items",
+    "timestamp":1373475098689,
+    "entityCount":1,
+    "firstEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "lastEntity":{
+        "Client":{
+            "accessToken":null,
+            "apiUrl":"http://api.usergrid.com",
+            "applicationId":"your-app",
+            "clientId":null,
+            "clientSecret":null,
+            "currentOrganization":null,
+            "loggedInUser":null,
+            "organizationId":"your-org"
+        },
+        "type":"item",
+        "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+        "created":1373475098695,
+        "modified":1373475098695,
+        "metadata":{
+            "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+        }
+    },
+    "organization":"your-org",
+    "duration":24,
+    "applicationName":"your-app"
+}
+                </code></pre>
+<h3 id="sdk-method-10">SDK Method</h3>
+<p>Asynchronous:</p>
+<pre><code>createEntityAsync(Map&lt;String, Object&gt; properties, ApiResponseCallback callback)</code></pre>
+<p>Synchronous:</p>
+<pre><code>ApiResponse createEntity(Map&lt;String, Object&gt; properties)</code></pre>
+<h3 id="parameters-11">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties</td>
+</tr>
+<tr class="even">
+<td align="left">callback</td>
+<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>
+<h3 id="example-requestresponse-14">Example Request/Response</h3>
+<h4 id="request-13">Request:</h4>
+<pre><code>//Create a client object with your organization name and application name.
+var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+
+var options = {
+    method:'POST',
+    endpoint:'items',
+    body:{ 
+        name:'milk', 
+        "varieties" : [
+                
+            {
+                "name" : "1%",
+                "price" : "3.25",
+                "sku" : "0393847575533445"
+            },
+            {
+                "name" : "whole",
+                "price" : "3.85",
+                "sku" : "0393394956788445"
+            },
+            {
+                "name" : "skim",
+                "price" : "4.00",
+                "sku" : "0390299933488445"      
+            }
+        ]       
+    }
+};
+
+client.createEntity(options, function (error, cat) {
+    
+    if (error) {
+        //error
+    } else {
+        //success          
+    }
+});
+                </code></pre>
+<h4 id="response-14">Response:</h4>
+<pre><code>Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "post"
+    application: "f34f4222-a166-11e2-a7f7-02e8js76g3d0" //your Apache Usergrid application uuid
+    applicationName: "your-app"
+    duration: 315
+    entities: Array[1] //array of entities successfully created
+        0: Object //entity 1
+            created: 1374099532148
+            metadata: Object
+            modified: 1374099532148
+            name: "milk"
+            price: "3.25"
+            type: "item"
+            uuid: "dc80834a-ef2e-11e2-8a77-cf8d4c2dbd49"
+            varieties: Array[3] //array of variety objects from variety_list
+                0: Object
+                sku: "0393847575533445"
+                name: "1%"
+                price: "3.25"
+                1: Object
+                sku: "0393394956788445"
+                name: "whole"
+                price: "3.85"
+                2: Object
+                sku: "0390299933488445"
+                name: "skim"
+                price: "4.00"
+                length: 3
+    organization: "your-org"
+    params: Object
+    __proto__: Object
+        path: "/items"
+        timestamp: 1374099532139
+        uri: "http://api.usergrid.com/your-org/your-app/items"              
+                </code></pre>
+<h3 id="sdk-method-11">SDK Method</h3>
+<pre><code>request(options, callback)</code></pre>
+<h3 id="parameters-12">Parameters</h3>
+<table>
+<col width="50%">
+<col width="50%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p>options</p></td>
+<td align="left"><p>Object that contains the following properties: - endpoint: the collection to add the entities to - method: the HTTP method for the request – in this case <em>POST</em> - body: the body of the request. In this case, a JSON-formatted set of objects containing entity properties.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p>callback</p></td>
+<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>
+<h3 id="example-requestresponse-15">Example Request/Response</h3>
+<h4 id="request-14">Request:</h4>
+<pre><code>#Create a client object
+usergrid_api = 'https://api.usergrid.com'
+organization = 'your-org'
+application = 'your-app'
+
+client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+properties = {
+    name:'milk', 
+    varieties:[{
+        name:'1%',
+        price:'3.25',
+        sku:'0393847575533445'
+    },{
+        name:'whole',
+        price:'3.85',
+        sku:'0393394956788445'
+    },{
+        name:'skim',
+        price:'4.00',
+        sku:'0390299933488445'
+    }]
+}
+
+begin
+    # Call create_entity to initiate the API call
+    # and save the response
+response = client.create_entity 'item', #{properties}
+    new_item=response.entity
+rescue
+    #fail
+end
+                </code></pre>
+<h4 id="response-15">Response:</h4>
+<pre><code>{ 
+    "action" : "post", 
+    "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+    "params" : { }, 
+    "path" : "/items", 
+    "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+    "entities" : [ { 
+        "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+        "type" : "item", 
+        "name" : "milk", 
+        "created" : 1374187231666, 
+        "modified" : 1374187231666, 
+        "metadata" : { 
+            "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+        }, 
+        "name" : "milk", 
+        "varieties" : [ { 
+            "name" : "1%", 
+            "price" : "3.25", 
+            "SKU" : "0393847575533445" 
+        }, { 
+            "name" : "whole", 
+            "price" : "3.85", 
+            "SKU" : "0393394956788445" 
+        }, { 
+            "name" : "skim", 
+            "price" : "4.00", 
+            "SKU" : "0390299933488445" 
+        } ] 
+    } ], 
+    "timestamp" : 1374187450826, 
+    "duration" : 50, 
+    "organization" : "your-org", 
+    "applicationName" : "your-app" 
+}</code></pre>
+<h3 id="sdk-method-12">SDK Method</h3>
+<pre><code>create_entity(type, properties)</code></pre>
+<h3 id="properties-2">Properties</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">type</td>
+<td align="left">Entity type to create</td>
+</tr>
+<tr class="even">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties</td>
+</tr>
+</tbody>
+</table>
+<p>The example uses the <a href="/app-services-sdks#nodejs">Apache Usergrid Node.js module</a>.</p>
+<h3 id="example-requestresponse-16">Example Request/Response</h3>
+<h4 id="request-15">Request:</h4>
+<pre><code>//Create a client object
+var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+});
+
+var options = {
+    method:'POST',
+    endpoint:'items',
+    body:{ 
+        name:'milk', 
+        varieties : [
+                
+            {
+                name : "1%",
+                price : "3.25",
+                sku : "0393847575533445"
+            },
+            {
+                name : "whole",
+                price : "3.85",
+                sku : "0393394956788445"
+            },
+            {
+                name : "skim",
+                price : "4.00",
+                sku : "0390299933488445"        
+            }
+        ]       
+    }
+};
+
+client.createEntity(options, function (error, cat) {
+    
+    if (error) {
+        //error
+    } else {
+        //success          
+    }
+});
+            </code></pre>
+<h4 id="response-16">Response:</h4>
+<pre><code>{ action: 'post',
+  application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+  params: {},
+  path: '/items',
+  uri: 'http://api.usergrid.com/your-org/your-app/items',
+  entities: 
+   [ { uuid: 'b3aad0a4-f322-11e2-a9c1-999e12039f87',
+       type: 'item',
+       name: 'milk',
+       created: 1374534114329,
+       modified: 1374534114329,
+       metadata: [Object],
+       varieties: [Object] } ],
+  timestamp: 1374534114326,
+  duration: 109,
+  organization: 'your-org',
+  applicationName: 'your-app' } 
+                </code></pre>
+<h3 id="sdk-method-13">SDK Method</h3>
+<pre><code>createEntity(properties, callback)</code></pre>
+<h3 id="parameters-13">Parameters</h3>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">properties</td>
+<td align="left">Object that contains the entity properties</td>
+</tr>
+<tr class="even">
+<td align="left">callback</td>
+<td align="left">Callback function</td>
+</tr>
+</tbody>
+</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>
+<p>Comment *</p>
+<p>We’d love your feedback and perspective! Please be as specific as possible.</p>
+<p>Word verification *</p>
+<p><img src="http://173.193.242.189:80/v1/captcha/131019b0bb7096f3fa.png" alt="Type the characters you see in this picture."> (<a href="#">verify using audio</a>)</p>
+<p>Type the characters you see in the picture above; if you can’t read them, submit the form and a new image will be generated. Not case sensitive.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/creating-custom-data-entities.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[03/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/organizations-admins/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/organizations-admins/index.html b/content/publish/docs/organizations-admins/index.html
new file mode 100644
index 0000000..d8ba1ac
--- /dev/null
+++ b/content/publish/docs/organizations-admins/index.html
@@ -0,0 +1,329 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Organizations & Admins</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Organizations & Admins</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organizations-admins.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#organizations">Organizations</a></li>
+<li><a href="#admins">Admins</a></li>
+</ul>
+</div>
+<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">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Organization’s unique entity ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">“organization”</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">organization</td>
+<td align="left">string</td>
+<td align="left">The name of the organization.</td>
+</tr>
+<tr class="even">
+<td align="left">username</td>
+<td align="left">string</td>
+<td align="left">The username of the administrator.</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">The name of the administrator.</td>
+</tr>
+<tr class="even">
+<td align="left">email</td>
+<td align="left">string</td>
+<td align="left">The email address of the administrator.</td>
+</tr>
+<tr class="odd">
+<td align="left">password</td>
+<td align="left">string</td>
+<td align="left">The password of the administrator. (create-only)</td>
+</tr>
+</tbody>
+</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>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/organizations-admins.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/overview/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/overview/index.html b/content/publish/docs/overview/index.html
new file mode 100644
index 0000000..d512f30
--- /dev/null
+++ b/content/publish/docs/overview/index.html
@@ -0,0 +1,279 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — App Security Overview</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>App Security Overview</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/overview.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#app-security-overview">App Security Overview</a></li>
+</ul>
+</div>
+<h1 id="app-security-overview">App Security Overview</h1>
+<p>Any app you put into production should feature security that protects your app, your users, and your app’s data. Implementing security means taking steps in your mobile app’s code and in your Apache Usergrid application.</p>
+<p><strong>Warning:</strong> When you register for Apache Usergrid, you get a sandbox application that you can use to try things out. This application is not for use in production. By default, the sandbox application is not protected by any security measures whatsoever. Use the sandbox only for experimentation, and only with data that isn’t in any way sensitive.</p>
+<p>When securing your app, follow these high-level steps:</p>
+<ol style="list-style-type: decimal">
+<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>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/security_model_0.png?itok=_fErNYbL"></embed>
+</div>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/overview.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/presentations/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/presentations/index.html b/content/publish/docs/presentations/index.html
new file mode 100644
index 0000000..0075466
--- /dev/null
+++ b/content/publish/docs/presentations/index.html
@@ -0,0 +1,293 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Presentations</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Presentations</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/presentations.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#how-to-contribute-to-apache-usergrid">How to Contribute to Apache Usergrid</a></li>
+<li><a href="#apache-usergrid-internals">Apache Usergrid Internals</a></li>
+<li><a href="#open-source-mobile-backend-on-cassandra">Open Source Mobile Backend on Cassandra</a></li>
+<li><a href="#usergrid-overview">Usergrid Overview</a></li>
+</ul>
+</div>
+<h2 id="how-to-contribute-to-apache-usergrid">How to Contribute to Apache Usergrid</h2>
+<ul>
+<li>David Johnson, <a href="http://apacheconnorthamerica2014.sched.org/event/29971aabd3c86398be2ae93403c7d1d2">ApacheCon NA 2014</a>
+</li>
+</ul>
+<iframe src="//www.slideshare.net/slideshow/embed_code/33275731" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+<h2 id="apache-usergrid-internals">Apache Usergrid Internals</h2>
+<ul>
+<li>Sungju Jin</li>
+</ul>
+<iframe src="//speakerdeck.com/player/f0cd95108c150131a1e7669157168c6d" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+<h2 id="open-source-mobile-backend-on-cassandra">Open Source Mobile Backend on Cassandra</h2>
+<ul>
+<li>Ed Anuff</li>
+</ul>
+<iframe src="//www.slideshare.net/slideshow/embed_code/13919079" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+
+<h2 id="usergrid-overview">Usergrid Overview</h2>
+<ul>
+<li>Ed Anuff</li>
+</ul>
+<iframe src="//www.slideshare.net/slideshow/embed_code/9476483" width="600" height="400" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/presentations.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/queries-and-parameters/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/queries-and-parameters/index.html b/content/publish/docs/queries-and-parameters/index.html
new file mode 100644
index 0000000..2878e3e
--- /dev/null
+++ b/content/publish/docs/queries-and-parameters/index.html
@@ -0,0 +1,264 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Apache Usergrid data query overview</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Apache Usergrid data query overview</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/queries-and-parameters/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#apache-usergrid-data-query-overview">Apache Usergrid data query overview</a></li>
+</ul>
+</div>
+<h1 id="apache-usergrid-data-query-overview"><a href="#apache-usergrid-data-query-overview">Apache Usergrid data query overview</a></h1>
+<p>You can write code to query for data you’ve stored in your Apache Usergrid application. You’ll most likely use queries as filters to retrieve specific entities. For example, you might want to get data about users who are “following” a specific other user, businesses in specific geographical locations, and so on.</p>
+<p>The following example retrieves a list of restaurants (from a restaurants collection) whose name property contains the value “diner”, sorting the list in ascending order by name:</p>
+<pre><code>/restaurants?ql=select * where name contains 'diner' order by name asc</code></pre>
+<blockquote>
+<p><strong>Note:</strong>Query examples in this content are shown unencoded to make them easier to read. Keep in mind that you might need to encode query strings if you’re sending them as part of URLs, such as when you’re executing them with the cURL tool.</p>
+</blockquote>
+<p>Having retrieved the list of restaurants, your code could display the list to your users. You could also use a query to retrieve a list of diners that are located within a particular geographical area (such as near your user’s current location).</p>
+<blockquote>
+<p><strong>Important:</strong> By default, results from queries of your Apache Usergrid data are limited to 10 items at a time. You can control this with the <code>limit</code> parameter, as discussed in <a href="/working-queries">Working with queries</a>.</p>
+</blockquote>
+<p>You query your Apache Usergrid data by using a query syntax that’s like Structured Query Language (SQL), the query language for relational databases. Unlike a relational database, where you specify tables and columns containing the data you want to query, in your Apache Usergrid queries you specify collections and entities.</p>
+<blockquote>
+<p><strong>Note:</strong> The syntax of Apache Usergrid queries only <em>resembles</em> SQL to make queries familiar and easier to write. However, the language isn’t SQL. Only the syntax items documented here are supported.</p>
+</blockquote>
+<p>The examples in these topics illustrate queries using simple strings to make the queries easier to read. You can also use one of the Apigee SDKs, which provide functions through which you can pass query strings, and in some cases shortcuts for bypassing queries altogether.</p>
+<blockquote>
+<p><strong>Note:</strong> Queries replace filters, which are deprecated.</p>
+</blockquote>
+<p>For more detail about support for queries your Apache Usergrid database, see the following topics:</p>
+<ul>
+<li><a href="/basic-query-syntax">Basic query syntax</a></li>
+<li><a href="/query-response-values">Query response values</a></li>
+<li><a href="/data-types-supported-queries">Data types supported in queries</a></li>
+<li><a href="/querying-data-admin-portal">Querying data from the admin portal</a></li>
+<li><a href="/working-queries">Working with queries</a></li>
+</ul>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/queries-and-parameters/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file


[02/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/query-language/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/query-language/index.html b/content/publish/docs/query-language/index.html
new file mode 100644
index 0000000..0a9ad4a
--- /dev/null
+++ b/content/publish/docs/query-language/index.html
@@ -0,0 +1,549 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Query Language</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Query Language</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/query-language.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#basic-syntax">Basic syntax</a></li>
+<li><a href="#supported-operators">Supported operators</a></li>
+<li><a href="#query-response-format">Query Response Format</a></li>
+<li><a href="#data-types-supported-in-queries">Data types supported in queries</a></li>
+<li><a href="#retrieving-values-for-multiple-properties">Retrieving values for multiple properties</a></li>
+<li><a href="#querying-for-the-contents-of-text">Querying for the contents of text</a></li>
+<li><a href="#sorting-results">Sorting results</a></li>
+<li><a href="#geoqueries">Geoqueries</a></li>
+<li><a href="#managing-large-sets-of-results">Managing large sets of results</a></li>
+</ul>
+</div>
+<blockquote>
+<p>Query examples in this content are shown unencoded to make them easier to read. Keep in mind that you might need to encode query strings if you’re sending them as part of URLs, such as when you’re executing them with the cURL tool.</p>
+</blockquote>
+<p>The following example retrieves a list of restaurants (from a restaurants collection) whose name property contains the value “diner”, sorting the list in ascending order by name:</p>
+<pre><code>/restaurants?ql=select * where name contains 'diner' order by name asc</code></pre>
+<h2 id="basic-syntax">Basic syntax</h2>
+<p>Queries of Apigee data for Apache Usergrid are made up of two kinds of statements: the path to the collection you want to query, followed by the query language statement containing your query. These two statements are separated by “?ql=” to indicate where the query language statement starts.</p>
+<p>To retrieve items from a collection, you would use a syntax such as the following:</p>
+<pre><code>/&lt;collection&gt;?ql=&lt;query_statement&gt;</code></pre>
+<p>In the following example, the query is retrieving all users whose name is Gladys Kravitz.</p>
+<pre><code>/users?ql=select * where name = 'Gladys Kravitz'</code></pre>
+<p>The following example selects all items except those that have an a property value of 5:</p>
+<pre><code>/items?ql=select * where NOT a = 5</code></pre>
+<p>Note that there is a shortcut available when your query selects all items matching certain criteria – in other words, where you use a statement that starts “select * where”. In this case, you can omit the first part of the statement and abbreviate it this way:</p>
+<pre><code>/items?ql=NOT a = 5</code></pre>
+<p>You query your Apache Usergrid data by using a query syntax that’s like Structured Query Language (SQL), the query language for relational databases. Unlike a relational database, where you specify tables and columns containing the data you want to query, in your Apache Usergrid queries you specify collections and entities.</p>
+<p>The syntax of Apache Usergrid queries only <em>resembles</em> SQL to make queries familiar and easier to write. However, the language isn’t SQL. Only the syntax items documented here are supported.</p>
+<h2 id="supported-operators">Supported operators</h2>
+<p>Comparisons</p>
+<ul>
+<li>Less than <code>&lt;</code> or <code>lt</code>
+</li>
+<li>Less than or equal <code>&lt;=</code> or <code>lte</code>
+</li>
+<li>Equal <code>=</code> or <code>eq</code>
+</li>
+<li>Greater than or equal <code>&gt;=</code> or <code>gte</code>
+</li>
+<li>Greater than <code>&gt;</code> or <code>gt</code>
+</li>
+<li>Not equal <code>NOT</code>
+</li>
+</ul>
+<p>Logical operations</p>
+<ul>
+<li>Intersection of results <code>and</code>
+</li>
+<li>Union of results <code>or</code>
+</li>
+<li>Subtraction of results <code>not</code>
+</li>
+</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>
+<p>…you would get a response such as the the one below. The JSON format arranges the data in name/value pairs. Many of the values correspond to specifics of the request, including the request’s HTTP action (GET), the application’s UUID, the request’s parameters (the query string you sent), and so on.</p>
+<p>Here, the query is asking for whole entities in the users collection. Data corresponding to the response is captured in the response’s <code>entities</code> array. The array has one member here, corresponding to the one user found by the query (another kind of query might have found more users). That one member gives the UUID of the entity (user), the entity type, and values for properties such as name, username, email, and so on.</p>
+<pre class="highlight"><code class="language-json"><span class="p">{</span>
+  <span class="nt">"action"</span> <span class="p">:</span> <span class="s2">"get"</span><span class="p">,</span>
+  <span class="nt">"application"</span> <span class="p">:</span> <span class="s2">"8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0"</span><span class="p">,</span>
+  <span class="nt">"params"</span> <span class="p">:</span> <span class="p">{</span>
+    <span class="nt">"ql"</span> <span class="p">:</span> <span class="p">[</span> <span class="s2">"select * where name = 'Gladys Kravitz'"</span> <span class="p">]</span>
+  <span class="p">},</span>
+  <span class="nt">"path"</span> <span class="p">:</span> <span class="s2">"/users"</span><span class="p">,</span>
+  <span class="nt">"uri"</span> <span class="p">:</span> <span class="s2">"http://api.usergrid.com/myorg/myapp/users"</span><span class="p">,</span>
+  <span class="nt">"entities"</span> <span class="p">:</span> <span class="p">[</span> <span class="p">{</span>
+    <span class="nt">"uuid"</span> <span class="p">:</span> <span class="s2">"d0d7d0ba-e97b-11e2-8cef-411c466c4f2c"</span><span class="p">,</span>
+    <span class="nt">"type"</span> <span class="p">:</span> <span class="s2">"user"</span><span class="p">,</span>
+    <span class="nt">"name"</span> <span class="p">:</span> <span class="s2">"Gladys Kravitz"</span><span class="p">,</span>
+    <span class="nt">"created"</span> <span class="p">:</span> <span class="mi">1373472876859</span><span class="p">,</span>
+    <span class="nt">"modified"</span> <span class="p">:</span> <span class="mi">1373472876859</span><span class="p">,</span>
+    <span class="nt">"username"</span> <span class="p">:</span> <span class="s2">"gladys"</span><span class="p">,</span>
+    <span class="nt">"email"</span> <span class="p">:</span> <span class="s2">"gladys@example.com"</span><span class="p">,</span>
+    <span class="nt">"activated"</span> <span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
+    <span class="nt">"picture"</span> <span class="p">:</span> <span class="s2">"http://www.gravatar.com/avatar/20c57d4f41cf51f2db44165eb058b3b2"</span><span class="p">,</span>
+    <span class="nt">"metadata"</span> <span class="p">:</span> <span class="p">{</span>
+      <span class="nt">"path"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c"</span><span class="p">,</span>
+      <span class="nt">"sets"</span> <span class="p">:</span> <span class="p">{</span>
+        <span class="nt">"rolenames"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/rolenames"</span><span class="p">,</span>
+        <span class="nt">"permissions"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/permissions"</span>
+      <span class="p">},</span>
+      <span class="nt">"connections"</span> <span class="p">:</span> <span class="p">{</span>
+        <span class="nt">"firstname"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/firstname"</span><span class="p">,</span>
+        <span class="nt">"lastname"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/lastname"</span>
+      <span class="p">},</span>
+      <span class="nt">"collections"</span> <span class="p">:</span> <span class="p">{</span>
+        <span class="nt">"activities"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/activities"</span><span class="p">,</span>
+        <span class="nt">"devices"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/devices"</span><span class="p">,</span>
+        <span class="nt">"feed"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/feed"</span><span class="p">,</span>
+        <span class="nt">"groups"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/groups"</span><span class="p">,</span>
+        <span class="nt">"roles"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/roles"</span><span class="p">,</span>
+        <span class="nt">"following"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/following"</span><span class="p">,</span>
+        <span class="nt">"followers"</span> <span class="p">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/followers"</span>
+      <span class="p">}</span>
+    <span class="p">}</span>
+  <span class="p">}</span> <span class="p">],</span>
+  <span class="nt">"timestamp"</span> <span class="p">:</span> <span class="mi">1374694196061</span><span class="p">,</span>
+  <span class="nt">"duration"</span> <span class="p">:</span> <span class="mi">48</span><span class="p">,</span>
+  <span class="nt">"organization"</span> <span class="p">:</span> <span class="s2">"myorg"</span><span class="p">,</span>
+  <span class="nt">"applicationName"</span> <span class="p">:</span> <span class="s2">"myapp"</span><span class="p">,</span>
+  <span class="nt">"count"</span> <span class="p">:</span> <span class="mi">1</span>
+<span class="p">}</span></code></pre>
+<p>Compare the preceding example with the following for another kind of query. Imagine the following request string, where the query string is asking for only the values of two of the entity’s properties (username and name):</p>
+<pre><code>/users?ql=select username,name where name=’Gladys Kravitz’</code></pre>
+<p>In the response JSON from this query, the return value is specified as the property of the <code>list</code> item – here, an array containing only the values of the properties the query asked for, in the order they were requested (username first, then name).</p>
+<pre><code>{
+  "action" : "get",
+  "application" : "8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0",
+  "params" : {
+    "ql" : [ "select username,name where name='Gladys Kravitz'" ]
+  },
+  "path" : "/users",
+  "uri" : "http://api.usergrid.com/myorg/myapp/users",
+  "list" : [ [ "gladys", "Gladys Kravitz" ] ],
+  "timestamp" : 1374697463190,
+  "duration" : 25,
+  "organization" : "myorg",
+  "applicationName" : "myapp",
+  "count" : 1
+}</code></pre>
+<h2 id="data-types-supported-in-queries">Data types supported in queries</h2>
+<p>As you develop queries for your Apache Usergrid data, remember that entity properties each conform to a particular data type (whether the entity is included by default or an entity you defined). Your queries must acknowledge this, testing with values that conform to each property’s data type. (You can view the list of property data types for the default entities at <a href="/default-data-entities">Default Data Entities</a>.)</p>
+<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>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Data Type</th>
+<th align="left">Examples</th>
+<th align="left">Notes</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p><code>string</code></p></td>
+<td align="left"><p><code>'value'</code>, <code>unicode '\uFFFF'</code>, <code>octal '\0707'</code></p></td>
+<td align="left"><p> </p></td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>long</code></p></td>
+<td align="left"><pre><code>1357412326021</code></pre></td>
+<td align="left"><p>Timestamps are typically stored as <code>long</code> values.</p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p><code>float</code></p></td>
+<td align="left">
+<pre><code>10.1, -10.1, 10e10,</code></pre>
+<p>10e-10, 10E10, 10E-10</p>
+</td>
+<td align="left"><p>Your query must be specific about the value you’re looking for, down to the value (if any) after the decimal point.</p></td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>boolean</code></p></td>
+<td align="left"><pre><code>true | false</code></pre></td>
+<td align="left"><p> </p></td>
+</tr>
+<tr class="odd">
+<td align="left"><p><code>UUID</code></p></td>
+<td align="left"><pre><code>ee912c4b-5769-11e2-
+924d-02e81ac5a17b</code></pre></td>
+<td align="left">
+<p>UUID types are typically used for the unique IDs of entities. The value must conform to the following format (do not enclose with quotation marks): xxxxxxxx-xxxx-xxxx- xxxx-xxxxxxxxxxxx</p>
+<p>.</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>object</code></p></td>
+<td align="left">
+<p>For a JSON object like this one:</p>
+<pre><code>{
+ "items": [
+  {
+   "name": "rocks"
+  },
+  {
+   "name": "boats"
+  }
+ ]
+}</code></pre>
+<p>… you can use dot notation to reach property values in the object:</p>
+<pre><code>/mycollection/thing</code></pre>
+<p>?ql=“select * where ite ms.name = ‘rocks’”</p>
+</td>
+<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>
+<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>
+<h2 id="querying-for-the-contents-of-text">Querying for the contents of text</h2>
+<p>Your query can search the text of entity values of the string data type. For example, you can search a postal code field for values that start with a specific three numbers.</p>
+<p>For example, the following query selects all restaurants with the word <code>diner</code> in the name:</p>
+<pre><code>/restaurants?ql=select * where name contains 'diner'</code></pre>
+<p><strong>Note:</strong> Not all string properties of the default entities are indexed for searching. This includes the <code>User</code> entity’s <code>username</code> property.</p>
+<p>This will return all users whose name property contains the word ‘Kravitz’</p>
+<pre><code>/users?ql=select * where name contains 'Kravitz'</code></pre>
+<p>This will return all users whose name property contains a word beginning with ‘Krav’</p>
+<pre><code>/users?ql=select * where name contains 'Krav*'</code></pre>
+<p>This will return all users whose name is exactly ‘Gladys Kravitz’</p>
+<pre><code>/users?ql=select * where name = 'Gladys Kravitz'</code></pre>
+<h2 id="sorting-results">Sorting results</h2>
+<p>You can return query results that are sorted in the order you specify. Use the <code>order by</code> clause to specify the property to sort by, along with the order in which results should be sorted. The syntax for the clause is as follows <code>order by &lt;property_name&gt; asc | desc</code></p>
+<p>The following table includes a few examples:</p>
+<pre><code>/users?ql=select * where lastname = 'Smith' order by firstname asc
+
+
+/users?ql=select * where lastname = 'Smith' order by firstname desc
+
+
+/users?ql=select * where lastname contains 'Sm*' order by lastname asc, firstname asc</code></pre>
+<h2 id="geoqueries">Geoqueries</h2>
+<p>Many of today’s apps are enhanced by the use of <em>geolocation</em>, wireless detection of the physical location of a remote device. These apps are said to be <em>geolocation-aware</em> in that they query the device to determine the user’s position and then use this data to further enhance the user’s experience. For example, apps can capture the exact location where a picture was taken or a message was created.</p>
+<p>App services support geolocation on any entity, both built in (e.g., users, groups) and user defined.</p>
+<p>To add a location to any entity, include the following member to the JSON in a POST or PUT call:</p>
+<pre><code>"location": {
+    "latitude": 37.779632,
+    "longitude": -122.395131  
+} </code></pre>
+<p>For example, to store a listing of restaurants and their locations, start by creating a collection called restaurants:</p>
+<pre><code>POST https://api.usergrid.com/org_name/app_name/restaurants</code></pre>
+<p>Next, add a new entity to the collection:</p>
+<pre><code>POST https://api.usergrid.com/org_name/app_name/restaurants
+{
+  "name": "Rockadero",
+  "address": "21 Slate Street, Bedrock, CA",
+  "location": {
+    "latitude": 37.779632,
+    "longitude": -122.395131
+  }
+}</code></pre>
+<p>This creates a new restaurant entity called “Rockadero” with the longitude and latitude included as part of the object.</p>
+<p>When a location is added to an entity, it is easy to make queries against that data. For example, to see all restaurants within a 10 mile radius of the user’s location, make a GET call against that entity, and include a search query in the following format:</p>
+<pre><code>location within &lt;distance in meters&gt; of &lt;latitude&gt;, &lt;longitude&gt;</code></pre>
+<p>If we use the location of our user Fred, we first need to convert miles to meters. 1 mile is equivalent to 1609.344 meters, so 10 miles is about 16093 meters. Thus, the API call looks like this:</p>
+<pre><code>GET https://api.usergrid.com/org_name/app_name/restaurants?ql=location within 16093 of 37.776753, -122.407846</code></pre>
+<h2 id="managing-large-sets-of-results">Managing large sets of results</h2>
+<p>When your query might return more results than you want to display to the user at once, you can use the limit parameter with cursors or API methods to manage the display of results. By default, query results are limited to 10 at a time. You can adjust this by setting the limit parameter to a value you prefer.</p>
+<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>
+<col width="33%">
+<col width="33%">
+<col width="33%">
+<thead>
+<tr class="header">
+<th align="left">Parameter</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left"><p><code>limit</code></p></td>
+<td align="left"><p>integer</p></td>
+<td align="left">
+<p>Number of results to return. The maximum number of results is 1,000. Specifying a limit greater than 1,000 will result in a limit of 1,000.</p>
+<p>Limit is applied to the collection, not the query string. For example, the following query will find the first 100 entities in the books collection, then from that set return the ones with author=‘Hemingway’:</p>
+<pre><code>/books?ql=author =</code></pre>
+<p>‘Hemingway’&amp;limit=100</p>
+<p>You can also use the limit parameter on a request without a query string. The following example is shorthand for selecting all books and limiting by 100 at a time:</p>
+<pre><code>/books?limit=100</code></pre>
+<p>Using a limit on a DELETE can help you manage the amount of time it takes to delete data. For example you can delete all of the books, 1000 at a time, with the following:</p>
+<pre><code>DELETE /books?limit</code></pre>
+<p>=1000</p>
+<p>Keep in mind that DELETE operations can take longer to execute. Yet even though the DELETE query call might time out (such as with a very large limit), the operation will continue on the server even if the client stops waiting for the result.</p>
+</td>
+</tr>
+<tr class="even">
+<td align="left"><p><code>cursor</code></p></td>
+<td align="left"><p>string</p></td>
+<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>
+<p>Select all users whose name starts with fred, and returns the first 50 results:</p>
+<pre><code>/users?ql=select * where name = 'fred*'&amp;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>
+<pre><code>/users?ql=select * where name = 'fred*'&amp;limit=50&amp;cursor=LTIxNDg0NDUxNDpnR2tBQVFFQWdITUFDWFJ2YlM1emJXbDBhQUNBZFFBUUQyMVZneExfRWVLRlV3TG9Hc1doZXdDQWRRQVFIYVdjb0JwREVlS1VCd0xvR3NWT0JRQQ</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/query-language.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/query-response-values/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/query-response-values/index.html b/content/publish/docs/query-response-values/index.html
new file mode 100644
index 0000000..e4aaf88
--- /dev/null
+++ b/content/publish/docs/query-response-values/index.html
@@ -0,0 +1,306 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Query response values</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+            <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        </div>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <!--<li class="active"><a href="/docs/"><span class="icns icon-book"></span></a></li>-->
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://github.com/usergrid/usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="#">Getting Up & Running Locally</a></li>
+                    <li><a href="#"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications">Applications</a>
+                                <ul>
+                                    <li><a href="#">Roles & Permissions</a></li>
+                                    <li><a href="#">Queues</a></li>
+                                    <li><a href="#">Events & Counters</a></li>
+                                    <li>
+                                        <a href="#">Collections</a>
+                                        <ul>
+                                            <li><a href="#">Query Language</a></li>
+                                            <li><a href="#">Users & Devices</a></li>
+                                            <li><a href="#">Groups</a></li>
+                                            <li><a href="#">Activities</a></li>
+                                            <li><a href="#">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <li><a href="/docs/rest-api">REST API</a></li>
+                    <li><a class="icns-apple" href="#">iOS SDK</a></li>
+                    <li><a class="icns-android" href="#">Android SDK</a></li>
+                    <li><a class="icns-html5" href="/docs/html5-javascript-sdk">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="#">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="/docs/nodejs-module">Node.js module</a></li>
+                    <li><a href="/docs/ruby-gem">Ruby gem</a></li>
+                    <li><a href="#">Ruby on Rails gem</a></li>
+                    <li><a href="#">PHP library</a></li>
+
+                    <li class="nav-header"><span>Internals</span></li>
+                    <li><a href="#">Design & Goals</a></li>
+                    <li><a href="#">Java Architecture</a></li>
+                    <li><a href="#">Cassandra Schema</a></li>
+                    <li><a href="#">Contributing</a></li>
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <li><a href="#">Deploying</a></li>
+                    <li><a href="#">Monitoring</a></li>
+                    <li><a href="#">Upgrading</a></li>
+                    <li><a href="#">Security</a></li>
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Query response values</h1>
+                  <small><a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/query-response-values/">contribute to this article on github</a></small>
+                </div>
+                <div class="toc">
+	
+</div>
+<p>When you query Apache Usergrid data, 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>
+<p>…you would get a response such as the the one below. The JSON format arranges the data in name/value pairs. Many of the values correspond to specifics of the request, including the request’s HTTP action (GET), the application’s UUID, the request’s parameters (the query string you sent), and so on.</p>
+<blockquote>
+<p><strong>Note:</strong>Query examples in this content are shown unencoded to make them easier to read. Keep in mind that you might need to encode query strings if you’re sending them as part of URLs, such as when you’re executing them with the cURL tool.</p>
+</blockquote>
+<p>Here, the query is asking for whole entities in the users collection. Data corresponding to the response is captured in the response’s <code>entities</code> array. The array has one member here, corresponding to the one user found by the query (another kind of query might have found more users). That one member gives the UUID of the entity (user), the entity type, and values for properties such as name, username, email, and so on.</p>
+<pre class="highlight"><code class="language-js"><span class="p">{</span>
+  <span class="s2">"action"</span> <span class="o">:</span> <span class="s2">"get"</span><span class="p">,</span>
+  <span class="s2">"application"</span> <span class="o">:</span> <span class="s2">"8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0"</span><span class="p">,</span>
+  <span class="s2">"params"</span> <span class="o">:</span> <span class="p">{</span>
+    <span class="s2">"ql"</span> <span class="o">:</span> <span class="p">[</span> <span class="s2">"select * where name = 'Gladys Kravitz'"</span> <span class="p">]</span>
+  <span class="p">},</span>
+  <span class="s2">"path"</span> <span class="o">:</span> <span class="s2">"/users"</span><span class="p">,</span>
+  <span class="s2">"uri"</span> <span class="o">:</span> <span class="s2">"http://api.usergrid.com/myorg/myapp/users"</span><span class="p">,</span>
+  <span class="s2">"entities"</span> <span class="o">:</span> <span class="p">[</span> <span class="p">{</span>
+    <span class="s2">"uuid"</span> <span class="o">:</span> <span class="s2">"d0d7d0ba-e97b-11e2-8cef-411c466c4f2c"</span><span class="p">,</span>
+    <span class="s2">"type"</span> <span class="o">:</span> <span class="s2">"user"</span><span class="p">,</span>
+    <span class="s2">"name"</span> <span class="o">:</span> <span class="s2">"Gladys Kravitz"</span><span class="p">,</span>
+    <span class="s2">"created"</span> <span class="o">:</span> <span class="mi">1373472876859</span><span class="p">,</span>
+    <span class="s2">"modified"</span> <span class="o">:</span> <span class="mi">1373472876859</span><span class="p">,</span>
+    <span class="s2">"username"</span> <span class="o">:</span> <span class="s2">"gladys"</span><span class="p">,</span>
+    <span class="s2">"email"</span> <span class="o">:</span> <span class="s2">"gladys@example.com"</span><span class="p">,</span>
+    <span class="s2">"activated"</span> <span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
+    <span class="s2">"picture"</span> <span class="o">:</span> <span class="s2">"http://www.gravatar.com/avatar/20c57d4f41cf51f2db44165eb058b3b2"</span><span class="p">,</span>
+    <span class="s2">"metadata"</span> <span class="o">:</span> <span class="p">{</span>
+      <span class="s2">"path"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c"</span><span class="p">,</span>
+      <span class="s2">"sets"</span> <span class="o">:</span> <span class="p">{</span>
+        <span class="s2">"rolenames"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/rolenames"</span><span class="p">,</span>
+        <span class="s2">"permissions"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/permissions"</span>
+      <span class="p">},</span>
+      <span class="s2">"connections"</span> <span class="o">:</span> <span class="p">{</span>
+        <span class="s2">"firstname"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/firstname"</span><span class="p">,</span>
+        <span class="s2">"lastname"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/lastname"</span>
+      <span class="p">},</span>
+      <span class="s2">"collections"</span> <span class="o">:</span> <span class="p">{</span>
+        <span class="s2">"activities"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/activities"</span><span class="p">,</span>
+        <span class="s2">"devices"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/devices"</span><span class="p">,</span>
+        <span class="s2">"feed"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/feed"</span><span class="p">,</span>
+        <span class="s2">"groups"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/groups"</span><span class="p">,</span>
+        <span class="s2">"roles"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/roles"</span><span class="p">,</span>
+        <span class="s2">"following"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/following"</span><span class="p">,</span>
+        <span class="s2">"followers"</span> <span class="o">:</span> <span class="s2">"/users/d0d7d0ba-e97b-11e2-8cef-411c466c4f2c/followers"</span>
+      <span class="p">}</span>
+    <span class="p">}</span>
+  <span class="p">}</span> <span class="p">],</span>
+  <span class="s2">"timestamp"</span> <span class="o">:</span> <span class="mi">1374694196061</span><span class="p">,</span>
+  <span class="s2">"duration"</span> <span class="o">:</span> <span class="mi">48</span><span class="p">,</span>
+  <span class="s2">"organization"</span> <span class="o">:</span> <span class="s2">"myorg"</span><span class="p">,</span>
+  <span class="s2">"applicationName"</span> <span class="o">:</span> <span class="s2">"myapp"</span><span class="p">,</span>
+  <span class="s2">"count"</span> <span class="o">:</span> <span class="mi">1</span>
+<span class="p">}</span></code></pre>
+<p>Compare the preceding example with the following for another kind of query. Imagine the following request string, where the query string is asking for only the values of two of the entity’s properties (username and name):</p>
+<pre><code>/users?ql=select username,name where name=’Gladys Kravitz’</code></pre>
+<p>In the response JSON from this query, the return value is specified as the property of the <code>list</code> item – here, an array containing only the values of the properties the query asked for, in the order they were requested (username first, then name).</p>
+<pre><code>{
+  "action" : "get",
+  "application" : "8272c9b0-d86a-11e2-92e2-cdf1ce04c1c0",
+  "params" : {
+    "ql" : [ "select username,name where name='Gladys Kravitz'" ]
+  },
+  "path" : "/users",
+  "uri" : "http://api.usergrid.com/myorg/myapp/users",
+  "list" : [ [ "gladys", "Gladys Kravitz" ] ],
+  "timestamp" : 1374697463190,
+  "duration" : 25,
+  "organization" : "myorg",
+  "applicationName" : "myapp",
+  "count" : 1
+}</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="https://groups.google.com/forum/#!forum/usergrid">ask on the mailing-list</a>!<br/>
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a href="https://github.com/timanglade/usergrid-site/blob/master/content/docs/query-response-values/">this article on github</a>.</div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <!-- <li><a href="/community#events">Events</a></li> -->
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                    <!-- <li class="nav-header"><a href="#">Docs</a></li> -->
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/usergrid/usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/usergrid/usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                        <li><a href="http://github.com/usergrid/usergrid" target="_blank">GitHub Code</a></li>
+                        <li><a href="https://issues.apache.org/jira/browse/USERGRID" target="_blank">JIRA Bug Tracker</a></li>
+                        <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                        <li><a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4">IRC</a></li>
+                        <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                        <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/LICENSE" target="_blank">License</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                        <li><a href="https://github.com/usergrid/usergrid/blob/master/stack#contributing" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2"></div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the name of Apache TLP sponsor. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/querying-data-admin-portal/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/querying-data-admin-portal/index.html b/content/publish/docs/querying-data-admin-portal/index.html
new file mode 100644
index 0000000..36f0273
--- /dev/null
+++ b/content/publish/docs/querying-data-admin-portal/index.html
@@ -0,0 +1,289 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Querying data from the admin portal</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Querying data from the admin portal</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/querying-data-admin-portal.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#querying-data-from-the-admin-portal">Querying data from the admin portal</a></li>
+</ul>
+</div>
+<h1 id="querying-data-from-the-admin-portal">Querying data from the admin portal</h1>
+<p>The easiest way to try out Apache Usergrid queries you’re considering is to use the admin portal, which you can reach at <a href="https://apigee.com/usergrid/">https://apigee.com/usergrid/</a>.</p>
+<p>To try out queries in the portal, use the following steps:</p>
+<ol style="list-style-type: decimal">
+<li>Go to the <strong>Data Explorer</strong> using the left navigation pane.</li>
+<li>Under <strong>Method</strong>, select the HTTP method you want to use, as follows:
+<ul>
+<li>GET to retrieve data.</li>
+<li>POST to create data.</li>
+<li>PUT to update data.</li>
+<li>DELETE to delete data.</li>
+</ul>
+</li>
+<li>In the <strong>Path</strong> box, enter the path to the collection you’re querying.</li>
+<li>
+<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>
+<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>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/querying-data-admin-portal.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[48/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/css/usergrid-site.css
----------------------------------------------------------------------
diff --git a/content/content/css/usergrid-site.css b/content/content/css/usergrid-site.css
new file mode 100644
index 0000000..e4bc3f2
--- /dev/null
+++ b/content/content/css/usergrid-site.css
@@ -0,0 +1,1553 @@
+@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,800,700,400italic,600italic,700italic,800italic,300italic");
+/* @import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700"); */
+/* Key scaffolding
+-------------------------------------------------- */
+body {
+  position: relative; /* For scrollyspy */
+  padding-top: 50px; /* Account for fixed navbar */
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-size:14px;
+  background-color: #FAFBFC;
+  /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; */
+}
+h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-weight: 300;
+}
+a:hover {text-decoration: none;}
+h2>a, h3>a, h2>a:hover, h3>a:hover { color: rgb(51,51,51); }
+h2:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 12px;
+  vertical-align: 15%;
+  font-size: 20px;
+}
+h3:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 8px;
+  vertical-align: 15%;
+  font-size: 15px;
+}
+h5, h6, .h5, .h6 {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+}
+.bf-sidebar .nav-list code{
+  margin-left: -3px;
+}
+.done {
+  opacity: 0.6;
+}
+.nav-list > li {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 400 !important;
+  opacity: 0.8;
+  margin-bottom: 3px;
+}
+header .navbar-nav {
+  font-size: 120%;
+}
+.nav-list > li > ul {
+  padding-left: 0;
+}
+.nav-list > li ul ul {
+  padding-left: 19px;
+}
+.nav-list > li ul > li {
+  list-style-type: none !important;
+}
+.nav-list > li ul > li:before {
+  content:"\221F";
+  font-weight: 200;
+  opacity: 0.5;
+  line-height: 50%;
+  vertical-align: 60%;
+  padding-left: 3px;
+}
+.nav-list > li ul > li > a {
+  padding: 0 0 0 3px;
+  margin-bottom: 0px;
+}
+.nav-list > li > a {
+  padding: 0;
+}
+.nav-list > li > a.icns-apple:before {
+  text-align: right;
+  content: "\F179";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-android:before {
+  text-align: right;
+  content: "\F17B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-html5:before {
+  text-align: right;
+  content: "\F13B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-windows:before {
+  text-align: right;
+  content: "\F17A";
+  font-family: 'FontAwesome';
+  margin-left: -19px;
+  padding-right: 7px;
+  line-height: 0;
+}
+li.nav-header {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 600 !important;
+  opacity: 1.0;
+  padding-top: 0 !important;
+  padding-left: 0 !important;
+  font-size: 120%;
+  margin-top: 33px;
+}
+.twitter-timeline {
+  margin-top: 33px;
+}
+.bf-docs-container .nav-list li.nav-header {
+  padding: 0 !important;
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  margin-top: 33px;
+  margin-bottom: 13px;
+}
+.bf-docs-container .nav-list li.nav-header span {
+  background-color: #FAFBFC;
+  padding-right: 8px;
+}
+
+.bf-community h2, .bf-docs-container h2, .bf-docs-container h3 {
+  padding-top: 90px;
+  margin-top: -60px;
+}
+
+.bf-docs-container .github-callout {
+  padding: 20px 0 40px 0;
+  font-style: italic;
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  opacity: 0.8;
+  font-size: 110%;
+}
+.navbar-nav > li a {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  opacity: 0.8;
+}
+
+.navbar-nav > li > a.major {
+  font-weight: 400 !important;
+  opacity: 1.0;
+}
+
+.navbar-collapse {
+    max-height: none;
+}
+
+.bf-masthead-bg p {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 200;
+  font-size: 120%;
+  line-height: 120%;
+}
+.bf-features p {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-features p a {
+  /*font-weight: 600;*/
+  /*color: rgb(52,73,94);*/
+}
+a.btn {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 500 !important;
+  font-style: normal;
+  letter-spacing: 110%;
+}
+h1 {
+  font-weight: 200;
+  letter-spacing: 110%;
+  font-size: 200%;
+}
+.page-header {
+  padding-top: 2px;
+}
+.page-header h1 {
+  padding-top:20px;
+  font-weight: 400;
+  font-size:350%;
+}
+.page-header small{
+  float: right;
+  background-color: #fff;
+  padding-left: 10px;
+}
+.page-header small a {
+  color: #ddd;
+  font-style: italic;
+}
+.page-header small a:hover {
+  color: #2481A6;
+}
+h2 {
+  font-weight: 400;
+}
+h3 {
+  padding-top: 20px;
+  font-weight: 400 !important;
+}
+.bf-features h3 {
+  padding-top: 0;
+}
+#copyright {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  font-style: italic;
+}
+#copyright img {
+  border-radius: 4px;
+}
+#copyright p {
+  opacity: 0.8;
+}
+#copyright .credits {
+  color: #fff;
+  font-weight: 600;
+  opacity: 1 !important;
+  font-style: normal;
+}
+.table {
+  margin: 20px 0 0 0;
+  background-color: transparent;
+}
+.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td {
+  padding-left: 0;
+}
+.toc {
+  margin-bottom:40px;
+  /*background-color: #fff;
+  border-radius: 4px;*/
+  /*padding: 20px;*/
+}
+/*.toc > h4 {
+  padding-top: 0;
+  margin-top: 0;
+  font-size: 150%;
+  font-weight:400;
+}*/
+.toc > ul {
+  margin-bottom: 0;
+  padding-left: 20px;
+}
+section > .container > h2 {
+  color: #2481A6 !important;
+}
+div.row > div.text-left > h2 {
+  margin-top: 40px;
+  margin-bottom: 10px;
+}
+.bf-docs-container h2 {
+  font-size: 250%;
+}
+/* font-face
+-------------------------------------------------- */
+@font-face {
+  font-family: 'icomoon';
+  src:url('../fonts/icomoon.eot');
+  src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
+    url('../fonts/icomoon.woff') format('woff'),
+    url('../fonts/icomoon.ttf') format('truetype'),
+    url('../fonts/icomoon.svg#icomoon') format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+[data-icon]:before {
+  font-family: 'icomoon';
+  content: attr(data-icon);
+  speak: none;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer, .icon-phone-portrait, .icon-rocket, .icon-github, .icon-twitter, .icon-thumbf-up, .icon-earth, .icon-bug, .icon-wiki, .icon-releases,.icon-window {
+  font-family: 'icomoon';
+  speak: none;
+  font-style: normal;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer:before {
+  content: "\e000";
+}
+.icon-phone-portrait:before {
+  content: "\e002";
+}
+.icon-rocket:before {
+  content: "\e003";
+}
+.icon-github:before {
+  content: "\e001";
+}
+.icon-twitter:before {
+  content: "\e004";
+}
+.icon-thumbf-up:before {
+  content: "\e005";
+}
+.icon-earth:before {
+  content: "\e006";
+}
+.icon-bug:before {
+  content: "\e007";
+}
+.icon-window:before {
+  content: "\e008";
+}
+.icon-wiki:before {
+  content: "\e009";
+}
+.icon-releases:before {
+  content: "\e010";
+}
+/* Custom docs button */
+.btn-bf {
+  color: #563d7c;
+  background-color: #fff;
+  border-color: #e5e5e5;
+}
+.btn-bf:hover,
+.btn-bf:focus,
+.btn-bf:active {
+  color: #fff;
+  background-color: #563d7c;
+  border-color: #563d7c;
+}
+/* Navs and headers
+-------------------------------------------------- */
+header.navbar .container {
+  padding-right: 0;
+}
+footer > .container {
+  padding-right: 0;
+  padding-left: 0;
+}
+header.navbar.secondary {
+  box-shadow: 0px 1px 2px rgb(36,129,166);
+}
+.navbar-inverse {
+    background-color: rgb(36,129,166);
+}
+nav.navbar-collapse {
+  border-color: rgb(52, 73, 94) !important;
+  border-width: 1px;
+  box-shadow: none;
+  padding-left: 15px;
+}
+.bf-docs-nav {
+  border-bottom: 0px;
+  padding-left: 20px;
+  padding-right: 20px;
+}
+.navbar-nav {
+  margin: 0;
+}
+
+.navbar-brand {
+  padding-left: 0;
+}
+.bf-docs-nav .navbar-nav > li > a {
+  margin: 10px 0 0 10px;
+  padding: 5px;
+  -webkit-border-radius: 4px;
+  -moz-border-radius: 4px;
+  border-radius: 4px;
+  color: #fff;
+}
+.bf-docs-nav .navbar-nav > li > a:hover {
+  color: #fff;
+  background-color: #34495e;
+}
+.bf-docs-nav .navbar-nav > .active > a,
+.bf-docs-nav .navbar-nav > .active > a:hover {
+  color: #fff;
+  background-color: #34495e !important;
+}
+li.divider {
+  margin-left: 0 !important;
+}
+
+/* Homepage masthead
+-------------------------------------------------- */
+.bf-masthead {
+  position: relative;
+  text-align: left;
+  /*background: #cbcbcd url(../img/rende.png) no-repeat 50% 100px;*/
+}
+.bf-masthead .bf-masthead-bg {
+    /*margin-top: 10px;*/
+    padding: 30px 15px;
+    color:#fff;
+    background-color: rgb(36,129,166);
+}
+/*.bf-masthead .logo {
+  height: 203px;
+}*/
+.bf-masthead .logo-title {
+  width: 600px;
+  padding: 20px 0 0 0;
+  margin-left: 0;
+}
+.bf-masthead .text-container {
+  margin-left: auto;
+  margin-right: auto;
+  text-align: left;
+}
+.bf-masthead .tagline {
+  font-style:normal;
+  font-weight:200;
+  font-size: 300%;
+  margin-bottom: 0;
+  margin-top: 30px;
+  padding-bottom: 30px;
+  color: white;
+  line-height: 90%;
+}
+.bf-masthead .tagline em {
+  font-style: italic;
+}
+.bf-masthead .description {
+  font-style: normal;
+  font-size: 150%;
+  margin-bottom: 45px;
+  /*line-height: 100%;*/
+}
+.bf-masthead .btn-wrapper {
+  text-align: center;
+  margin-bottom: 20px;
+  clear:both;
+}
+.bf-masthead .btn-wrapper {
+  text-align: left;
+  width: 100%;
+  margin-right: 20px;
+}
+.bf-masthead .social-btn {
+  float: left;
+  margin: 0 20px 10px 0;
+}
+.bf-masthead .or {
+  margin-left: 0px;
+  font-style: normal;
+  font-weight: 200;
+  opacity: 0.8;
+}
+
+.bf-masthead a {
+  line-height: 30px;
+  color: #FAFBFC;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-masthead h1 {
+  font-size: 30px;
+  line-height: 1.4;
+  color: #fff;
+}
+.bf-masthead .bf-masthead-links a,
+.bf-masthead .bf-masthead-links a:hover {
+  color: #fff;
+}
+.bf-masthead-info {
+  padding: 80px 20px;
+  font-size: 28px;
+  text-align: center;
+  background-color: #fc5d7b;
+  color: rgba(0, 0, 0, .3)
+}
+.bf-masthead-info .icon-angle-down {
+  font-size: 40px;
+}
+
+/* Download button */
+.bf-masthead .btn-outline {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  border: 1px solid #fff;
+  padding: 18px 24px;
+  font-size: 21px;
+  color: #fff;
+}
+.bf-masthead .btn-outline:hover {
+  background-color: #fff;
+  color: #42a8d2;
+}
+
+.bf-masthead-links {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  padding-left: 0;
+  list-style: none;
+  text-align: center;
+}
+.bf-masthead-links li {
+  margin-bottom: 15px;
+  color: #fff;
+}
+.bf-masthead-links a {
+  color: #c8c7c6;
+}
+
+/* Homepage features
+-------------------------------------------------- */
+section > .container > h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  /* border-bottom: 1px solid #e5e5e5; */
+}
+.bf-features {
+  color: #292929;
+  text-align: center;
+  padding: 20px 0;
+}
+.bf-features h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features .bf-icon-wrap {
+  margin: 0 auto 10px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: rgb(52,73,94);
+  width: 90px;
+  height: 90px;
+  line-height: 90px;
+  font-size: 50px;
+  color: #FAFBFC;
+}
+.bf-features h3 {
+  margin: 0 0 10px;
+  color: rgb(52,73,94);
+  font-weight: 400 !important;
+}
+.bf-features h3 ~ p {
+  color: #656565;
+}
+/*
+.bf-features2 {
+  color: #292929;
+  text-align: center;
+}
+.bf-features2 {
+  padding: 40px 0;
+}
+.bf-features2 h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-features2 h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features2 .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #e5e9ed;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #a5b6c7;
+}
+.bf-features2 h3 {
+  margin: 0 0 10px;
+  color: #696969;
+}
+.bf-features2 h3 ~ p {
+  color: #656565;
+} */
+.bf-features-inverse {
+  padding: 140px 0;
+  font-size: 16px;
+  color: #fff;
+  text-align: center;
+  background-color: #34495e;
+}
+.bf-features-inverse h2 {
+  margin-bottom: 20px;
+  font-size: 40px;
+}
+.bf-features-inverse h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features-inverse .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #fff;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #3dc0f1;
+}
+.bf-features-inverse h3 ~ p {
+  font-size: 14px;
+}
+.bf-features-inverse a,
+.bf-features-inverse a:hover {
+  color: #fff;
+  text-decoration: underline;
+}
+.bf-news ul {
+  margin-bottom: 20px;
+}
+
+.bf-questions .container {
+  border-top: 1px solid rgb(52,73,94);
+  border-bottom: 1px solid rgb(52,73,94);
+  padding: 60px 0;
+  margin-top: 0px;
+}
+
+.bf-questions div {
+  line-height: 30px;
+}
+
+.bf-community .container, .bf-tagline .container {
+  padding-left: 0;
+  padding-right: 0;
+}
+
+.bf-community h3 {
+  font-weight: 600;
+  margin-top: 0;
+}
+
+.bf-community .row a p {
+  color: rgb(51,51,51);
+}
+
+/*.bf-community h2 {
+  padding-bottom: 10px;
+  border-bottom: 1px solid rgb(51,51,51);
+}*/
+
+.bf-community h2 {
+  /*padding: 0 !important;*/
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  /*margin-top: 33px;*/
+  margin-bottom: 13px;
+}
+.bf-releases h2 {
+  /*padding: 0 !important;*/
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  /*margin-top: 33px;*/
+  margin-bottom: 13px;
+}
+
+.bf-community h2 span {
+  background-color: #FAFBFC;
+  padding-right: 10px;
+}
+
+
+.bf-releases h2 span {
+  background-color: #FAFBFC;
+  padding-right: 10px;
+}
+
+.bf-releases p {
+  padding: 10px 0 5px 0;
+}
+
+.bf-community {
+  margin-top: 80px;
+}
+
+.bf-releases {
+  margin-top: 10px;
+}
+
+#map-canvas {
+  border-bottom: 1px solid rgb(52, 73, 94);
+}
+
+.bf-community img {
+  border-radius: 4px;
+  border: solid 1px rgb(52, 73, 94);
+  margin-top: 20px;
+  margin-bottom: 10px;
+  width: 100%;
+  box-shadow: rgb(52, 73, 94) 2px 2px 4px;
+}
+
+.bf-releases img {
+  border-radius: 4px;
+  border: solid 1px rgb(52, 73, 94);
+  margin-top: 20px;
+  margin-bottom: 10px;
+  width: 100%;
+  box-shadow: rgb(52, 73, 94) 2px 2px 4px;
+}
+
+
+h2.icns-calendar:before{
+  text-align: right;
+  content: "\F073";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-chat:before{
+  text-align: right;
+  content: "\F0FC";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+
+h2.icns-envelope:before{
+  text-align: right;
+  content: "\F0E0";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-briefcase:before{
+  text-align: right;
+  content: "\F0B1";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -42px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-group:before{
+  text-align: right;
+  content: "\F005";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -37px;
+  padding-right: 8px;
+  line-height: 0;
+}
+h2.icns-tools:before{
+  text-align: right;
+  content: "\F006";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -37px;
+  padding-right: 8px;
+  line-height: 0;
+}
+/* Docs pages and sections
+-------------------------------------------------- */
+
+/* Page headers */
+.bf-header {
+  padding: 5px 20px 10px;
+  font-size: 16px;
+  color: #5a5a5a;
+  text-align: center;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-header p {
+  font-weight: 300;
+  line-height: 1.5;
+}
+.bf-header .container {
+  position: relative;
+}
+
+.bf-docs-container {
+  margin-top: 60px;
+}
+
+.bf-docs-container .col-md-3{
+  padding-left: 0;
+}
+
+
+.bf-docs-container .col-md-9.main-article {
+  background-color: #fff;
+  border-radius: 4px;
+  border: 1px solid #ccc;
+  padding-bottom: 15px;
+  min-height: 820px;
+}
+
+.bf-docs-section + .bf-docs-section {
+  padding-top: 20px;
+}
+
+.bf-docs-container .nav-list {
+  padding-top: 20px;
+}
+
+/* Bootstrap code examples
+-------------------------------------------------- */
+
+/* Base class */
+.bf-example {
+  position: relative;
+  margin: 20px 0 40px;
+}
+.bf-example > .btn-toolbar + .btn-toolbar {
+  margin-top: 10px;
+}
+
+.bf-example .row {
+  margin-bottom: 20px;
+}
+
+/* Tweak display of the examples */
+.bf-example + .highlight {
+  margin: 0 -15px;
+  border-radius: 0;
+  border-width: 0 0 1px;
+}
+
+/* Tweak content of examples for optimum awesome */
+.bf-example > p:last-child,
+.bf-example > ul:last-child,
+.bf-example > ol:last-child,
+.bf-example > blockquote:last-child,
+.bf-example > input:last-child,
+.bf-example > select:last-child,
+.bf-example > textarea:last-child,
+.bf-example > .table:last-child,
+.bf-example > .navbar:last-child
+.bf-example > .jumbotron:last-child,
+.bf-example > .alert:last-child,
+.bf-example > .panel:last-child,
+.bf-example > .list-group:last-child,
+.bf-example > .well:last-child {
+  margin-bottom: 0;
+}
+.bf-example > p > .close {
+  float: none;
+}
+.bf-example-title {
+  border-left: 3px solid #08d;
+  padding-left: 10px;
+  line-height: 24px;
+  margin: 20px 0;
+  font-size: 16px;
+}
+.bf-example-align .btn {
+  margin-top: 4px;
+}
+.bf-example-align .btn-xs {
+  margin-top: 16px;
+}
+.bf-example-align .btn-sm {
+  margin-top: 8px;
+}
+.bf-example-align .btn-lg {
+  margin-top: -7px;
+}
+
+/* Navbar examples */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  min-height: 110px;
+  overflow: hidden; /* cut the drop shadows off */
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-top-example {
+  -webkit-border-radius: 0 0 4px 4px;
+     -moz-border-radius: 0 0 4px 4px;
+          border-radius: 0 0 4px 4px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+  -webkit-border-radius: 0 4px 0 4px;
+     -moz-border-radius: 0 4px 0 4px;
+          border-radius: 0 4px 0 4px;
+}
+.bf-navbar-bottom-example {
+  -webkit-border-radius: 4px 4px 0 0;
+     -moz-border-radius: 4px 4px 0 0;
+          border-radius: 4px 4px 0 0;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example.bf-example:after {
+  bottom: -1px;
+  border-radius: 0 4px;
+}
+
+/* Example modals */
+.bf-example-modal {
+  background-color: #f5f5f5;
+}
+.bf-example-modal .modal {
+  position: relative;
+  top: auto;
+  right: auto;
+  left: auto;
+  bottom: auto;
+  z-index: 1;
+  display: block;
+}
+.bf-example-modal .modal-dialog {
+  left: auto;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+/* Example dropdowns */
+.bf-example > .dropdown > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropup > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropdown > .dropdown-menu {
+  position: static;
+  display: block;
+  margin-bottom: 5px;
+}
+.bf-example-submenu {
+  min-height: 230px;
+}
+.bf-example-submenu > .pull-left + .pull-left {
+  margin-left: 20px;
+}
+
+/* Tooltips */
+.bf-example-tooltips {
+  text-align: center;
+}
+
+/* Popovers */
+.bf-example-popover {
+  padding-bottom: 24px;
+}
+.bf-example-popover .popover {
+  position: relative;
+  display: block;
+  float: left;
+  width: 260px;
+  margin: 20px;
+}
+
+/* Example templates
+-------------------------------------------------- */
+
+.bf-examples h4 {
+  margin-bottom: 5px;
+}
+.bf-examples p {
+  margin-bottom: 20px;
+}
+
+/* Responsive docs
+-------------------------------------------------- */
+
+/* Responsive (scrollable) doc tables */
+@media (max-width: 768px) {
+  .bf-table-scrollable {
+    width: 100%;
+    margin-bottom: 15px;
+    overflow-y: hidden;
+    overflow-x: scroll;
+    border: 1px solid #ddd;
+  }
+  .bf-table-scrollable .table {
+    margin-bottom: 0;
+    border: 0;
+  }
+  .bf-table-scrollable .table th,
+  .bf-table-scrollable .table td {
+    white-space: nowrap;
+  }
+  .bf-table-scrollable .table th:first-child,
+  .bf-table-scrollable .table td:first-child {
+    border-left: 0;
+  }
+  .bf-table-scrollable .table th:last-child,
+  .bf-table-scrollable .table td:last-child {
+    border-right: 0;
+  }
+  .bf-table-scrollable .table tr:last-child th,
+  .bf-table-scrollable .table tr:last-child td {
+    border-bottom: 0;
+  }
+}
+
+/* Footer
+-------------------------------------------------- */
+
+.bf-footer {
+  margin-top: 40px;
+  padding: 30px 5px;
+  /*text-align: left;*/
+  background:#34495e;
+  color:#f0f0f0;
+}
+
+.bf-footer a {
+    color:#f0f0f0 !important;
+}
+.bf-footer.bf-footer-margin {
+    margin-top: 100px;
+    margin-bottom: 20px;
+}
+
+.bf-footer .bf-icon-wrap {
+    font-size: 40px;
+    color: #a5b6c7;
+    display: inline;
+    margin: 10px;
+}
+
+#footer-icons {
+    float: right;
+    display: inline;
+    line-height: 20px;
+    margin: 40px 10px 20px 10px;
+}
+
+#copyright {
+    float: left;
+    display: inline;
+    line-height: 20px;
+    margin: 20px 10px 20px 10px;
+}
+
+/* Social proof buttons from GitHub & Twitter */
+.bf-social {
+  margin-bottom: 20px;
+}
+.bf-social-buttons {
+  display: inline-block;
+  margin-bottom: 0;
+  padding-left: 0;
+  list-style: none;
+}
+.bf-social-buttons li {
+  display: inline-block;
+  line-height: 1;
+}
+.bf-social-buttons li + li {
+  margin-left: 15px;
+}
+.bf-social-buttons .twitter-follow-button {
+  width: 225px !important;
+}
+.bf-social-buttons .twitter-share-button {
+  width: 98px !important;
+}
+/* Style the GitHub buttons via CSS instead of inline attributes */
+.github-btn {
+  border: 0;
+  overflow: hidden;
+}
+
+.highlight {
+  padding: 9px 14px;
+  margin-bottom: 40px;
+  border: 1px solid #e1e1e8;
+  border-radius: 4px;
+}
+.highlight pre {
+  padding: 0;
+  margin-top: 0;
+  margin-bottom: 0;
+  background-color: rgb(248, 248, 255);
+  border: 0;
+  white-space: nowrap;
+}
+.highlight pre code {
+  font-size: inherit;
+  font-family: Consolas, 'Liberation Mono', Courier, monospace;
+  color: #333; /* Effectively the base text color */
+}
+.highlight pre .lineno {
+  display: inline-block;
+  width: 22px;
+  padding-right: 5px;
+  margin-right: 10px;
+  text-align: right;
+  color: #bebec5;
+}
+
+.c { color: #999988; font-style: italic } /* Comment */
+.err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.k { color: #000000; font-weight: bold } /* Keyword */
+.o { color: #000000; font-weight: bold } /* Operator */
+.cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
+.c1 { color: #999988; font-style: italic } /* Comment.Single */
+.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.ge { color: #000000; font-style: italic } /* Generic.Emph */
+.gr { color: #aa0000 } /* Generic.Error */
+.gh { color: #999999 } /* Generic.Heading */
+.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #555555 } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #aaaaaa } /* Generic.Subheading */
+.gt { color: #aa0000 } /* Generic.Traceback */
+.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.m { color: #009999 } /* Literal.Number */
+.s { color: #d01040 } /* Literal.String */
+.na { color: #008080 } /* Name.Attribute */
+.nb { color: #0086B3 } /* Name.Builtin */
+.nc { color: #445588; font-weight: bold } /* Name.Class */
+.no { color: #008080 } /* Name.Constant */
+.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
+.ni { color: #800080 } /* Name.Entity */
+.ne { color: #990000; font-weight: bold } /* Name.Exception */
+.nf { color: #990000; font-weight: bold } /* Name.Function */
+.nl { color: #990000; font-weight: bold } /* Name.Label */
+.nn { color: #555555 } /* Name.Namespace */
+.nt { color: #000080 } /* Name.Tag */
+.nv { color: #008080 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #009999 } /* Literal.Number.Float */
+.mh { color: #009999 } /* Literal.Number.Hex */
+.mi { color: #009999 } /* Literal.Number.Integer */
+.mo { color: #009999 } /* Literal.Number.Oct */
+.sb { color: #d01040 } /* Literal.String.Backtick */
+.sc { color: #d01040 } /* Literal.String.Char */
+.sd { color: #d01040 } /* Literal.String.Doc */
+.s2 { color: #d01040 } /* Literal.String.Double */
+.se { color: #d01040 } /* Literal.String.Escape */
+.sh { color: #d01040 } /* Literal.String.Heredoc */
+.si { color: #d01040 } /* Literal.String.Interpol */
+.sx { color: #d01040 } /* Literal.String.Other */
+.sr { color: #009926 } /* Literal.String.Regex */
+.s1 { color: #d01040 } /* Literal.String.Single */
+.ss { color: #990073 } /* Literal.String.Symbol */
+.bp { color: #999999 } /* Name.Builtin.Pseudo */
+.vc { color: #008080 } /* Name.Variable.Class */
+.vg { color: #008080 } /* Name.Variable.Global */
+.vi { color: #008080 } /* Name.Variable.Instance */
+.il { color: #009999 } /* Literal.Number.Integer.Long */
+
+.css .o,
+.css .o + .nt,
+.css .nt + .nt { color: #999; }
+/* Show code snippets when we have the space */
+@media screen and (min-width: 481px) {
+  .highlight {
+    display: block;
+  }
+}
+
+.demoColorSwatches {
+    color: #FFF;
+}
+.demoColorSwatches h4 {
+    color: #292929;
+}
+.demoColorSwatches .colorPanel {
+    padding: 15px;
+}
+.demoColorSwatches .colorPanel:hover {
+    opacity: 0.85;
+    filter: alpha(opacity=85);
+}
+
+/* Responsive variations
+-------------------------------------------------- */
+
+/* Hide code snippets on mobile devices */
+@media screen and (max-width: 480px) {
+  .highlight {
+    display: none;
+  }
+}
+
+
+.bf-docs-container {
+    margin-top: 40px;
+}
+
+/* Navbars */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  overflow: hidden; /* cut the drop shadows off */
+  border: 1px solid #ddd ;
+}
+.bf-navbar-top-example .navbar-header,
+.bf-navbar-bottom-example .navbar-header {
+  margin-left: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example {
+  padding-bottom: 45px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example {
+  padding-top: 65px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+
+/* Phone and below */
+@media screen and (max-width: 768px) {
+  #home-logo { opacity: 1; height: 25px;}
+  span.icon-book:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Docs";
+  }
+  span.icon-group:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Community";
+  }
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Trello";
+  }
+  span.icon-bug:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " JIRA";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " StackOverflow";
+  }
+  span.icon-chat:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " HipChat";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Twitter";
+  }
+  span.icon-wiki:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "  Wiki";
+  }
+  span.icon-releases:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Releases";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Chat";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Mailing Lists";
+  }
+  div.cta {
+    line-height: 60px;
+  }
+  span.avoidwrap { display:inline-block; }
+  .navbar-nav > li > a {
+    opacity: 1.0;
+  }
+  .bf-masthead .tagline {
+    line-height: 90%;
+  }
+
+  .bf-masthead .description {
+    margin-bottom: 30px;
+  }
+  .bf-masthead p {
+    clear:both;
+    line-height: 100%;
+    padding-top: 5px;
+  }
+  .bf-masthead .or {
+    margin-right: 0;
+  }
+  .bf-questions .container{
+    padding: 30px 0;
+  }
+}
+
+/* Phones and Tablets */
+/*@media screen and (min-width: 768px) and (max-width: 992px) {
+
+  .bf-masthead .tagline {
+    padding-bottom: 20px;
+  }
+
+}*/
+
+@media screen and (max-width: 992px) {
+  .bf-community.committers .col-md-3 p{
+    margin-bottom: 40px;
+  }
+}
+
+/* Tablets and below */
+@media screen and (max-width: 1200px) {
+  .row {
+    padding: 0 25px;
+  }
+  .bf-docs-container .nav-list {
+    padding-left: 30px;
+  }
+  .bf-docs-container .colb-md-3 .nav-list {
+    padding-top: 0;
+  }
+  .bf-community .container, .bf-tagline .container {
+    padding-left: 50px;
+  }
+  .bf-community.committers .col-md-3 h3{
+    margin-top: 0px;
+  }
+  #map-canvas { height: 300px; margin-top: 5px;}
+}
+/* Tablets and up */
+@media screen and (min-width: 768px) {
+  header.secondary #home-logo { opacity: 1; }
+  #home-logo { opacity: 0; height: 30px;}
+  .bf-header {
+    font-size: 21px;
+    text-align: left;
+  }
+  .bf-header h1 {
+    font-size: 60px;
+    line-height: 1;
+  }
+
+  .bf-masthead p {
+    float:left;
+  }
+
+  .bf-masthead .or {
+    margin-right: 20px;
+  }
+  .bf-features .row {
+    padding: 20px 0;
+  }
+  .bf-example {
+    margin-left: 0;
+    margin-right: 0;
+    border-radius: 4px;
+    background-color: #fff;
+    border-width: 1px;
+    border-color: #ddd;
+    box-shadow: none;
+  }
+  .bf-example + .prettyprint,
+  .bf-example + .highlight {
+    margin-top: -16px;
+    margin-left: 0;
+    margin-right: 0;
+    border-width: 1px;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+  }
+
+  /* Show the docs nav */
+  .bf-sidebar {
+    display: block;
+  }
+  .bf-sidebar > .nav > li > a {
+    display: inline-block;
+  }
+
+  .bf-navbar-top-example .navbar-fixed-top,
+  .bf-navbar-bottom-example .navbar-fixed-bottom {
+    position: absolute;
+  }
+  .bs-navbar-top-example {
+    border-radius: 0 0 4px 4px;
+  }
+  .bs-navbar-bottom-example {
+    border-radius: 4px 4px 0 0;
+  }
+}
+
+/* Tablets */
+@media screen and (min-width: 768px) and (max-width: 1200px) {
+  span.icns {
+    font-size: 140%;
+  }
+}
+
+/* Tablets/desktops and up */
+@media screen and (min-width: 1200px) {
+  span.icon-book:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Docs";
+  }
+  span.icon-group:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Community";
+  }
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Trello";
+  }
+  span.icon-bug:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " JIRA";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " StackOverflow";
+  }
+  span.icon-chat:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " HipChat";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Twitter";
+  }
+  span.icon-wiki:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "  Wiki";
+  }
+  span.icon-releases:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Releases";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Chat";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Mailing Lists";
+  }
+  .bf-header h1,
+  .bf-header p {
+    margin-right: 380px;
+  }
+  .bf-docs-container {
+    margin-top: 40px;
+  }
+
+  .bf-masthead .tagline, .bf-masthead .description, .bf-masthead .btn-wrapper {
+    margin-left: 120px;
+  }
+  .bf-community.committers .col-md-3 h3{
+    margin-top: 40px;
+  }
+  .bf-community.committers img {
+    width: 100%;
+  }
+  #map-canvas { height: 500px; margin-top: 10px;}
+
+}
+
+.navbar-toggle {
+  background-color: rgb(36,129,166);
+  margin: 12px 0 0 0;
+}

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/access-token.md
----------------------------------------------------------------------
diff --git a/content/content/docs/access-token.md b/content/content/docs/access-token.md
new file mode 100644
index 0000000..a72e6f5
--- /dev/null
+++ b/content/content/docs/access-token.md
@@ -0,0 +1,194 @@
+---
+title: Access token
+category: docs
+layout: docs
+---
+
+Access token
+============
+
+[See all management
+resources](/docs/usergrid/content/management-resources)[![](/docs/sites/docs/files/learnmore%20arrow_0.png)](/docs/usergrid/content/management-resources)
+
+An access token carries the credentials and authorization information
+needed to access other resources through the Apache Usergrid API. Using the
+API, you can obtain an access token.
+
+Requesting an access token
+--------------------------
+
+Use the POST method to obtain an access token.
+
+### Request URI
+
+The request URL depends on the access type:
+
+  Access Type        Request URL
+  ------------------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  Application user   POST /\<org\_id\>/\<app\_id\>/token '{"grant\_type":"password", "username":"\<username\>", "password":"\<password\>"[, "ttl":"\<token\_time\_to\_live\>"]}'
+  Application        POST /\<org\_id\>/\<app\_id\>/token '{"grant\_type":"client\_credentials", "client\_id":"\<client\_id\>", "client\_secret":"\<client\_secret\>"[, "ttl":"\<token\_time\_to\_live\>"]}'
+  Admin User         POST /token '{"grant\_type":"password", "username":"\<username\>", "password":"\<password\>"[, "ttl":"\<token\_time\_to\_live\>"]}'
+  Organization       POST /token '{"grant\_type":"client\_credentials", "client\_id":"\<client\_id\>", "client\_secret":"\<client\_secret\>"}'
+
+See [Authenticating users and application
+clients](/authenticating-users-and-application-clients) for further
+details about access types.
+
+### Parameters
+
+  Parameter Name   Type     Description
+  ---------------- -------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  client\_id       string   Organization client ID. You can find this in the admin portal.
+  client\_secret   string   Organization client secret. You can find this in the admin portal
+  username         string   Value of the User entity username property. 
+  password         string   Password stored for this user.
+  ttl              long     *Optional.* The amount of time, in miliseconds, that this token will be valid before authentication is required again. This must be less than the accesstokenttl property of the application entity the token is being requested for.
+
+ 
+
+### Example - Request (Application user)
+
+-   [cURL](#curl_get_token_appuser)
+-   [JavaScript (HTML5)](#javascript_get_token_appuser)
+-   [Ruby](#ruby_get_token_appuser)
+-   [Node.js](#nodejs_get_token_appuser)
+
+<!-- -->
+
+    curl -X POST -i -H "Content-Type: application/json" “https://api.usergrid.com/<org_name>/<app_name>/token”  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var username = 'testuser';
+    var password = 'testpasswd';
+    client.login(username, password,
+        function (err) {
+            if (err) {
+                //error — could not log user in
+            } else {
+                //success — user has been logged in
+                var token = client.token;
+            }
+        }
+    );
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    app.login 'testuser', 'testpasswd'
+    token = app.auth_token
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var username = 'testuser';
+    var password = 'testpasswd';
+    client.login(username, password,
+        function (err) {
+            if (err) {
+                //error — could not log user in
+            } else {
+                //success — user has been logged in
+                var token = client.token;
+            }
+        }
+    );
+
+### Example - Response
+
+    {
+      "access_token": "5wuGd-lcEeCUBwBQVsAACA:F8zeMOlcEeCUBwBQVsAACA:YXU6AAABMq0hdy4Lh0ewmmnOWOR-DaepCrpWx9oPmw",
+      "expires_in": 3600,
+      "user": {
+        "uuid": "e70b8677-e95c-11e0-9407-005056c00008",
+        "type": "user",
+        "username": "testuser",
+        "email": "testuser@mail.com",
+        "activated": true,
+        "created": 1317164604367013,
+        "modified": 1317164604367013
+      }
+
+### Example - Request (Admin user)
+
+-   [cURL](#curl_get_token_adminuser)
+-   [JavaScript (HTML5)](#javascript_get_token_adminuser)
+-   [Ruby](#ruby_get_token_adminuser)
+-   [Node.js](#nodejs_get_token_adminuser)
+
+<!-- -->
+
+    curl -X POST -i -H "Content-Type: application/json" “https://api.usergrid.com/management/token”  -d '{"grant_type":"password","username":"testadmin","password":"testadminpw"}'
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt.login test, testpass
+    token = mgmt.auth_token
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var username = 'testuser';
+    var password = 'testpasswd';
+    client.login(username, password,
+        function (err) {
+            if (err) {
+                //error — could not log admin user in
+            } else {
+                //success — admin user has been logged in
+                var token = client.token;
+            }
+        }
+    );
+
+### Example - Response
+
+    {
+      "access_token": "f_GUbelXEeCfRgBQVsAACA:YWQ6AAABMqz_xUyYeErOkKjnzN7YQXXlpgmL69fvaA",
+      "expires_in": 3600,
+      "user": {
+        "username": "test",
+        "email": "test@usergrid.com",
+        "organizations": {
+          "test-organization": {
+            "users": {
+              "test": {
+                "name": "Test User",
+                "disabled": false,
+                "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+                "activated": true,
+                "username": "test",
+                "applicationId": "00000000-0000-0000-0000-000000000001",
+                "email": "test@usergrid.com",
+                "adminUser": true,
+                "mailTo": "Test User "
+              }
+            },
+            "name": "test-organization",
+            "applications": {
+              "test-app": "8041893b-e957-11e0-9f46-005056c00008"
+            },
+            "uuid": "800b8510-e957-11e0-9f46-005056c00008"
+          }
+        },
+        "adminUser": true,
+        "activated": true,
+        "name": "Test User",
+        "mailTo": "Test User ",
+        "applicationId": "00000000-0000-0000-0000-000000000001",
+        "uuid": "7ff1946d-e957-11e0-9f46-005056c00008",
+        "disabled": false
+      }
+    }


[29/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/bootstrap/bootstrap.min.css
----------------------------------------------------------------------
diff --git a/content/publish/bootstrap/bootstrap.min.css b/content/publish/bootstrap/bootstrap.min.css
new file mode 100644
index 0000000..93c646f
--- /dev/null
+++ b/content/publish/bootstrap/bootstrap.min.css
@@ -0,0 +1,9 @@
+/*!
+ * Bootstrap v3.0.0
+ *
+ * Copyright 2013 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world by @mdo and @fat.
+ *//*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 
 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decorati
 on:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select
 ,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16.099999999999998px;font-weight:200;line-height:1.4}@media(min-w
 idth:768px){.lead{font-size:21px}}small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-success{color:#468847}.text-info{color:#3a87ad}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,o
 l{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height
 :1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre co
 de{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-lg-1,.col-lg-2,.col-lg-
 3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-1{width:8.333333333333332%}.col-xs-2{width:16.666666666666664%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333333333%}.col-xs-5{width:41.66666666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.333333333333336%}.col-xs-8{width:66.66666666666666%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333333334%}.col-xs-11{width:91.66666666666666%}.col-xs-12{width:100%}@media(min-width:768px){.container{max-width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-1{width:8.333333333333332%}.col-sm-2{width:16.666666666666664%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333333333%}.col-sm-5{width:41.66666666666667%}.col-sm-
 6{width:50%}.col-sm-7{width:58.333333333333336%}.col-sm-8{width:66.66666666666666%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333333334%}.col-sm-11{width:91.66666666666666%}.col-sm-12{width:100%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-11{left:91.66666666666666%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-offse
 t-1{margin-left:8.333333333333332%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-11{margin-left:91.66666666666666%}}@media(min-width:992px){.container{max-width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-1{width:8.333333333333332%}.col-md-2{width:16.666666666666664%}.col-md-3{width:25%}.col-md-4{width:33.33333333333333%}.col-md-5{width:41.66666666666667%}.col-md-6{width:50%}.col-md-7{width:58.333333333333336%}.col-md-8{width:66.66666666666666%}.col-md-9{width:75%}.col-md-10{width:83.33333333333334%}.col-md-11{width:91.66666666666666%}.col
 -md-12{width:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.333333333333332%}.col-md-push-2{left:16.666666666666664%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333333333%}.col-md-push-5{left:41.66666666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.333333333333336%}.col-md-push-8{left:66.66666666666666%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333333334%}.col-md-push-11{left:91.66666666666666%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-11{right:91.66666666666666%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offse
 t-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-11{margin-left:91.66666666666666%}}@media(min-width:1200px){.container{max-width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-1{width:8.333333333333332%}.col-lg-2{width:16.666666666666664%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333333333%}.col-lg-5{width:41.66666666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.333333333333336%}.col-lg-8{width:66.66666666666666%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333333334%}.col-lg-11{width:91.66666666666666%}.col-lg-12{width:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-
 2{left:16.666666666666664%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-11{left:91.66666666666666%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-5{margin-lef
 t:41.66666666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-11{margin-left:91.66666666666666%}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table caption+thead tr:first-child th,.table colgroup+thead tr:first-child th,.table thead:first-child tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.tabl
 e-condensed thead>tr>th,.table-condensed tbody>tr>th,.table-condensed tfoot>tr>th,.table-condensed thead>tr>td,.table-condensed tbody>tr>td,.table-condensed tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.activ
 e>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6;border-color:#c9e2b3}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.tabl
 e>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc;border-color:#e6c1c7}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc;border-color:#f8e5be}@media(max-width:768px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-
 overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0;background-color:#fff}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>t
 d:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>thead>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>thead>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],sele
 ct[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color eas
 e-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-l
 eft:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webki
 t-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px 
 rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{padding-top:7px;margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding
 -top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-ima
 ge:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.dis
 abled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;backg
 round-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{col
 or:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disab
 led,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disable
 d]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{paddi
 ng:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-
 webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e0
 16"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e04
 1"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-print:before{content:"\e045"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-mo
 ve:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:
 "\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder
 -open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-
 link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:
 "\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{
 content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-briefcase:before{content:"\1f4bc"}.glyphicon-calendar:before{content:"\1f4c5"}.glyphicon-pushpin:before{content:"\1f4cc"}.glyphicon-paperclip:before{content:"\1f4ce"}.glyphicon-camera:before{content:"\1f4f7"}.glyphicon-lock:before{content:"\1f512"}.glyphicon-bell:before{content:"\1f514"}.glyphicon-bookmark:before{content:"\1f516"}.glyphicon-fire:before{content:"\1f525"}.glyphicon-wrench:before{content:"\1f527"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-l
 eft:4px solid transparent;content:""}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#fff;text-decoration:none;background-color:#428bca}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outl
 ine:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .care
 t,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table
 ;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown
 -toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-g
 roup-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>
 .btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>
 .btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;text-align:center;background-color:#eee;border:1px solid #ccc;border-radiu
 s:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{m
 argin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radiu
 s:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav
 -pills>li>a{border-radius:5px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after
 {clear:both}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after{clear:both}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;z-index:1000;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-hea
 der{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@
 media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;border-width:0 0 1px}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;z-index:1030}.navbar-fixed-bottom{bottom:0;margin-bottom:0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(
 min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webk
 it-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-
 menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.n
 avbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e6e6e6}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav 
 .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navba
 r-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav
 bar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-me
 nu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.paginatio
 n>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination
 -sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:
 #fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-heigh
 t:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:
 4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%}a.thumbnail:hover,a.thumbnail:focus{border-color:#428bca}.thumbnail>img{margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#fbe
 ed5}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow
 :inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.act
 ive .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%
 ,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,2
 55,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(
 255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:
 hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background
 -color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:
 first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table{margin-bottom:0}.panel>.panel-body+.table{border-top:1px solid #ddd}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dd
 d}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#fbeed5}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.pane
 l-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#fbeed5}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#fbeed5}.panel-danger{border-color:#eed3d7}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#eed3d7}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#eed3d7}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-co
 lor:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}body.modal-open,.modal-open .navbar-fixed-top,.modal-open .navbar-fixed-bottom{margin-right:15px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-
 transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.
 modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{right:auto;left:50%;width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-ra
 dius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;displ
 ay:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bott
 om:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out 
 left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear
 -gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-
 prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron

<TRUNCATED>

[13/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/deploy-local/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/deploy-local/index.html b/content/publish/docs/deploy-local/index.html
new file mode 100644
index 0000000..07f50ad
--- /dev/null
+++ b/content/publish/docs/deploy-local/index.html
@@ -0,0 +1,401 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Deploy to local Tomcat & Cassandra</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Deploy to local Tomcat & Cassandra</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deploy-local.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#requirements">Requirements</a></li>
+<li><a href="#download">Download</a></li>
+<li><a href="#building">Building</a></li>
+<li><a href="#install-and-configure-cassandra">Install and configure Cassandra</a></li>
+<li><a href="#install-and-configure-tomcat">Install and configure Tomcat</a></li>
+<li><a href="#add-usergrid-war-to-tomcat">Add Usergrid WAR to Tomcat</a></li>
+<li><a href="#add-usergrid-configuration-file-to-tomcat">Add Usergrid configuration file to Tomcat</a></li>
+<li><a href="#run-usergrid-database-super-user-setup">Run Usergrid Database &amp; Super User Setup</a></li>
+<li><a href="#login-to-the-usergrid-console-get-started">Login to the Usergrid Console &amp; get started</a></li>
+<li><a href="#example-usergrid-deployment.properties-file">Example usergrid-deployment.properties file</a></li>
+</ul>
+</div>
+<p>This is a guide that explains how to install and run Usergrid using stock Tomcat and Cassandra on a single computer.</p>
+<p>NOTE: running Cassandra on a single computer is something you should do ONLY for testing purposes. You don’t want to run one node in production even just to start out. To get the benefit of Cassandra’s architecture, which is designed to support linear scalability. You should be running a Cassandra cluster with at least three nodes.</p>
+<p>For more information:</p>
+<ul>
+<li><a href="http://planetcassandra.org/blog/post/cassandra-faq-can-i-start-with-a-single-node/">Cassandra FAQ: Can I Start With a Single Node?</a></li>
+<li><a href="http://stackoverflow.com/questions/18462530/why-dont-you-start-off-with-a-single-small-cassandra-server-as-you-usually">Why don’t you start off with a “single &amp; small” Cassandra server</a></li>
+</ul>
+<h2 id="requirements">Requirements</h2>
+<ul>
+<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 1.7</a></li>
+<li><a href="http://maven.apache.org/">Maven</a></li>
+</ul>
+<h2 id="download">Download</h2>
+<p>Use GitHub to clone the <a href="https://github.com/apache/incubator-usergrid">apache/incubator-usergrid</a> repo.</p>
+<p>Or you can start by <a href="https://github.com/apache/incubator-usergrid/archive/master.zip">downloading our latest code</a> and extract it.</p>
+<h2 id="building">Building</h2>
+<p>From the command line, navigate to stack directory and type the following:</p>
+<pre><code>mvn clean package -DskipTests=true</code></pre>
+<p>Once you are done the Usergrid application will be package as a Java EE WAR file at the location <strong>stack/rest/target/ROOT.war</strong>.</p>
+<h2 id="install-and-configure-cassandra">Install and configure Cassandra</h2>
+<p>Install Cassandra, don’t edit configuration files as we just want default values for this simple setup. Here are the <a href="http://wiki.apache.org/cassandra/GettingStarted">instructions for installing Cassandra</a></p>
+<h2 id="install-and-configure-tomcat">Install and configure Tomcat</h2>
+<p>Follow instructions, don’t edit configuration files as we just want default values for this simple setup. Here are the <a href="http://tomcat.apache.org/tomcat-7.0-doc/setup.html">instructions for installing Tomcat 7</a></p>
+<h2 id="add-usergrid-war-to-tomcat">Add Usergrid WAR to Tomcat</h2>
+<p>Remove the existing tomcat/webapps/ROOT directory.</p>
+<p>Place the Usergrid ROOT.war file into the tomcat/webapps directory</p>
+<h2 id="add-usergrid-configuration-file-to-tomcat">Add Usergrid configuration file to Tomcat</h2>
+<p>Create a <strong>usergrid-deployment.properties</strong> file and place it in Tomcat’s <strong>lib</strong> directory. You can find an example properties file below that should work well for a local Tomcat &amp; Cassandra setup. You will probably only need to change the properties below to use your email address and preferred password for the install.</p>
+<pre><code>usergrid.sysadmin.login.allowed=true
+usergrid.sysadmin.login.name=superuser
+usergrid.sysadmin.login.password=pw123
+usergrid.sysadmin.email=me@example.com
+usergrid.sysadmin.login.email=myself@example.com
+usergrid.management.mailer=Myself&lt;myself@example.com&gt;
+usergrid.test-account.admin-user.email=myself@example.com
+usergrid.test-account.admin-user.password=test</code></pre>
+<h2 id="run-usergrid-database-super-user-setup">Run Usergrid Database &amp; Super User Setup</h2>
+<p>Start Tomcat and use your web browser to visit the URLs below. While you do this you might want to watch the logs under tomcat/logs for clues, just in case anything goes wrong.</p>
+<p>Database setup URL - <a href="http://localhost:8080/system/database/setup">http://localhost:8080/system/database/setup</a></p>
+<p>When prompted to login use the sysadmin credentials that you specified in your usergrid-deployment.properties file. Based on the example above that would be superuser and pw123. If the operation is successful you should a message like the one below in your browser. If not, check your logs for clues about what went wrong.</p>
+<pre><code>{
+  "action" : "cassandra setup",
+  "status" : "ok",
+  "timestamp" : 1379424622947,
+  "duration" : 76
+}</code></pre>
+<p>Superuser setup URL - <a href="http://localhost:8080/system/superuser/setup">http://localhost:8080/system/superuser/setup</a></p>
+<p>You should not be prompted for login because you already logged into for the Database Setup. If setup works, you should see a message like this:</p>
+<pre><code>{
+  "action" : "superuser setup",
+  "status" : "ok",
+  "timestamp" : 1379424667936,
+  "duration" : 2
+}</code></pre>
+<h2 id="login-to-the-usergrid-console-get-started">Login to the Usergrid Console &amp; get started</h2>
+<p>You should now be able to login to the Usergrid console and start configuring applications, users and more.</p>
+<p>You can use an static version of the portal to get started:</p>
+<p><a href="http://apigee.github.io/usergrid-portal/?api_url=http://localhost:8080">http://apigee.github.io/usergrid-portal/?api_url=http://localhost:8080</a></p>
+<h2 id="example-usergrid-deployment.properties-file">Example usergrid-deployment.properties file</h2>
+<p>Here’s a complete example properties file to get you started.</p>
+<pre><code># Minimal Usergrid configuration properties for local Tomcat and Cassandra 
+#
+# The cassandra configuration options. 
+
+# The cassandra host to use
+cassandra.url=localhost:9160
+
+# The strategy to use when creating the keyspace. This is the default. 
+# We recommend creating the keyspace with this default, then editing it 
+# via the cassandra CLI to meet the client's needs.
+cassandra.keyspace.strategy=org.apache.cassandra.locator.SimpleStrategy
+ 
+# The default replication factor for the simple strategy. Again, leave the 
+# default, create the app, then use the cassandra cli to set the replication 
+# factor options. This can become complicated with different topologies and 
+# is more a Cassandra administration issue than a UG issue.
+cassandra.keyspace.strategy.options.replication_factor=1
+ 
+######################################################
+# Custom mail transport. Not usually used for local testing
+
+#mail.transport.protocol=smtps
+#mail.smtps.host=email-smtp.us-east-1.amazonaws.com
+#mail.smtps.port=465
+#mail.smtps.auth=true
+#mail.smtps.quitwait=false
+#mail.smtps.username=
+#mail.smtps.password=
+
+######################################################
+# Admin and test user setup (change these to be their super user
+
+usergrid.sysadmin.login.name=superuser
+usergrid.sysadmin.login.email=myself@example.com     &lt;--- Change this
+usergrid.sysadmin.login.password=pw123               &lt;--- Change this
+usergrid.sysadmin.login.allowed=true
+usergrid.sysadmin.email=myself@example.com           &lt;--- Change this
+
+# Enable or disable this to require superadmin approval of users
+usergrid.sysadmin.approve.users=false
+
+######################################################
+# Auto-confirm and sign-up notifications settings
+
+usergrid.management.admin_users_require_confirmation=false
+usergrid.management.admin_users_require_activation=false
+usergrid.management.organizations_require_activation=false
+usergrid.management.notify_sysadmin_of_new_organizations=false
+usergrid.management.notify_sysadmin_of_new_admin_users=false
+
+######################################################
+# URLs
+# Redirect path when request come in for TLD
+
+usergrid.redirect_root=https://localhost:8080/status
+usergrid.view.management.organizations.organization.activate=https://localhost:8080/accounts/welcome
+usergrid.view.management.organizations.organization.confirm=https://localhost:8080/accounts/welcome
+usergrid.view.management.users.user.activate=https://localhost:8080/accounts/welcome
+usergrid.view.management.users.user.confirm=https://localhost:8080/accounts/welcome
+usergrid.organization.activation.url=https://localhost:8080/management/organizations/%s/activate
+usergrid.admin.activation.url=https://localhost:8080/management/users/%s/activate
+usergrid.admin.resetpw.url=https://localhost:8080/management/users/%s/resetpw
+usergrid.admin.confirmation.url=https://localhost:8080/management/users/%s/confirm
+usergrid.user.activation.url=https://localhost:8080%s/%s/users/%s/activate
+usergrid.user.confirmation.url=https://localhost:8080/%s/%s/users/%s/confirm
+usergrid.user.resetpw.url=https://localhost:8080/%s/%s/users/%s/resetpw</code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/deploy-local.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/device/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/device/index.html b/content/publish/docs/device/index.html
new file mode 100644
index 0000000..b668dca
--- /dev/null
+++ b/content/publish/docs/device/index.html
@@ -0,0 +1,332 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Device</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Device</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/device.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#device">Device</a><ul>
+<li><a href="#device-properties">Device properties</a></li>
+<li><a href="#associated-collection-property">Associated collection property</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="device">Device</h1>
+<p>Using App services APIs you can create, retrieve, update, delete, and query device entities. See You do not have access to view this node for descriptions of these APIs.</p>
+<h2 id="device-properties">Device properties</h2>
+<p>The following are the system-defined properties for device entities. You can create application-specific properties for a device entity in addition to the system-defined properties. The system-defined properties are reserved. You cannot use these names to create other properties for a device entity. In addition the devices name is reserved for the devices collection — you can’t use it to name another collection.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Property</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">uuid</td>
+<td align="left">UUID</td>
+<td align="left">Entity unique ID</td>
+</tr>
+<tr class="even">
+<td align="left">type</td>
+<td align="left">string</td>
+<td align="left">Entity type (e.g., device)</td>
+</tr>
+<tr class="odd">
+<td align="left">created</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity creation</td>
+</tr>
+<tr class="even">
+<td align="left">modified</td>
+<td align="left">long</td>
+<td align="left">
+<a href="http://en.wikipedia.org/wiki/Unix_time">UNIX timestamp</a> of entity modification</td>
+</tr>
+<tr class="odd">
+<td align="left">name</td>
+<td align="left">string</td>
+<td align="left">Device name (mandatory)</td>
+</tr>
+</tbody>
+</table>
+<h2 id="associated-collection-property">Associated collection property</h2>
+<p>Devices have the following associated collection.</p>
+<table>
+<thead>
+<tr class="header">
+<th align="left">Collection</th>
+<th align="left">Type</th>
+<th align="left">Description</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td align="left">users</td>
+<td align="left">user</td>
+<td align="left">Collection of users to which a device belongs</td>
+</tr>
+</tbody>
+</table>
+<p> </p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/device.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/displaying-app-services-api-calls-curl-commands/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/displaying-app-services-api-calls-curl-commands/index.html b/content/publish/docs/displaying-app-services-api-calls-curl-commands/index.html
new file mode 100644
index 0000000..2c08421
--- /dev/null
+++ b/content/publish/docs/displaying-app-services-api-calls-curl-commands/index.html
@@ -0,0 +1,291 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Displaying Apache Usergrid API calls as Curl commands</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Displaying Apache Usergrid API calls as Curl commands</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/displaying-app-services-api-calls-curl-commands.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#displaying-apache-usergrid-api-calls-as-curl-commands">Displaying Apache Usergrid API calls as Curl commands</a></li>
+</ul>
+</div>
+<h1 id="displaying-apache-usergrid-api-calls-as-curl-commands">Displaying Apache Usergrid API calls as Curl commands</h1>
+<p> </p>
+<p>If you use a web application, such as the JavaScript (HTML 5) version of Messagee (see <a href="/html-5-example-messagee">HTML 5 example - Messagee</a>), you can easily see the equivalent Curl syntax for each API call that the web application makes. The calls are displayed in the console area of any of the following browsers:  Chrome, Internet Explorer (in the debugger), Firefox (in Firebug), and Safari.</p>
+<p>This is possible because web applications such as the JavaScript version of Message takes advantage of a JavaScript SDK provied by Apigee (see <a href="/html5javascript-sdk">HTML5/JavaScript SDK</a>) to issue Apache Usergrid API calls. The SDK automatically translates each API call into a Curl command, which is displayed in the console. If you use any web application that is built on the JavaScript SDK, you can view the applications API’s calls in Curl syntax.</p>
+<p>The <a href="http://apigee.com/usergrid/">admin portal</a> is another example of a web application that is built on the JavaScript SDK and issues App Services API calls from JavaScript. When a user clicks a button in the admin portal, such as “Users”, the admin portal makes an API request to retrieve the appropriate data. In addition, the JavaScript SDK in the web application automatically translates the API call into the following Curl command:</p>
+<pre><code>curl -X GET "https://api.usergrid.com/edort1/sandbox/users?ql=order%20by%20username”</code></pre>
+<p>The request retrieves the users in the application and orders the result by username.</p>
+<p>If you turn on the JavaScript console, here’s what it displays for the call. This example shows the JavaScript console display in the Chrome browser. You can turn on the JavaScript console in Chrome by clicking the “wrench” button (customize and control Chrome) and then selecting Tools &gt; JavaScript console. </p>
+<div class="figure">
+<img src="/docs/sites/docs/files/jsconsole_chrome.png" alt="Curl command in Chrome console"><p class="caption">Curl command in Chrome console</p>
+</div>
+<p>Notice that in addition to displaying the API call in Curl syntax, the console displays the time to retrieve the user entities.</p>
+<p>To display the JavaScript console in Internet Explorer, you need to turn on the debugger. You do that by selecting F12 developer tools in the tools menu. Here’s what the Curl version of the API call looks like in Internet Explorer’s console.</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/jsconsole_ie.png" alt="Curl command in Internet Explorer console"><p class="caption">Curl command in Internet Explorer console</p>
+</div>
+<p>Here’s what the curl version of the API call looks like in Firefox’s JavaScript console.</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/jsconsole_firefox.png" alt="Curl command in Firefox console"><p class="caption">Curl command in Firefox console</p>
+</div>
+<p>You need to have the <a href="http://getfirebug.com/">Firebug tool</a> installed and enabled in your Firefox browser to view the curl commands in the console.</p>
+<p>And here’s what the API call looks like in the Safari console. The console is part of Safari’s Web Inspector tool (<a href="https://developer.apple.com/technologies/safari/developer-tools.html">https://developer.apple.com/technologies/safari/developer-tools.html</a>).</p>
+<div class="figure">
+<img src="/docs/sites/docs/files/jsconsole_safari.png" alt="Curl command in SaFARI"><p class="caption">Curl command in SaFARI</p>
+</div>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/displaying-app-services-api-calls-curl-commands.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[06/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/messagee-example/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/messagee-example/index.html b/content/publish/docs/messagee-example/index.html
new file mode 100644
index 0000000..d5c92c9
--- /dev/null
+++ b/content/publish/docs/messagee-example/index.html
@@ -0,0 +1,421 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Messagee Example</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Messagee Example</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/messagee-example.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li>
+<a href="#messagee-example">Messagee Example</a><ul>
+<li><a href="#creating-a-user-account-in-app-services">Creating a user account in App services</a></li>
+<li><a href="#creating-an-app-and-users">Creating an app and users</a></li>
+<li><a href="#ios-client">iOS client</a></li>
+<li><a href="#ios-sdk">iOS SDK</a></li>
+<li><a href="#android-client-and-sdk">Android client and SDK</a></li>
+<li><a href="#javascripthtml5-client-and-sdk">Javascript/HTML5 client and SDK</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<h1 id="messagee-example">Messagee Example</h1>
+<p><em>Messagee</em> is a simple Twitter-style messaging application that leverages the extensive functionality of App services. This section describes some of the features of Messagee.</p>
+<p>There are three client versions of Messagee:</p>
+<ul>
+<li>An <a href="#iOS_client">iOS client</a>
+</li>
+<li>An <a href="#android_client">Android client</a>
+</li>
+<li>An <a href="#html5_client">HTML5 client</a>
+</li>
+</ul>
+<p>The sections below describe how to create a new app, enter some test users, and run the app. You also learn how to use the App services admin portal, a user interface that streamlines data and application management in the App services system. The portal is also a reference application that shows how to incorporate App services APIs with JavaScript. For a more detailed discussion of the portal’s functionality, see <a href="/admin-portal">Admin portal</a>.</p>
+<h2 id="creating-a-user-account-in-app-services">Creating a user account in App services</h2>
+<p>Go to <a href="https://apigee.com/usergrid/">https://apigee.com/usergrid/</a> to access the login screen for the App services admin portal. If you are new to App services, sign up for an account to access the portal, specifying an organization (e.g., the name of your company or project team) and a username and password that you can use to authenticate. Because App services are designed for use by development teams, the same username can be associated with one or more organizations.</p>
+<p>If you create a new account, you receive a confirmation email that contains a URL that you must click to activate the account. After this, simply log in to the portal with your username and password.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/login.png?itok=ws5DhLDI"></embed>
+</div>
+<h2 id="creating-an-app-and-users">Creating an app and users</h2>
+<p>When you have logged in, you need to create a new application.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-1.png?itok=4o63Ia-y"></embed>
+</div>
+<ol style="list-style-type: decimal">
+<li>
+<ol start="2" style="list-style-type: decimal">
+<li>Enter a unique application name. The name must be unique to avoid a conflict with another user running the same application.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-2.png?itok=yz8QznI7"></embed>
+</div>
+</li>
+<li>
+<ol start="4" style="list-style-type: decimal">
+<li>Make sure that the portal shows the application name you entered as the active application beneath the Applications menu <strong>(1)</strong>.</li>
+</ol>
+<p>If the correct name is not displayed, click the menu and select your application.</p>
+<p>Next, you need to populate a test user <em>user-test-1</em> that is going to log in to your copy of the server-side Messagee app.</p>
+</li>
+<li>
+<ol start="6" style="list-style-type: decimal">
+<li>Click the Users box on the left side of the console <strong>(2)</strong>.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-3.png?itok=ncRlqPGQ"></embed>
+</div>
+</li>
+<li>
+<ol start="8" style="list-style-type: decimal">
+<li>Click the Add button and enter the user information for your application in the pop-up window (be sure to create a password you can remember), and then click the Create button. Repeat these steps to create a second username <em>test-user-2</em>.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-4.png?itok=X_kKe5Ke"></embed>
+</div>
+</li>
+<li>
+</ol>
+<p>When you have finished all these steps, you have a new application and two new users.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/portal-5.png?itok=jSmAcwc3"></embed>
+</div>
+<p>Now that you have created a uniquely named copy of the Messagee application as well as two user accounts (<em>test-user-1</em> and <em>test-user-2</em>), you are ready to test out the Messagee app. Use test-user-1 to log in to the app, and test-user-2 as the user to follow.</p>
+<p>To continue with the example, follow the instructions for a client app (<a href="#iOS_client">iOS client</a>, <a href="#android_client">Android client</a>, or <a href="#html5_client">HTML5 client</a>).</p>
+<h2 id="ios-client">iOS client</h2>
+<p>Messagee is available as an iPhone app that uses Apache Usergrid and RestKit. The source for the iOS version of Messagee is available in the /samples/messagee directory of the <a href="#ios_sdk">Apache Usergrid iOS SDK</a></p>
+<p>Here are the steps to run the Messagee app on iOS:</p>
+<ol style="list-style-type: decimal">
+<li>
+<ol start="2" style="list-style-type: decimal">
+<li>Run Steps 1-6 under <a href="#app_user">Creating an app and users</a>.</li>
+</ol>
+<p>These steps create a unique instance of the Messagee app on the server and two test users, <em>test-user-1</em> and <em>test-user-2</em>.</p>
+</li>
+<li>
+<ol start="4" style="list-style-type: decimal">
+<li>Access the Messagee server app by typing a URL similar to the following into your iOS mobile client (replace &lt;Messagee&gt; with the unique name of your application):</li>
+</ol>
+<p><a href="https://api.usergrid.com">https://api.usergrid.com</a>/&lt;Messagee&gt;/index.html</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-1-chooseapp.jpg?itok=NSQcdJrj"></embed>
+</div>
+</li>
+<li>
+<ol start="6" style="list-style-type: decimal">
+<li>On the mobile client, complete the registration information and click Register.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-2-register.jpg?itok=Xzqe7mXV"></embed>
+</div>
+</li>
+<li>
+<ol start="8" style="list-style-type: decimal">
+<li>Log in to the Messagee app by entering the <em>test-user-1</em> account information created previously, and click the Sign in button.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-4-signin.jpg?itok=0M9QYU7b"></embed>
+</div>
+<p>At this point, the message board is empty:</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-5-emptyfeed.jpg?itok=EWcUVMQN"></embed>
+</div>
+</li>
+<li>
+<ol start="10" style="list-style-type: decimal">
+<li>To post a message using the app, click the top-right icon in the message board to create a message, write the message text, and send it by clicking Post.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-6-newmsg.jpg?itok=Wj16l_5V"></embed>
+</div>
+<p><strong>Note:</strong> The posted message should appear in the message board within few seconds.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-7-feed1msg.jpg?itok=RclSnHuU"></embed>
+</div>
+<p>For your instance of the Messagee application to act like Twitter, you need to “follow” another user.</p>
+</li>
+<li>
+<ol start="12" style="list-style-type: decimal">
+<li>In the message board, click Add People and add <em>test-user-2</em> as a person that <em>test-user-1</em> follows.</li>
+</ol>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-9-follow.jpg?itok=yJeaYnEj"></embed>
+</div>
+</li>
+<li><ol start="14" style="list-style-type: decimal">
+<li>Log in as <em>test-user-2</em> and post a message as this user to the message board.</li>
+</ol></li>
+<li>
+<ol start="16" style="list-style-type: decimal">
+<li>Go back and log in as user <em>test-user-1</em>.</li>
+</ol>
+<p>Because <em>test-user-1</em> follows <em>test-user-2</em>, you should see the message sent by <em>test-user-2</em> in the message board.</p>
+<div class="figure">
+<embed src="/docs/sites/docs/files/styles/large/public/iOS-10-seeusermsg.jpg?itok=Wcd7avBh"></embed>
+</div>
+</li>
+<li>
+</ol>
+<h2 id="ios-sdk">iOS SDK</h2>
+<p>If you want to write iOS applications that connect to App services, <a href="http://www.apigee.com/docs/content/ios-sdk-redirect">download the Apache Usergrid iOS SDK</a></p>
+<p><strong>Note:</strong> The Messagee iOS application uses RestKit, a popular REST framework for iOS, to communicate with App services. Because App services use a REST API, you can use any REST framework to talk with the service. However, the official App services iOS SDK provides a more convenient communication mechanism that you should use unless you’re already using RestKit or some other framework in your project.</p>
+<h2 id="android-client-and-sdk">Android client and SDK</h2>
+<p>Messagee is available as a sample Android app that acts as a App services client. The source for the Android version is packaged with the Apache Usergrid Android SDK in the /samples/messagee directory.</p>
+<p><a href="http://www.apigee.com/docs/content/android-sdk-redirect">Download the Apache Usergrid Android SDK</a>.</p>
+<h2 id="javascripthtml5-client-and-sdk">Javascript/HTML5 client and SDK</h2>
+<p>Messagee is also available as a sample HTML5 app that behaves in much the same way as the two previous examples. The source for the HTML5 version is packaged with the Apache Usergrid Javascript/HTML5 SDK in the /samples/messagee directory.</p>
+<p><a href="http://www.apigee.com/docs/content/javascript-sdk-redirect">Download the Apache Usergrid Javascript/HTML5 SDK</a>.</p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/messagee-example.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/nodejs-module/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/nodejs-module/index.html b/content/publish/docs/nodejs-module/index.html
new file mode 100644
index 0000000..4ba0951
--- /dev/null
+++ b/content/publish/docs/nodejs-module/index.html
@@ -0,0 +1,307 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — Node.js module</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>Node.js module</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/nodejs-module.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#installation">Installation</a></li>
+<li><a href="#client-initialization">Client Initialization</a></li>
+<li><a href="#organizations">Organizations</a></li>
+</ul>
+</div>
+<h2 id="installation">Installation</h2>
+<p>From the command-line, run:</p>
+<pre class="highlight"><code class="language-bash"><span class="nv">$ </span>npm install usergrid</code></pre>
+<h2 id="client-initialization">Client Initialization</h2>
+<p>TODO</p>
+<h2 id="organizations">Organizations</h2>
+<pre class="highlight"><code class="language-javascript"><span class="c1">// Create an Organization</span>
+<span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
+    <span class="nx">method</span><span class="o">:</span><span class="s1">'POST'</span><span class="p">,</span>
+    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs'</span><span class="p">,</span>
+    <span class="nx">body</span><span class="o">:</span><span class="p">{</span> 
+          <span class="nx">password</span><span class="o">:</span><span class="s1">'test12345'</span><span class="p">,</span> 
+          <span class="nx">email</span><span class="o">:</span><span class="s1">'tester12345@gmail.com'</span><span class="p">,</span> 
+          <span class="nx">name</span><span class="o">:</span><span class="s1">'test'</span><span class="p">,</span> 
+          <span class="nx">username</span><span class="o">:</span><span class="s1">'tes123'</span><span class="p">,</span> 
+          <span class="nx">organization</span><span class="o">:</span><span class="s1">'testorg'</span> 
+    <span class="p">}</span>    
+<span class="p">};</span>
+<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+        <span class="c1">//error — POST failed</span>
+    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
+        <span class="c1">//success — data will contain raw results from API call        </span>
+    <span class="p">}</span>
+<span class="p">});</span>
+
+
+<span class="c1">// Read an Organization</span>
+<span class="kd">var</span> <span class="nx">options</span> <span class="o">=</span> <span class="p">{</span>
+    <span class="nx">method</span><span class="o">:</span><span class="s1">'GET'</span><span class="p">,</span>
+    <span class="nx">endpoint</span><span class="o">:</span><span class="s1">'management/orgs/testorg'</span>
+<span class="p">};</span>
+<span class="nx">client</span><span class="p">.</span><span class="nx">request</span><span class="p">(</span><span class="nx">options</span><span class="p">,</span> <span class="kd">function</span> <span class="p">(</span><span class="nx">err</span><span class="p">,</span> <span class="nx">data</span><span class="p">)</span> <span class="p">{</span>
+    <span class="k">if</span> <span class="p">(</span><span class="nx">err</span><span class="p">)</span> <span class="p">{</span>
+        <span class="c1">//error — GET failed</span>
+    <span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
+        <span class="c1">//success — data will contain raw results from API call        </span>
+    <span class="p">}</span>
+<span class="p">});</span></code></pre>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/nodejs-module.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/docs/old-forks/index.html
----------------------------------------------------------------------
diff --git a/content/publish/docs/old-forks/index.html b/content/publish/docs/old-forks/index.html
new file mode 100644
index 0000000..dd12500
--- /dev/null
+++ b/content/publish/docs/old-forks/index.html
@@ -0,0 +1,285 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — What about old forks of Apigee Usergrid?</title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class=""><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+<div class="container bf-docs-container">    
+    <div class="row">
+        <div class="col-md-3">
+            <div class="bf-sidebar hidden-print" role="complementary">
+                <ul class="nav nav-list">
+                    <li><a href="/docs/getting-up-and-running-locally/">Getting Up &amp; Running Locally</a></li>
+                    <li><a href="/docs/deploy-local/">Deploying to local Tomcat &amp; Cassandra</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/ugc#usergrid-command-line-ugc"><code>ugc</code> — the Command-line Client</a></li>
+
+                    <li class="nav-header"><span>Concepts</span></li>
+                    <li>
+                        <a href="/docs/organizations-admins/">Organizations & Admins</a>
+                        <ul>
+                            <li>
+                                <a href="/docs/applications/">Applications</a>
+                                <ul>
+                                    <li><a href="/docs/roles-and-permissions/">Roles & Permissions</a></li>
+                                    <!--<li><a href="#">Queues</a></li>-->
+                                    <li><a href="/docs/events-and-counters/">Events & Counters</a></li>
+                                    <li><a href="/docs/relationships/">Relationships (Joins)</a></li>
+                                    <li>
+                                        <a href="/docs/collections">Collections</a>
+                                        <ul>
+                                            <li><a href="/docs/query-language/">Query Language</a></li>
+                                            <li><a href="/docs/users-devices/">Users & Devices</a></li>
+                                            <li><a href="/docs/groups/">Groups</a></li>
+                                            <li><a href="/docs/activities/">Activities</a></li>
+                                            <li><a href="/docs/assets/">Assets</a></li>
+                                        </ul>
+                                    </li>
+                                </ul>
+                            </li>
+                        </ul>
+                    </li>
+
+
+                    <li class="nav-header"><span>Usage</span></li>
+                    <!-- <li>REST API — Coming Soon</li> -->
+                    <li><a class="icns-apple" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">iOS SDK</a></li>
+                    <li><a class="icns-android" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Android SDK</a></li>
+                    <li><a class="icns-html5" href="">HTML5 / JavaScript SDK</a></li>
+                    <li><a class="icns-windows" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/dotnet">Windows 8 / Windows Phone / .net SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/nodejs">Node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ruby-on-rails">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/php">PHP library</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/tree/master/sdks/java">Java library</a></li>
+
+                    <!--<li class="nav-header"><span>Internals</span></li>
+                    <li>Design & Goals — Coming Soon</li>
+                    <li>Java Architecture — Coming Soon</li>
+                    <li>Cassandra Schema — Coming Soon</li>-->
+
+                    <li class="nav-header"><span>Operations</span></li>
+                    <!--<li>Deploying — Coming Soon</li>-->
+                    <!-- <li>Monitoring — Coming Soon</li> -->
+                    <li><a href="/docs/upgrading/">Upgrading</a></li>
+                    <!-- <li>Security — Coming Soon</li> -->
+
+                    <li class="nav-header"><span>Presentations & Videos</span></li>
+                    <li><a href="/docs/presentations/">Presentations</a></li>
+                    <li><a href="/docs/videos/">Videos</a></li>
+
+                    <li class="nav-header"><span>We need your help!</span></li>
+                    <li><a href="/docs/contribute-code/">How to Contribute Code & Docs</a></li>
+                    <!--
+                    <li><a href="/docs/contribute-docs">How to contribute docs</a></li>
+                    -->
+                </ul>
+            </div>
+        </div>
+
+        <div class="col-md-9 main-article" role="main">
+            <div class="page-article">
+                <div class="page-header">
+                    <h1>What about old forks of Apigee Usergrid?</h1>
+                    <!-- TODO: reenable this when we sync SVN to GitHub
+                  <small><a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/old-forks.md">contribute to this article on github</a></small>
+                    -->
+                </div>
+                <div class="toc">
+	<ul>
+<li><a href="#how-to-update-your-code-setup-pull-changes-from-your-old-forks">How to update your code setup &amp; pull changes from your old forks</a></li>
+<li><a href="#how-to-pull-commits-made-on-this-repo-into-your-old-forks">How to pull commits made on this repo into your old forks</a></li>
+</ul>
+</div>
+<p>If you previously developed with Apigee Usergrid (i.e. before we moved to Apache), you know our code used to be structured into <em>separate</em> repositories: usergrid-stack, usergrid-portal, etc. We are now using a <em>merged</em> repository.</p>
+<h3 id="how-to-update-your-code-setup-pull-changes-from-your-old-forks">How to update your code setup &amp; pull changes from your old forks</h3>
+<p>You just need to clone this repository, and use <a href="http://engineeredweb.com/blog/how-to-install-git-subtree/">git subtree (usually requires git 1.8+)</a> to merge your changes under the new structure. Here’s an example for a portal fork. Adjust the prefix, repository address and branch you want to pull from as necessary.</p>
+<pre><code>git clone git@github.com:apache/incubator-usergrid.git
+cd usergrid
+git subtree pull --prefix=portal git@github.com:my-github-account/my-usergrid-portal-fork.git master</code></pre>
+<p>This will pull (i.e. merge) the changes you made from the master branch of github.com/my-github-account/my-usergrid-portal-fork into the portal/ subfolder. It should ask you to provide a commit message for the merge. There’s lot of flexibility on how to fetch and merge, <a href="https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt">please see the git subtree manual</a> for details. Then please do consider sending us a pull request with these changes ;)</p>
+<h3 id="how-to-pull-commits-made-on-this-repo-into-your-old-forks">How to pull commits made on this repo into your old forks</h3>
+<p>You should really update your old repositories to the new structure with the instructions above, but the following may work for you, although we make no guarantee they will work in the future.</p>
+<p>You can produce a branch compatible with the old repos by using <a href="http://engineeredweb.com/blog/how-to-install-git-subtree/">git subtree (usually requires git 1.8+)</a>. Then from this repository you can</p>
+<pre><code>git clone git@github.com:apache/incubator-usergrid.git
+cd usergrid
+git checkout master
+git subtree split --prefix=portal -b portal
+git checkout portal</code></pre>
+<p>This will create a “portal” branch that is compatible with the old usergrid-portal repository, from the code under the portal/ directory. You can pull from that branch (or push changes to it, although we will not accept pull requests sent thusly).</p>
+<p>The <code>git subtree split</code> above should function for portal, ugc, and any of the SDKs, but will not work for the stack, due to some anonymous comments left in the tree that prevent a split, and cannot be corrected lest we break the history and force a rebase on all forks.</p>
+<p><strong>Please update your code setup as soon as possible and <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-dev/">ask the dev list</a> if you have any questions!</strong></p>
+            </div>
+        </div>
+    </div>
+    <div class="row">
+        <div class="col-md-3"></div>
+        <div class="col-md-9">
+            <div class="github-callout">
+                <strong>Questions?</strong> Please do <a href="/community">ask on the mailing-lists</a>!<br/>
+                <!--
+                <strong>Found an error?</strong> We’d greatly appreciate a pull request about <a target="_blank" href="https://github.com/usergrid/website/blob/master/content/docs/old-forks.md">this article on github</a>.</div> 
+                -->
+            </div>
+        </div>
+    </div>
+</div>
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>


[50/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/bootstrap/bootstrap.min.css
----------------------------------------------------------------------
diff --git a/content/content/bootstrap/bootstrap.min.css b/content/content/bootstrap/bootstrap.min.css
new file mode 100755
index 0000000..93c646f
--- /dev/null
+++ b/content/content/bootstrap/bootstrap.min.css
@@ -0,0 +1,9 @@
+/*!
+ * Bootstrap v3.0.0
+ *
+ * Copyright 2013 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world by @mdo and @fat.
+ *//*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 
 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decorati
 on:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select
 ,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16.099999999999998px;font-weight:200;line-height:1.4}@media(min-w
 idth:768px){.lead{font-size:21px}}small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-success{color:#468847}.text-info{color:#3a87ad}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,o
 l{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height
 :1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre co
 de{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-lg-1,.col-lg-2,.col-lg-
 3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-1{width:8.333333333333332%}.col-xs-2{width:16.666666666666664%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333333333%}.col-xs-5{width:41.66666666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.333333333333336%}.col-xs-8{width:66.66666666666666%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333333334%}.col-xs-11{width:91.66666666666666%}.col-xs-12{width:100%}@media(min-width:768px){.container{max-width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-1{width:8.333333333333332%}.col-sm-2{width:16.666666666666664%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333333333%}.col-sm-5{width:41.66666666666667%}.col-sm-
 6{width:50%}.col-sm-7{width:58.333333333333336%}.col-sm-8{width:66.66666666666666%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333333334%}.col-sm-11{width:91.66666666666666%}.col-sm-12{width:100%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-11{left:91.66666666666666%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-offse
 t-1{margin-left:8.333333333333332%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-11{margin-left:91.66666666666666%}}@media(min-width:992px){.container{max-width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-1{width:8.333333333333332%}.col-md-2{width:16.666666666666664%}.col-md-3{width:25%}.col-md-4{width:33.33333333333333%}.col-md-5{width:41.66666666666667%}.col-md-6{width:50%}.col-md-7{width:58.333333333333336%}.col-md-8{width:66.66666666666666%}.col-md-9{width:75%}.col-md-10{width:83.33333333333334%}.col-md-11{width:91.66666666666666%}.col
 -md-12{width:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.333333333333332%}.col-md-push-2{left:16.666666666666664%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333333333%}.col-md-push-5{left:41.66666666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.333333333333336%}.col-md-push-8{left:66.66666666666666%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333333334%}.col-md-push-11{left:91.66666666666666%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-11{right:91.66666666666666%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offse
 t-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-11{margin-left:91.66666666666666%}}@media(min-width:1200px){.container{max-width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-1{width:8.333333333333332%}.col-lg-2{width:16.666666666666664%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333333333%}.col-lg-5{width:41.66666666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.333333333333336%}.col-lg-8{width:66.66666666666666%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333333334%}.col-lg-11{width:91.66666666666666%}.col-lg-12{width:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-
 2{left:16.666666666666664%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-11{left:91.66666666666666%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-5{margin-lef
 t:41.66666666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-11{margin-left:91.66666666666666%}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table caption+thead tr:first-child th,.table colgroup+thead tr:first-child th,.table thead:first-child tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.tabl
 e-condensed thead>tr>th,.table-condensed tbody>tr>th,.table-condensed tfoot>tr>th,.table-condensed thead>tr>td,.table-condensed tbody>tr>td,.table-condensed tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.activ
 e>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6;border-color:#c9e2b3}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.tabl
 e>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc;border-color:#e6c1c7}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc;border-color:#f8e5be}@media(max-width:768px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-
 overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0;background-color:#fff}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>t
 d:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>thead>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>thead>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],sele
 ct[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color eas
 e-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-l
 eft:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webki
 t-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px 
 rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{padding-top:7px;margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding
 -top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-ima
 ge:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.dis
 abled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;backg
 round-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{col
 or:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disab
 led,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disable
 d]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{paddi
 ng:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-
 webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e0
 16"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e04
 1"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-print:before{content:"\e045"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-mo
 ve:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:
 "\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder
 -open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-
 link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:
 "\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{
 content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-briefcase:before{content:"\1f4bc"}.glyphicon-calendar:before{content:"\1f4c5"}.glyphicon-pushpin:before{content:"\1f4cc"}.glyphicon-paperclip:before{content:"\1f4ce"}.glyphicon-camera:before{content:"\1f4f7"}.glyphicon-lock:before{content:"\1f512"}.glyphicon-bell:before{content:"\1f514"}.glyphicon-bookmark:before{content:"\1f516"}.glyphicon-fire:before{content:"\1f525"}.glyphicon-wrench:before{content:"\1f527"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-l
 eft:4px solid transparent;content:""}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#fff;text-decoration:none;background-color:#428bca}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outl
 ine:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .care
 t,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table
 ;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown
 -toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-g
 roup-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>
 .btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>
 .btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;text-align:center;background-color:#eee;border:1px solid #ccc;border-radiu
 s:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{m
 argin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radiu
 s:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav
 -pills>li>a{border-radius:5px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after
 {clear:both}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after{clear:both}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;z-index:1000;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-hea
 der{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@
 media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;border-width:0 0 1px}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;z-index:1030}.navbar-fixed-bottom{bottom:0;margin-bottom:0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(
 min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webk
 it-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-
 menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.n
 avbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e6e6e6}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav 
 .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navba
 r-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav
 bar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-me
 nu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.paginatio
 n>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination
 -sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:
 #fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-heigh
 t:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:
 4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%}a.thumbnail:hover,a.thumbnail:focus{border-color:#428bca}.thumbnail>img{margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#fbe
 ed5}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow
 :inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.act
 ive .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%
 ,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,2
 55,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(
 255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:
 hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background
 -color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:
 first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table{margin-bottom:0}.panel>.panel-body+.table{border-top:1px solid #ddd}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dd
 d}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#fbeed5}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.pane
 l-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#fbeed5}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#fbeed5}.panel-danger{border-color:#eed3d7}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#eed3d7}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#eed3d7}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-co
 lor:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}body.modal-open,.modal-open .navbar-fixed-top,.modal-open .navbar-fixed-bottom{margin-right:15px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-
 transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.
 modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{right:auto;left:50%;width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-ra
 dius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;displ
 ay:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bott
 om:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out 
 left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear
 -gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-
 prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron

<TRUNCATED>

[43/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/deleting-collections.md
----------------------------------------------------------------------
diff --git a/content/content/docs/deleting-collections.md b/content/content/docs/deleting-collections.md
new file mode 100644
index 0000000..be4680a
--- /dev/null
+++ b/content/content/docs/deleting-collections.md
@@ -0,0 +1,382 @@
+---
+title: Deleting Collections
+category: docs
+layout: docs
+---
+
+Deleting Collections
+====================
+
+This article describes how to batch delete entities in a collection.
+Batch deletes require the use of a query string in the request, which
+can either specify all entities in the collection or a subset of
+entities to be deleted. For more information on queries, see [Basic
+query syntax](/basic-query-syntax). Currently, collections cannot be
+deleted in Apache Usergrid.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Batch deleting entities in a collection
+---------------------------------------
+
+-   [cURL](#curl_delete_collection)
+-   [iOS](#ios_delete_collection)
+-   [Android](#android_delete_collection)
+-   [JavaScript (HTML5)](#javascript_delete_collection)
+-   [Ruby](#ruby_delete_collection)
+-   [Node.js](#nodejs_delete_collection)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/"
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1377129832047,
+        "modified" : 1377129832047,
+        "metadata" : {
+          "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+        },
+        "name" : "milk"
+      }, {
+        "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "created" : 1377129843607,
+        "modified" : 1377129843607,
+        "metadata" : {
+          "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+        },
+        "name" : "bread"
+      } ],
+      "timestamp" : 1378848117272,
+      "duration" : 12275,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X DELETE https://api.usergrid.com/<org>/<app>/<collection>/?ql=
+
+Note that you must include an empty query string (?ql=) at the end of
+the URL
+
+### Parameters
+
+  Parameter    Description
+  ------------ ----------------------------------------
+  org          Organization UUID or organization name
+  app          Application UUID or application name
+  collection   Collection UUID or collection name
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)deleteCollection {
+
+        NSString *url = @"https://api.usergrid.com/your-org/your-app/items/?ql";
+        NSString *op = @"DELETE";
+        NSString *opData = nil;
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient apiRequest: url operation: op data: opData];
+        
+        @try {
+            //success
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+
+    }
+                    
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1377129832047,
+        "modified" : 1377129832047,
+        "metadata" : {
+          "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+        },
+        "name" : "milk"
+      }, {
+        "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "created" : 1377129843607,
+        "modified" : 1377129843607,
+        "metadata" : {
+          "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+        },
+        "name" : "bread"
+      } ],
+      "timestamp" : 1378848117272,
+      "duration" : 12275,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)op data:(NSString *)opData
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| url                                  | A fully-formed url in the following  |
+|                                      | format:                              |
+|                                      |     https://api.usergrid.com/<org>/< |
+|                                      | app>/<collection>/?ql=               |
+|                                      |                                      |
+|                                      | Note that you must include an empty  |
+|                                      | '?ql=' query string at the end of    |
+|                                      | the URL                              |
++--------------------------------------+--------------------------------------+
+| op                                   | The HTTP method - in this case,      |
+|                                      | 'DELETE'                             |
++--------------------------------------+--------------------------------------+
+| opData                               | No data is being sent, so the value  |
+|                                      | is `nil`                             |
++--------------------------------------+--------------------------------------+
+
+Currently, deleting all entities in a collection is not supported by the
+[Apache Usergrid SDK for Android](/app-services-sdks#android).
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //options for the request
+    var options = {
+        endpoint:"items/?ql=", //don't forget to append '/?ql='
+        method:"DELETE",
+    }
+
+    dataClient.request(options,function (error,response) {
+
+        if (error) { 
+            // Error
+        } else { 
+            // Success
+        }
+
+    });    
+                    
+
+#### Response:
+
+The API will respond with 404 Resource Not Found.
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | A JSON-formatted object containing   |
+|                                      | the following properties:            |
+|                                      |                                      |
+|                                      | -   endpoint: the UUID or name of    |
+|                                      |     the collection to be emptied,    |
+|                                      |     appended by an empty query       |
+|                                      |     string in the format:            |
+|                                      |     \<collection\>/?ql=              |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request, in this case *DELETE*   |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function to handle the API  |
+|                                      | response                             |
++--------------------------------------+--------------------------------------+
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        client['item'].delete_query ""
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : {
+        "ql" : [ "" ]
+      },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "53fe3700-0abe-11e3-b1f7-1bd100b8059e",
+        "type" : "item",
+        "name" : "milk",
+        "price" : "3.25",
+        "created" : 1377129832047,
+        "modified" : 1377129832047,
+        "metadata" : {
+          "path" : "/items/53fe3700-0abe-11e3-b1f7-1bd100b8059e"
+        },
+        "name" : "milk"
+      }, {
+        "uuid" : "5ae1fa7a-0abe-11e3-89ab-6be0003c809b",
+        "type" : "item",
+        "name" : "bread",
+        "price" : "4.00",
+        "created" : 1377129843607,
+        "modified" : 1377129843607,
+        "metadata" : {
+          "path" : "/items/5ae1fa7a-0abe-11e3-89ab-6be0003c809b"
+        },
+        "name" : "bread"
+      } ],
+      "timestamp" : 1378848117272,
+      "duration" : 12275,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    delete_query <query_string>
+
+### Properties
+
+  Parameter       Description
+  --------------- --------------------------------------------------------------------------------------------------------------------------------
+  query\_string   A query string that specifies the entities to be deleted. Use an empty string (`""`) to delete all entities in the collection.
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //options for the request
+    var options = {
+        endpoint:"items/?ql=", //don't forget to append '/?ql='
+        method:"DELETE"
+    }
+
+    dataClient.request(options,function (error,response) {
+
+        if (error) { 
+            // Error
+        } else { 
+            // Success
+        }
+
+    });     
+                    
+
+#### Response:
+
+    { action: 'delete',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: { ql: [ '' ] },
+      path: '/tests',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: '5eac800a-1a61-11e3-95b8-4f685c4bb3d6',
+           type: 'item',
+           name: 'milk',
+           price: '3.25',
+           created: 1378849125376,
+           modified: 1378849125376,
+           metadata: [Object] },
+         { uuid: '5eb77c8a-1a61-11e3-aae6-3be70698d378',
+           type: 'item',
+           name: 'bread',
+           price: '4.00',
+           created: 1378849125448,
+           modified: 1378849125448,
+           metadata: [Object] } ],
+      timestamp: 1378849137959,
+      duration: 648,
+      organization: 'your-org',
+      applicationName: 'your-app' }
+                    
+
+### SDK Method
+
+    entity.destroy()
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  callback    Callback function to handle the API response
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/deleting-data-entities.md
----------------------------------------------------------------------
diff --git a/content/content/docs/deleting-data-entities.md b/content/content/docs/deleting-data-entities.md
new file mode 100644
index 0000000..3729dac
--- /dev/null
+++ b/content/content/docs/deleting-data-entities.md
@@ -0,0 +1,394 @@
+---
+title: Deleting Data Entities
+category: docs
+layout: docs
+---
+
+Deleting Data Entities
+======================
+
+This article describes how to delete data entities.
+
+**Note:**Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Deleting an entity
+------------------
+
+-   [cURL](#curl_delete_entity)
+-   [iOS](#ios_delete_entity)
+-   [Android](#android_delete_entity)
+-   [JavaScript (HTML5)](#javascript_delete_entity)
+-   [Ruby](#ruby_delete_entity)
+-   [Node.js](#nodejs_delete_entity)
+
+### Example Request/Response
+
+#### Request:
+
+Delete by UUID:
+
+    curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/da4a50dc-38dc-11e2-b2e4-02e81adcf3d0"
+
+Delete by 'name' property:
+
+    curl -X DELETE "https://api.usergrid.com/your-org/your-app/items/milk"
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378766158500,
+        "modified" : 1378766158500,
+        "metadata" : {
+          "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+        },
+        "name" : "milk",
+        "price" : "3.25"
+      } ],
+      "timestamp" : 1378766172016,
+      "duration" : 324,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X DELETE https://api.usergrid.com/<org>/<app>/<collection>/<entity>
+
+### Parameters
+
+  Parameter    Description
+  ------------ ----------------------------------------
+  org          Organization UUID or organization name
+  app          Application UUID or application name
+  collection   Collection UUID or collection name
+  entity       Entity UUID or entity name
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)deleteEntity {
+
+        //specify the entity type to be deleted 
+        NSString *type = @"item";
+        
+        //specify the uuid or name of the entity to be deleted
+        NSString *entityId = @"milk";
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient removeEntity:type entityID:entityId];
+        
+        @try {
+            //success
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+
+    }
+                    
+                    
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378766158500,
+        "modified" : 1378766158500,
+        "metadata" : {
+          "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+        },
+        "name" : "milk",
+        "price" : "3.25"
+      } ],
+      "timestamp" : 1378766172016,
+      "duration" : 324,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)removeEntity: (NSString *)type entityID:(NSString *)entityID
+
+### Properties
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  type        The entity type being deleted
+  entityID    The UUID or name of the entity to be removed
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+    String ORGNAME = "your-org";
+    String APPNAME = "your-app";        
+    ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME);
+    DataClient dataClient = apigeeClient.getDataClient();
+
+    String type = "item"; //entity type to be retrieved
+    String uuid = "b3aad0a4-f322-11e2-a9c1-999e12039f87";
+        
+    //call removeEntityAsync to initiate the asynchronous API call    
+    dataClient.removeEntityAsync(type, uuid, new ApiResponseCallback() {    
+
+    //If removeEntityAsync fails, catch the error
+    @Override
+    public void onException(Exception e) { 
+        // Error
+    }
+
+    //If removeEntityAsync is successful, handle the response object
+    @Override
+    public void onResponse(ApiResponse response) {
+        try { 
+            if (response != null) {
+                // Success
+            }
+        } catch (Exception e) { //The API request returned an error
+                // Fail
+        }
+    }
+    }); 
+                    
+
+#### Response:
+
+    {"action":"delete","application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0","entities":[{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}}],"params":{},"path":"/items","rawResponse":"{
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "d1511d7a-19a1-11e3-b02b-cd5b309a29fa",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378766854343,
+        "modified" : 1378766854343,
+        "metadata" : {
+          "path" : "/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"
+        },
+        "name" : "milk",
+        "price" : "3.25"   
+      } ],
+      "timestamp" : 1378767852615,
+      "duration" : 276,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+    ","uri":"http://api.usergrid.com/your-org/your-app/items","timestamp":1378767852615,"entityCount":1,"firstEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}},"lastEntity":{"dataClient":{"accessToken":null,"apiUrl":"https://api.usergrid.com","applicationId":"your-app","clientId":null,"clientSecret":null,"currentOrganization":null,"loggedInUser":null,"organizationId":"your-org"},"type":"item","uuid":"d1511d7a-19a1-11e3-b02b-cd5b309a29fa","created":1378766854343,"name":"milk","price" : "3.25","modified":1378766854343,"metadata":{"path":"/items/d1511d7a-19a1-11e3-b02b-cd5b309a29fa"}},"organization":"your-org","duration":276,"applicati
 onName":"your-app"}
+                    
+
+### SDK Method
+
+    removeEntity(String entityType, String entityID)
+
+### Properties
+
+  Parameter    Description
+  ------------ ----------------------------------------------
+  entityType   The entity type of the entity to be deleted
+  entityID     The UUID or name of the entity to be deleted
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //specify the properties of the entity to be deleted
+    //type is required. UUID or name of the entity to be deleted is also required
+        var properties = {
+        client:client,
+        data:{'type':'item',
+        uuid:'39d25cca-03ad-11e3-a25d-71468ad53e11'
+        }
+    };
+
+    //create the entity object
+    var entity = new Usergrid.Entity(properties);
+
+    //call destroy() to initiate the API DELETE request
+    entity.destroy(function (error) {
+
+    if (error) { 
+        // Error
+    } else {
+        // Success
+    }
+
+    });     
+                    
+
+#### Response:
+
+The API will respond with 404 Resource Not Found.
+
+### SDK Method
+
+    entity.destroy(callback)
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  callback    Callback function to handle the API response
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        client['items']['milk'].entity.delete
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+    {
+      "action" : "delete",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ {
+        "uuid" : "328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4",
+        "type" : "item",
+        "name" : "milk",
+        "created" : 1378766158500,
+        "modified" : 1378766158500,
+        "metadata" : {
+          "path" : "/items/328fe64a-19a0-11e3-8a2a-ebc6f49d1fc4"
+        },
+        "name" : "milk",
+        "price" : "3.25"
+      } ],
+      "timestamp" : 1378766172016,
+      "duration" : 324,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    delete
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    //specify the properties of the entity to be deleted
+    //type is required. UUID or name of the entity to be deleted is also required
+    var properties = {
+        client:dataClient,
+        data:{
+            'type':'item',
+            'uuid':'39d25cca-03ad-11e3-a25d-71468ad53e11'
+        }
+    };
+
+    //create the entity object
+    var entity = new Usergrid.entity(properties);
+
+    //call destroy() to initiate the API DELETE request
+    entity.destroy(function (error) {
+
+        if (error) { 
+            // Error
+        } else {
+            // Success
+        }
+
+    });     
+                    
+
+#### Response:
+
+    { action: 'delete',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: {},
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: 'f97c35ea-1a5b-11e3-b8a1-6f428da9ad88',
+           type: 'item',
+           name: 'milk',
+           price: '3.25',
+           created: 1378846808126,
+           modified: 1378846808126,
+           metadata: [Object] } ],
+      timestamp: 1378847145757,
+      duration: 285,
+      organization: 'your-org',
+      applicationName: 'your-app' }             
+                    
+
+### SDK Method
+
+    entity.destroy(callback)
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------
+  callback    Callback function to handle the API response
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/deploy-local.md
----------------------------------------------------------------------
diff --git a/content/content/docs/deploy-local.md b/content/content/docs/deploy-local.md
new file mode 100644
index 0000000..5583e77
--- /dev/null
+++ b/content/content/docs/deploy-local.md
@@ -0,0 +1,174 @@
+---
+title: Deploy to local Tomcat & Cassandra
+category: docs
+layout: docs
+---
+
+This is a guide that explains how to install and run Usergrid using stock Tomcat and Cassandra on a single computer.
+
+NOTE: running Cassandra on a single computer is something you should do ONLY for testing purposes. You don't want to run one node in production even just to start out. To get the benefit of Cassandra's architecture, which is designed to support linear scalability. You should be running a Cassandra cluster with at least three nodes. 
+
+For more information:
+
+* [Cassandra FAQ: Can I Start With a Single Node?](http://planetcassandra.org/blog/post/cassandra-faq-can-i-start-with-a-single-node/)
+* [Why don't you start off with a “single & small” Cassandra server](http://stackoverflow.com/questions/18462530/why-dont-you-start-off-with-a-single-small-cassandra-server-as-you-usually)
+
+## Requirements
+
+* [JDK 1.7](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
+* [Maven](http://maven.apache.org/)
+
+## Download
+
+Use GitHub to clone the [apache/incubator-usergrid](https://github.com/apache/incubator-usergrid) repo.
+
+Or you can start by [downloading our latest code](https://github.com/apache/incubator-usergrid/archive/master.zip) and extract it.
+
+## Building
+
+From the command line, navigate to stack directory and type the following:
+
+    mvn clean package -DskipTests=true
+
+Once you are done the Usergrid application will be package as a Java EE WAR file at the location __stack/rest/target/ROOT.war__.
+
+Install and configure Cassandra
+---
+
+Install Cassandra, don't edit configuration files as we just want default values for this simple setup. Here are the [instructions for installing Cassandra](http://wiki.apache.org/cassandra/GettingStarted)
+
+Install and configure Tomcat
+---
+
+Follow instructions, don't edit configuration files as we just want default values for this simple setup. Here are the [instructions for installing Tomcat 7](http://tomcat.apache.org/tomcat-7.0-doc/setup.html)
+
+Add Usergrid WAR to Tomcat
+---
+
+Remove the existing tomcat/webapps/ROOT directory. 
+
+Place the Usergrid ROOT.war file into the tomcat/webapps directory
+
+Add Usergrid configuration file to Tomcat
+---
+
+Create a __usergrid-deployment.properties__ file and place it in Tomcat's __lib__ directory. You can find an example properties file below  that should work well for a local Tomcat & Cassandra setup. You will probably only need to change the properties below to use your email address and preferred password for the install.
+
+
+    usergrid.sysadmin.login.allowed=true
+    usergrid.sysadmin.login.name=superuser
+    usergrid.sysadmin.login.password=pw123
+    usergrid.sysadmin.email=me@example.com
+    usergrid.sysadmin.login.email=myself@example.com
+    usergrid.management.mailer=Myself<my...@example.com>
+    usergrid.test-account.admin-user.email=myself@example.com
+    usergrid.test-account.admin-user.password=test
+
+Run Usergrid Database & Super User Setup
+---
+
+Start Tomcat and use your web browser to visit the URLs below. While you do this you might want to watch the logs under tomcat/logs for clues, just in case anything goes wrong. 
+
+Database setup URL - [http://localhost:8080/system/database/setup](http://localhost:8080/system/database/setup)
+
+When prompted to login use the sysadmin credentials that you specified in your usergrid-deployment.properties file. Based on the example above that would be superuser and pw123. If the operation is successful you should a message like the one below in your browser. If not, check your logs for clues about what went wrong.
+
+    {
+      "action" : "cassandra setup",
+      "status" : "ok",
+      "timestamp" : 1379424622947,
+      "duration" : 76
+    }
+
+Superuser setup URL - [http://localhost:8080/system/superuser/setup](http://localhost:8080/system/superuser/setup)
+
+You should not be prompted for login because you already logged into for the Database Setup. If setup works, you should see a message like this:
+
+    {
+      "action" : "superuser setup",
+      "status" : "ok",
+      "timestamp" : 1379424667936,
+      "duration" : 2
+    }
+
+Login to the Usergrid Console & get started
+---
+You should now be able to login to the Usergrid console and start configuring applications, users and more. 
+
+You can use an static version of the portal to get started:
+
+[http://apigee.github.io/usergrid-portal/?api_url=http://localhost:8080](http://apigee.github.io/usergrid-portal/?api_url=http://localhost:8080)
+
+
+Example usergrid-deployment.properties file
+---
+Here's a complete example properties file to get you started.
+
+    # Minimal Usergrid configuration properties for local Tomcat and Cassandra 
+    #
+    # The cassandra configuration options. 
+
+    # The cassandra host to use
+    cassandra.url=localhost:9160
+    
+    # The strategy to use when creating the keyspace. This is the default. 
+    # We recommend creating the keyspace with this default, then editing it 
+    # via the cassandra CLI to meet the client's needs.
+    cassandra.keyspace.strategy=org.apache.cassandra.locator.SimpleStrategy
+     
+    # The default replication factor for the simple strategy. Again, leave the 
+    # default, create the app, then use the cassandra cli to set the replication 
+    # factor options. This can become complicated with different topologies and 
+    # is more a Cassandra administration issue than a UG issue.
+    cassandra.keyspace.strategy.options.replication_factor=1
+     
+    ######################################################
+    # Custom mail transport. Not usually used for local testing
+
+    #mail.transport.protocol=smtps
+    #mail.smtps.host=email-smtp.us-east-1.amazonaws.com
+    #mail.smtps.port=465
+    #mail.smtps.auth=true
+    #mail.smtps.quitwait=false
+    #mail.smtps.username=
+    #mail.smtps.password=
+
+    ######################################################
+    # Admin and test user setup (change these to be their super user
+
+    usergrid.sysadmin.login.name=superuser
+    usergrid.sysadmin.login.email=myself@example.com     <--- Change this
+    usergrid.sysadmin.login.password=pw123               <--- Change this
+    usergrid.sysadmin.login.allowed=true
+    usergrid.sysadmin.email=myself@example.com           <--- Change this
+    
+    # Enable or disable this to require superadmin approval of users
+    usergrid.sysadmin.approve.users=false
+
+    ######################################################
+    # Auto-confirm and sign-up notifications settings
+
+    usergrid.management.admin_users_require_confirmation=false
+    usergrid.management.admin_users_require_activation=false
+    usergrid.management.organizations_require_activation=false
+    usergrid.management.notify_sysadmin_of_new_organizations=false
+    usergrid.management.notify_sysadmin_of_new_admin_users=false
+
+    ######################################################
+    # URLs
+    # Redirect path when request come in for TLD
+
+    usergrid.redirect_root=https://localhost:8080/status
+    usergrid.view.management.organizations.organization.activate=https://localhost:8080/accounts/welcome
+    usergrid.view.management.organizations.organization.confirm=https://localhost:8080/accounts/welcome
+    usergrid.view.management.users.user.activate=https://localhost:8080/accounts/welcome
+    usergrid.view.management.users.user.confirm=https://localhost:8080/accounts/welcome
+    usergrid.organization.activation.url=https://localhost:8080/management/organizations/%s/activate
+    usergrid.admin.activation.url=https://localhost:8080/management/users/%s/activate
+    usergrid.admin.resetpw.url=https://localhost:8080/management/users/%s/resetpw
+    usergrid.admin.confirmation.url=https://localhost:8080/management/users/%s/confirm
+    usergrid.user.activation.url=https://localhost:8080%s/%s/users/%s/activate
+    usergrid.user.confirmation.url=https://localhost:8080/%s/%s/users/%s/confirm
+    usergrid.user.resetpw.url=https://localhost:8080/%s/%s/users/%s/resetpw
+ 
+ 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/device.md
----------------------------------------------------------------------
diff --git a/content/content/docs/device.md b/content/content/docs/device.md
new file mode 100644
index 0000000..724871f
--- /dev/null
+++ b/content/content/docs/device.md
@@ -0,0 +1,41 @@
+---
+title: Device
+category: docs
+layout: docs
+---
+
+Device
+======
+
+Using App services APIs you can create, retrieve, update, delete, and
+query device entities. See You do not have access to view this node for
+descriptions of these APIs.
+
+Device properties
+-----------------
+
+The following are the system-defined properties for device entities. You
+can create application-specific properties for a device entity in
+addition to the system-defined properties. The system-defined properties
+are reserved. You cannot use these names to create other properties for
+a device entity. In addition the devices name is reserved for the
+devices collection — you can't use it to name another collection.
+
+  Property   Type     Description
+  ---------- -------- ---------------------------------------------------------------------------------
+  uuid       UUID     Entity unique ID
+  type       string   Entity type (e.g., device)
+  created    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  name       string   Device name (mandatory)
+
+Associated collection property
+------------------------------
+
+Devices have the following associated collection.
+
+  Collection   Type   Description
+  ------------ ------ -----------------------------------------------
+  users        user   Collection of users to which a device belongs
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/displaying-app-services-api-calls-curl-commands.md
----------------------------------------------------------------------
diff --git a/content/content/docs/displaying-app-services-api-calls-curl-commands.md b/content/content/docs/displaying-app-services-api-calls-curl-commands.md
new file mode 100644
index 0000000..66632fa
--- /dev/null
+++ b/content/content/docs/displaying-app-services-api-calls-curl-commands.md
@@ -0,0 +1,74 @@
+---
+title: Displaying Apache Usergrid API calls as Curl commands  
+category: docs
+layout: docs
+---
+
+Displaying Apache Usergrid API calls as Curl commands
+==================================================
+
+ 
+
+If you use a web application, such as the JavaScript (HTML 5) version of
+Messagee (see [HTML 5 example - Messagee](/html-5-example-messagee)),
+you can easily see the equivalent Curl syntax for each API call that the
+web application makes. The calls are displayed in the console area of
+any of the following browsers:  Chrome, Internet Explorer (in the
+debugger), Firefox (in Firebug), and Safari.
+
+This is possible because web applications such as the JavaScript version
+of Message takes advantage of a JavaScript SDK provied by Apigee (see
+[HTML5/JavaScript SDK](/html5javascript-sdk)) to issue Apache Usergrid API
+calls. The SDK automatically translates each API call into a Curl
+command, which is displayed in the console. If you use any web
+application that is built on the JavaScript SDK, you can view the
+applications API's calls in Curl syntax.
+
+The [admin portal](http://apigee.com/usergrid/) is another example of a
+web application that is built on the JavaScript SDK and issues App
+Services API calls from JavaScript. When a user clicks a button in the
+admin portal, such as “Users”, the admin portal makes an API request to
+retrieve the appropriate data. In addition, the JavaScript SDK in the
+web application automatically translates the API call into the following
+Curl command:
+
+    curl -X GET "https://api.usergrid.com/edort1/sandbox/users?ql=order%20by%20username”
+
+The request retrieves the users in the application and orders the result
+by username.
+
+If you turn on the JavaScript console, here’s what it displays for the
+call. This example shows the JavaScript console display in the Chrome
+browser. You can turn on the JavaScript console in Chrome by clicking
+the “wrench” button (customize and control Chrome) and then selecting
+Tools \> JavaScript console. 
+
+![Curl command in Chrome
+console](/docs/sites/docs/files/jsconsole_chrome.png)
+
+Notice that in addition to displaying the API call in Curl syntax, the
+console displays the time to retrieve the user entities.
+
+To display the JavaScript console in Internet Explorer, you need to turn
+on the debugger. You do that by selecting F12 developer tools in the
+tools menu. Here’s what the Curl version of the API call looks like in
+Internet Explorer’s console.
+
+![Curl command in Internet Explorer
+console](/docs/sites/docs/files/jsconsole_ie.png)
+
+Here’s what the curl version of the API call looks like in Firefox’s
+JavaScript console.
+
+![Curl command in Firefox
+console](/docs/sites/docs/files/jsconsole_firefox.png)
+
+You need to have the [Firebug tool](http://getfirebug.com/) installed
+and enabled in your Firefox browser to view the curl commands in the
+console.
+
+And here’s what the API call looks like in the Safari console. The
+console is part of Safari’s Web Inspector tool
+([https://developer.apple.com/technologies/safari/developer-tools.html](https://developer.apple.com/technologies/safari/developer-tools.html)).
+
+![Curl command in SaFARI](/docs/sites/docs/files/jsconsole_safari.png)

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/events-and-counters 2.md
----------------------------------------------------------------------
diff --git a/content/content/docs/events-and-counters 2.md b/content/content/docs/events-and-counters 2.md
new file mode 100644
index 0000000..9aca05b
--- /dev/null
+++ b/content/content/docs/events-and-counters 2.md	
@@ -0,0 +1,396 @@
+---
+title: Events and counters
+category: docs
+layout: docs
+---
+
+Events are typically used for application logging. For example, they
+could be used to log error messages that a system administrator might
+review at a later time. The event mechanism is optimized to handle large
+numbers of events, so it is an ideal mechanism for logging in your
+application.
+
+You can link events to specific users, groups, or custom-defined
+categories. When created with these links, events offer a powerful tool
+for running highly targeted, custom reports.
+
+Events are also the primary way to store custom counter data for
+analytics. See Counters (below) for further details.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Using App services APIs you can create an event.
+
+Creating a new event
+--------------------
+
+Use the POST method to create a new event in the events collection.
+
+### Request URI
+
+POST /{org\_id}/{app\_id}/events {request body}
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| arg uuid|string org\_id              | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| arg uuid|string app\_id              | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| request body                         | One or more sets of event            |
+|                                      | properties. You must provide a       |
+|                                      | timestamp property, but if you set   |
+|                                      | it to 0 it is assigned by the        |
+|                                      | system.                              |
+|                                      |                                      |
+|                                      |     {                                |
+|                                      |       "timestamp":0,                 |
+|                                      |       "category" : "advertising",    |
+|                                      |       "counters" : {                 |
+|                                      |         "ad_clicks" : 5              |
+|                                      |       }                              |
+|                                      |     }                                |
++--------------------------------------+--------------------------------------+
+
+### Example - Request
+
+-   [cURL](#curl_create_event)
+-   [JavaScript (HTML5)](#javascript_create_event)
+-   [Ruby](#ruby_create_event)
+-   [Node.js](#nodejs_create_event)
+
+<!-- -->
+
+    curl -X POST "https://api.usergrid.com/my-org/my-app/events" -d '{"timestamp":0, "category" : "advertising", "counters" : {"ad_clicks" : 5}}'
+
+The example assumes use of the [JavaScript (HTML5)
+SDK](https://github.com/apigee/usergrid-javascript-sdk).
+
+    var options = {
+        method:'POST',
+        endpoint:'events',
+        body:{timestamp:0, category:'advertising', counters:{ad_clicks : 5}}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    app = Usergrid::Application.new 'https://api.usergrid.com/my-org/my-app/'
+    result = app.create_event timestamp: '0', category: 'advertising', counters: { ad_clicks: 5 }
+    mynewevent = result.entity   
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'POST',
+        endpoint:'events',
+        body:{timestamp:0, category:'advertising', counters:{ad_clicks : 5}}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error
+        } else {
+            //success - data will contain raw results from API call
+        }
+    });
+
+### Example - Response
+
+    {
+          "action": "post",
+          "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+          "params": {},
+          "path": "/events",
+          "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+          "entities": [
+            {
+              "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+              "type": "event",
+              "created": 1331166585282,
+              "modified": 1331166585282,
+              "counters": {
+                "ad_clicks": 5
+              },
+              "metadata": {
+                "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+              },
+              "timestamp": 1331166585282
+            }
+          ],
+          "timestamp": 1331166585018,
+          "duration": 919,
+          "organization": "my-org",
+          "applicationName": "my-app"
+    }
+
+Event properties
+----------------
+
+You can pass various system-defined properties for an event. For
+example, you can specify a user property, with a uuid as its value. This
+will link the event to the user and can be used to query against the
+events queue (see Categorization below). The same is true for the group
+property. Pass it with a uuid as the value and the event will be linked
+to the group. To include a uuid of a user or group, add the uuid to the
+request body, for example:
+
+    POST https://api.usergrid.com/my-org/my-app/events {"timestamp":0, "category" : "advertising", "counters" :  {"ad_clicks" : 5},"user" : "1234891-477d-11e1-b2bd-22005a1c4e22", "group" : "75577d891-347d-2231-b5bd-23400a1c4e22"}
+
+The response body would look something like this:
+
+    {
+     "action": "post",
+     "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+     "params": {},
+     "path": "/events",
+     "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+     "entities": [
+       {
+         "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+         "user": "1234891-477d-11e1-b2bd-22005a1c4e22",
+         "group": "75577d891-347d-2231-b5bd-23400a1c4e22",
+         "type": "event",
+         "created": 1331166585282,
+         "modified": 1331166585282,
+         "counters": {
+           "ad_clicks": 5
+         },
+         "metadata": {
+           "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+         },
+         "timestamp": 1331166585282
+       }
+     ],
+     "timestamp": 1331166585018,
+     "duration": 919,
+     "organization": "my-org",
+     "applicationName": "my-app"
+    }
+
+You can also create application-specific event properties in addition to
+these predefined properties. The system-defined properties are reserved.
+You cannot use these names to create other properties for an event
+entity. In addition the events name is reserved for the events
+collection — you can't use it to name another collection.
+
+The System-defined properties are as follows:
+
+  Property    Type     Description
+  ----------- -------- -------------------------------------------------------------------------------------------
+  uuid        UUID     Event’s unique entity ID
+  type        String   "event"
+  created     long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  timestamp   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of application event (mandatory)
+  user        UUID     UUID of application user that posted the event
+  group       UUID     UUID of application group that posted the event
+  category    string   Category used for organizing similar events
+  counters    map      Counter used for tracking number of similar events
+  message     string   Message describing event
+
+### Categorizing events
+
+As mentioned previously, you can link an event to a user or a group.
+This enables you to categorize and qualify event data for use in
+tracking and analysis. For example, linking events to users and groups,
+enables you to track how often people use a feature. Not only can you
+determine the total number of users that used the feature, but also
+which groups contain users that made the most use of the feature. Or,
+you could provide a location with the event, so you could see how often
+a feature was used by people in San Francisco versus Los Angeles.
+
+Counters
+--------
+
+User-defined counters are used in conjunction with events to keep
+statistics on many aspects of an application. User-defined counters are
+JSON objects that are added to events when they are posted. The act of
+posting an event increments the counter. Once created, user-defined
+counters can be used to get reports.
+
+**Note:** It may take up to 30 seconds for a counter to be updated.
+
+### User-Defined Counters
+
+With Apache Usergrid, you can define your own counters. Some of the things
+that you might track with a user-defined counter are:
+
+-   How many times people click on the help button in your application.
+-   How many times your game is played each day.
+-   How many times your banner ads are clicked each day.
+
+You can choose any name for a user-defined counter. For example, the
+counter for the help button might be named “help\_button” or
+“help\_button\_clicks”.
+
+To create a user-defined counter, you post to the events collection and
+specify the name and increment value of the counter in the request body.
+The increment value is the value that the counter is incremented by for
+each tracked event. An increment value of 1, means that the counter is
+increment by 1 for each tracked event. You could also specify a higher
+increment value, such as 15, which would increment the value by that
+number, or a negative number, which would decrement the value.  You can
+also reset the value of the counter, by specifying an increment value of
+0.
+
+When a counter is incremented by an event, there will be a 20-30 second
+delay between when the event is posted and when the counter is
+incremented. 
+
+As an example, here's how to create a user-defined counter named
+“button\_clicks” with an increment value of 1:
+
+    POST https://api.usergrid.com/my-org/my-app/events {"counters" : {"button_clicks" : 1},"timestamp" : "0"}
+
+The response body would look something like this:
+
+    {
+       "action": "post",
+       "path": "/events",
+       "uri": "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/events",
+       "entities": [
+           {
+               "uuid": "39d41c46-d8e4-11e0-bcc1-12313f0204bb",
+               "type": "event",
+               "timestamp": 1315353555546016,
+               "category":"advertising",
+               "counters": {
+                   "button_clicks": 1
+               },
+               "created": 1315353555546016,
+               "modified": 1315353555546016,
+               "metadata": {
+               "path": "/events/39d41c46-d8e4-11e0-bcc1-12313f0204bb"
+               }
+           }
+       ],
+       "timestamp": 1315353555537,
+       "duration": 110,
+       "organization": "my-org",
+       "applicationName": "my-app"
+    }
+
+### Counter hierarchy
+
+Counters are hierarchical in their structure and in the way they are
+incremented. Each level of the hierarchy is separated by the dot “.”
+operator. The hierarchical structure can be useful if you want to store
+or view statistics in a hierarchical way. For example, suppose you want
+to log errors that your app generates. One way to do this, is to fire an
+event every time an error occurs, by creating a counter called “errors”.
+However, you can get more detail by adding additional parameters to the
+counter. Imagine that you want to track errors in a specific module and
+function within that module, say module\_1, function\_1, you could use a
+counter like this:
+
+errors.module\_1.function\_1
+
+And then for a different function in the same module:
+
+errors.module\_1.function\_2
+
+And then for a different function in a different module:
+
+errors.module\_2.function\_3
+
+If each of the preceding examples were called once, the resulting values
+would be:
+
+errors = 3\
+\
+ errors.module\_1 = 2\
+\
+ errors.module\_1.function\_1 = 1\
+\
+ errors.module\_1.function\_2 = 1\
+\
+ errors.module\_2 = 1\
+\
+ errors.module\_2.function\_3 = 1
+
+This tells you that there were 3 errors in the application, with 2 of
+those errors in module\_1. You can then drill down further to see errors
+in specific functions.
+
+### Using counters in time series queries
+
+Knowing the value of a counter is useful. However, you often need to
+know how the value varies over time. Fortunately, the API provides a
+method for you to view this data over any time interval or level of
+granularity.
+
+For example, let’s say you’re incrementing a counter every time someone
+launches your application. You might be interested in which days of the
+week the application sees the most usage. Using the API, you can examine
+the counter over a set of weeks, with the data split into daily
+intervals. Using this information, you can see which are your peak days
+of usage. You can also view usage across a single day, so you can see if
+your application is used more in the mornings or the evenings. For
+business reporting, you may be more interested in monthly reporting.
+
+Note that the system is able to provide you with the report data as you
+need it. The data is maintained in real-time so it can be viewed
+instantly.
+
+### Retrieving counter data
+
+To retrieve counter data, you issue a GET request to the /counters
+endpoint. This is a special, built-in collection that gives you access
+to all the counters currently in the system. The API also provides a
+number of parameters that you can use to search for counter data, as
+follows:
+
+  Parameter     Type                                                                                 Description
+  ------------- ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  start\_time   An [Epoch(Unix)](http://en.wikipedia.org/wiki/Unix_time) timestamp in milliseconds   The beginning of the time period to search
+  end\_time     An [Epoch(Unix)](http://en.wikipedia.org/wiki/Unix_time) timestamp in milliseconds   The end of the time period to search
+  counter       string                                                                               The name of a specific counter to search. You can specify more than one counter in a query (for example, counter=counter1&counter=counter2...)
+  resolution    string                                                                               The interval at which counters are displayed. For example, if the interval is day, and the start time and end time values span 4 days, you will get aggregate counts for each of the 4 days. Possible values are all, minute, five\_minutes, half\_hour, hour, six\_day, day, week, and month.
+
+For example, to retrieve a time range of values, with a granularity of
+"day", for a counter called "button\_clicks", the GET request would look
+like this:
+
+    GET /my-org/my-app/counters?start_time=1315119600000&end_time=1315724400000&resolution=day&counter=button_clicks
+
+The response body would look something like this:
+
+    {
+     action: "get",
+        uri: "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/counters",
+        timestamp: 1315354369272,
+        duration: 28,
+        counters: [
+            {
+                name: "button_clicks",
+                values: [
+                    {
+                        value: 2
+                        timestamp: 1315180800000
+                    },
+                    {
+                        value: 1
+                        timestamp: 1315267200000
+                    },
+                    {
+                        value: 1
+                        timestamp: 1315353600000
+                    }
+                ]
+            }
+        ]
+    }

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/events-and-counters.md
----------------------------------------------------------------------
diff --git a/content/content/docs/events-and-counters.md b/content/content/docs/events-and-counters.md
new file mode 100644
index 0000000..fb6fd7e
--- /dev/null
+++ b/content/content/docs/events-and-counters.md
@@ -0,0 +1,272 @@
+---
+title: Events and counters
+category: docs
+layout: docs
+---
+
+Events are typically used for application logging. For example, they
+could be used to log error messages that a system administrator might
+review at a later time. The event mechanism is optimized to handle large
+numbers of events, so it is an ideal mechanism for logging in your
+application.
+
+You can link events to specific users, groups, or custom-defined
+categories. When created with these links, events offer a powerful tool
+for running highly targeted, custom reports.
+
+Events are also the primary way to store custom counter data for
+analytics. See Counters (below) for further details.
+
+
+Event properties
+----------------
+
+You can pass various system-defined properties for an event. For
+example, you can specify a user property, with a uuid as its value. This
+will link the event to the user and can be used to query against the
+events queue (see Categorization below). The same is true for the group
+property. Pass it with a uuid as the value and the event will be linked
+to the group. To include a uuid of a user or group, add the uuid to the
+request body, for example:
+
+    POST https://api.usergrid.com/my-org/my-app/events {"timestamp":0, "category" : "advertising", "counters" :  {"ad_clicks" : 5},"user" : "1234891-477d-11e1-b2bd-22005a1c4e22", "group" : "75577d891-347d-2231-b5bd-23400a1c4e22"}
+
+The response body would look something like this:
+
+    {
+     "action": "post",
+     "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e22",
+     "params": {},
+     "path": "/events",
+     "uri": "https://api.usergrid.com/22000a1c4e22-7fb8d891-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/events",
+     "entities": [
+       {
+         "uuid": "ce07ea3c-68b5-11e1-a586-9227e40e3559",
+         "user": "1234891-477d-11e1-b2bd-22005a1c4e22",
+         "group": "75577d891-347d-2231-b5bd-23400a1c4e22",
+         "type": "event",
+         "created": 1331166585282,
+         "modified": 1331166585282,
+         "counters": {
+           "ad_clicks": 5
+         },
+         "metadata": {
+           "path": "/events/ce07ea3c-68b5-11e1-a586-9227e40e3559"
+         },
+         "timestamp": 1331166585282
+       }
+     ],
+     "timestamp": 1331166585018,
+     "duration": 919,
+     "organization": "my-org",
+     "applicationName": "my-app"
+    }
+
+You can also create application-specific event properties in addition to
+these predefined properties. The system-defined properties are reserved.
+You cannot use these names to create other properties for an event
+entity. In addition the events name is reserved for the events
+collection — you can't use it to name another collection.
+
+The System-defined properties are as follows:
+
+  Property    Type     Description
+  ----------- -------- -------------------------------------------------------------------------------------------
+  uuid        UUID     Event’s unique entity ID
+  type        String   "event"
+  created     long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity creation
+  modified    long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of entity modification
+  timestamp   long     [UNIX timestamp](http://en.wikipedia.org/wiki/Unix_time) of application event (mandatory)
+  user        UUID     UUID of application user that posted the event
+  group       UUID     UUID of application group that posted the event
+  category    string   Category used for organizing similar events
+  counters    map      Counter used for tracking number of similar events
+  message     string   Message describing event
+
+### Categorizing events
+
+As mentioned previously, you can link an event to a user or a group using a standard [Relationship](/docs/relationships).
+This enables you to categorize and qualify event data for use in
+tracking and analysis. For example, linking events to users and groups,
+enables you to track how often people use a feature. Not only can you
+determine the total number of users that used the feature, but also
+which groups contain users that made the most use of the feature. Or,
+you could provide a location with the event, so you could see how often
+a feature was used by people in San Francisco versus Los Angeles.
+
+Counters
+--------
+
+User-defined counters are used in conjunction with events to keep
+statistics on many aspects of an application. User-defined counters are
+JSON objects that are added to events when they are posted. The act of
+posting an event increments the counter. Once created, user-defined
+counters can be used to get reports.
+
+**Note:** It may take up to 30 seconds for a counter to be updated.
+
+### User-Defined Counters
+
+With Apache Usergrid, you can define your own counters. Some of the things
+that you might track with a user-defined counter are:
+
+-   How many times people click on the help button in your application.
+-   How many times your game is played each day.
+-   How many times your banner ads are clicked each day.
+
+You can choose any name for a user-defined counter. For example, the
+counter for the help button might be named “help\_button” or
+“help\_button\_clicks”.
+
+To create a user-defined counter, you post to the events collection and
+specify the name and increment value of the counter in the request body.
+The increment value is the value that the counter is incremented by for
+each tracked event. An increment value of 1, means that the counter is
+increment by 1 for each tracked event. You could also specify a higher
+increment value, such as 15, which would increment the value by that
+number, or a negative number, which would decrement the value.  You can
+also reset the value of the counter, by specifying an increment value of
+0.
+
+When a counter is incremented by an event, there will be a 20-30 second
+delay between when the event is posted and when the counter is
+incremented. 
+
+As an example, here's how to create a user-defined counter named
+“button\_clicks” with an increment value of 1:
+
+    POST https://api.usergrid.com/my-org/my-app/events {"counters" : {"button_clicks" : 1},"timestamp" : "0"}
+
+The response body would look something like this:
+
+    {
+       "action": "post",
+       "path": "/events",
+       "uri": "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/events",
+       "entities": [
+           {
+               "uuid": "39d41c46-d8e4-11e0-bcc1-12313f0204bb",
+               "type": "event",
+               "timestamp": 1315353555546016,
+               "category":"advertising",
+               "counters": {
+                   "button_clicks": 1
+               },
+               "created": 1315353555546016,
+               "modified": 1315353555546016,
+               "metadata": {
+               "path": "/events/39d41c46-d8e4-11e0-bcc1-12313f0204bb"
+               }
+           }
+       ],
+       "timestamp": 1315353555537,
+       "duration": 110,
+       "organization": "my-org",
+       "applicationName": "my-app"
+    }
+
+### Counter hierarchy
+
+Counters are hierarchical in their structure and in the way they are
+incremented. Each level of the hierarchy is separated by the dot “.”
+operator. The hierarchical structure can be useful if you want to store
+or view statistics in a hierarchical way. For example, suppose you want
+to log errors that your app generates. One way to do this, is to fire an
+event every time an error occurs, by creating a counter called “errors”.
+However, you can get more detail by adding additional parameters to the
+counter. Imagine that you want to track errors in a specific module and
+function within that module, say module\_1, function\_1, you could use a
+counter like this:
+
+    errors.module_1.function_1
+
+And then for a different function in the same module:
+
+    errors.module_1.function_2
+
+And then for a different function in a different module:
+
+    errors.module_2.function_3
+
+If each of the preceding examples were called once, the resulting values
+would be:
+
+    errors = 3
+    errors.module_1 = 2
+    errors.module_1.function_1 = 1
+    errors.module_1.function_2 = 1
+    errors.module_2 = 1
+    errors.module_2.function_3 = 1
+
+This tells you that there were 3 errors in the application, with 2 of
+those errors in module\_1. You can then drill down further to see errors
+in specific functions.
+
+### Using counters in time series queries
+
+Knowing the value of a counter is useful. However, you often need to
+know how the value varies over time. Fortunately, the API provides a
+method for you to view this data over any time interval or level of
+granularity.
+
+For example, let’s say you’re incrementing a counter every time someone
+launches your application. You might be interested in which days of the
+week the application sees the most usage. Using the API, you can examine
+the counter over a set of weeks, with the data split into daily
+intervals. Using this information, you can see which are your peak days
+of usage. You can also view usage across a single day, so you can see if
+your application is used more in the mornings or the evenings. For
+business reporting, you may be more interested in monthly reporting.
+
+Note that the system is able to provide you with the report data as you
+need it. The data is maintained in real-time so it can be viewed
+instantly.
+
+### Retrieving counter data
+
+To retrieve counter data, you issue a GET request to the /counters
+endpoint. This is a special, built-in collection that gives you access
+to all the counters currently in the system. The API also provides a
+number of parameters that you can use to search for counter data, as
+follows:
+
+  Parameter     Type                                                                                 Description
+  ------------- ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  start\_time   An [Epoch(Unix)](http://en.wikipedia.org/wiki/Unix_time) timestamp in milliseconds   The beginning of the time period to search
+  end\_time     An [Epoch(Unix)](http://en.wikipedia.org/wiki/Unix_time) timestamp in milliseconds   The end of the time period to search
+  counter       string                                                                               The name of a specific counter to search. You can specify more than one counter in a query (for example, counter=counter1&counter=counter2...)
+  resolution    string                                                                               The interval at which counters are displayed. For example, if the interval is day, and the start time and end time values span 4 days, you will get aggregate counts for each of the 4 days. Possible values are all, minute, five\_minutes, half\_hour, hour, six\_day, day, week, and month.
+
+For example, to retrieve a time range of values, with a granularity of
+"day", for a counter called "button\_clicks", the GET request would look
+like this:
+
+    GET /my-org/my-app/counters?start_time=1315119600000&end_time=1315724400000&resolution=day&counter=button_clicks
+
+The response body would look something like this:
+
+    {
+     action: "get",
+        uri: "http://api.usergrid.com/438a1ca1-cf9b-11e0-bcc1-12313f0204bb/counters",
+        timestamp: 1315354369272,
+        duration: 28,
+        counters: [
+            {
+                name: "button_clicks",
+                values: [
+                    {
+                        value: 2
+                        timestamp: 1315180800000
+                    },
+                    {
+                        value: 1
+                        timestamp: 1315267200000
+                    },
+                    {
+                        value: 1
+                        timestamp: 1315353600000
+                    }
+                ]
+            }
+        ]
+    }

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/facebook-sign.md
----------------------------------------------------------------------
diff --git a/content/content/docs/facebook-sign.md b/content/content/docs/facebook-sign.md
new file mode 100644
index 0000000..5a8a92c
--- /dev/null
+++ b/content/content/docs/facebook-sign.md
@@ -0,0 +1,232 @@
+---
+title: Facebook sign in
+category: docs
+layout: docs
+---
+
+Facebook sign in
+================
+
+You can authenticate your Apache Usergrid requests by logging into
+Facebook. To access Apache Usergrid resources, you need to provide an
+access token with each request (unless you use the sandbox app). You can
+get an access token by connecting to an appropriate web service endpoint
+and providing the correct client credentials — this is further described
+in [Authenticating users and application
+clients](/authenticating-users-and-application-clients). However, you
+can also obtain an access token by logging into Facebook.
+
+To enable authentication to Apache Usergrid through Facebook, do the
+following in your app:
+
+1.  Make a login call to the Facebook API (do this using the [Facebook
+    SDK](https://developers.facebook.com/docs/sdks/) or
+    [API](https://developers.facebook.com/docs/facebook-login/)). If the
+    login succeeds, a Facebook access token is returned.
+2.  Send the Facebook access token to Apache Usergrid. If the Facebook
+    access token is valid and the user does not already exist in App
+    Services, Apache Usergrid provisions a new Apache Usergrid user. It also
+    returns an Apache Usergrid access token, which you can use for
+    subsequent Apache Usergrid API calls. Behind the scenes, Apache Usergrid
+    uses the Facebook access token to retrieve the user's profile
+    information from Facebook.
+
+    If the Facebook access token is invalid, Facebook returns an OAuth
+    authentication error, and the login does not succeed.
+
+The request to authenticate to Apache Usergrid using a Facebook access
+token is:
+
+    GET https://api.usergrid.com/{my_org}/{my_app}/auth/facebook?fb_access_token={fb_access_token}
+
+where:
+
+{my\_org} is the organization UUID or organization name.\
+{my\_app} is the application UUID or application name.\
+{fb\_access\_token} is the Facebook access token.
+
+Facebook login example
+----------------------
+
+The [Facebook technical guides for
+login](https://developers.facebook.com/docs/technical-guides/login/)
+present detailed information on how to add Facebook login to your app.
+Instructions are provided for JavaScript, iOS, and Android.
+
+In brief, here are the steps for JavaScript. You can see these steps
+implemented in the Facebook login example packaged with the JavaScript
+SDK for Apache Usergrid (which you can download in
+[ZIP](https://github.com/apigee/usergrid-javascript-sdk/archive/master.zip)
+format or
+[tar.gz](https://github.com/apigee/usergrid-javascript-sdk/archive/master.tar.gz)
+format). The Facebook login example is in the /examples/facebook
+directory of the extracted download. The code example snippets shown
+below are taken from the Facebook login example.
+
+### Step 1: Create a Facebook app
+
+Create a new app on the [Facebook App
+Dashboard](https://developers.facebook.com/apps/). Enter your app's
+basic information. Once created, note the app ID shown at the top of the
+dashboard page.
+
+### Step 2: Invoke the Facebook OAuth dialog
+
+Invoke the Facebook OAuth Dialog. To do that, redirect the user's
+browser to a URL by inserting the following Javascript code after the
+opening \<body\> tag in your app’s HTML file:
+
+    https://www.facebook.com/dialog/oauth/?
+        client_id={YOUR_APP_ID}
+        &redirect_uri={YOUR_REDIRECT_URL}
+        &state={YOUR_STATE_VALUE}
+        &scope={COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES}
+        &response_type={YOUR_RESPONSE_TYPE}
+
+where:
+
+{YOUR\_APP\_ID} is the app ID.\
+{YOUR\_REDIRECT\_URL} is the application UUID or application name.\
+{YOUR\_STATE\_VALUE} is a unique string used to maintain application
+state between the request and callback.\
+{COMMA\_SEPARATED\_LIST\_OF\_PERMISSION\_NAMES} is a comma separated
+list of permission names which you would like the user to grant your
+application.\
+{YOUR\_RESPONSE\_TYPE}is the requested response type, either code or
+token. Defaults to code. Set the response type to token. With the
+response type set to token, the Dialog's response will include an OAuth
+user access token in the fragment of the URL the user is redirected to,
+as per the client-side authentication flow.
+
+Here is how it’s done in the Facebook login example:
+
+    var apiKey = $("#api-key").val();
+    var location = window.location.protocol + '//' + window.location.host;
+    var path = window.location.pathname;
+
+    var link = "https://www.facebook.com/dialog/oauth?client_id=";
+    link += apiKey;
+    link += "&redirect_uri=";
+    link += location+path
+    link += "&scope&COMMA_SEPARATED_LIST_OF_PERMISSION_NAMES&response_type=token";
+
+    //now forward the user to facebook
+    window.location = link;
+
+Notice that the response type is set to token. As a result, a Facebook
+access token will be appended to the URL to which the user is
+redirected.
+
+### Step 3: Add the JavaScript SDK for Facebook
+
+Add the following Javascript SDK initialization code after the code that
+invokes the Facebook OAuth Dialog. The code will load and initialize the
+JavaScript SDK in your HTML page. Replace YOUR\_APP\_ID with the App ID
+noted in Step 1, and WWW.YOUR\_DOMAIN.COM with your own domain.
+
+    window.fbAsyncInit = function() {
+        FB.init({
+          appId      : 'YOUR_APP_ID', // App ID
+          channelUrl : '//WWW.YOUR_DOMAIN.COM/channel.html', // Channel File
+          status     : true, // check login status
+          cookie     : true, // enable cookies to allow the server to access the session
+          xfbml      : true  // parse XFBML
+        });
+
+Here is how the window.fbAsynchInit() function is implemented in the
+Facebook login example:
+
+    //load up the facebook api sdk
+      window.fbAsyncInit = function() {
+        FB.init({
+          appId      : '308790195893570', // App ID
+          channelUrl : '//usergridsdk.dev//examples/channel.html', // Channel File
+          status     : true, // check login status
+          cookie     : true, // enable cookies to allow the server to access the session
+          xfbml      : true  // parse XFBML
+        });
+      };
+
+### Step 4. Setup FB.login
+
+Whenever a user is either not logged into Facebook or not authorized for
+an app, it is useful to prompt them with the relevant dialog. The
+FB.login() Javascript SDK function automatically displays the correct
+one to the user.
+
+To integrate FB.login()Fwindow.fbAsyncInit() function in your existing
+code:
+
+    function login() {
+        FB.login(function(response) {
+            if (response.authResponse) {
+                // connected
+            } else {
+                // cancelled
+            }
+        });
+    }
+
+Here is how window.fbAsynchInit()FB.login() is implemented in the
+Facebook login example:
+
+    function login(facebookAccessToken) {
+        client.loginFacebook(facebookAccessToken, function(err, response){
+          var output = JSON.stringify(response, null, 2);
+          if (err) {
+            var html = '<pre>Oops!  There was an error logging you in. \r\n\r\n';
+            html += 'Error: \r\n' + output+'</pre>';
+          } else {
+            var html = '<pre>Hurray!  You have been logged in. \r\n\r\n';
+            html += 'Facebook Token: ' + '\r\n' + facebookAccessToken + '\r\n\r\n';
+            html += 'Facebook Profile data stored in Usergrid: \r\n' + output+'</pre>';
+          }
+          $('#facebook-status').html(html);
+        })
+      }
+
+The client.loginFacebook() function is provided by the Apache Usergrid
+JavaScript SDK. It uses the Facebook auth token to obtain an App
+Services auth token. If the Facebook access token is valid and the user
+does not already exist in Apache Usergrid, the function creates a user
+entity for the user. It also uses the Facebook access token to retrieve
+the user's profile information from Facebook.
+
+Here is what the client.loginFacebook() function looks like:
+
+    Usergrid.Client.prototype.loginFacebook = function (facebookToken, callback) {
+      var self = this;
+      var options = {
+        method:'GET',
+        endpoint:'auth/facebook',
+        qs:{
+          fb_access_token: facebookToken
+        }
+      };
+      this.request(options, function(err, data) {
+        var user = {};
+        if (err && self.logging) {
+          console.log('error trying to log user in');
+        } else {
+          user = new Usergrid.Entity('users', data.user);
+          self.setToken(data.access_token);
+        }
+        if (typeof(callback) === 'function') {
+          callback(err, data, user);
+        }
+      });
+    }
+
+Notice that the function also returns an Apache Usergrid access token,
+which you can use for subsequent Apache Usergrid API calls.
+
+Remember to create a client for your app, which is the main entry point
+to the JavaScript SDK for Apache Usergrid. You need to do this before you
+can use the SDK. Here’s the code to create a client:
+
+    var client = new Usergrid.Client({
+        orgName:'yourorgname',
+        appName:'yourappname',
+        logging: true, //optional - turn on logging, off by default
+        buildCurl: true //optional - turn on curl commands, off by default
+    });

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/features.md
----------------------------------------------------------------------
diff --git a/content/content/docs/features.md b/content/content/docs/features.md
new file mode 100644
index 0000000..f7077ff
--- /dev/null
+++ b/content/content/docs/features.md
@@ -0,0 +1,198 @@
+---
+title: Apache Usergrid Features
+category: docs
+layout: docs
+---
+
+Apache Usergrid Features
+========================
+
+Apache Usergrid is a backend-as-a-service (BaaS) solution that enables you
+to quickly integrate valuable features into your app, including social
+graphs, user management, data storage, push notifications, performance
+monitoring, and more.
+
+Using Apache Usergrid, you can set up your own cloud-based data platform in
+minutes instead of months – no server-side coding or back-end
+development needed. This allows your team to focus on developing the
+rich features and user experience that truly differentiate your app,
+rather than the time-consuming details of implementing core back-end
+services and infrastructure.
+
+Data storage & management
+-------------------------
+
+### Application data
+
+At the core of Apache Usergrid is a flexible platform that can store any
+type of application data, from simple records like a catalog of books to
+complex associations like user relationships. No matter what type of
+data drives your app, you can store it in Apache Usergrid infrastructure as
+collections of data entities and immediately perform complex queries or
+full-text searches on any field. You can also create custom entities
+with custom properties, giving you the ability to store data and context
+in a way that makes sense for your app.
+
+To learn more about entities and collections, see [Apache Usergrid Data
+model](/app-services-data-model-1).
+
+For a complete list of default data entities available in Apache Usergrid,
+see [Default Data Entities](/default-data-entities).
+
+### Files & assets
+
+Images, video, and audio are key components of a great app experience.
+With Apache Usergrid, you can upload and retrieve binary objects from the
+same data store as the rest of your application data, eliminating the
+need to set up content delivery networks (CDNs) and easing
+implementation. We handle all the back-end details that keep your
+content quickly accessible.
+
+To learn more about files and asset storage, see [Uploading files and
+assets](/uploading-files-and-assets).
+
+### Flexible data querying
+
+One of Apache Usergrid' most powerful features is the ability to perform
+SQL-style queries and full-text searches on data entities, as well as
+their properties. This lets you quickly retrieve specific data entities
+based on multiple criteria, then utilize that data to power social
+features, target push notifications, perform user analysis, and more.
+
+Learn more about querying app data, see [Apache Usergrid data query
+overview](/app-services-data-query-overview).
+
+Social
+------
+
+### Entity relationships
+
+With Apache Usergrid you can create relationships between data entities to
+help build features, improve user experience, and contextualize data.
+For example, you might associate a user with their devices to capture
+valuable geolocation data, create relationships between users to build
+social graphs, or implement popular features such as activity streams.
+
+To learn more about entity relationships, see [Entity
+relationships](/entity-relationships).
+
+### Activity streams
+
+A key aspect of social networking apps is the ability to provide and
+publish data streams of user actions, such as ongoing lists of comments,
+activities, and tweets. Apache Usergrid simplifies management and routing
+of these data streams by providing an activity entity that is
+specifically designed to automatically create a relationship between
+activities and the user who created them.
+
+To learn more about activities and activity feeds, see
+[Activity](/activity).
+
+User management
+---------------
+
+### Registration and login
+
+Apache Usergrid makes it easy to add and manage users by providing the core
+services necessary to handle secure registration and log in, including
+OAuth 2.0-compliant client authentication. In addition, any number of
+default or custom data entities and properties can be associated with a
+user entity to create complete user profiles.
+
+To learn more about user management, see [User](/user).
+
+To learn more about authentication, see [Authenticating users and
+application clients](/authenticating-users-and-application-clients).
+
+### Roles & permissions
+
+Applications often require the ability to configure fine-grain control
+of user access to data, features and functionality. Apache Usergrid solves
+the implementation details of user access with roles and permissions.
+Simply create roles that represent user types or access levels, such as
+Administrator, then assign the necessary permissions to that role. With
+a single API call, you can then associate your roles with any user or
+group of users.
+
+To learn more about user roles and permissions, see [Managing access by
+defining permission rules](/managing-access-defining-permission-rules).
+
+### Groups
+
+Groups are a flexible way to organize your users based on any number of
+criteria. For example, you might group users based on interests or
+location to more effectively deliver relevant content, target offers, or
+customize campaigns. You can also take advantage of the groups entity to
+enable group-based social networking activities, such as allowing your
+users to create private information feeds or circles of friends.
+
+To learn more about groups, see [Group](/group).
+
+### Third-party authentication
+
+In addition to supporting user management and OAuth-based login for your
+app, Apache Usergrid also makes it easy to integrate third-party
+authentication through such popular services as Facebook, Twitter and
+other OAuth-enabled accounts. Providing third-party sign-in can improve
+user experience, while increasing adoption, giving you access to
+valuable information from social networks and services.
+
+To learn more about using third-party sign-in, see [Facebook sign
+in](/facebook-sign).
+
+Geolocation
+-----------
+
+The Apache Usergrid device entity allows you to capture geolocation data
+from your users' GPS-enabled devices to more effectively target
+campaigns, push notifications, offers and more. Geolocation also gives
+you an important data point for contextualizing and analyzing trends and
+user behavior.
+
+To learn more about geolocation, see [Geolocation](/geolocation).
+
+Push notifications
+------------------
+
+Push notifications are the most effective way to engage your users with
+relevant content, and thanks to Apache Usergrid, implementing them can be
+done in minutes. Simply register your app and your user's devices with a
+notification provider, such as Apple Push Notification Service or Google
+Cloud Messaging, then use the Apache Usergrid notification entity to send
+millions of push notifications a month at no cost. When used in
+conjunction with queries of user and application data, push
+notifications become a powerful tool for leveraging user data, ensuring
+relevancy and driving engagement.
+
+To learn more about push notifications, see [Push notifications
+overview](/push-notifications-overview).
+
+Configuration management
+------------------------
+
+By giving you the ability to push configuration changes directly to
+users' devices, Apache Usergrid lets you test and deliver bug fixes and
+performance improvements in real time. Remote configuration management
+can even be used to push changes to a subset of all users, enabling A/B
+testing of fixes, so that you can monitor and collect data to ensure
+your updates perform as intended before they are pushed to your entire
+user base.
+
+To learn more about configuration management, see [Configure your
+app](/configure-your-app).
+
+Error & performance monitoring
+------------------------------
+
+One of the largest barriers to the success of an app can be the ability
+of developers to respond quickly and precisely to performance issues and
+bugs. Apache Usergrid includes data logging and visualization tools that
+let you monitor and analyze network performance, usage patterns, crash
+statistics and other key metrics, giving you the data necessary to
+quickly manage performance issues as they arise.
+
+To learn more about usage monitoring, see [Monitor your app’s
+use](/monitor-your-app%E2%80%99s-use)
+
+To learn more about error monitoring, see [Get alerted to crashes and
+critical errors](/get-alerted-crashes-and-critical-errors)


[25/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/font-awesome.min.css
----------------------------------------------------------------------
diff --git a/content/publish/css/font-awesome.min.css b/content/publish/css/font-awesome.min.css
new file mode 100644
index 0000000..7b8ed50
--- /dev/null
+++ b/content/publish/css/font-awesome.min.css
@@ -0,0 +1,405 @@
+@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont-eot.eot?v=3.2.1');src:url('../font/fontawesome-webfont-eot.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont-woff.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont-ttf.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont-svg.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
+[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
+.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
+a [class^="icon-"],a [class*=" icon-"]{display:inline;}
+[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;}
+.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;}
+.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;}
+[class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
+.icon-muted{color:#eeeeee;}
+.icon-light{color:#ffffff;}
+.icon-dark{color:#333333;}
+.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
+.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
+.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
+.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
+.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
+.pull-right{float:right;}
+.pull-left{float:left;}
+[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
+[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
+[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
+.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
+.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
+.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
+.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
+.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
+.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
+.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
+.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
+.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;}
+.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
+.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
+.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
+a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;}
+@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
+.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
+.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
+.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
+.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
+a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;}
+.icon-glass:before{content:"\f000";}
+.icon-music:before{content:"\f001";}
+.icon-search:before{content:"\f002";}
+.icon-envelope-alt:before{content:"\f003";}
+.icon-heart:before{content:"\f004";}
+.icon-star:before{content:"\f005";}
+.icon-star-empty:before{content:"\f006";}
+.icon-user:before{content:"\f007";}
+.icon-film:before{content:"\f008";}
+.icon-th-large:before{content:"\f009";}
+.icon-th:before{content:"\f00a";}
+.icon-th-list:before{content:"\f00b";}
+.icon-ok:before{content:"\f00c";}
+.icon-remove:before{content:"\f00d";}
+.icon-zoom-in:before{content:"\f00e";}
+.icon-zoom-out:before{content:"\f010";}
+.icon-power-off:before,.icon-off:before{content:"\f011";}
+.icon-signal:before{content:"\f012";}
+.icon-gear:before,.icon-cog:before{content:"\f013";}
+.icon-trash:before{content:"\f014";}
+.icon-home:before{content:"\f015";}
+.icon-file-alt:before{content:"\f016";}
+.icon-time:before{content:"\f017";}
+.icon-road:before{content:"\f018";}
+.icon-download-alt:before{content:"\f019";}
+.icon-download:before{content:"\f01a";}
+.icon-upload:before{content:"\f01b";}
+.icon-inbox:before{content:"\f01c";}
+.icon-play-circle:before{content:"\f01d";}
+.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";}
+.icon-refresh:before{content:"\f021";}
+.icon-list-alt:before{content:"\f022";}
+.icon-lock:before{content:"\f023";}
+.icon-flag:before{content:"\f024";}
+.icon-headphones:before{content:"\f025";}
+.icon-volume-off:before{content:"\f026";}
+.icon-volume-down:before{content:"\f027";}
+.icon-volume-up:before{content:"\f028";}
+.icon-qrcode:before{content:"\f029";}
+.icon-barcode:before{content:"\f02a";}
+.icon-tag:before{content:"\f02b";}
+.icon-tags:before{content:"\f02c";}
+.icon-book:before{content:"\f02d";}
+.icon-bookmark:before{content:"\f02e";}
+.icon-print:before{content:"\f02f";}
+.icon-camera:before{content:"\f030";}
+.icon-font:before{content:"\f031";}
+.icon-bold:before{content:"\f032";}
+.icon-italic:before{content:"\f033";}
+.icon-text-height:before{content:"\f034";}
+.icon-text-width:before{content:"\f035";}
+.icon-align-left:before{content:"\f036";}
+.icon-align-center:before{content:"\f037";}
+.icon-align-right:before{content:"\f038";}
+.icon-align-justify:before{content:"\f039";}
+.icon-list:before{content:"\f03a";}
+.icon-indent-left:before{content:"\f03b";}
+.icon-indent-right:before{content:"\f03c";}
+.icon-facetime-video:before{content:"\f03d";}
+.icon-picture:before{content:"\f03e";}
+.icon-pencil:before{content:"\f040";}
+.icon-map-marker:before{content:"\f041";}
+.icon-adjust:before{content:"\f042";}
+.icon-tint:before{content:"\f043";}
+.icon-edit:before{content:"\f044";}
+.icon-share:before{content:"\f045";}
+.icon-check:before{content:"\f046";}
+.icon-move:before{content:"\f047";}
+.icon-step-backward:before{content:"\f048";}
+.icon-fast-backward:before{content:"\f049";}
+.icon-backward:before{content:"\f04a";}
+.icon-play:before{content:"\f04b";}
+.icon-pause:before{content:"\f04c";}
+.icon-stop:before{content:"\f04d";}
+.icon-forward:before{content:"\f04e";}
+.icon-fast-forward:before{content:"\f050";}
+.icon-step-forward:before{content:"\f051";}
+.icon-eject:before{content:"\f052";}
+.icon-chevron-left:before{content:"\f053";}
+.icon-chevron-right:before{content:"\f054";}
+.icon-plus-sign:before{content:"\f055";}
+.icon-minus-sign:before{content:"\f056";}
+.icon-remove-sign:before{content:"\f057";}
+.icon-ok-sign:before{content:"\f058";}
+.icon-question-sign:before{content:"\f059";}
+.icon-info-sign:before{content:"\f05a";}
+.icon-screenshot:before{content:"\f05b";}
+.icon-remove-circle:before{content:"\f05c";}
+.icon-ok-circle:before{content:"\f05d";}
+.icon-ban-circle:before{content:"\f05e";}
+.icon-arrow-left:before{content:"\f060";}
+.icon-arrow-right:before{content:"\f061";}
+.icon-arrow-up:before{content:"\f062";}
+.icon-arrow-down:before{content:"\f063";}
+.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";}
+.icon-resize-full:before{content:"\f065";}
+.icon-resize-small:before{content:"\f066";}
+.icon-plus:before{content:"\f067";}
+.icon-minus:before{content:"\f068";}
+.icon-asterisk:before{content:"\f069";}
+.icon-exclamation-sign:before{content:"\f06a";}
+.icon-gift:before{content:"\f06b";}
+.icon-leaf:before{content:"\f06c";}
+.icon-fire:before{content:"\f06d";}
+.icon-eye-open:before{content:"\f06e";}
+.icon-eye-close:before{content:"\f070";}
+.icon-warning-sign:before{content:"\f071";}
+.icon-plane:before{content:"\f072";}
+.icon-calendar:before{content:"\f073";}
+.icon-random:before{content:"\f074";}
+.icon-comment:before{content:"\f075";}
+.icon-magnet:before{content:"\f076";}
+.icon-chevron-up:before{content:"\f077";}
+.icon-chevron-down:before{content:"\f078";}
+.icon-retweet:before{content:"\f079";}
+.icon-shopping-cart:before{content:"\f07a";}
+.icon-folder-close:before{content:"\f07b";}
+.icon-folder-open:before{content:"\f07c";}
+.icon-resize-vertical:before{content:"\f07d";}
+.icon-resize-horizontal:before{content:"\f07e";}
+.icon-bar-chart:before{content:"\f080";}
+.icon-twitter-sign:before{content:"\f081";}
+.icon-facebook-sign:before{content:"\f082";}
+.icon-camera-retro:before{content:"\f083";}
+.icon-key:before{content:"\f084";}
+.icon-gears:before,.icon-cogs:before{content:"\f085";}
+.icon-comments:before{content:"\f086";}
+.icon-thumbs-up-alt:before{content:"\f087";}
+.icon-thumbs-down-alt:before{content:"\f088";}
+.icon-star-half:before{content:"\f089";}
+.icon-heart-empty:before{content:"\f08a";}
+.icon-signout:before{content:"\f08b";}
+.icon-linkedin-sign:before{content:"\f08c";}
+.icon-pushpin:before{content:"\f08d";}
+.icon-external-link:before{content:"\f08e";}
+.icon-signin:before{content:"\f090";}
+.icon-trophy:before{content:"\f091";}
+.icon-github-sign:before{content:"\f092";}
+.icon-upload-alt:before{content:"\f093";}
+.icon-lemon:before{content:"\f094";}
+.icon-phone:before{content:"\f095";}
+.icon-unchecked:before,.icon-check-empty:before{content:"\f096";}
+.icon-bookmark-empty:before{content:"\f097";}
+.icon-phone-sign:before{content:"\f098";}
+.icon-twitter:before{content:"\f099";}
+.icon-facebook:before{content:"\f09a";}
+.icon-github:before{content:"\f09b";}
+.icon-wiki:before{content:"\f109";}
+.icon-releases:before{content:"\f01a";}
+.icon-unlock:before{content:"\f09c";}
+.icon-credit-card:before{content:"\f09d";}
+.icon-rss:before{content:"\f09e";}
+.icon-hdd:before{content:"\f0a0";}
+.icon-bullhorn:before{content:"\f0a1";}
+.icon-bell:before{content:"\f0a2";}
+.icon-certificate:before{content:"\f0a3";}
+.icon-hand-right:before{content:"\f0a4";}
+.icon-hand-left:before{content:"\f0a5";}
+.icon-hand-up:before{content:"\f0a6";}
+.icon-hand-down:before{content:"\f0a7";}
+.icon-circle-arrow-left:before{content:"\f0a8";}
+.icon-circle-arrow-right:before{content:"\f0a9";}
+.icon-circle-arrow-up:before{content:"\f0aa";}
+.icon-circle-arrow-down:before{content:"\f0ab";}
+.icon-globe:before{content:"\f0ac";}
+.icon-wrench:before{content:"\f0ad";}
+.icon-tasks:before{content:"\f0ae";}
+.icon-filter:before{content:"\f0b0";}
+.icon-briefcase:before{content:"\f0b1";}
+.icon-fullscreen:before{content:"\f0b2";}
+.icon-group:before{content:"\f0c0";}
+.icon-link:before{content:"\f0c1";}
+.icon-cloud:before{content:"\f0c2";}
+.icon-beaker:before{content:"\f0c3";}
+.icon-cut:before{content:"\f0c4";}
+.icon-copy:before{content:"\f0c5";}
+.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";}
+.icon-save:before{content:"\f0c7";}
+.icon-sign-blank:before{content:"\f0c8";}
+.icon-reorder:before{content:"\f0c9";}
+.icon-list-ul:before{content:"\f0ca";}
+.icon-list-ol:before{content:"\f0cb";}
+.icon-strikethrough:before{content:"\f0cc";}
+.icon-underline:before{content:"\f0cd";}
+.icon-table:before{content:"\f0ce";}
+.icon-magic:before{content:"\f0d0";}
+.icon-truck:before{content:"\f0d1";}
+.icon-pinterest:before{content:"\f0d2";}
+.icon-pinterest-sign:before{content:"\f0d3";}
+.icon-google-plus-sign:before{content:"\f0d4";}
+.icon-google-plus:before{content:"\f0d5";}
+.icon-money:before{content:"\f0d6";}
+.icon-caret-down:before{content:"\f0d7";}
+.icon-caret-up:before{content:"\f0d8";}
+.icon-caret-left:before{content:"\f0d9";}
+.icon-caret-right:before{content:"\f0da";}
+.icon-columns:before{content:"\f0db";}
+.icon-sort:before{content:"\f0dc";}
+.icon-sort-down:before{content:"\f0dd";}
+.icon-sort-up:before{content:"\f0de";}
+.icon-envelope:before{content:"\f0e0";}
+.icon-linkedin:before{content:"\f0e1";}
+.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";}
+.icon-legal:before{content:"\f0e3";}
+.icon-dashboard:before{content:"\f0e4";}
+.icon-comment-alt:before{content:"\f0e5";}
+.icon-comments-alt:before{content:"\f0e6";}
+.icon-bolt:before{content:"\f0e7";}
+.icon-sitemap:before{content:"\f0e8";}
+.icon-umbrella:before{content:"\f0e9";}
+.icon-paste:before{content:"\f0ea";}
+.icon-lightbulb:before{content:"\f0eb";}
+.icon-exchange:before{content:"\f0ec";}
+.icon-cloud-download:before{content:"\f0ed";}
+.icon-cloud-upload:before{content:"\f0ee";}
+.icon-user-md:before{content:"\f0f0";}
+.icon-stethoscope:before{content:"\f0f1";}
+.icon-suitcase:before{content:"\f0f2";}
+.icon-bell-alt:before{content:"\f0f3";}
+.icon-coffee:before{content:"\f0f4";}
+.icon-food:before{content:"\f0f5";}
+.icon-file-text-alt:before{content:"\f0f6";}
+.icon-building:before{content:"\f0f7";}
+.icon-hospital:before{content:"\f0f8";}
+.icon-ambulance:before{content:"\f0f9";}
+.icon-medkit:before{content:"\f0fa";}
+.icon-fighter-jet:before{content:"\f0fb";}
+.icon-beer:before{content:"\f0fc";}
+.icon-h-sign:before{content:"\f0fd";}
+.icon-plus-sign-alt:before{content:"\f0fe";}
+.icon-double-angle-left:before{content:"\f100";}
+.icon-double-angle-right:before{content:"\f101";}
+.icon-double-angle-up:before{content:"\f102";}
+.icon-double-angle-down:before{content:"\f103";}
+.icon-angle-left:before{content:"\f104";}
+.icon-angle-right:before{content:"\f105";}
+.icon-angle-up:before{content:"\f106";}
+.icon-angle-down:before{content:"\f107";}
+.icon-desktop:before{content:"\f108";}
+.icon-laptop:before{content:"\f109";}
+.icon-tablet:before{content:"\f10a";}
+.icon-mobile-phone:before{content:"\f10b";}
+.icon-circle-blank:before{content:"\f10c";}
+.icon-quote-left:before{content:"\f10d";}
+.icon-quote-right:before{content:"\f10e";}
+.icon-spinner:before{content:"\f110";}
+.icon-circle:before{content:"\f111";}
+.icon-mail-reply:before,.icon-reply:before{content:"\f112";}
+.icon-github-alt:before{content:"\f113";}
+.icon-folder-close-alt:before{content:"\f114";}
+.icon-folder-open-alt:before{content:"\f115";}
+.icon-expand-alt:before{content:"\f116";}
+.icon-collapse-alt:before{content:"\f117";}
+.icon-smile:before{content:"\f118";}
+.icon-frown:before{content:"\f119";}
+.icon-meh:before{content:"\f11a";}
+.icon-gamepad:before{content:"\f11b";}
+.icon-keyboard:before{content:"\f11c";}
+.icon-flag-alt:before{content:"\f11d";}
+.icon-flag-checkered:before{content:"\f11e";}
+.icon-terminal:before{content:"\f120";}
+.icon-code:before{content:"\f121";}
+.icon-reply-all:before{content:"\f122";}
+.icon-mail-reply-all:before{content:"\f122";}
+.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
+.icon-location-arrow:before{content:"\f124";}
+.icon-crop:before{content:"\f125";}
+.icon-code-fork:before{content:"\f126";}
+.icon-unlink:before{content:"\f127";}
+.icon-question:before{content:"\f128";}
+.icon-info:before{content:"\f129";}
+.icon-exclamation:before{content:"\f12a";}
+.icon-superscript:before{content:"\f12b";}
+.icon-subscript:before{content:"\f12c";}
+.icon-eraser:before{content:"\f12d";}
+.icon-puzzle-piece:before{content:"\f12e";}
+.icon-microphone:before{content:"\f130";}
+.icon-microphone-off:before{content:"\f131";}
+.icon-shield:before{content:"\f132";}
+.icon-calendar-empty:before{content:"\f133";}
+.icon-fire-extinguisher:before{content:"\f134";}
+.icon-rocket:before{content:"\f135";}
+.icon-maxcdn:before{content:"\f136";}
+.icon-chevron-sign-left:before{content:"\f137";}
+.icon-chevron-sign-right:before{content:"\f138";}
+.icon-chevron-sign-up:before{content:"\f139";}
+.icon-chevron-sign-down:before{content:"\f13a";}
+.icon-html5:before{content:"\f13b";}
+.icon-css3:before{content:"\f13c";}
+.icon-anchor:before{content:"\f13d";}
+.icon-unlock-alt:before{content:"\f13e";}
+.icon-bullseye:before{content:"\f140";}
+.icon-ellipsis-horizontal:before{content:"\f141";}
+.icon-ellipsis-vertical:before{content:"\f142";}
+.icon-rss-sign:before{content:"\f143";}
+.icon-play-sign:before{content:"\f144";}
+.icon-ticket:before{content:"\f145";}
+.icon-minus-sign-alt:before{content:"\f146";}
+.icon-check-minus:before{content:"\f147";}
+.icon-level-up:before{content:"\f148";}
+.icon-level-down:before{content:"\f149";}
+.icon-check-sign:before{content:"\f14a";}
+.icon-edit-sign:before{content:"\f14b";}
+.icon-external-link-sign:before{content:"\f14c";}
+.icon-share-sign:before{content:"\f14d";}
+.icon-compass:before{content:"\f14e";}
+.icon-collapse:before{content:"\f150";}
+.icon-collapse-top:before{content:"\f151";}
+.icon-expand:before{content:"\f152";}
+.icon-euro:before,.icon-eur:before{content:"\f153";}
+.icon-gbp:before{content:"\f154";}
+.icon-dollar:before,.icon-usd:before{content:"\f155";}
+.icon-rupee:before,.icon-inr:before{content:"\f156";}
+.icon-yen:before,.icon-jpy:before{content:"\f157";}
+.icon-renminbi:before,.icon-cny:before{content:"\f158";}
+.icon-won:before,.icon-krw:before{content:"\f159";}
+.icon-bitcoin:before,.icon-btc:before{content:"\f15a";}
+.icon-file:before{content:"\f15b";}
+.icon-file-text:before{content:"\f15c";}
+.icon-sort-by-alphabet:before{content:"\f15d";}
+.icon-sort-by-alphabet-alt:before{content:"\f15e";}
+.icon-sort-by-attributes:before{content:"\f160";}
+.icon-sort-by-attributes-alt:before{content:"\f161";}
+.icon-sort-by-order:before{content:"\f162";}
+.icon-sort-by-order-alt:before{content:"\f163";}
+.icon-thumbs-up:before{content:"\f164";}
+.icon-thumbs-down:before{content:"\f165";}
+.icon-youtube-sign:before{content:"\f166";}
+.icon-youtube:before{content:"\f167";}
+.icon-xing:before{content:"\f168";}
+.icon-xing-sign:before{content:"\f169";}
+.icon-youtube-play:before{content:"\f16a";}
+.icon-dropbox:before{content:"\f16b";}
+.icon-stackexchange:before{content:"\f16c";}
+.icon-instagram:before{content:"\f16d";}
+.icon-flickr:before{content:"\f16e";}
+.icon-adn:before{content:"\f170";}
+.icon-bitbucket:before{content:"\f171";}
+.icon-bitbucket-sign:before{content:"\f172";}
+.icon-tumblr:before{content:"\f173";}
+.icon-tumblr-sign:before{content:"\f174";}
+.icon-long-arrow-down:before{content:"\f175";}
+.icon-long-arrow-up:before{content:"\f176";}
+.icon-long-arrow-left:before{content:"\f177";}
+.icon-long-arrow-right:before{content:"\f178";}
+.icon-apple:before{content:"\f179";}
+.icon-windows:before{content:"\f17a";}
+.icon-android:before{content:"\f17b";}
+.icon-linux:before{content:"\f17c";}
+.icon-dribbble:before{content:"\f17d";}
+.icon-skype:before{content:"\f17e";}
+.icon-foursquare:before{content:"\f180";}
+.icon-trello:before{content:"\f181";}
+.icon-female:before{content:"\f182";}
+.icon-male:before{content:"\f183";}
+.icon-gittip:before{content:"\f184";}
+.icon-sun:before{content:"\f185";}
+.icon-moon:before{content:"\f186";}
+.icon-archive:before{content:"\f187";}
+.icon-bug:before{content:"\f188";}
+.icon-vk:before{content:"\f189";}
+.icon-weibo:before{content:"\f18a";}
+.icon-renren:before{content:"\f18b";}

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/font-awesome/index.html
----------------------------------------------------------------------
diff --git a/content/publish/css/font-awesome/index.html b/content/publish/css/font-awesome/index.html
new file mode 100644
index 0000000..866437f
--- /dev/null
+++ b/content/publish/css/font-awesome/index.html
@@ -0,0 +1,403 @@
+@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot?v=3.2.1');src:url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
+[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
+.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
+a [class^="icon-"],a [class*=" icon-"]{display:inline;}
+[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;}
+.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;}
+.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;}
+[class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
+.icon-muted{color:#eeeeee;}
+.icon-light{color:#ffffff;}
+.icon-dark{color:#333333;}
+.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
+.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
+.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
+.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
+.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
+.pull-right{float:right;}
+.pull-left{float:left;}
+[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
+[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
+[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
+.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
+.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
+.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
+.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
+.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
+.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
+.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
+.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
+.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;}
+.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
+.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
+.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
+a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;}
+@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
+.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
+.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
+.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
+.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
+a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;}
+.icon-glass:before{content:"\f000";}
+.icon-music:before{content:"\f001";}
+.icon-search:before{content:"\f002";}
+.icon-envelope-alt:before{content:"\f003";}
+.icon-heart:before{content:"\f004";}
+.icon-star:before{content:"\f005";}
+.icon-star-empty:before{content:"\f006";}
+.icon-user:before{content:"\f007";}
+.icon-film:before{content:"\f008";}
+.icon-th-large:before{content:"\f009";}
+.icon-th:before{content:"\f00a";}
+.icon-th-list:before{content:"\f00b";}
+.icon-ok:before{content:"\f00c";}
+.icon-remove:before{content:"\f00d";}
+.icon-zoom-in:before{content:"\f00e";}
+.icon-zoom-out:before{content:"\f010";}
+.icon-power-off:before,.icon-off:before{content:"\f011";}
+.icon-signal:before{content:"\f012";}
+.icon-gear:before,.icon-cog:before{content:"\f013";}
+.icon-trash:before{content:"\f014";}
+.icon-home:before{content:"\f015";}
+.icon-file-alt:before{content:"\f016";}
+.icon-time:before{content:"\f017";}
+.icon-road:before{content:"\f018";}
+.icon-download-alt:before{content:"\f019";}
+.icon-download:before{content:"\f01a";}
+.icon-upload:before{content:"\f01b";}
+.icon-inbox:before{content:"\f01c";}
+.icon-play-circle:before{content:"\f01d";}
+.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";}
+.icon-refresh:before{content:"\f021";}
+.icon-list-alt:before{content:"\f022";}
+.icon-lock:before{content:"\f023";}
+.icon-flag:before{content:"\f024";}
+.icon-headphones:before{content:"\f025";}
+.icon-volume-off:before{content:"\f026";}
+.icon-volume-down:before{content:"\f027";}
+.icon-volume-up:before{content:"\f028";}
+.icon-qrcode:before{content:"\f029";}
+.icon-barcode:before{content:"\f02a";}
+.icon-tag:before{content:"\f02b";}
+.icon-tags:before{content:"\f02c";}
+.icon-book:before{content:"\f02d";}
+.icon-bookmark:before{content:"\f02e";}
+.icon-print:before{content:"\f02f";}
+.icon-camera:before{content:"\f030";}
+.icon-font:before{content:"\f031";}
+.icon-bold:before{content:"\f032";}
+.icon-italic:before{content:"\f033";}
+.icon-text-height:before{content:"\f034";}
+.icon-text-width:before{content:"\f035";}
+.icon-align-left:before{content:"\f036";}
+.icon-align-center:before{content:"\f037";}
+.icon-align-right:before{content:"\f038";}
+.icon-align-justify:before{content:"\f039";}
+.icon-list:before{content:"\f03a";}
+.icon-indent-left:before{content:"\f03b";}
+.icon-indent-right:before{content:"\f03c";}
+.icon-facetime-video:before{content:"\f03d";}
+.icon-picture:before{content:"\f03e";}
+.icon-pencil:before{content:"\f040";}
+.icon-map-marker:before{content:"\f041";}
+.icon-adjust:before{content:"\f042";}
+.icon-tint:before{content:"\f043";}
+.icon-edit:before{content:"\f044";}
+.icon-share:before{content:"\f045";}
+.icon-check:before{content:"\f046";}
+.icon-move:before{content:"\f047";}
+.icon-step-backward:before{content:"\f048";}
+.icon-fast-backward:before{content:"\f049";}
+.icon-backward:before{content:"\f04a";}
+.icon-play:before{content:"\f04b";}
+.icon-pause:before{content:"\f04c";}
+.icon-stop:before{content:"\f04d";}
+.icon-forward:before{content:"\f04e";}
+.icon-fast-forward:before{content:"\f050";}
+.icon-step-forward:before{content:"\f051";}
+.icon-eject:before{content:"\f052";}
+.icon-chevron-left:before{content:"\f053";}
+.icon-chevron-right:before{content:"\f054";}
+.icon-plus-sign:before{content:"\f055";}
+.icon-minus-sign:before{content:"\f056";}
+.icon-remove-sign:before{content:"\f057";}
+.icon-ok-sign:before{content:"\f058";}
+.icon-question-sign:before{content:"\f059";}
+.icon-info-sign:before{content:"\f05a";}
+.icon-screenshot:before{content:"\f05b";}
+.icon-remove-circle:before{content:"\f05c";}
+.icon-ok-circle:before{content:"\f05d";}
+.icon-ban-circle:before{content:"\f05e";}
+.icon-arrow-left:before{content:"\f060";}
+.icon-arrow-right:before{content:"\f061";}
+.icon-arrow-up:before{content:"\f062";}
+.icon-arrow-down:before{content:"\f063";}
+.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";}
+.icon-resize-full:before{content:"\f065";}
+.icon-resize-small:before{content:"\f066";}
+.icon-plus:before{content:"\f067";}
+.icon-minus:before{content:"\f068";}
+.icon-asterisk:before{content:"\f069";}
+.icon-exclamation-sign:before{content:"\f06a";}
+.icon-gift:before{content:"\f06b";}
+.icon-leaf:before{content:"\f06c";}
+.icon-fire:before{content:"\f06d";}
+.icon-eye-open:before{content:"\f06e";}
+.icon-eye-close:before{content:"\f070";}
+.icon-warning-sign:before{content:"\f071";}
+.icon-plane:before{content:"\f072";}
+.icon-calendar:before{content:"\f073";}
+.icon-random:before{content:"\f074";}
+.icon-comment:before{content:"\f075";}
+.icon-magnet:before{content:"\f076";}
+.icon-chevron-up:before{content:"\f077";}
+.icon-chevron-down:before{content:"\f078";}
+.icon-retweet:before{content:"\f079";}
+.icon-shopping-cart:before{content:"\f07a";}
+.icon-folder-close:before{content:"\f07b";}
+.icon-folder-open:before{content:"\f07c";}
+.icon-resize-vertical:before{content:"\f07d";}
+.icon-resize-horizontal:before{content:"\f07e";}
+.icon-bar-chart:before{content:"\f080";}
+.icon-twitter-sign:before{content:"\f081";}
+.icon-facebook-sign:before{content:"\f082";}
+.icon-camera-retro:before{content:"\f083";}
+.icon-key:before{content:"\f084";}
+.icon-gears:before,.icon-cogs:before{content:"\f085";}
+.icon-comments:before{content:"\f086";}
+.icon-thumbs-up-alt:before{content:"\f087";}
+.icon-thumbs-down-alt:before{content:"\f088";}
+.icon-star-half:before{content:"\f089";}
+.icon-heart-empty:before{content:"\f08a";}
+.icon-signout:before{content:"\f08b";}
+.icon-linkedin-sign:before{content:"\f08c";}
+.icon-pushpin:before{content:"\f08d";}
+.icon-external-link:before{content:"\f08e";}
+.icon-signin:before{content:"\f090";}
+.icon-trophy:before{content:"\f091";}
+.icon-github-sign:before{content:"\f092";}
+.icon-upload-alt:before{content:"\f093";}
+.icon-lemon:before{content:"\f094";}
+.icon-phone:before{content:"\f095";}
+.icon-unchecked:before,.icon-check-empty:before{content:"\f096";}
+.icon-bookmark-empty:before{content:"\f097";}
+.icon-phone-sign:before{content:"\f098";}
+.icon-twitter:before{content:"\f099";}
+.icon-facebook:before{content:"\f09a";}
+.icon-github:before{content:"\f09b";}
+.icon-unlock:before{content:"\f09c";}
+.icon-credit-card:before{content:"\f09d";}
+.icon-rss:before{content:"\f09e";}
+.icon-hdd:before{content:"\f0a0";}
+.icon-bullhorn:before{content:"\f0a1";}
+.icon-bell:before{content:"\f0a2";}
+.icon-certificate:before{content:"\f0a3";}
+.icon-hand-right:before{content:"\f0a4";}
+.icon-hand-left:before{content:"\f0a5";}
+.icon-hand-up:before{content:"\f0a6";}
+.icon-hand-down:before{content:"\f0a7";}
+.icon-circle-arrow-left:before{content:"\f0a8";}
+.icon-circle-arrow-right:before{content:"\f0a9";}
+.icon-circle-arrow-up:before{content:"\f0aa";}
+.icon-circle-arrow-down:before{content:"\f0ab";}
+.icon-globe:before{content:"\f0ac";}
+.icon-wrench:before{content:"\f0ad";}
+.icon-tasks:before{content:"\f0ae";}
+.icon-filter:before{content:"\f0b0";}
+.icon-briefcase:before{content:"\f0b1";}
+.icon-fullscreen:before{content:"\f0b2";}
+.icon-group:before{content:"\f0c0";}
+.icon-link:before{content:"\f0c1";}
+.icon-cloud:before{content:"\f0c2";}
+.icon-beaker:before{content:"\f0c3";}
+.icon-cut:before{content:"\f0c4";}
+.icon-copy:before{content:"\f0c5";}
+.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";}
+.icon-save:before{content:"\f0c7";}
+.icon-sign-blank:before{content:"\f0c8";}
+.icon-reorder:before{content:"\f0c9";}
+.icon-list-ul:before{content:"\f0ca";}
+.icon-list-ol:before{content:"\f0cb";}
+.icon-strikethrough:before{content:"\f0cc";}
+.icon-underline:before{content:"\f0cd";}
+.icon-table:before{content:"\f0ce";}
+.icon-magic:before{content:"\f0d0";}
+.icon-truck:before{content:"\f0d1";}
+.icon-pinterest:before{content:"\f0d2";}
+.icon-pinterest-sign:before{content:"\f0d3";}
+.icon-google-plus-sign:before{content:"\f0d4";}
+.icon-google-plus:before{content:"\f0d5";}
+.icon-money:before{content:"\f0d6";}
+.icon-caret-down:before{content:"\f0d7";}
+.icon-caret-up:before{content:"\f0d8";}
+.icon-caret-left:before{content:"\f0d9";}
+.icon-caret-right:before{content:"\f0da";}
+.icon-columns:before{content:"\f0db";}
+.icon-sort:before{content:"\f0dc";}
+.icon-sort-down:before{content:"\f0dd";}
+.icon-sort-up:before{content:"\f0de";}
+.icon-envelope:before{content:"\f0e0";}
+.icon-linkedin:before{content:"\f0e1";}
+.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";}
+.icon-legal:before{content:"\f0e3";}
+.icon-dashboard:before{content:"\f0e4";}
+.icon-comment-alt:before{content:"\f0e5";}
+.icon-comments-alt:before{content:"\f0e6";}
+.icon-bolt:before{content:"\f0e7";}
+.icon-sitemap:before{content:"\f0e8";}
+.icon-umbrella:before{content:"\f0e9";}
+.icon-paste:before{content:"\f0ea";}
+.icon-lightbulb:before{content:"\f0eb";}
+.icon-exchange:before{content:"\f0ec";}
+.icon-cloud-download:before{content:"\f0ed";}
+.icon-cloud-upload:before{content:"\f0ee";}
+.icon-user-md:before{content:"\f0f0";}
+.icon-stethoscope:before{content:"\f0f1";}
+.icon-suitcase:before{content:"\f0f2";}
+.icon-bell-alt:before{content:"\f0f3";}
+.icon-coffee:before{content:"\f0f4";}
+.icon-food:before{content:"\f0f5";}
+.icon-file-text-alt:before{content:"\f0f6";}
+.icon-building:before{content:"\f0f7";}
+.icon-hospital:before{content:"\f0f8";}
+.icon-ambulance:before{content:"\f0f9";}
+.icon-medkit:before{content:"\f0fa";}
+.icon-fighter-jet:before{content:"\f0fb";}
+.icon-beer:before{content:"\f0fc";}
+.icon-h-sign:before{content:"\f0fd";}
+.icon-plus-sign-alt:before{content:"\f0fe";}
+.icon-double-angle-left:before{content:"\f100";}
+.icon-double-angle-right:before{content:"\f101";}
+.icon-double-angle-up:before{content:"\f102";}
+.icon-double-angle-down:before{content:"\f103";}
+.icon-angle-left:before{content:"\f104";}
+.icon-angle-right:before{content:"\f105";}
+.icon-angle-up:before{content:"\f106";}
+.icon-angle-down:before{content:"\f107";}
+.icon-desktop:before{content:"\f108";}
+.icon-laptop:before{content:"\f109";}
+.icon-tablet:before{content:"\f10a";}
+.icon-mobile-phone:before{content:"\f10b";}
+.icon-circle-blank:before{content:"\f10c";}
+.icon-quote-left:before{content:"\f10d";}
+.icon-quote-right:before{content:"\f10e";}
+.icon-spinner:before{content:"\f110";}
+.icon-circle:before{content:"\f111";}
+.icon-mail-reply:before,.icon-reply:before{content:"\f112";}
+.icon-github-alt:before{content:"\f113";}
+.icon-folder-close-alt:before{content:"\f114";}
+.icon-folder-open-alt:before{content:"\f115";}
+.icon-expand-alt:before{content:"\f116";}
+.icon-collapse-alt:before{content:"\f117";}
+.icon-smile:before{content:"\f118";}
+.icon-frown:before{content:"\f119";}
+.icon-meh:before{content:"\f11a";}
+.icon-gamepad:before{content:"\f11b";}
+.icon-keyboard:before{content:"\f11c";}
+.icon-flag-alt:before{content:"\f11d";}
+.icon-flag-checkered:before{content:"\f11e";}
+.icon-terminal:before{content:"\f120";}
+.icon-code:before{content:"\f121";}
+.icon-reply-all:before{content:"\f122";}
+.icon-mail-reply-all:before{content:"\f122";}
+.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
+.icon-location-arrow:before{content:"\f124";}
+.icon-crop:before{content:"\f125";}
+.icon-code-fork:before{content:"\f126";}
+.icon-unlink:before{content:"\f127";}
+.icon-question:before{content:"\f128";}
+.icon-info:before{content:"\f129";}
+.icon-exclamation:before{content:"\f12a";}
+.icon-superscript:before{content:"\f12b";}
+.icon-subscript:before{content:"\f12c";}
+.icon-eraser:before{content:"\f12d";}
+.icon-puzzle-piece:before{content:"\f12e";}
+.icon-microphone:before{content:"\f130";}
+.icon-microphone-off:before{content:"\f131";}
+.icon-shield:before{content:"\f132";}
+.icon-calendar-empty:before{content:"\f133";}
+.icon-fire-extinguisher:before{content:"\f134";}
+.icon-rocket:before{content:"\f135";}
+.icon-maxcdn:before{content:"\f136";}
+.icon-chevron-sign-left:before{content:"\f137";}
+.icon-chevron-sign-right:before{content:"\f138";}
+.icon-chevron-sign-up:before{content:"\f139";}
+.icon-chevron-sign-down:before{content:"\f13a";}
+.icon-html5:before{content:"\f13b";}
+.icon-css3:before{content:"\f13c";}
+.icon-anchor:before{content:"\f13d";}
+.icon-unlock-alt:before{content:"\f13e";}
+.icon-bullseye:before{content:"\f140";}
+.icon-ellipsis-horizontal:before{content:"\f141";}
+.icon-ellipsis-vertical:before{content:"\f142";}
+.icon-rss-sign:before{content:"\f143";}
+.icon-play-sign:before{content:"\f144";}
+.icon-ticket:before{content:"\f145";}
+.icon-minus-sign-alt:before{content:"\f146";}
+.icon-check-minus:before{content:"\f147";}
+.icon-level-up:before{content:"\f148";}
+.icon-level-down:before{content:"\f149";}
+.icon-check-sign:before{content:"\f14a";}
+.icon-edit-sign:before{content:"\f14b";}
+.icon-external-link-sign:before{content:"\f14c";}
+.icon-share-sign:before{content:"\f14d";}
+.icon-compass:before{content:"\f14e";}
+.icon-collapse:before{content:"\f150";}
+.icon-collapse-top:before{content:"\f151";}
+.icon-expand:before{content:"\f152";}
+.icon-euro:before,.icon-eur:before{content:"\f153";}
+.icon-gbp:before{content:"\f154";}
+.icon-dollar:before,.icon-usd:before{content:"\f155";}
+.icon-rupee:before,.icon-inr:before{content:"\f156";}
+.icon-yen:before,.icon-jpy:before{content:"\f157";}
+.icon-renminbi:before,.icon-cny:before{content:"\f158";}
+.icon-won:before,.icon-krw:before{content:"\f159";}
+.icon-bitcoin:before,.icon-btc:before{content:"\f15a";}
+.icon-file:before{content:"\f15b";}
+.icon-file-text:before{content:"\f15c";}
+.icon-sort-by-alphabet:before{content:"\f15d";}
+.icon-sort-by-alphabet-alt:before{content:"\f15e";}
+.icon-sort-by-attributes:before{content:"\f160";}
+.icon-sort-by-attributes-alt:before{content:"\f161";}
+.icon-sort-by-order:before{content:"\f162";}
+.icon-sort-by-order-alt:before{content:"\f163";}
+.icon-thumbs-up:before{content:"\f164";}
+.icon-thumbs-down:before{content:"\f165";}
+.icon-youtube-sign:before{content:"\f166";}
+.icon-youtube:before{content:"\f167";}
+.icon-xing:before{content:"\f168";}
+.icon-xing-sign:before{content:"\f169";}
+.icon-youtube-play:before{content:"\f16a";}
+.icon-dropbox:before{content:"\f16b";}
+.icon-stackexchange:before{content:"\f16c";}
+.icon-instagram:before{content:"\f16d";}
+.icon-flickr:before{content:"\f16e";}
+.icon-adn:before{content:"\f170";}
+.icon-bitbucket:before{content:"\f171";}
+.icon-bitbucket-sign:before{content:"\f172";}
+.icon-tumblr:before{content:"\f173";}
+.icon-tumblr-sign:before{content:"\f174";}
+.icon-long-arrow-down:before{content:"\f175";}
+.icon-long-arrow-up:before{content:"\f176";}
+.icon-long-arrow-left:before{content:"\f177";}
+.icon-long-arrow-right:before{content:"\f178";}
+.icon-apple:before{content:"\f179";}
+.icon-windows:before{content:"\f17a";}
+.icon-android:before{content:"\f17b";}
+.icon-linux:before{content:"\f17c";}
+.icon-dribbble:before{content:"\f17d";}
+.icon-skype:before{content:"\f17e";}
+.icon-foursquare:before{content:"\f180";}
+.icon-trello:before{content:"\f181";}
+.icon-female:before{content:"\f182";}
+.icon-male:before{content:"\f183";}
+.icon-gittip:before{content:"\f184";}
+.icon-sun:before{content:"\f185";}
+.icon-moon:before{content:"\f186";}
+.icon-archive:before{content:"\f187";}
+.icon-bug:before{content:"\f188";}
+.icon-vk:before{content:"\f189";}
+.icon-weibo:before{content:"\f18a";}
+.icon-renren:before{content:"\f18b";}

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/usergrid-site.css
----------------------------------------------------------------------
diff --git a/content/publish/css/usergrid-site.css b/content/publish/css/usergrid-site.css
new file mode 100644
index 0000000..e4bc3f2
--- /dev/null
+++ b/content/publish/css/usergrid-site.css
@@ -0,0 +1,1553 @@
+@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,800,700,400italic,600italic,700italic,800italic,300italic");
+/* @import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700"); */
+/* Key scaffolding
+-------------------------------------------------- */
+body {
+  position: relative; /* For scrollyspy */
+  padding-top: 50px; /* Account for fixed navbar */
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-size:14px;
+  background-color: #FAFBFC;
+  /*font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; */
+}
+h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+  font-weight: 300;
+}
+a:hover {text-decoration: none;}
+h2>a, h3>a, h2>a:hover, h3>a:hover { color: rgb(51,51,51); }
+h2:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 12px;
+  vertical-align: 15%;
+  font-size: 20px;
+}
+h3:hover>a:after {
+  content: "\F0C1";
+  font-family: 'FontAwesome';
+  /*position:absolute;*/
+  padding-left: 8px;
+  vertical-align: 15%;
+  font-size: 15px;
+}
+h5, h6, .h5, .h6 {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
+}
+.bf-sidebar .nav-list code{
+  margin-left: -3px;
+}
+.done {
+  opacity: 0.6;
+}
+.nav-list > li {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 400 !important;
+  opacity: 0.8;
+  margin-bottom: 3px;
+}
+header .navbar-nav {
+  font-size: 120%;
+}
+.nav-list > li > ul {
+  padding-left: 0;
+}
+.nav-list > li ul ul {
+  padding-left: 19px;
+}
+.nav-list > li ul > li {
+  list-style-type: none !important;
+}
+.nav-list > li ul > li:before {
+  content:"\221F";
+  font-weight: 200;
+  opacity: 0.5;
+  line-height: 50%;
+  vertical-align: 60%;
+  padding-left: 3px;
+}
+.nav-list > li ul > li > a {
+  padding: 0 0 0 3px;
+  margin-bottom: 0px;
+}
+.nav-list > li > a {
+  padding: 0;
+}
+.nav-list > li > a.icns-apple:before {
+  text-align: right;
+  content: "\F179";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-android:before {
+  text-align: right;
+  content: "\F17B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-html5:before {
+  text-align: right;
+  content: "\F13B";
+  font-family: 'FontAwesome';
+  font-size: 110%;
+  margin-left: -18px;
+  padding-right: 8px;
+  line-height: 0;
+}
+.nav-list > li > a.icns-windows:before {
+  text-align: right;
+  content: "\F17A";
+  font-family: 'FontAwesome';
+  margin-left: -19px;
+  padding-right: 7px;
+  line-height: 0;
+}
+li.nav-header {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 600 !important;
+  opacity: 1.0;
+  padding-top: 0 !important;
+  padding-left: 0 !important;
+  font-size: 120%;
+  margin-top: 33px;
+}
+.twitter-timeline {
+  margin-top: 33px;
+}
+.bf-docs-container .nav-list li.nav-header {
+  padding: 0 !important;
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  margin-top: 33px;
+  margin-bottom: 13px;
+}
+.bf-docs-container .nav-list li.nav-header span {
+  background-color: #FAFBFC;
+  padding-right: 8px;
+}
+
+.bf-community h2, .bf-docs-container h2, .bf-docs-container h3 {
+  padding-top: 90px;
+  margin-top: -60px;
+}
+
+.bf-docs-container .github-callout {
+  padding: 20px 0 40px 0;
+  font-style: italic;
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  opacity: 0.8;
+  font-size: 110%;
+}
+.navbar-nav > li a {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  opacity: 0.8;
+}
+
+.navbar-nav > li > a.major {
+  font-weight: 400 !important;
+  opacity: 1.0;
+}
+
+.navbar-collapse {
+    max-height: none;
+}
+
+.bf-masthead-bg p {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 200;
+  font-size: 120%;
+  line-height: 120%;
+}
+.bf-features p {
+  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-features p a {
+  /*font-weight: 600;*/
+  /*color: rgb(52,73,94);*/
+}
+a.btn {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 500 !important;
+  font-style: normal;
+  letter-spacing: 110%;
+}
+h1 {
+  font-weight: 200;
+  letter-spacing: 110%;
+  font-size: 200%;
+}
+.page-header {
+  padding-top: 2px;
+}
+.page-header h1 {
+  padding-top:20px;
+  font-weight: 400;
+  font-size:350%;
+}
+.page-header small{
+  float: right;
+  background-color: #fff;
+  padding-left: 10px;
+}
+.page-header small a {
+  color: #ddd;
+  font-style: italic;
+}
+.page-header small a:hover {
+  color: #2481A6;
+}
+h2 {
+  font-weight: 400;
+}
+h3 {
+  padding-top: 20px;
+  font-weight: 400 !important;
+}
+.bf-features h3 {
+  padding-top: 0;
+}
+#copyright {
+  font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+  font-weight: 300 !important;
+  font-style: italic;
+}
+#copyright img {
+  border-radius: 4px;
+}
+#copyright p {
+  opacity: 0.8;
+}
+#copyright .credits {
+  color: #fff;
+  font-weight: 600;
+  opacity: 1 !important;
+  font-style: normal;
+}
+.table {
+  margin: 20px 0 0 0;
+  background-color: transparent;
+}
+.table thead>tr>th, .table tbody>tr>th, .table tfoot>tr>th, .table thead>tr>td, .table tbody>tr>td, .table tfoot>tr>td {
+  padding-left: 0;
+}
+.toc {
+  margin-bottom:40px;
+  /*background-color: #fff;
+  border-radius: 4px;*/
+  /*padding: 20px;*/
+}
+/*.toc > h4 {
+  padding-top: 0;
+  margin-top: 0;
+  font-size: 150%;
+  font-weight:400;
+}*/
+.toc > ul {
+  margin-bottom: 0;
+  padding-left: 20px;
+}
+section > .container > h2 {
+  color: #2481A6 !important;
+}
+div.row > div.text-left > h2 {
+  margin-top: 40px;
+  margin-bottom: 10px;
+}
+.bf-docs-container h2 {
+  font-size: 250%;
+}
+/* font-face
+-------------------------------------------------- */
+@font-face {
+  font-family: 'icomoon';
+  src:url('../fonts/icomoon.eot');
+  src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
+    url('../fonts/icomoon.woff') format('woff'),
+    url('../fonts/icomoon.ttf') format('truetype'),
+    url('../fonts/icomoon.svg#icomoon') format('svg');
+  font-weight: normal;
+  font-style: normal;
+}
+[data-icon]:before {
+  font-family: 'icomoon';
+  content: attr(data-icon);
+  speak: none;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer, .icon-phone-portrait, .icon-rocket, .icon-github, .icon-twitter, .icon-thumbf-up, .icon-earth, .icon-bug, .icon-wiki, .icon-releases,.icon-window {
+  font-family: 'icomoon';
+  speak: none;
+  font-style: normal;
+  font-weight: normal;
+  font-variant: normal;
+  text-transform: none;
+  line-height: 1;
+  -webkit-font-smoothing: antialiased;
+}
+.icon-equalizer:before {
+  content: "\e000";
+}
+.icon-phone-portrait:before {
+  content: "\e002";
+}
+.icon-rocket:before {
+  content: "\e003";
+}
+.icon-github:before {
+  content: "\e001";
+}
+.icon-twitter:before {
+  content: "\e004";
+}
+.icon-thumbf-up:before {
+  content: "\e005";
+}
+.icon-earth:before {
+  content: "\e006";
+}
+.icon-bug:before {
+  content: "\e007";
+}
+.icon-window:before {
+  content: "\e008";
+}
+.icon-wiki:before {
+  content: "\e009";
+}
+.icon-releases:before {
+  content: "\e010";
+}
+/* Custom docs button */
+.btn-bf {
+  color: #563d7c;
+  background-color: #fff;
+  border-color: #e5e5e5;
+}
+.btn-bf:hover,
+.btn-bf:focus,
+.btn-bf:active {
+  color: #fff;
+  background-color: #563d7c;
+  border-color: #563d7c;
+}
+/* Navs and headers
+-------------------------------------------------- */
+header.navbar .container {
+  padding-right: 0;
+}
+footer > .container {
+  padding-right: 0;
+  padding-left: 0;
+}
+header.navbar.secondary {
+  box-shadow: 0px 1px 2px rgb(36,129,166);
+}
+.navbar-inverse {
+    background-color: rgb(36,129,166);
+}
+nav.navbar-collapse {
+  border-color: rgb(52, 73, 94) !important;
+  border-width: 1px;
+  box-shadow: none;
+  padding-left: 15px;
+}
+.bf-docs-nav {
+  border-bottom: 0px;
+  padding-left: 20px;
+  padding-right: 20px;
+}
+.navbar-nav {
+  margin: 0;
+}
+
+.navbar-brand {
+  padding-left: 0;
+}
+.bf-docs-nav .navbar-nav > li > a {
+  margin: 10px 0 0 10px;
+  padding: 5px;
+  -webkit-border-radius: 4px;
+  -moz-border-radius: 4px;
+  border-radius: 4px;
+  color: #fff;
+}
+.bf-docs-nav .navbar-nav > li > a:hover {
+  color: #fff;
+  background-color: #34495e;
+}
+.bf-docs-nav .navbar-nav > .active > a,
+.bf-docs-nav .navbar-nav > .active > a:hover {
+  color: #fff;
+  background-color: #34495e !important;
+}
+li.divider {
+  margin-left: 0 !important;
+}
+
+/* Homepage masthead
+-------------------------------------------------- */
+.bf-masthead {
+  position: relative;
+  text-align: left;
+  /*background: #cbcbcd url(../img/rende.png) no-repeat 50% 100px;*/
+}
+.bf-masthead .bf-masthead-bg {
+    /*margin-top: 10px;*/
+    padding: 30px 15px;
+    color:#fff;
+    background-color: rgb(36,129,166);
+}
+/*.bf-masthead .logo {
+  height: 203px;
+}*/
+.bf-masthead .logo-title {
+  width: 600px;
+  padding: 20px 0 0 0;
+  margin-left: 0;
+}
+.bf-masthead .text-container {
+  margin-left: auto;
+  margin-right: auto;
+  text-align: left;
+}
+.bf-masthead .tagline {
+  font-style:normal;
+  font-weight:200;
+  font-size: 300%;
+  margin-bottom: 0;
+  margin-top: 30px;
+  padding-bottom: 30px;
+  color: white;
+  line-height: 90%;
+}
+.bf-masthead .tagline em {
+  font-style: italic;
+}
+.bf-masthead .description {
+  font-style: normal;
+  font-size: 150%;
+  margin-bottom: 45px;
+  /*line-height: 100%;*/
+}
+.bf-masthead .btn-wrapper {
+  text-align: center;
+  margin-bottom: 20px;
+  clear:both;
+}
+.bf-masthead .btn-wrapper {
+  text-align: left;
+  width: 100%;
+  margin-right: 20px;
+}
+.bf-masthead .social-btn {
+  float: left;
+  margin: 0 20px 10px 0;
+}
+.bf-masthead .or {
+  margin-left: 0px;
+  font-style: normal;
+  font-weight: 200;
+  opacity: 0.8;
+}
+
+.bf-masthead a {
+  line-height: 30px;
+  color: #FAFBFC;
+  font-style: normal;
+  font-weight: 400;
+}
+.bf-masthead h1 {
+  font-size: 30px;
+  line-height: 1.4;
+  color: #fff;
+}
+.bf-masthead .bf-masthead-links a,
+.bf-masthead .bf-masthead-links a:hover {
+  color: #fff;
+}
+.bf-masthead-info {
+  padding: 80px 20px;
+  font-size: 28px;
+  text-align: center;
+  background-color: #fc5d7b;
+  color: rgba(0, 0, 0, .3)
+}
+.bf-masthead-info .icon-angle-down {
+  font-size: 40px;
+}
+
+/* Download button */
+.bf-masthead .btn-outline {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  border: 1px solid #fff;
+  padding: 18px 24px;
+  font-size: 21px;
+  color: #fff;
+}
+.bf-masthead .btn-outline:hover {
+  background-color: #fff;
+  color: #42a8d2;
+}
+
+.bf-masthead-links {
+  margin-top: 20px;
+  margin-bottom: 20px;
+  padding-left: 0;
+  list-style: none;
+  text-align: center;
+}
+.bf-masthead-links li {
+  margin-bottom: 15px;
+  color: #fff;
+}
+.bf-masthead-links a {
+  color: #c8c7c6;
+}
+
+/* Homepage features
+-------------------------------------------------- */
+section > .container > h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  /* border-bottom: 1px solid #e5e5e5; */
+}
+.bf-features {
+  color: #292929;
+  text-align: center;
+  padding: 20px 0;
+}
+.bf-features h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features .bf-icon-wrap {
+  margin: 0 auto 10px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: rgb(52,73,94);
+  width: 90px;
+  height: 90px;
+  line-height: 90px;
+  font-size: 50px;
+  color: #FAFBFC;
+}
+.bf-features h3 {
+  margin: 0 0 10px;
+  color: rgb(52,73,94);
+  font-weight: 400 !important;
+}
+.bf-features h3 ~ p {
+  color: #656565;
+}
+/*
+.bf-features2 {
+  color: #292929;
+  text-align: center;
+}
+.bf-features2 {
+  padding: 40px 0;
+}
+.bf-features2 h2 {
+  text-align: left;
+  margin-bottom: 16px;
+  padding-bottom: 6px;
+  font-size: 28px;
+  color:#666666;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-features2 h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features2 .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #e5e9ed;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #a5b6c7;
+}
+.bf-features2 h3 {
+  margin: 0 0 10px;
+  color: #696969;
+}
+.bf-features2 h3 ~ p {
+  color: #656565;
+} */
+.bf-features-inverse {
+  padding: 140px 0;
+  font-size: 16px;
+  color: #fff;
+  text-align: center;
+  background-color: #34495e;
+}
+.bf-features-inverse h2 {
+  margin-bottom: 20px;
+  font-size: 40px;
+}
+.bf-features-inverse h2 ~ p {
+  margin-bottom: 40px;
+  font-size: 16px;
+}
+.bf-features-inverse .bf-icon-wrap {
+  margin: 0 auto 20px;
+  -webkit-border-radius: 50%;
+  -moz-border-radius: 50%;
+  border-radius: 50%;
+  background-color: #fff;
+  width: 80px;
+  height: 80px;
+  line-height: 80px;
+  font-size: 40px;
+  color: #3dc0f1;
+}
+.bf-features-inverse h3 ~ p {
+  font-size: 14px;
+}
+.bf-features-inverse a,
+.bf-features-inverse a:hover {
+  color: #fff;
+  text-decoration: underline;
+}
+.bf-news ul {
+  margin-bottom: 20px;
+}
+
+.bf-questions .container {
+  border-top: 1px solid rgb(52,73,94);
+  border-bottom: 1px solid rgb(52,73,94);
+  padding: 60px 0;
+  margin-top: 0px;
+}
+
+.bf-questions div {
+  line-height: 30px;
+}
+
+.bf-community .container, .bf-tagline .container {
+  padding-left: 0;
+  padding-right: 0;
+}
+
+.bf-community h3 {
+  font-weight: 600;
+  margin-top: 0;
+}
+
+.bf-community .row a p {
+  color: rgb(51,51,51);
+}
+
+/*.bf-community h2 {
+  padding-bottom: 10px;
+  border-bottom: 1px solid rgb(51,51,51);
+}*/
+
+.bf-community h2 {
+  /*padding: 0 !important;*/
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  /*margin-top: 33px;*/
+  margin-bottom: 13px;
+}
+.bf-releases h2 {
+  /*padding: 0 !important;*/
+  border-bottom: solid 1px #ccc;
+  line-height: 0;
+  /*margin-top: 33px;*/
+  margin-bottom: 13px;
+}
+
+.bf-community h2 span {
+  background-color: #FAFBFC;
+  padding-right: 10px;
+}
+
+
+.bf-releases h2 span {
+  background-color: #FAFBFC;
+  padding-right: 10px;
+}
+
+.bf-releases p {
+  padding: 10px 0 5px 0;
+}
+
+.bf-community {
+  margin-top: 80px;
+}
+
+.bf-releases {
+  margin-top: 10px;
+}
+
+#map-canvas {
+  border-bottom: 1px solid rgb(52, 73, 94);
+}
+
+.bf-community img {
+  border-radius: 4px;
+  border: solid 1px rgb(52, 73, 94);
+  margin-top: 20px;
+  margin-bottom: 10px;
+  width: 100%;
+  box-shadow: rgb(52, 73, 94) 2px 2px 4px;
+}
+
+.bf-releases img {
+  border-radius: 4px;
+  border: solid 1px rgb(52, 73, 94);
+  margin-top: 20px;
+  margin-bottom: 10px;
+  width: 100%;
+  box-shadow: rgb(52, 73, 94) 2px 2px 4px;
+}
+
+
+h2.icns-calendar:before{
+  text-align: right;
+  content: "\F073";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-chat:before{
+  text-align: right;
+  content: "\F0FC";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+
+h2.icns-envelope:before{
+  text-align: right;
+  content: "\F0E0";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -40px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-briefcase:before{
+  text-align: right;
+  content: "\F0B1";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -42px;
+  padding-right: 10px;
+  line-height: 0;
+}
+h2.icns-group:before{
+  text-align: right;
+  content: "\F005";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -37px;
+  padding-right: 8px;
+  line-height: 0;
+}
+h2.icns-tools:before{
+  text-align: right;
+  content: "\F006";
+  font-family: 'FontAwesome';
+  font-size: 100%;
+  margin-left: -37px;
+  padding-right: 8px;
+  line-height: 0;
+}
+/* Docs pages and sections
+-------------------------------------------------- */
+
+/* Page headers */
+.bf-header {
+  padding: 5px 20px 10px;
+  font-size: 16px;
+  color: #5a5a5a;
+  text-align: center;
+  border-bottom: 1px solid #e5e5e5;
+}
+.bf-header p {
+  font-weight: 300;
+  line-height: 1.5;
+}
+.bf-header .container {
+  position: relative;
+}
+
+.bf-docs-container {
+  margin-top: 60px;
+}
+
+.bf-docs-container .col-md-3{
+  padding-left: 0;
+}
+
+
+.bf-docs-container .col-md-9.main-article {
+  background-color: #fff;
+  border-radius: 4px;
+  border: 1px solid #ccc;
+  padding-bottom: 15px;
+  min-height: 820px;
+}
+
+.bf-docs-section + .bf-docs-section {
+  padding-top: 20px;
+}
+
+.bf-docs-container .nav-list {
+  padding-top: 20px;
+}
+
+/* Bootstrap code examples
+-------------------------------------------------- */
+
+/* Base class */
+.bf-example {
+  position: relative;
+  margin: 20px 0 40px;
+}
+.bf-example > .btn-toolbar + .btn-toolbar {
+  margin-top: 10px;
+}
+
+.bf-example .row {
+  margin-bottom: 20px;
+}
+
+/* Tweak display of the examples */
+.bf-example + .highlight {
+  margin: 0 -15px;
+  border-radius: 0;
+  border-width: 0 0 1px;
+}
+
+/* Tweak content of examples for optimum awesome */
+.bf-example > p:last-child,
+.bf-example > ul:last-child,
+.bf-example > ol:last-child,
+.bf-example > blockquote:last-child,
+.bf-example > input:last-child,
+.bf-example > select:last-child,
+.bf-example > textarea:last-child,
+.bf-example > .table:last-child,
+.bf-example > .navbar:last-child
+.bf-example > .jumbotron:last-child,
+.bf-example > .alert:last-child,
+.bf-example > .panel:last-child,
+.bf-example > .list-group:last-child,
+.bf-example > .well:last-child {
+  margin-bottom: 0;
+}
+.bf-example > p > .close {
+  float: none;
+}
+.bf-example-title {
+  border-left: 3px solid #08d;
+  padding-left: 10px;
+  line-height: 24px;
+  margin: 20px 0;
+  font-size: 16px;
+}
+.bf-example-align .btn {
+  margin-top: 4px;
+}
+.bf-example-align .btn-xs {
+  margin-top: 16px;
+}
+.bf-example-align .btn-sm {
+  margin-top: 8px;
+}
+.bf-example-align .btn-lg {
+  margin-top: -7px;
+}
+
+/* Navbar examples */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  min-height: 110px;
+  overflow: hidden; /* cut the drop shadows off */
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-top-example {
+  -webkit-border-radius: 0 0 4px 4px;
+     -moz-border-radius: 0 0 4px 4px;
+          border-radius: 0 0 4px 4px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+  -webkit-border-radius: 0 4px 0 4px;
+     -moz-border-radius: 0 4px 0 4px;
+          border-radius: 0 4px 0 4px;
+}
+.bf-navbar-bottom-example {
+  -webkit-border-radius: 4px 4px 0 0;
+     -moz-border-radius: 4px 4px 0 0;
+          border-radius: 4px 4px 0 0;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example.bf-example:after {
+  bottom: -1px;
+  border-radius: 0 4px;
+}
+
+/* Example modals */
+.bf-example-modal {
+  background-color: #f5f5f5;
+}
+.bf-example-modal .modal {
+  position: relative;
+  top: auto;
+  right: auto;
+  left: auto;
+  bottom: auto;
+  z-index: 1;
+  display: block;
+}
+.bf-example-modal .modal-dialog {
+  left: auto;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+/* Example dropdowns */
+.bf-example > .dropdown > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropup > .dropdown-menu,
+.bf-example-submenu > .pull-left > .dropdown > .dropdown-menu {
+  position: static;
+  display: block;
+  margin-bottom: 5px;
+}
+.bf-example-submenu {
+  min-height: 230px;
+}
+.bf-example-submenu > .pull-left + .pull-left {
+  margin-left: 20px;
+}
+
+/* Tooltips */
+.bf-example-tooltips {
+  text-align: center;
+}
+
+/* Popovers */
+.bf-example-popover {
+  padding-bottom: 24px;
+}
+.bf-example-popover .popover {
+  position: relative;
+  display: block;
+  float: left;
+  width: 260px;
+  margin: 20px;
+}
+
+/* Example templates
+-------------------------------------------------- */
+
+.bf-examples h4 {
+  margin-bottom: 5px;
+}
+.bf-examples p {
+  margin-bottom: 20px;
+}
+
+/* Responsive docs
+-------------------------------------------------- */
+
+/* Responsive (scrollable) doc tables */
+@media (max-width: 768px) {
+  .bf-table-scrollable {
+    width: 100%;
+    margin-bottom: 15px;
+    overflow-y: hidden;
+    overflow-x: scroll;
+    border: 1px solid #ddd;
+  }
+  .bf-table-scrollable .table {
+    margin-bottom: 0;
+    border: 0;
+  }
+  .bf-table-scrollable .table th,
+  .bf-table-scrollable .table td {
+    white-space: nowrap;
+  }
+  .bf-table-scrollable .table th:first-child,
+  .bf-table-scrollable .table td:first-child {
+    border-left: 0;
+  }
+  .bf-table-scrollable .table th:last-child,
+  .bf-table-scrollable .table td:last-child {
+    border-right: 0;
+  }
+  .bf-table-scrollable .table tr:last-child th,
+  .bf-table-scrollable .table tr:last-child td {
+    border-bottom: 0;
+  }
+}
+
+/* Footer
+-------------------------------------------------- */
+
+.bf-footer {
+  margin-top: 40px;
+  padding: 30px 5px;
+  /*text-align: left;*/
+  background:#34495e;
+  color:#f0f0f0;
+}
+
+.bf-footer a {
+    color:#f0f0f0 !important;
+}
+.bf-footer.bf-footer-margin {
+    margin-top: 100px;
+    margin-bottom: 20px;
+}
+
+.bf-footer .bf-icon-wrap {
+    font-size: 40px;
+    color: #a5b6c7;
+    display: inline;
+    margin: 10px;
+}
+
+#footer-icons {
+    float: right;
+    display: inline;
+    line-height: 20px;
+    margin: 40px 10px 20px 10px;
+}
+
+#copyright {
+    float: left;
+    display: inline;
+    line-height: 20px;
+    margin: 20px 10px 20px 10px;
+}
+
+/* Social proof buttons from GitHub & Twitter */
+.bf-social {
+  margin-bottom: 20px;
+}
+.bf-social-buttons {
+  display: inline-block;
+  margin-bottom: 0;
+  padding-left: 0;
+  list-style: none;
+}
+.bf-social-buttons li {
+  display: inline-block;
+  line-height: 1;
+}
+.bf-social-buttons li + li {
+  margin-left: 15px;
+}
+.bf-social-buttons .twitter-follow-button {
+  width: 225px !important;
+}
+.bf-social-buttons .twitter-share-button {
+  width: 98px !important;
+}
+/* Style the GitHub buttons via CSS instead of inline attributes */
+.github-btn {
+  border: 0;
+  overflow: hidden;
+}
+
+.highlight {
+  padding: 9px 14px;
+  margin-bottom: 40px;
+  border: 1px solid #e1e1e8;
+  border-radius: 4px;
+}
+.highlight pre {
+  padding: 0;
+  margin-top: 0;
+  margin-bottom: 0;
+  background-color: rgb(248, 248, 255);
+  border: 0;
+  white-space: nowrap;
+}
+.highlight pre code {
+  font-size: inherit;
+  font-family: Consolas, 'Liberation Mono', Courier, monospace;
+  color: #333; /* Effectively the base text color */
+}
+.highlight pre .lineno {
+  display: inline-block;
+  width: 22px;
+  padding-right: 5px;
+  margin-right: 10px;
+  text-align: right;
+  color: #bebec5;
+}
+
+.c { color: #999988; font-style: italic } /* Comment */
+.err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.k { color: #000000; font-weight: bold } /* Keyword */
+.o { color: #000000; font-weight: bold } /* Operator */
+.cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
+.c1 { color: #999988; font-style: italic } /* Comment.Single */
+.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.ge { color: #000000; font-style: italic } /* Generic.Emph */
+.gr { color: #aa0000 } /* Generic.Error */
+.gh { color: #999999 } /* Generic.Heading */
+.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #555555 } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #aaaaaa } /* Generic.Subheading */
+.gt { color: #aa0000 } /* Generic.Traceback */
+.kc { color: #000000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
+.kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.m { color: #009999 } /* Literal.Number */
+.s { color: #d01040 } /* Literal.String */
+.na { color: #008080 } /* Name.Attribute */
+.nb { color: #0086B3 } /* Name.Builtin */
+.nc { color: #445588; font-weight: bold } /* Name.Class */
+.no { color: #008080 } /* Name.Constant */
+.nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
+.ni { color: #800080 } /* Name.Entity */
+.ne { color: #990000; font-weight: bold } /* Name.Exception */
+.nf { color: #990000; font-weight: bold } /* Name.Function */
+.nl { color: #990000; font-weight: bold } /* Name.Label */
+.nn { color: #555555 } /* Name.Namespace */
+.nt { color: #000080 } /* Name.Tag */
+.nv { color: #008080 } /* Name.Variable */
+.ow { color: #000000; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #009999 } /* Literal.Number.Float */
+.mh { color: #009999 } /* Literal.Number.Hex */
+.mi { color: #009999 } /* Literal.Number.Integer */
+.mo { color: #009999 } /* Literal.Number.Oct */
+.sb { color: #d01040 } /* Literal.String.Backtick */
+.sc { color: #d01040 } /* Literal.String.Char */
+.sd { color: #d01040 } /* Literal.String.Doc */
+.s2 { color: #d01040 } /* Literal.String.Double */
+.se { color: #d01040 } /* Literal.String.Escape */
+.sh { color: #d01040 } /* Literal.String.Heredoc */
+.si { color: #d01040 } /* Literal.String.Interpol */
+.sx { color: #d01040 } /* Literal.String.Other */
+.sr { color: #009926 } /* Literal.String.Regex */
+.s1 { color: #d01040 } /* Literal.String.Single */
+.ss { color: #990073 } /* Literal.String.Symbol */
+.bp { color: #999999 } /* Name.Builtin.Pseudo */
+.vc { color: #008080 } /* Name.Variable.Class */
+.vg { color: #008080 } /* Name.Variable.Global */
+.vi { color: #008080 } /* Name.Variable.Instance */
+.il { color: #009999 } /* Literal.Number.Integer.Long */
+
+.css .o,
+.css .o + .nt,
+.css .nt + .nt { color: #999; }
+/* Show code snippets when we have the space */
+@media screen and (min-width: 481px) {
+  .highlight {
+    display: block;
+  }
+}
+
+.demoColorSwatches {
+    color: #FFF;
+}
+.demoColorSwatches h4 {
+    color: #292929;
+}
+.demoColorSwatches .colorPanel {
+    padding: 15px;
+}
+.demoColorSwatches .colorPanel:hover {
+    opacity: 0.85;
+    filter: alpha(opacity=85);
+}
+
+/* Responsive variations
+-------------------------------------------------- */
+
+/* Hide code snippets on mobile devices */
+@media screen and (max-width: 480px) {
+  .highlight {
+    display: none;
+  }
+}
+
+
+.bf-docs-container {
+    margin-top: 40px;
+}
+
+/* Navbars */
+.bf-example .navbar:last-child {
+  margin-bottom: 0;
+}
+.bf-navbar-top-example,
+.bf-navbar-bottom-example {
+  z-index: 1;
+  padding: 0;
+  overflow: hidden; /* cut the drop shadows off */
+  border: 1px solid #ddd ;
+}
+.bf-navbar-top-example .navbar-header,
+.bf-navbar-bottom-example .navbar-header {
+  margin-left: 0;
+}
+.bf-navbar-top-example .navbar-fixed-top,
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  position: relative;
+  margin-left: 0;
+  margin-right: 0;
+}
+.bf-navbar-top-example {
+  padding-bottom: 45px;
+}
+.bf-navbar-top-example:after {
+  top: auto;
+  bottom: 15px;
+}
+.bf-navbar-top-example .navbar-fixed-top {
+  top: -1px;
+}
+.bf-navbar-bottom-example {
+  padding-top: 65px;
+}
+.bf-navbar-bottom-example .navbar-fixed-bottom {
+  bottom: -1px;
+}
+.bf-navbar-bottom-example .navbar {
+  margin-bottom: 0;
+}
+
+/* Phone and below */
+@media screen and (max-width: 768px) {
+  #home-logo { opacity: 1; height: 25px;}
+  span.icon-book:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Docs";
+  }
+  span.icon-group:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Community";
+  }
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Trello";
+  }
+  span.icon-bug:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " JIRA";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " StackOverflow";
+  }
+  span.icon-chat:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " HipChat";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Twitter";
+  }
+  span.icon-wiki:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "  Wiki";
+  }
+  span.icon-releases:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Releases";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Chat";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Mailing Lists";
+  }
+  div.cta {
+    line-height: 60px;
+  }
+  span.avoidwrap { display:inline-block; }
+  .navbar-nav > li > a {
+    opacity: 1.0;
+  }
+  .bf-masthead .tagline {
+    line-height: 90%;
+  }
+
+  .bf-masthead .description {
+    margin-bottom: 30px;
+  }
+  .bf-masthead p {
+    clear:both;
+    line-height: 100%;
+    padding-top: 5px;
+  }
+  .bf-masthead .or {
+    margin-right: 0;
+  }
+  .bf-questions .container{
+    padding: 30px 0;
+  }
+}
+
+/* Phones and Tablets */
+/*@media screen and (min-width: 768px) and (max-width: 992px) {
+
+  .bf-masthead .tagline {
+    padding-bottom: 20px;
+  }
+
+}*/
+
+@media screen and (max-width: 992px) {
+  .bf-community.committers .col-md-3 p{
+    margin-bottom: 40px;
+  }
+}
+
+/* Tablets and below */
+@media screen and (max-width: 1200px) {
+  .row {
+    padding: 0 25px;
+  }
+  .bf-docs-container .nav-list {
+    padding-left: 30px;
+  }
+  .bf-docs-container .colb-md-3 .nav-list {
+    padding-top: 0;
+  }
+  .bf-community .container, .bf-tagline .container {
+    padding-left: 50px;
+  }
+  .bf-community.committers .col-md-3 h3{
+    margin-top: 0px;
+  }
+  #map-canvas { height: 300px; margin-top: 5px;}
+}
+/* Tablets and up */
+@media screen and (min-width: 768px) {
+  header.secondary #home-logo { opacity: 1; }
+  #home-logo { opacity: 0; height: 30px;}
+  .bf-header {
+    font-size: 21px;
+    text-align: left;
+  }
+  .bf-header h1 {
+    font-size: 60px;
+    line-height: 1;
+  }
+
+  .bf-masthead p {
+    float:left;
+  }
+
+  .bf-masthead .or {
+    margin-right: 20px;
+  }
+  .bf-features .row {
+    padding: 20px 0;
+  }
+  .bf-example {
+    margin-left: 0;
+    margin-right: 0;
+    border-radius: 4px;
+    background-color: #fff;
+    border-width: 1px;
+    border-color: #ddd;
+    box-shadow: none;
+  }
+  .bf-example + .prettyprint,
+  .bf-example + .highlight {
+    margin-top: -16px;
+    margin-left: 0;
+    margin-right: 0;
+    border-width: 1px;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+  }
+
+  /* Show the docs nav */
+  .bf-sidebar {
+    display: block;
+  }
+  .bf-sidebar > .nav > li > a {
+    display: inline-block;
+  }
+
+  .bf-navbar-top-example .navbar-fixed-top,
+  .bf-navbar-bottom-example .navbar-fixed-bottom {
+    position: absolute;
+  }
+  .bs-navbar-top-example {
+    border-radius: 0 0 4px 4px;
+  }
+  .bs-navbar-bottom-example {
+    border-radius: 4px 4px 0 0;
+  }
+}
+
+/* Tablets */
+@media screen and (min-width: 768px) and (max-width: 1200px) {
+  span.icns {
+    font-size: 140%;
+  }
+}
+
+/* Tablets/desktops and up */
+@media screen and (min-width: 1200px) {
+  span.icon-book:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Docs";
+  }
+  span.icon-group:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Community";
+  }
+  span.icon-github-sign:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Github";
+  }
+  span.icon-trello:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Trello";
+  }
+  span.icon-bug:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " JIRA";
+  }
+  span.icon-stackexchange:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " StackOverflow";
+  }
+  span.icon-chat:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " HipChat";
+  }
+  span.icon-twitter:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Twitter";
+  }
+  span.icon-wiki:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: "  Wiki";
+  }
+  span.icon-releases:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Releases";
+  }
+  span.icon-comments:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Chat";
+  }
+  span.icon-envelope:after {
+    font-family: 'klavika-web', 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    font-weight: 600;
+    content: " Mailing Lists";
+  }
+  .bf-header h1,
+  .bf-header p {
+    margin-right: 380px;
+  }
+  .bf-docs-container {
+    margin-top: 40px;
+  }
+
+  .bf-masthead .tagline, .bf-masthead .description, .bf-masthead .btn-wrapper {
+    margin-left: 120px;
+  }
+  .bf-community.committers .col-md-3 h3{
+    margin-top: 40px;
+  }
+  .bf-community.committers img {
+    width: 100%;
+  }
+  #map-canvas { height: 500px; margin-top: 10px;}
+
+}
+
+.navbar-toggle {
+  background-color: rgb(36,129,166);
+  margin: 12px 0 0 0;
+}


[45/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/client-authorization.md
----------------------------------------------------------------------
diff --git a/content/content/docs/client-authorization.md b/content/content/docs/client-authorization.md
new file mode 100644
index 0000000..1826498
--- /dev/null
+++ b/content/content/docs/client-authorization.md
@@ -0,0 +1,114 @@
+---
+title: Client authorization
+category: docs
+layout: docs
+---
+
+Client authorization
+====================
+
+[See all management
+resources](/docs/usergrid/content/management-resources)[![](/docs/sites/docs/files/learnmore%20arrow_0.png)](/docs/usergrid/content/management-resources)
+
+Using the App services API, you can authorize a client.
+
+Authorizing a client
+--------------------
+
+Use the GET method to authorize a client.
+
+### Request URI
+
+GET
+/management/authorize?response\_type={response\_type}&client\_id={client\_id}
+
+### Parameters
+
+  Parameter               Description
+  ----------------------- -------------------------------------------------------------------------------------------------
+  string response\_type   The [OAuth 2.0 response type](http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-3.1.1).
+  string client\_id       Organization client ID
+
+ 
+
+### Example - Request
+
+-   [cURL](#curl_auth_client)
+-   [JavaScript (HTML5)](#javascript_auth_client)
+-   [Ruby](#ruby_auth_client)
+-   [Node.js](#nodejs_auth_client)
+
+<!-- -->
+
+    curl -X GET "https://api.usergrid.com/management/authorize?response_type=token&client_id=b0U5N81ME96NSeG78xIxQFxelQ"
+
+It is recommended that you use the [Admin
+Portal](http://apigee.com/usergrid) for administrative activities
+instead of using JavaScript to do them programmatically in your app.
+
+**Note:**You can see the response below in the Admin Portal by using the
+[JavaScript
+Console](/docs/usergrid/content/displaying-app-services-api-calls-curl-commands).
+
+The example assumes use of the [Ruby
+SDK](https://github.com/scottganyo/usergrid_iron).
+
+    mgmt = Usergrid::Management.new 'https://api.usergrid.com/'
+    mgmt['authorize'].get params: { response_type: 'token', client_id: 'b0U5N81ME96NSeG78xIxQFxelQ'}
+
+The example assumes use of the [Node.js
+module](https://github.com/apigee/usergrid-node-module).
+
+    var options = {
+        method:'GET',
+        endpoint:'management/authorize',
+        qs:{response_type:'token', client_id:'b0U5N81ME96NSeG78xIxQFxelQ'}
+    };
+    client.request(options, function (err, data) {
+        if (err) {
+            //error — GET failed
+        } else {
+            //success — data will contain raw results from API call       
+        }
+    });
+
+### Example - Response
+
+    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+    <html>
+    <head>
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+        <title>Sign In</title>
+        <link rel="stylesheet" type="text/css" href="../css/styles.css" />
+    </head>
+    <body>
+
+        <div class="dialog-area">
+            
+            <form class="dialog-form" action="" method="post">
+                <input type="hidden" name="response_type" value="token">
+                <input type="hidden" name="client_id" value="b3U6M90FY80MEeG89xIxPRxEkQ">
+                <input type="hidden" name="redirect_uri" value="">
+                <input type="hidden" name="scope" value="">
+                <input type="hidden" name="state" value="">
+                <fieldset>
+                    <p>
+                        <label for="username">Username</label>
+                    </p>
+                    <p>
+                        <input class="text_field" id="username" name="username" type="text" />
+                    </p>
+                    <p>
+                        <label for="password">Password</label>
+                    </p>
+                    <p>
+                        <input class="text_field" id="password" name="password" type="password" />
+                    </p>
+                    <p class="buttons">
+                        <button type="submit">Submit</button>
+                    </p>
+                </fieldset>
+            </form>
+        </div>
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/collections.md
----------------------------------------------------------------------
diff --git a/content/content/docs/collections.md b/content/content/docs/collections.md
new file mode 100644
index 0000000..270268c
--- /dev/null
+++ b/content/content/docs/collections.md
@@ -0,0 +1,25 @@
+---
+title: Collections
+category: docs
+layout: docs
+---
+
+In Apache Usergrid, all entities are automatically associated with a corresponding
+collection based on the `type` property of the entity. You may create
+empty collections if you wish, but creating an entity of a new type will
+automatically create a corresponding collection for you. For example,
+creating a new custom "item" entity, creates an "items" collection.
+
+Queries are always limited in scope to the current collection. That should be your primary consideration for data modeling in Apache Usergrid.
+
+The following collections are reserved in the system
+
+* users
+* groups
+* activities
+* devices
+* assets
+* folders
+* queues
+* events
+* counters
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/contribute-code.md
----------------------------------------------------------------------
diff --git a/content/content/docs/contribute-code.md b/content/content/docs/contribute-code.md
new file mode 100644
index 0000000..e93eba0
--- /dev/null
+++ b/content/content/docs/contribute-code.md
@@ -0,0 +1,26 @@
+---
+title: How to Contribute Code & Docs
+category: docs
+layout: docs
+---
+
+Code Contributions
+---
+The Usergrid project has adopted a policy for how code is to be contributed
+by external contributors, and by those who are committers on the project. 
+You can read this policy here [Usergrid Contribution Workflow](https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+Contribution+Workflow).
+
+Basically, we use GitHub as our code review system. So you should fork the 
+apache/incubator-usergrid repo and submit PRs back to the project. Here 
+are are step-by-step guide for both both external contributors and committers:
+
+* [External Contributors Guide](https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+External+Contributors+Guide)
+* [Usergrid Committers Guide](https://cwiki.apache.org/confluence/display/apache/incubator-usergrid+Committers+Guide)
+
+Website and Documentation Contributions
+---
+If you want to contribute to the documentation you'll find that we use a different
+system. Our website and documentation is managed in Subversion. Here's a README file
+that explains how to get the website and documentation source code and make changes:
+
+* [README.md for website and documentation](http://svn.apache.org/viewvc/incubator/usergrid/site/README.md?view=markup)

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/creating-collections.md
----------------------------------------------------------------------
diff --git a/content/content/docs/creating-collections.md b/content/content/docs/creating-collections.md
new file mode 100644
index 0000000..f330dfe
--- /dev/null
+++ b/content/content/docs/creating-collections.md
@@ -0,0 +1,340 @@
+---
+title: Creating Collections
+category: docs
+layout: docs
+---
+
+Creating Collections
+====================
+
+This article describes how to create collections in Apache Usergrid. In App
+Services, all entities are automatically associated with a corresponding
+collection based on the `type` property of the entity. You may create
+empty collections if you wish, but creating an entity of a new type will
+automatically create a corresponding collection for you. For example,
+creating a new custom "item" entity, creates an "items" collection.
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating a collection
+---------------------
+
+-   [Admin Portal](#portal_create_collection)
+-   [cURL](#curl_create_collection)
+-   [iOS](#ios_create_collection)
+-   [Android](#android_create_collection)
+-   [JavaScript](#javascript_create_collection)
+-   [Ruby](#ruby_create_collection)
+-   [Node.js](#nodejs_create_collection)
+
+The easiest way to create a new, empty collection is by using the *Data
+Explorer* tool in the Apache Usergrid Admin Portal by doing the following:
+
+1.  [Login](https://www.apigee.com/usergrid) to the Apache Usergrid Admin
+    Portal.
+2.  In the left menu, click *Data Explorer*.
+3.  In the middle column, click the *Add Collection* button.
+4.  In the form, enter the name for the collection you want to create.
+    If the provided value is not a plural word, Apache Usergrid will
+    pluralize it.
+5.  Click *Create*. The new collection will appear in the list.
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X POST "https://api.usergrid.com/your-org/your-app/item"
+
+#### Response:
+
+    {
+      "action" : "post",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ ],
+      "timestamp" : 1378857079220,
+      "duration" : 31,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X POST https://api.usergrid.com/<org>/<app>/<collection_name>
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| org                                  | Organization UUID or organization    |
+|                                      | name                                 |
++--------------------------------------+--------------------------------------+
+| app                                  | Application UUID or application name |
++--------------------------------------+--------------------------------------+
+| collection\_name                     | Name of the collection to create. If |
+|                                      | the provided value is not a plural   |
+|                                      | word, Apache Usergrid will pluralize    |
+|                                      | it.                                  |
+|                                      |                                      |
+|                                      | For example, providing 'item' will   |
+|                                      | create a collection named 'items'    |
+|                                      | but providing 'items' will not       |
+|                                      | create 'itemses'.                    |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)createCollection {
+
+    NSString *url = @"https://api.usergrid.com/your-org/your-app/items";
+    NSString *op = @"POST";
+    NSString *opData = nil;
+
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient apiRequest: url operation: op data: opData];
+
+    @try {
+        //success
+    }
+    @catch (NSException * e) {
+        //fail
+    }
+
+    }
+                    
+
+#### Response:
+
+    {
+      "action" : "post",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ ],
+      "timestamp" : 1378857079220,
+      "duration" : 31,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)op data:(NSString *)opData
+
+### Properties
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| url                                  | A fully-formed url in the following  |
+|                                      | format:                              |
+|                                      |     https://api.usergrid.com/<org>/< |
+|                                      | app>/<collection>                    |
++--------------------------------------+--------------------------------------+
+| op                                   | The HTTP method - in this case,      |
+|                                      | 'POST'                               |
++--------------------------------------+--------------------------------------+
+| opData                               | No data is being sent, so the value  |
+|                                      | is `nil`                             |
++--------------------------------------+--------------------------------------+
+
+Currently, creating an empty collection is not supported by the [App
+Services SDK for Android](/app-services-sdks#android).
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.Client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    //options for the request
+    var options = {
+    endpoint:"items",
+    method:"POST"
+    }
+
+    dataClient.request(options,function (error,response) {
+
+    if (error) { 
+        // Error
+    } else { 
+        // Success
+    }
+
+    });    
+                    
+
+#### Response:
+
+    Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+    action: "post"
+    application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0"
+    applicationName: "your-app"
+    duration: 29
+    entities: Array[0]
+    organization: "your-org"
+    params: Object
+    path: "/items"
+    timestamp: 1378872945962
+    uri: "http://api.usergrid.com/your-org/your-app/items"
+    __proto__: Object               
+                    
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | A JSON-formatted object containing   |
+|                                      | the following properties:            |
+|                                      |                                      |
+|                                      | -   endpoint: the name of the        |
+|                                      |     collection to be created         |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request, in this case *POST*     |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function to handle the API  |
+|                                      | response                             |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        # Call create_entity to initiate the API call
+        # By specifying 'nil' for the request body, we get an empty collection
+        client.create_entity('item', nil)
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+    {
+      "action" : "post",
+      "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+      "params" : { },
+      "path" : "/items",
+      "uri" : "http://api.usergrid.com/your-org/your-app/items",
+      "entities" : [ ],
+      "timestamp" : 1378857079220,
+      "duration" : 31,
+      "organization" : "your-org",
+      "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    create_entity(type, properties)
+
+### Properties
+
+  Parameter    Description
+  ------------ -----------------------------------------------------------------
+  type         Custom entity type that will correspond to the collection
+  properties   Object that contains the entity properties – in this case 'nil'
+
+This example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //create the basic client object
+    var dataClient = new Usergrid.client({
+    orgName:'your-org',
+    appName:'your-app'
+    });
+
+    //options for the request
+    var options = {
+    endpoint:"items",
+    method:"POST"
+    }
+
+    dataClient.request(options,function (error,response) {
+
+        if (error) { 
+            // Error
+        } else { 
+            // Success
+        }
+
+    });     
+                    
+
+#### Response:
+
+    { action: 'post',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: {},
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: [],
+      timestamp: 1378873689426,
+      duration: 29,
+      organization: 'your-org',
+      applicationName: 'your-app' }
+                    
+
+### SDK Method
+
+    entity.request(options,callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | A JSON-formatted object containing   |
+|                                      | the following properties:            |
+|                                      |                                      |
+|                                      | -   endpoint: the name of the        |
+|                                      |     collection to be created         |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request, in this case *POST*     |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function to handle the API  |
+|                                      | response                             |
++--------------------------------------+--------------------------------------+
+
+ 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/creating-custom-data-entities.md
----------------------------------------------------------------------
diff --git a/content/content/docs/creating-custom-data-entities.md b/content/content/docs/creating-custom-data-entities.md
new file mode 100644
index 0000000..65f1189
--- /dev/null
+++ b/content/content/docs/creating-custom-data-entities.md
@@ -0,0 +1,1639 @@
+---
+title: Creating Custom Data Entities
+category: docs
+layout: docs
+---
+
+Creating Custom Data Entities
+=============================
+
+This article describes how to create custom data entities and entity
+properties in Apache Usergrid. Entity types correspond to the name of
+collection to which they are posted. For example, if you create a new
+custom "dog" entity, a "dogs" collection will be created if one did not
+already exist. If a "dogs" collection already exists, the new "dog"
+entity will be saved in it. All user-defined properties are indexed, and
+strings that contain multiple words are keyword-indexed.
+
+The methods cited in this article should be used to create custom data
+entities. If you are using one of the [Apache Usergrid
+SDKs](/app-services-sdks), use one of the entity type-specific SDK
+methods to create [default data entities](/default-data-entities).
+
+**Note:** Although not shown in the API examples below, you need to
+provide a valid access token with each API call. See [Authenticating
+users and application
+clients](/authenticating-users-and-application-clients) for details.
+
+Creating a custom entity
+------------------------
+
+When a new entity is created, Apache Usergrid will automatically create a
+corresponding collection if one does not already exist. The collection
+will automatically be named with the plural form of the entity type. For
+example, creating a custom entity of type 'item' will automatically
+create a collection named 'items' in which all future 'item' entities
+will be saved.
+
+-   [cURL](#curl_create_entity)
+-   [iOS](#ios_create_entity)
+-   [Android](#android_create_entity)
+-   [JavaScript (HTML5)](#javascript_create_entity)
+-   [Ruby](#ruby_create_entity)
+-   [Node.js](#nodejs_create_entity)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X POST "https://api.usergrid.com/your-org/your-app/item" -d '{"name":"milk", "price":"3.25"}'
+
+#### Response:
+
+        { 
+            "action" : "post", 
+            "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+            "params" : { }, 
+            "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+            "entities" : [ { 
+                "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+                "type" : "item", 
+                "name" : "milk", 
+                "created" : 1373415195230, 
+                "modified" : 1373415195230, 
+                "metadata" : { 
+                    "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+                }, 
+                "name" : "milk", 
+                "price" : "3.25"
+            } ], 
+            "timestamp" : 1373415195225, 
+            "duration" : 635, 
+            "organization" : "my-org", 
+            "applicationName" : "my-app" 
+        }
+
+### Request Syntax
+
+    curl -X POST https://api.usergrid.com/<org>/<app>/<entity_type> -d '{<property>, <property>, ...}'
+
+### Parameters
+
+  Parameter      Description
+  -------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  org            Organization UUID or organization name
+  app            Application UUID or application name
+  entity\_type   Entity type to create. Apache Usergrid will create a corresponding collection if one does not already exist. To add an entity to an existing collections, use the pluralized collection name for entity\_type.
+  property       Comma-separated list of entity properties, formatted as key-value pairs: \<property\>:\<value\> (for a full list of default properties, see [Default Data Entities](/default-data-entities))
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)newEntity {
+        
+        //create an entity object   
+        NSMutableDictionary *entity = [[NSMutableDictionary alloc] init ];
+        
+        //Set entity properties
+        [entity setObject:@"item" forKey:@"type"]; //Required. New entity type to create
+        [entity setObject:@"milk" forKey:@"name"];
+        [entity setObject:@"3.25" forKey:@"price"];
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient createEntity:entity];
+        
+        @try {      
+            //success       
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+        
+    }
+                    
+
+#### Response:
+
+        { 
+            "action" : "post", 
+            "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+            "params" : { }, 
+            "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+            "entities" : [ { 
+                "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+                "type" : "item", 
+                "name" : "milk", 
+                "created" : 1373415195230, 
+                "modified" : 1373415195230, 
+                "metadata" : { 
+                    "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+                }, 
+                "name" : "milk", 
+                "price" : "3.25"
+            } ], 
+            "timestamp" : 1373415195225, 
+            "duration" : 635, 
+            "organization" : "my-org", 
+            "applicationName" : "my-app" 
+        }
+
+### SDK Method
+
+    (ApigeeClientResponse *)createEntity:(NSDictionary *)newEntity
+
+### Parameters
+
+  Parameter   Description
+  ----------- ---------------------------------------------------------
+  newEntity   NSDictionary object that contains the entity properties
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+            String ORGNAME = "your-org"; 
+            String APPNAME = "your-app";
+            
+            ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME,this.getBaseContext());
+            DataClient client = apigeeClient.getDataClient();
+
+    //Create properties object
+    Map<String, Object> properties = new HashMap<String, Object>();
+    properties.put("type", "item");
+    properties.put("name", "milk");
+    properties.put("price", "3.25");
+
+    //call createEntityAsync to initiate the asynchronous API call
+    apigeeClient.createEntityAsync(properties, new ApiResponseCallback() {
+        
+        //If createEntityAsync fails, catch the error
+        @Override
+        public void onException(Exception e) { 
+            // Error
+        }
+        
+        //If createEntityAsync is successful, handle the response object
+        @Override
+        public void onResponse(ApiResponse response) {
+            try { 
+                if (response != null) {
+                    // Success
+                }
+            } catch (Exception e) { //The API request returned an error
+                    // Fail
+            }
+        }
+    });             
+                    
+
+#### Response:
+
+    {
+        "action":"post",
+        "application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "entities":[{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        }],
+
+        "params":{},
+        "path":"/items",
+        "rawResponse":"{
+            "action" : "post",
+            "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+            "params" : { },
+            "path" : "/items",
+            "uri" : "http://api.usergrid.com/your-org/your-app/items",
+            "entities" : [ {
+                "uuid" : "fd29157a-e980-11e2-afcc-652a12f1ce72",
+                "type" : "item",
+                "created" : 1373475098695,
+                "modified" : 1373475098695,
+                "metadata" : {
+                    "path" : "/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+                }
+            } ],
+            "timestamp" : 1373475098689,
+            "duration" : 24,
+            "organization" : "your-org",
+            "applicationName" : "your-app"
+        }",
+        "uri":"http://api.usergrid.com/your-org/your-app/items",
+        "timestamp":1373475098689,
+        "entityCount":1,
+        "firstEntity":{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        },
+        "lastEntity":{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        },
+        "organization":"your-org",
+        "duration":24,
+        "applicationName":"your-app"
+    }
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    createEntityAsync(Map<String, Object> properties, ApiResponseCallback callback)
+
+Synchronous:
+
+    ApiResponse createEntity(Map<String, Object> properties)
+
+### Parameters
+
+  Parameter    Description
+  ------------ ----------------------------------------------------------------------------------
+  properties   Map object that contains the entity properties. The 'type' property is required.
+  callback     Callback function (Asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+               
+    //Create your client object
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+
+    //Set the properties of the entity
+    var options = {
+        type:'item', //required
+        name:'milk',
+        price:'3.25'
+    };
+
+    //Create the entity and process the results
+    client.createEntity(options, function (err, result) {
+        if (err) {
+            //error
+        } else {
+            //success          
+        }
+    });     
+                     
+
+#### Response:
+
+    "_client": //Information on the client object used to initiate the call
+        "URI":"https://api.usergrid.com",
+        "orgName":"your-org",
+        "appName":"your-app",
+        "buildCurl":false,
+        "logging":false,
+        "_callTimeout":30000,
+        "_callTimeoutCallback":null,
+        "logoutCallback":null,
+        "_start":1373482218757,
+        "_end":1373482219070,
+    "_data": //Information on the successfully created entity
+        "type":"item",
+        "name":"milk",
+        "price":"3.25",
+        "uuid":"9124211a-e991-11e2-ba6c-e55e3ffa12ef",
+        "created":1373482218913,
+        "modified":1373482218913,
+        "metadata":
+            "path":"/items/9124211a-e991-11e2-ba6c-e55e3ffa12ef"                    
+                    
+
+### SDK Method
+
+    createEntity(properties, callback)
+
+### Parameters
+
+  Parameter    Description
+  ------------ ------------------------------------------------------------------------------
+  properties   Object that contains the entity properties. The `type` property is required.
+  callback     Callback function
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        # Call create_entity to initiate the API call
+        # and save the response
+        client.create_entity('item', {'name' => 'milk', 'price' => '3.25'})
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+        { 
+            "action" : "post", 
+            "application" : "4a1edb70-d7a8-11e2-9ce3-f315e5aa568a", 
+            "params" : { }, 
+            "path" : "/items", "uri" : "http://api.usergrid.com/my-org/my-app/items", 
+            "entities" : [ { 
+                "uuid" : "83e9b7ea-e8f5-11e2-84df-e94123890c7a", 
+                "type" : "item", 
+                "name" : "milk", 
+                "created" : 1373415195230, 
+                "modified" : 1373415195230, 
+                "metadata" : { 
+                    "path" : "/items/83e9b7ea-e8f5-11e2-84df-e94123890c7a" 
+                }, 
+                "name" : "milk", 
+                "price" : "3.25"
+            } ], 
+            "timestamp" : 1373415195225, 
+            "duration" : 635, 
+            "organization" : "my-org", 
+            "applicationName" : "my-app" 
+        }
+
+### SDK Method
+
+    create_entity(type, properties)
+
+### Properties
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  type         Custom entity type to create
+  properties   Object that contains the entity properties
+
+The example assumes use of the [Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create a client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Set the properties for your entity
+    var properties = {
+        type:"item", //Requried. Type of entity to create.
+        name:"milk",
+        price:"3.25"
+    };
+
+    //Call createEntity to initiate the API call
+    client.createEntity(properties, function(error, result){
+        if(error) {
+            //error
+        } else {
+            //success
+        }
+    });
+                    
+
+#### Response:
+
+    { 
+        type: 'item',
+        name: 'milk',
+        price: '3.25',
+        uuid: '126e29aa-eb40-11e2-85a8-355b0e586a1a',
+        created: 1373667119418,
+        modified: 1373667119418,
+        metadata: { path: '/items/126e29aa-eb40-11e2-85a8-355b0e586a1a' } 
+    }           
+                    
+
+### SDK Method
+
+    createEntity(properties, callback)
+
+### Parameters
+
+  Parameter    Description
+  ------------ ------------------------------------------------------------------------------
+  properties   Object that contains the entity properties. The 'type' property is required.
+  callback     Callback function
+
+Creating multiple custom entities
+---------------------------------
+
+-   [cURL](#curl_create_multiple_entities)
+-   [iOS](#ios_create_multiple_entities)
+-   [Android](#android_create_multiple_entities)
+-   [JavaScript (HTML5)](#javascript_create_multiple_entities)
+-   [Ruby](#ruby_create_multiple_entities)
+-   [Node.js](#nodejs_create_multiple_entities)
+
+### Example Request/Response
+
+#### Request:
+
+    curl -X POST "https://api.usergrid.com/your-org/your-app/item" -d '[{"name":"milk", "price":"3.25"}, {"name":"bread", "price":"2.50"}]'
+
+#### Response:
+
+    {
+        "action" : "post",
+        "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+            "type" : "item",
+            "name" : "milk",
+            "price" : "3.25",
+            "created" : 1374084538609,
+            "modified" : 1374084538609,
+            "metadata" : {
+                "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+            },
+            "name" : "milk"
+        }, {
+            "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+            "type" : "item",
+            "name" : "bread",
+            "price" : "2.50",
+            "created" : 1374084538754,
+            "modified" : 1374084538754,
+            "metadata" : {
+                "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+            },
+            "name" : "bread"
+        } ],
+        "timestamp" : 1374084538584,
+        "duration" : 388,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }
+
+### Request Syntax
+
+    curl -X POST https://api.usergrid.com/<org>/<app>/<entity_type>/ -d '[{<entity>}, {<entity>}, ...]'
+
+### Parameters
+
+  Parameter      Description
+  -------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  org            Organization UUID or name
+  app            Application UUID or name
+  entity\_type   Custom entity type to create. Apache Usergrid will create a corresponding collection if one does not already exist. To add an entity to an existing collections, use the collection name or colleciton UUID in place of the entity type.
+  entity         Comma-separated list of entity objects to create. Each object should be formatted as a comma-separated list of entity properties, formatted as key-value pairs in the format \<property\>:\<value\>
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+               
+    -(NSString*)newMultipleEntities {
+
+        //apiRequest requires us to form the full API request, including base URL, org name, and app name.
+        //Note that we specify the target collection in the URL string
+        NSString * url = @"https://api.usergrid.com/your-org/your-app/items";
+        NSString * http_method = @"POST";
+        NSString * properties = @"[{\"name\":\"milk\",\"price\":\"3.25\"},{\"name\":\"bread\",\"price\":\"2.50\"}]"; //We escape the double quotes in the request body
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient apiRequest:url operation:http_method data:properties];
+
+        @try {
+            
+           //success
+            
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+        
+    }
+                    
+
+#### Response:
+
+    {
+        "action" : "post",
+        "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+            "type" : "item",
+            "name" : "milk",
+            "price" : "3.25",
+            "created" : 1374084538609,
+            "modified" : 1374084538609,
+            "metadata" : {
+                "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+            },
+            "name" : "milk"
+        }, {
+            "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+            "type" : "item",
+            "name" : "bread",
+            "price" : "2.50",
+            "created" : 1374084538754,
+            "modified" : 1374084538754,
+            "metadata" : {
+                "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+            },
+            "name" : "bread"
+        } ],
+        "timestamp" : 1374084538584,
+        "duration" : 388,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+The iOS SDK does not have a dedicated method for creating multiple
+entities. Instead, you can use the generic apiRequest method to form the
+API request manually.
+
+    (ApigeeClientResponse *)apiRequest: (NSString *)url operation:(NSString *)http_method data:(NSString *)properties
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| url                                  | Fully-formed request URL in the      |
+|                                      | format:                              |
+|                                      |                                      |
+|                                      |     https://api.usergrid.com/<your-o |
+|                                      | rg>/<your-app>/<collection>          |
++--------------------------------------+--------------------------------------+
+| http\_method                         | HTTP Method – in this case POST      |
++--------------------------------------+--------------------------------------+
+| properties                           | A JSON array, containing a JSON      |
+|                                      | object of entity properties for each |
+|                                      | entity to be created. The 'type'     |
+|                                      | property is required for each        |
+|                                      | entity.                              |
++--------------------------------------+--------------------------------------+
+
+Currently, creating multiple entities is not supported by the [App
+Services Android SDK](/app-services-sdks#android).
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create a client object with your organization name and application name.
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    //Set the request options: http method, endpoint, body
+    var options = {
+        method:'POST',
+        endpoint:'items', //The collection name
+        body:[{"name":"milk", "price":"3.25"},{"name": "bread", "price":"3.25"}] //note the multiple JSON objects
+    };
+
+    //Call request() to initiate the API call and process the results
+    client.request(options, function (error, response) {
+        if (error) {
+            //error
+        } else {
+            //success        
+        }
+    });
+                    
+
+#### Response:
+
+    Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+        action: "post"
+        application: "f34f4222-a166-11e2-a7f7-02e8js76g3d0" //your Apache Usergrid application uuid
+        applicationName: "your-app"
+        duration: 315
+        entities: Array[2] //array of entities successfully created
+            0: Object //entity 1
+                created: 1374099532148
+                metadata: Object
+                modified: 1374099532148
+                name: "milk"
+                price: "3.25"
+                type: "item"
+                uuid: "dc80834a-ef2e-11e2-8a77-cf8d4c2dbd49"
+                __proto__: Object
+            1: Object //entity 2
+                created: 1374099532344
+                metadata: Object
+                modified: 1374099532344
+                name: "bread"
+                price: "3.25"
+                type: "item"
+                uuid: "dc9e6b8a-ef2e-11e2-8e8b-e39a2d988c4f"
+        length: 2
+        organization: "your-org"
+        params: Object
+        __proto__: Object
+            path: "/items"
+            timestamp: 1374099532139
+            uri: "http://api.usergrid.com/your-org/your-app/items"              
+                    
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | Object that contains the following   |
+|                                      | properties:                          |
+|                                      | -   endpoint: the collection to add  |
+|                                      |     the entities to                  |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request - in this case *POST*    |
+|                                      | -   body: the body of the request –  |
+|                                      |     in this case, a JSON-array       |
+|                                      |     containing an object with        |
+|                                      |     properties for each entity to be |
+|                                      |     created.                         |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function                    |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    begin
+        # Call create_entity to initiate the API call - note the multiple JSON objects
+        # and save the response
+        response = client.create_entity 'multi', [{'name'=> 'milk', 'price' => '3.25'},{'name'=> 'bread', 'price' => '2.50'}]
+        new_items=response.entity
+    rescue
+        #fail
+    end         
+                    
+
+#### Response:
+
+    {
+        "action" : "post",
+        "application" : "f34f4222-a166-11e2-a7f7-02e9sjwsf3d0",
+        "params" : { },
+        "path" : "/items",
+        "uri" : "http://api.usergrid.com/your-org/your-app/items",
+        "entities" : [ {
+            "uuid" : "f3a8061a-ef0b-11e2-9e92-5f4a65c16193",
+            "type" : "item",
+            "name" : "milk",
+            "price" : "3.25",
+            "created" : 1374084538609,
+            "modified" : 1374084538609,
+            "metadata" : {
+                "path" : "/multis/f3a8061a-ef0b-11e2-9e92-5f4a65c16193"
+            },
+            "name" : "milk"
+        }, {
+            "uuid" : "f3be262a-ef0b-11e2-a51b-6715d5ef47a6",
+            "type" : "item",
+            "name" : "bread",
+            "price" : "2.50",
+            "created" : 1374084538754,
+            "modified" : 1374084538754,
+            "metadata" : {
+                "path" : "/items/f3be262a-ef0b-11e2-a51b-6715d5ef47a6"
+            },
+            "name" : "bread"
+        } ],
+        "timestamp" : 1374084538584,
+        "duration" : 388,
+        "organization" : "your-org",
+        "applicationName" : "your-app"
+    }
+
+### SDK Method
+
+    create_entity(type, properties)
+
+### Properties
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  type         Custom entity type to create
+  properties   Object that contains the entity properties
+
+The example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create a client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });         
+                
+    //Set the request options: http method, endpoint, body
+    var options = {
+    method:'POST',
+    endpoint:'items', //The collection name
+    body:[{"name":"milk", "price":"3.25"},{"name": "bread", "price":"3.25"}] //note the multiple JSON objects
+    };
+
+    //Call request() to initiate the API call and process the results
+    client.request(options, function (error, result) {
+        if (error) {
+            //error
+        } else {
+            //success — result will contain raw results from API call        
+        }
+    });
+
+                
+
+#### Response:
+
+    {
+        "action": "post",
+        "application": "7fb8d891-477d-11e1-b2bd-22000a1c4e221",
+        "params":   {},
+        "path": "/items",
+        "uri": "https://api.usergrid.com/22000a1c4e22-7fsii8t1-477d-11e1-b2bd/7fb8d891-477d-11e1-b2bd-22000a1c4e22/cats",
+        "entities":     [
+            {
+                "uuid": "187d31d9-0742-11e2-a7b5-12313d21509c",
+                "type": "item",
+                "name": "milk",
+                "price" : "3.25"
+                "created": 1348599123463,
+                "modified": 1348599123463,
+                "metadata":     {
+                    "path": "/items/187d31d9-0742-11e2-a7b5-12313d21509c"
+                    }
+            },
+            {
+                "uuid": "188f815b-0742-11e2-a7b5-12313d21509c",
+                "type": "items",
+                "name": "bread",
+                "price" : "2.50"
+                "created": 1348599123583,
+                "modified": 1348599123583,
+                "metadata":     {
+                                "path": "/cats/187d31d9-0742-11e2-a7b5-12313d21509c"
+                }
+            }
+        ],
+        "timestamp":    1348599123461,
+        "duration": 415,
+        "organization": "your-org",
+        "applicationName": "your-app"
+    }
+                
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | Object that contains the following   |
+|                                      | properties:                          |
+|                                      | -   endpoint: the collection to add  |
+|                                      |     the entities to                  |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request – in this case *POST*    |
+|                                      | -   body: the body of the request.   |
+|                                      |     In this case, a JSON-formatted   |
+|                                      |     set of objects containing entity |
+|                                      |     properties.                      |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function                    |
++--------------------------------------+--------------------------------------+
+
+Creating an entity with sub-properties
+--------------------------------------
+
+Any valid JSON object can be stored in an entity, regardless of the
+level of complexity, including sub-properties. For example, suppose you
+have an 'items' collection that contains an entity named 'milk'. You
+might store the different varieties of milk as sub-properties of a
+'varieties' property:
+
+    {
+        "type" : "item"
+        "name" : "milk"
+        "varieties" : [ {
+            "name" : "1%",
+            "price" : "3.25",
+            "sku" : "0393847575533445"
+        }, {
+            "name" : "whole",
+            "price" : "3.85",
+            "sku" : "0393394956788445"
+        }, {
+            "name" : "skim",
+            "price" : "4.00",
+            "sku" : "0390299933488445"      
+        } ]
+    }       
+        
+
+The following examples show how to create a new entity that contains an
+entity with sub-properties.
+
+#### Updating sub-properties
+
+An array of sub-properties is treated as a single object in App
+Services. This means that sub-properties cannot be updated atomically.
+All sub-properties of a given property must be updated as a set.
+
+For more on updating an existing sub-property, see [Updating Data
+Entities](/updating-data-entities#update_nested).
+
+-   [cURL](#curl_create_subproperties)
+-   [iOS](#ios_create_subproperties)
+-   [Android](#android_create_subproperties)
+-   [JavaScript (HTML5)](#javascript_create_subproperties)
+-   [Ruby](#ruby_create_subproperties)
+-   [Node.js](#nodejs_create_subproperties)
+
+### Example Request/Response
+
+#### Request:
+
+    //Note the use of square brackets for specifying multiple nested objects
+    curl -X POST "https://api.usergrid.com/your-org/your-app/items" -d '{"varieties":[{"name":"1%","price" : "3.25", "sku" : "0393847575533445"},{"name" : "whole", "price" : "3.85", "sku" : "0393394956788445"}, {"name" : "skim", "price" : "4.00", "sku" : "0390299933488445"}]}'
+
+#### Response:
+
+    { 
+        "action" : "post", 
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+        "params" : { }, 
+        "path" : "/items", 
+        "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+        "entities" : [ { 
+            "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1374187231666, 
+            "modified" : 1374187231666, 
+            "metadata" : { 
+                "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+            }, 
+            "name" : "milk", 
+            "varieties" : [ { 
+                "name" : "1%", 
+                "price" : "3.25", 
+                "SKU" : "0393847575533445" 
+            }, { 
+                "name" : "whole", 
+                "price" : "3.85", 
+                "SKU" : "0393394956788445" 
+            }, { 
+                "name" : "skim", 
+                "price" : "4.00", 
+                "SKU" : "0390299933488445" 
+            } ] 
+        } ], 
+        "timestamp" : 1374187450826, 
+        "duration" : 50, 
+        "organization" : "your-org", 
+        "applicationName" : "your-app" 
+    }
+
+### Request Syntax
+
+    curl -X POST https://api.usergrid.com/<org>/<app>/<collection>/ -d '{"name" : <entity_name>, <property> : [{<sub_property>}, {<sub_property>}...]}'
+
+### Parameters
+
+  -----------------------------------------------------------------------------------------------------
+  Parameter       Description
+  --------------- -------------------------------------------------------------------------------------
+  org             Organization UUID or name
+
+  app             Application UUID or name
+
+  collection      The UUID or name of the collection to add the new entity to
+
+  entity\_name    The name of the new entity
+
+  property        The name of the entity property that will contain the nested JSON object or array
+
+  sub\_property   Entity properties of the nested object, as a set of key-value pairs in the format:\
+                  *{\<property\> : \<value\>, \<property\> : \<value\> ...}*
+  -----------------------------------------------------------------------------------------------------
+
+This example uses the [Apache Usergrid iOS SDK](/app-services-sdks#ios).
+
+### Example Request/Response
+
+#### Request:
+
+    -(NSString*)newEntity {
+        
+        //Initialize an object for the new entity to be created
+        NSMutableDictionary *entity = [[NSMutableDictionary alloc] init ];
+        
+        //Initialize an object for each nested variety object
+        NSMutableDictionary *variety_1 = [[NSMutableDictionary alloc] init ];
+        NSMutableDictionary *variety_2 = [[NSMutableDictionary alloc] init ];
+        NSMutableDictionary *variety_3 = [[NSMutableDictionary alloc] init ];
+            
+        //Initialize an array to hold the nested variety objects
+        NSMutableArray *variety_list = [[NSMutableArray alloc] init];
+        
+        [variety_1 setObject:@"1%" forKey:@"name"];
+        [variety_1 setObject:@"3.25" forKey:@"price"];
+        [variety_1 setObject:@"0393847575533445" forKey:@"sku"];    
+        
+        [variety_2 setObject:@"whole" forKey:@"name"];
+        [variety_2 setObject:@"3.85" forKey:@"price"];
+        [variety_2 setObject:@"0393394956788445" forKey:@"sku"];
+        
+        [variety_3 setObject:@"skim" forKey:@"name"];
+        [variety_3 setObject:@"4.00" forKey:@"price"];
+        [variety_3 setObject:@"0390299933488445" forKey:@"sku"];
+        
+        //Add the variety objects to the array
+        [variety_list addObject:variety_1];
+        [variety_list addObject:variety_2];
+        [variety_list addObject:variety_3];
+        
+        //Set the item entity properties
+        [entity setObject:@"item" forKey:@"type"]; //Required. New entity type to create
+        [entity setObject:@"milk" forKey:@"name"];
+        
+        //Set the variety_list array as the value of the 'varieties' property
+        [entity setObject:variety_list forKey:@"varieties"];
+        
+        //we recommend you call ApigeeClient from your AppDelegate. 
+        //for more information see the iOS SDK install guide: http://apigee.com/docs/app-services/content/installing-apigee-sdk-ios
+        //create an instance of AppDelegate
+        AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+        
+        //call createEntity to initiate the API call
+        ApigeeClientResponse *response = [appDelegate.dataClient createEntity:entity];
+        
+        @try {
+            //success
+        }
+        @catch (NSException * e) {
+            //fail
+        }
+        
+    }
+                    
+
+#### Response:
+
+    { 
+        "action" : "post", 
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+        "params" : { }, 
+        "path" : "/items", 
+        "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+        "entities" : [ { 
+            "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1374187231666, 
+            "modified" : 1374187231666, 
+            "metadata" : { 
+                "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+            }, 
+            "name" : "milk", 
+            "varieties" : [ { 
+                "name" : "1%", 
+                "price" : "3.25", 
+                "SKU" : "0393847575533445" 
+            }, { 
+                "name" : "whole", 
+                "price" : "3.85", 
+                "SKU" : "0393394956788445" 
+            }, { 
+                "name" : "skim", 
+                "price" : "4.00", 
+                "SKU" : "0390299933488445" 
+            } ] 
+        } ], 
+        "timestamp" : 1374187450826, 
+        "duration" : 50, 
+        "organization" : "your-org", 
+        "applicationName" : "your-app" 
+    }
+
+### SDK Method
+
+    (ApigeeClientResponse *)createEntity:(NSDictionary *)newEntity
+
+### Parameters
+
+  Parameter   Description
+  ----------- ----------------------------------------------------------------
+  newEntity   NSMutableDictionary object that contains the entity properties
+
+This example uses the [Apache Usergrid Android
+SDK](/app-services-sdks#android).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create client entity
+            String ORGNAME = "your-org"; 
+            String APPNAME = "your-app";
+            
+            ApigeeClient apigeeClient = new ApigeeClient(ORGNAME,APPNAME,this.getBaseContext());
+            DataClient client = apigeeClient.getDataClient();
+
+    //Create hashmap object for the properties of the new 'item' entity
+    Map<String, Object> properties = new HashMap<String, Object>();
+
+    //Create hashmap object for the each nested 'variety' object
+    Map<String, Object> variety_1 = new HashMap<String, Object>();
+    Map<String, Object> variety_2 = new HashMap<String, Object>();
+    Map<String, Object> variety_3 = new HashMap<String, Object>();
+            
+    //Add properties for each nested object
+    variety_1.put("name","1%");
+    variety_1.put("price","3.25");
+    variety_1.put("sku","0393847575533445");
+
+    variety_2.put("name","whole");
+    variety_2.put("price","3.85");
+    variety_2.put("sku","0393394956788445");
+
+    variety_3.put("name","skim");
+    variety_3.put("price","4.00");
+    variety_3.put("sku","0390299933488445");
+
+    //Create an ArrayList of the 'variety' objects
+    ArrayList<Map<String, Object>> variety_list = new ArrayList<Map<String, Object>>();
+    variety_list .add(variety_1);
+    variety_list .add(variety_2);
+    variety_list .add(variety_3);
+
+    //Add the required properties for the 'item' entity
+    properties.put("name", "milk");
+    properties.put("type", "item");
+
+    //Add 'variety_list' as the value of the 'varieties' property
+    properties.put("varieties", variety_list);
+
+    //call createEntityAsync to initiate the asynchronous API call
+    dataClient.createEntityAsync(properties, new ApiResponseCallback() {
+        
+        //If createEntityAsync fails, catch the error
+        @Override
+        public void onException(Exception e) { 
+            // Error
+        }
+        
+        //If createEntityAsync is successful, handle the response object
+        @Override
+        public void onResponse(ApiResponse response) {
+            try { 
+                if (response != null) {
+                    // Success
+                }
+            } catch (Exception e) { //The API request returned an error
+                    // Fail
+            }
+        }
+    });             
+                    
+
+#### Response:
+
+    {
+        "action":"post",
+        "application":"f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+        "entities":[{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        }],
+
+        "params":{},
+        "path":"/items",
+        "rawResponse":"{
+            "action" : "post",
+            "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0",
+            "params" : { },
+            "path" : "/items",
+            "uri" : "http://api.usergrid.com/your-org/your-app/items",
+            "entities" : [ {
+                "uuid" : "fd29157a-e980-11e2-afcc-652a12f1ce72",
+                "type" : "item",
+                "created" : 1373475098695,
+                "modified" : 1373475098695,
+                "metadata" : {
+                    "path" : "/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+                }
+                "varieties": [
+                    {
+                        "sku": "0393847575533445",
+                        "price": "3.25",
+                        "name": "1%"
+                    },
+                    {
+                        "sku": "0393394956788445",
+                        "price": "3.85",
+                        "name": "whole"
+                    },
+                    {
+                        "sku": "0390299933488445",
+                        "price": "4.00",
+                        "name": "skim"
+                    }
+                ]
+            } ],
+            "timestamp" : 1373475098689,
+            "duration" : 24,
+            "organization" : "your-org",
+            "applicationName" : "your-app"
+        }",
+        "uri":"http://api.usergrid.com/your-org/your-app/items",
+        "timestamp":1373475098689,
+        "entityCount":1,
+        "firstEntity":{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        },
+        "lastEntity":{
+            "Client":{
+                "accessToken":null,
+                "apiUrl":"http://api.usergrid.com",
+                "applicationId":"your-app",
+                "clientId":null,
+                "clientSecret":null,
+                "currentOrganization":null,
+                "loggedInUser":null,
+                "organizationId":"your-org"
+            },
+            "type":"item",
+            "uuid":"fd29157a-e980-11e2-afcc-652a12f1ce72",
+            "created":1373475098695,
+            "modified":1373475098695,
+            "metadata":{
+                "path":"/items/fd29157a-e980-11e2-afcc-652a12f1ce72"
+            }
+        },
+        "organization":"your-org",
+        "duration":24,
+        "applicationName":"your-app"
+    }
+                    
+
+### SDK Method
+
+Asynchronous:
+
+    createEntityAsync(Map<String, Object> properties, ApiResponseCallback callback)
+
+Synchronous:
+
+    ApiResponse createEntity(Map<String, Object> properties)
+
+### Parameters
+
+  Parameter    Description
+  ------------ ---------------------------------------------
+  properties   Object that contains the entity properties
+  callback     Callback function (asynchronous calls only)
+
+This example uses the [Apache Usergrid JavaScript (HTML5)
+SDK](/app-services-sdks#javascript).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create a client object with your organization name and application name.
+    var dataClient = new Usergrid.Client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+                
+    var options = {
+        method:'POST',
+        endpoint:'items',
+        body:{ 
+            name:'milk', 
+            "varieties" : [
+                    
+                {
+                    "name" : "1%",
+                    "price" : "3.25",
+                    "sku" : "0393847575533445"
+                },
+                {
+                    "name" : "whole",
+                    "price" : "3.85",
+                    "sku" : "0393394956788445"
+                },
+                {
+                    "name" : "skim",
+                    "price" : "4.00",
+                    "sku" : "0390299933488445"      
+                }
+            ]       
+        }
+    };
+
+    client.createEntity(options, function (error, cat) {
+        
+        if (error) {
+            //error
+        } else {
+            //success          
+        }
+    });
+                    
+
+#### Response:
+
+    Object {action: "post", application: "f34f4222-a166-11e2-a7f7-02e81adcf3d0", params: Object, path: "/items", uri: "http://api.usergrid.com/your-org/your-app/items"…}
+        action: "post"
+        application: "f34f4222-a166-11e2-a7f7-02e8js76g3d0" //your Apache Usergrid application uuid
+        applicationName: "your-app"
+        duration: 315
+        entities: Array[1] //array of entities successfully created
+            0: Object //entity 1
+                created: 1374099532148
+                metadata: Object
+                modified: 1374099532148
+                name: "milk"
+                price: "3.25"
+                type: "item"
+                uuid: "dc80834a-ef2e-11e2-8a77-cf8d4c2dbd49"
+                varieties: Array[3] //array of variety objects from variety_list
+                    0: Object
+                    sku: "0393847575533445"
+                    name: "1%"
+                    price: "3.25"
+                    1: Object
+                    sku: "0393394956788445"
+                    name: "whole"
+                    price: "3.85"
+                    2: Object
+                    sku: "0390299933488445"
+                    name: "skim"
+                    price: "4.00"
+                    length: 3
+        organization: "your-org"
+        params: Object
+        __proto__: Object
+            path: "/items"
+            timestamp: 1374099532139
+            uri: "http://api.usergrid.com/your-org/your-app/items"              
+                    
+
+### SDK Method
+
+    request(options, callback)
+
+### Parameters
+
++--------------------------------------+--------------------------------------+
+| Parameter                            | Description                          |
++======================================+======================================+
+| options                              | Object that contains the following   |
+|                                      | properties:                          |
+|                                      | -   endpoint: the collection to add  |
+|                                      |     the entities to                  |
+|                                      | -   method: the HTTP method for the  |
+|                                      |     request – in this case *POST*    |
+|                                      | -   body: the body of the request.   |
+|                                      |     In this case, a JSON-formatted   |
+|                                      |     set of objects containing entity |
+|                                      |     properties.                      |
++--------------------------------------+--------------------------------------+
+| callback                             | Callback function                    |
++--------------------------------------+--------------------------------------+
+
+This example uses the [Apache Usergrid RubyGem](/app-services-sdks#ruby).
+
+### Example Request/Response
+
+#### Request:
+
+
+    #Create a client object
+    usergrid_api = 'https://api.usergrid.com'
+    organization = 'your-org'
+    application = 'your-app'
+
+    client = Usergrid::Application.new "#{usergrid_api}/#{organization}/#{application}"
+
+    properties = {
+        name:'milk', 
+        varieties:[{
+            name:'1%',
+            price:'3.25',
+            sku:'0393847575533445'
+        },{
+            name:'whole',
+            price:'3.85',
+            sku:'0393394956788445'
+        },{
+            name:'skim',
+            price:'4.00',
+            sku:'0390299933488445'
+        }]
+    }
+
+    begin
+        # Call create_entity to initiate the API call
+        # and save the response
+    response = client.create_entity 'item', #{properties}
+        new_item=response.entity
+    rescue
+        #fail
+    end
+                    
+
+#### Response:
+
+    { 
+        "action" : "post", 
+        "application" : "f34f4222-a166-11e2-a7f7-02e81adcf3d0", 
+        "params" : { }, 
+        "path" : "/items", 
+        "uri" : "http://api.usergrid.com/your-org/your-app/items", 
+        "entities" : [ { 
+            "uuid" : "0d7cf92a-effb-11e2-917d-c5e707256e71", 
+            "type" : "item", 
+            "name" : "milk", 
+            "created" : 1374187231666, 
+            "modified" : 1374187231666, 
+            "metadata" : { 
+                "path" : "/items/0d7cf92a-effb-11e2-917d-c5e707256e71" 
+            }, 
+            "name" : "milk", 
+            "varieties" : [ { 
+                "name" : "1%", 
+                "price" : "3.25", 
+                "SKU" : "0393847575533445" 
+            }, { 
+                "name" : "whole", 
+                "price" : "3.85", 
+                "SKU" : "0393394956788445" 
+            }, { 
+                "name" : "skim", 
+                "price" : "4.00", 
+                "SKU" : "0390299933488445" 
+            } ] 
+        } ], 
+        "timestamp" : 1374187450826, 
+        "duration" : 50, 
+        "organization" : "your-org", 
+        "applicationName" : "your-app" 
+    }
+
+### SDK Method
+
+    create_entity(type, properties)
+
+### Properties
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  type         Entity type to create
+  properties   Object that contains the entity properties
+
+The example uses the [Apache Usergrid Node.js
+module](/app-services-sdks#nodejs).
+
+### Example Request/Response
+
+#### Request:
+
+    //Create a client object
+    var dataClient = new Usergrid.client({
+        orgName:'your-org',
+        appName:'your-app'
+    });
+
+    var options = {
+        method:'POST',
+        endpoint:'items',
+        body:{ 
+            name:'milk', 
+            varieties : [
+                    
+                {
+                    name : "1%",
+                    price : "3.25",
+                    sku : "0393847575533445"
+                },
+                {
+                    name : "whole",
+                    price : "3.85",
+                    sku : "0393394956788445"
+                },
+                {
+                    name : "skim",
+                    price : "4.00",
+                    sku : "0390299933488445"        
+                }
+            ]       
+        }
+    };
+
+    client.createEntity(options, function (error, cat) {
+        
+        if (error) {
+            //error
+        } else {
+            //success          
+        }
+    });
+                
+
+#### Response:
+
+    { action: 'post',
+      application: 'f34f4222-a166-11e2-a7f7-02e81adcf3d0',
+      params: {},
+      path: '/items',
+      uri: 'http://api.usergrid.com/your-org/your-app/items',
+      entities: 
+       [ { uuid: 'b3aad0a4-f322-11e2-a9c1-999e12039f87',
+           type: 'item',
+           name: 'milk',
+           created: 1374534114329,
+           modified: 1374534114329,
+           metadata: [Object],
+           varieties: [Object] } ],
+      timestamp: 1374534114326,
+      duration: 109,
+      organization: 'your-org',
+      applicationName: 'your-app' } 
+                    
+
+### SDK Method
+
+    createEntity(properties, callback)
+
+### Parameters
+
+  Parameter    Description
+  ------------ --------------------------------------------
+  properties   Object that contains the entity properties
+  callback     Callback function
+
+Add new comment
+---------------
+
+Your name
+
+Email
+
+Provide your email address if you wish to be contacted offline about
+your comment.\
+We will not display your email address as part of your comment.
+
+Comment \*
+
+We'd love your feedback and perspective! Please be as specific as
+possible.
+
+Word verification \*
+
+![Type the characters you see in this
+picture.](http://173.193.242.189:80/v1/captcha/131019b0bb7096f3fa.png)
+([verify using audio](#))
+
+Type the characters you see in the picture above; if you can't read
+them, submit the form and a new image will be generated. Not case
+sensitive.

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/creating-new-application-admin-console.md
----------------------------------------------------------------------
diff --git a/content/content/docs/creating-new-application-admin-console.md b/content/content/docs/creating-new-application-admin-console.md
new file mode 100644
index 0000000..5722f74
--- /dev/null
+++ b/content/content/docs/creating-new-application-admin-console.md
@@ -0,0 +1,55 @@
+---
+title: Creating a New Application with the Admin Console
+category: docs
+layout: docs
+---
+
+Creating a New Application with the Admin Console
+=================================================
+
+You can use the admin portal to create Apache Usergrid applications. An App
+Services application represents the data associated with your app.
+Through an application, you handle the entities associated with your
+app, including users, devices, events, and so on.
+
+> For more about how data in Apache Usergrid fits together, see [App
+> Services Data model](/app-services-data-model-1).
+
+Conceptually speaking, an application is like a database. You can create
+multiple applications within your Apache Usergrid organization. 
+
+ 
+
+You’ll typically have one Apache Usergrid application for each of your
+apps. But you might want to create different applications representing
+sandbox, development, and production instances of your app.
+
+To create a new application with the admin console:
+
+1.  In the admin console, from the dropdown menu at the far top left,
+    select the organization to which you will add the new application.
+2.  Click the **ADD NEW APP** button, located at the top of the screen,
+    next to the application drop-down.
+3.  In the dialog box, enter a new application name, then click the
+    **Create** button.
+4.  Your new application will automatically be selected in the
+    applications drop-down menu.
+
+### Next Steps
+
+After you've created a new application, finish up by thinking about the
+following:
+
+-   Have you taken steps to make your application secure?
+
+    If this is going to be a production application used by an app
+    publicly, be sure to configure security roles that provide only the
+    level of access your users will need. (You should never use a
+    sandbox application as a public database. A sandbox is for
+    experimenting with example data.)
+
+    For more on security, see [Securing your app](/securing-your-app).
+    For more about sandbox applications, see [Using a Sandbox
+    Application](/using-sandbox-application).
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/docs/data-model.md
----------------------------------------------------------------------
diff --git a/content/content/docs/data-model.md b/content/content/docs/data-model.md
new file mode 100644
index 0000000..2868477
--- /dev/null
+++ b/content/content/docs/data-model.md
@@ -0,0 +1,146 @@
+---
+title: Apache Usergrid Data model
+category: docs
+layout: docs
+---
+
+Apache Usergrid Data model
+==========================
+
+Apache Usergrid models the data for your apps as application-specific
+collections of data entities managed within an organization. The
+following is an overview of the component hierarchy that makes up the
+Apache Usergrid data model, and is intended to help you understand how data
+is stored, managed and accessed in Apache Usergrid.
+
+Organizations
+-------------
+
+An *organization* contains one or more applications, and represents
+administrator-level access to Apache Usergrid. Multiple Apache Usergrid
+accounts may be given administrator access to an organization. App
+Services accounts can also be members of multiple organizations.
+
+An organization with the same name as your username is automatically
+created for you when you sign up for Apache Usergrid. By default, you are
+assigned as the administrator of this organization.
+
+Applications
+------------
+
+In Apache Usergrid, you can create one or more *applications* within an
+organization. Applications represent an instance of application data
+associated with an app, and you may create as many applications as you
+wish. This allows you to utilize the Apache Usergrid backend in a way that
+corresponds to your development process. For example, you might create
+separate applications for development and production instances of your
+app. By default, all organization have a sandbox application (see [Using
+a Sandbox Application](/using-sandbox-application) for important
+information regarding the default sandbox application).
+
+Each application provides the infrastructure for storing, retrieving,
+updating and deleting the entities and collections associated with a
+specific app instance.
+
+Collections
+-----------
+
+Apache Usergrid stores all data entities in uniquely-named *collections*.
+Collections are created automatically by Apache Usergrid for every entity
+type, including custom entities, and are named using the plural form of
+the entity type they store. For example, all user entities are stored in
+the /users collection, and all device entities in the /devices
+collection. An entity can belong to only one collection.
+
+Currently, collections cannot be renamed or deleted; however, all of the
+data entities in a collection can be updated or deleted.
+
+Entities
+--------
+
+An *entity* represents a basic, JSON-formatted data object that is used
+by your app, such as a user, device, event or asset. Unlike records in
+conventional database tables, which have a very rigid schema that
+defines what they can store and how they can be related to each other,
+Apache Usergrid entities are very flexible. This makes Apache Usergrid a
+powerful solution for managing data for modern applications, where
+people, places, and content often need to be associated in a way that is
+most appropriate from a user perspective.
+
+Here is a simple example of an entity:
+
+    {
+      "uuid" : "5c0c1789-d503-11e1-b36a-12313b01d5c1",
+      "type" : "user",
+      "created" : 1343074620374,
+      "modified" : 1355442681264,
+      "username" : "john.doe",
+      "email" : "jdoe57@mail.com",
+      "name" : "John Doe"
+    }
+
+### Default entities
+
+The following entity types are predefined in Apache Usergrid. For more
+details, see [Default Data Entities](/default-data-entities).
+
+-   user
+-   group
+-   role
+-   application
+-   activity
+-   device
+-   asset
+-   folder
+-   event
+-   notifier
+-   notification
+-   receipt
+
+Properties
+----------
+
+A data entity is a set of *properties*, which can each contain any
+JSON-representable value, including a nested JSON document. All entities
+have predefined properties, but you are free to define any number of
+custom properties for any entity. Default properties require specific
+data types for validation purposes, while custom properties can be any
+JSON data type. Most predefined and all application-defined entity
+properties are indexed, allowing you to query collections quickly and
+easily.
+
+Individual or multiple properties can be updated in a single operation;
+however, partial updating of nested JSON documents is not supported.
+This means that all properties of a nested document must be provided in
+a PUT request for the update of the nested document to be processed,
+even if the some of the values have not changed.
+
+### Default properties
+
+At a minimum, each entity is defined by two properties, both of which
+are strings: type and UUID. The entity 'type' is the singular form of
+the collection the entity is stored in. For example, an entity in the
+'users' collection has an entity type of 'user'. The entity 'UUID' is an
+immutable universally unique identifier, which can be used to reference
+the entity. A UUID is automatically generated by Apache Usergrid for every
+entity when it is created. You can also create custom entities and
+entity properties; however, Apache Usergrid reserves certain entity types
+with pre-defined properties by default. For a complete list of reserved
+entities and properties, see [Default Data
+Entities](/default-data-entities).
+
+When you access the system via the API, you’ll always provide your
+organization UUID or name, application UUID or name, and typically the
+UUID or name of the entity you’re modifying or retrieving.
+
+All entities have the following default properties:
+
+  Property   Type     Description
+  ---------- -------- -------------------------------------------------------------------------------------------------------------------------------
+  uuid       UUID     Entity unique id
+  type       string   entity type (for example, user)
+  created    long     [UTC timestamp](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) in milliseconds of when the entity was created
+  modified   long     [UTC timestamp](http://en.wikipedia.org/wiki/Coordinated_Universal_Time) in milliseconds of when the entity was last modified
+
+Dynamic entities also have an optional name property that is a string
+identifier.


[27/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/community/index.html
----------------------------------------------------------------------
diff --git a/content/publish/community/index.html b/content/publish/community/index.html
new file mode 100644
index 0000000..320f6c6
--- /dev/null
+++ b/content/publish/community/index.html
@@ -0,0 +1,578 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="utf-8">
+    <title>Apache Usergrid (incubating) — </title>
+    <meta http-equiv="x-ua-compatible" content="ie=edge" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
+    <meta name="keywords" content="Apache Usergrid, Usergrid, BaaS, Backend-as-a-Service">
+    <meta name="description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <meta property="og:title" content="Apache Usergrid" />
+    <meta property="og:description" content="An open-source Backend-as-a-Service stack for web & mobile applications, based on RESTful APIs." />
+    <!-- Loading Typekit -->
+    <script type="text/javascript" src="//use.typekit.net/ddl7izx.js"></script>
+    <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+    <!-- Loading Bootstrap -->
+    <link href="/bootstrap/bootstrap.min.css" rel="stylesheet" type='text/css'>
+    <link href="/css/bootflat.css" rel="stylesheet" type='text/css'>
+    <link href="/css/usergrid-site.css" rel="stylesheet" type='text/css'>
+    <link href="https://fonts.googleapis.com/css?family=Open+Sans:200,400,500,300,600,800,700,400italic,600italic,700italic,800italic,300italic" rel="stylesheet" type="text/css">
+    <link href="/css/font-awesome.min.css" rel="stylesheet" type='text/css'>
+
+    
+    <script type="text/javascript"
+      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBYSxyIKS22zC4wSLFXZGR8QKXbGWLFwYw&sensor=false">
+    </script>
+    <script type="text/javascript">
+
+        var points = [
+                new google.maps.LatLng(-33.8674869,151.2069902),
+                new google.maps.LatLng(40.2338438,-111.6585337),
+                new google.maps.LatLng(37.6909682,-122.3107517),
+                new google.maps.LatLng(-37.6825027,176.1880232),
+                new google.maps.LatLng(-0.023559,37.906193),
+                new google.maps.LatLng(41.00527,28.97696),
+                new google.maps.LatLng(47.1569444,27.5902778),
+                new google.maps.LatLng(49.261226,-123.1139268),
+                new google.maps.LatLng(55.378051,-3.435973),
+                new google.maps.LatLng(30.3321838,-81.65565099999999),
+                new google.maps.LatLng(30.267153,-97.7430608),
+                new google.maps.LatLng(-14.235004,-51.92528),
+                new google.maps.LatLng(41.76371109999999,-72.6850932),
+                new google.maps.LatLng(53.3498053,-6.2603097),
+                new google.maps.LatLng(-37.814107,144.96328),
+                new google.maps.LatLng(26.820553,30.802498),
+                new google.maps.LatLng(34.0522342,-118.2436849),
+                new google.maps.LatLng(37.566535,126.9779692),
+                new google.maps.LatLng(7.873053999999999,80.77179699999999),
+                new google.maps.LatLng(39.737567,-104.9847179),
+                new google.maps.LatLng(52.9399159,-73.5491361),
+                new google.maps.LatLng(40.7143528,-74.00597309999999),
+                new google.maps.LatLng(44.9374831,-93.20099979999999),
+                new google.maps.LatLng(38.963745,35.243322),
+                new google.maps.LatLng(35.7795897,-78.6381787),
+                new google.maps.LatLng(35.907757,127.766922),
+                new google.maps.LatLng(-6.2689913,106.8060388),
+                new google.maps.LatLng(27.3364347,-82.53065269999999),
+                new google.maps.LatLng(44.494887,11.3426163),
+                new google.maps.LatLng(39.952335,-75.16378900000001),
+                new google.maps.LatLng(37.09024,-95.712891),
+                new google.maps.LatLng(40.5852602,-105.084423),
+                new google.maps.LatLng(43.653226,-79.3831843),
+                new google.maps.LatLng(47.6062095,-122.3320708),
+                new google.maps.LatLng(31.046051,34.851612),
+                new google.maps.LatLng(51.41233,-0.300689),
+                new google.maps.LatLng(39.4699075,-0.3762881),
+                new google.maps.LatLng(51.51121389999999,-0.1198244),
+                new google.maps.LatLng(42.3556899,-83.361853),
+                new google.maps.LatLng(33.4483771,-112.0740373),
+                new google.maps.LatLng(45.5234515,-122.6762071),
+                new google.maps.LatLng(43.0730517,-89.4012302),
+                new google.maps.LatLng(36.1031378,-80.202394),
+                new google.maps.LatLng(37.7749295,-122.4194155),
+                new google.maps.LatLng(5.263234100000001,100.4846227),
+                new google.maps.LatLng(35.5950581,-82.5514869),
+                new google.maps.LatLng(35.86166,104.195397),
+                new google.maps.LatLng(34.4208305,-119.6981901),
+                new google.maps.LatLng(1.352083,103.819836),
+                new google.maps.LatLng(36.8507689,-76.28587259999999),
+                new google.maps.LatLng(22.396428,114.109497),
+                new google.maps.LatLng(48.856614,2.3522219),
+                new google.maps.LatLng(40.4167754,-3.7037902),
+                new google.maps.LatLng(18.5204303,73.8567437),
+                new google.maps.LatLng(36.1666667,-86.7833333),
+                new google.maps.LatLng(53.3498053,-6.2603097),
+                new google.maps.LatLng(26.0993883,-80.1343301),
+                new google.maps.LatLng(42.331427,-83.0457538),
+                new google.maps.LatLng(37.82206000000001,-122.272437),
+                new google.maps.LatLng(30.42130899999999,-87.2169149),
+                new google.maps.LatLng(44.4325,26.1038889),
+                new google.maps.LatLng(41.0700485,-81.49516210000002),
+                new google.maps.LatLng(12.9715987,77.5945627),
+                new google.maps.LatLng(53.41291,-8.24389),
+                new google.maps.LatLng(34.0583995,-106.8914159),
+                new google.maps.LatLng(-9.189967,-75.015152),
+                new google.maps.LatLng(55.6760968,12.5683371),
+                new google.maps.LatLng(53.9807737,-6.7148821),
+                new google.maps.LatLng(31.230416,121.473701),
+                new google.maps.LatLng(33.7489954,-84.3879824),
+                new google.maps.LatLng(8.4874949,76.948623),
+                new google.maps.LatLng(13.0524139,80.25082460000002),
+                new google.maps.LatLng(28.0836269,-80.60810889999999),
+                new google.maps.LatLng(39.0457549,-76.64127119999999),
+                new google.maps.LatLng(17.385044,78.486671),
+                new google.maps.LatLng(-23.5489433,-46.6388182),
+                new google.maps.LatLng(52.09179,5.114569899999999),
+                new google.maps.LatLng(19.2667,76.7833),
+                new google.maps.LatLng(19.0759837,72.8776559),
+                new google.maps.LatLng(12.9715987,77.5945627),
+                new google.maps.LatLng(41.1566892,-8.6239254),
+                new google.maps.LatLng(39.90403,116.407526),
+                new google.maps.LatLng(42.3584308,-71.0597732),
+                new google.maps.LatLng(32.725409,-97.3208496),
+                new google.maps.LatLng(39.074208,21.824312),
+                new google.maps.LatLng(10.066049,123.538599),
+                new google.maps.LatLng(37.42410599999999,-122.1660756),
+                new google.maps.LatLng(36.204824,138.252924)
+              ];
+
+        var map;
+        var markers = [];
+        var iterator = 0;
+        var dropped = false;
+        var recentered = false;
+
+        function initialize() {
+            var mapOptions = {
+              center: new google.maps.LatLng(0,0),
+              //draggable: false,
+              //zoomControl: false,
+              scrollwheel: false,
+              streetViewControl: false,
+              mapTypeControl: false,
+              panControl: false,
+              //disableDoubleClickZoom: true,
+              zoom: 2,
+              //disableDefaultUI: true,
+              mapTypeId: google.maps.MapTypeId.ROADMAP
+            };
+            map = new google.maps.Map(document.getElementById("map-canvas"),
+                mapOptions);
+
+            google.maps.event.addDomListener(map, 'idle', function() {
+                        if (recentered == false) {
+                            map.setCenter(new google.maps.LatLng(20,0));
+                            recentered = true;
+                        }
+                    });
+
+            var bounds = new google.maps.LatLngBounds();
+
+            // Extend bounds with each point
+            for (var i = 0; i < points.length; i++) {
+            bounds.extend(points[i]);
+            }
+            map.fitBounds(bounds);
+
+            if (document.hasFocus()) {
+                dropped = true;
+                drop();
+            }
+
+
+        }
+        function drop() {
+            dropped = true;
+            for (var i = 0; i < points.length; i++) {
+                setTimeout(function() {
+                    addMarker();
+                }, i * 50);
+            }
+        }
+
+        function addMarker() {
+            markers.push(new google.maps.Marker({
+                position: points[iterator],
+                map: map,
+                draggable: false,
+                animation: google.maps.Animation.DROP
+            }));
+            iterator++;
+        }
+        
+        google.maps.event.addDomListener(window, 'load', initialize);
+        
+        window.onfocus = function () { 
+            if (dropped == false) {
+                drop(); 
+            }
+        };
+    </script>
+    
+
+    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
+    <!--[if lt IE 9]>
+      <script src="js/html5shiv.js"></script>
+      <script src="js/respond.min.js"></script>
+    <![endif]-->
+</head>
+<body>
+
+    <header class="navbar navbar-inverse navbar-fixed-top bf-docs-nav secondary" role="banner">
+    <div class="container">
+        <div class="navbar-header">
+            <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bf-navbar-collapse">
+                <span class="sr-only">Toggle navigation</span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+            </button>
+        </div>
+        <a href="/" class="navbar-brand">
+                <img id="home-logo" src="/img/apache_usergrid_logo_white_small.png" />
+            </a>
+        <nav class="collapse navbar-collapse bf-navbar-collapse" role="navigation">
+            <ul class="nav navbar-nav navbar-right">
+                <li class="active"><a href="/community/"><span class="icns icon-group"></span></a></li>
+                <li><a href="http://usergrid.readthedocs.org/" target="_blank"><span class="icns icon-book"></span></a></li>
+                <li><a href="http://github.com/apache/incubator-usergrid" target="_blank"><span class="icns icon-github-sign"></span></a></li>
+                <!--<li><a href="https://trello.com/b/exQmJIOn/usergrid" target="_blank"><span class="icns icon-trello"></span></a></li>-->
+                <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank"><span class="icns icon-bug"></span></a></li>
+                <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank"><span class="icns icon-stackexchange"></span></a></li>
+                <li><a href="/community/#live"><span class="icns icon-comments"></span></a></li>
+                <!--<li><a href="https://groups.google.com/forum/#!forum/usergrid" target="_blank"><span class="icns icon-envelope"></span></a></li>-->
+                <li><a href="https://twitter.com/usergrid" target="_blank"><span class="icns icon-twitter"></span></a></li>
+                <li><a href="https://cwiki.apache.org/confluence/display/usergrid/" target="_blank"><span class="icns icon-wiki"></span></a></li>
+                <li><a href="/releases/"><span class="icns icon-releases"></span></a></li>
+            </ul>
+        </nav>
+    </div>
+    </header>
+
+
+
+
+
+<div id="map-canvas" style="width: 100%;"></div>
+
+<section class="bf-tagline">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2>The Apache Usergrid community has members in 170+ cities in 30 countries on 6 continents</h2>
+			</div>
+		</div>
+	</div>
+</section>
+
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12" id="events">
+    	    	<h2 class="icns-calendar"><span>Events</span></h2>
+			</div>
+		</div>
+		<div class="row">
+    	<div class="col-md-3 done">
+    	    	<h3><a href=http://events.linuxfoundation.org/events/apachecon-north-america/">ApacheCon Denver</a><small>April 7-9</small></h3>
+    	    	<p>Featuring our very own Dave Johnson who will deliver a talk on <a href="http://www.slideshare.net/snoopdave/how-to-contribute-to-apache-usergrid">"How to contribute to Apache Usergrid"</a><p>
+			</div>
+      <div class="col-md-3 done">
+        <h3>Seoul Hack Day #1 <small>January 24</small></h3>
+        <p>KT is hosting a Usergrid evening in Gangnam, Seoul, South Korea! <a href="http://onoffmix.com/event/22000">Register on OnOffMix.com</a><p>
+      </div>
+			<div class="col-md-3 done">
+    	    	<h3>SF Bay Area Meetup #1 <small>January 23</small></h3>
+    	    	<p>Can’t join us for the afternoon hack day? We’ll host an evening meetup right afterwards! Or join us for both! <a href="http://www.meetup.com/apache-usergrid-bay-area/events/155130862/">Register on Meetup.com</a><p>
+			</div>
+			<div class="col-md-3">
+				<h3>&nbsp;</h3>
+    	    	<p><i>Want to organize a Usergrid event? <a href="mailto:timanglade@apache.org">Contact us!</a></i><p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12" id="live">
+    	    	<h2 class="icns-chat"><span>Live Chat</span></h2>
+			</div>
+		</div>
+		<div class="row">
+    	<div class="col-md-3 done">
+    	    	<h3><a href="http://events.linuxfoundation.org/events/apachecon-north-america/">HipChat</a></h3>
+    	    	<p>Much of the Usergrid team hangs around in this HipChat Room: <a href="http://www.hipchat.com/goLqupL1B" target="_blank">http://www.hipchat.com/goLqupL1B</a>. Come by and chat for a spell!<p>
+		</div>
+      	<div class="col-md-3 done">
+        	<h3>IRC</h3>
+        	<p>Fire up your favorite IRC client and check us out on the <a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank">#usergrid</a> channel.  Get questions answered or just talk Usergrid.<p>
+      </div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-envelope" id="mailing-lists"><span>Mailing-lists</span></h2>
+			</div>
+		</div>
+		<div class="row">
+	    	<div class="col-md-4">
+	    		<h3>Users</h3>
+	    		<p><em>Perfect if you build apps against Apache Usergrid or deploy Apache Usergrid.</em></p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:user-subscribe@usergrid.incubator.apache.org">user-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-user/">read the archives</a>.</p>
+			</div>
+	    	<div class="col-md-4">
+	    		<h3>Dev</h3>
+	    		<p><em>If you are building contributions & modifications to Apache Usergrid’s stack, portal, cli and SDKs, this is the list for you.</em><p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:dev-subscribe@usergrid.incubator.apache.org">dev-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-dev/">read the archives</a>.</p>
+			</div>
+	    	<div class="col-md-4">
+	    		<h3>Commits</h3>
+	    		<p><em>This list receives an email whenever new code is contributed to Apache Usergrid.</em><p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:commits-subscribe@usergrid.incubator.apache.org">commits-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-commits/">read the archives</a>.</p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-briefcase" id="deployments"><span>Deployments</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<a href="http://baas.io">
+	    	    <div class="col-md-3">
+	    	    	<h3>baas.io (Korea Telecom)</h3>
+	    	    	<p>Korea Telecom uses Apache Usergrid as the core of its public mobile application development platform baas.io, in operation since 2012.<p>
+				</div>
+			</a>
+			<a href="http://globo.com">
+				<div class="col-md-3">
+	    	    	<h3>Globo.com</h3>
+	    	    	<p>Brazilian media conglomerate Globo uses Apache Usergrid as part of its internal publishing platform for globo.com<p>
+				</div>
+			</a>
+			<a href="http://developers.apigee.com">
+				<div class="col-md-3">
+					<h3>Apigee</h3>
+	    	    	<p>Californian startup Apigee uses Apache Usergrid as a component of its cloud developer platform<p>
+				</div>
+			</a>
+			<a href="http://easemob.com">
+			<h3>Easemob</h3>
+    	    	<p>Easemob uses Apache Usergrid as part of its <a href="http://easemob.com">IM Cloud development platform</a>, which provides cloud service for app developers to integrate IM service in munites.<p> 
+			</div>
+			</a>
+			<div class="col-md-3">
+				<h3>&nbsp;</h3>
+    	    	<p><i>Want to be added to this list? <a href="mailto:timanglade@apache.org">Contact us!</a></i><p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community committers">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-group" id="committers"><span>Committers</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/alberto.jpg" />
+				<p>Alberto Leal</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/alex.png" />
+				<p>Alex Karasulu</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Askhat Asanaliev</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/dave.jpg" />
+				<p>Dave Johnson</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/ed.jpg" />
+				<p>Ed Anuff</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Furkan Bicak</p>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/grey.png" />
+				<p>George Reyes</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/nate.jpg" />
+				<p>Nate McCall</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/rod.jpg" />
+				<p>Rod Simpson</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/scott.jpg" />
+				<p>Scott Ganyo</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/stliu.jpg" />
+				<p>Shaozhuang Liu</p>
+			</div>
+            <div class="col-md-2 text-center">
+				<img src="/img/shawn.jpg" />
+				<p>Shawn Feldman</p>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/sungju.jpg" />
+				<p>Sungju Jin</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/tim.jpg" />
+				<p>Tim Anglade</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/todd.jpg" />
+				<p>Todd Nine</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Yigit Sapli</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/jeff.jpg" />
+				<p>Jeff West</p>
+			</div>
+			<div class="col-md-2 text-center">
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community tools">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-tools" id="tools"><span>Tools</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<a href="http://www.jetbrains.com/idea/" target="_blank"><img src="/img/intellij.png" /></a>
+				<p>IntelliJ IDEA</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<a href="http://yourkit.com/" target="_blank"><img src="/img/yourkit.jpeg" /></a>
+				<p>YourKit Java Profiler</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<a href="http://structure101.com/" target="_blank"><img src="/img/structure101.png" /></a>
+				<p>structure101</p>
+			</div>
+		</div>
+		These great companies have provided free product licenses to the Apache Usergrid team. We use these tools and love them.  Thank you!
+	</div>
+</section>
+
+
+
+
+<footer class="bf-footer" role="contentinfo">
+    <div class="container">
+        <div class="row">
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="/">Home</a></li>
+                    <li class="nav-header"><a href="/community/">Community</a></li>
+                        <li><a href="/community/#events">Events</a></li>
+                        <li><a href="/community/#mailing-lists">Mailing Lists</a></li>
+                        <li><a href="/community/#deployments">Deployments</a></li>
+                        <li><a href="/community/#committers">Commiters</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header"><a href="https://github.com/apache/incubator-usergrid/" target="_blank">Code</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack" target="_blank">Server Stack</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/portal" target="_blank">Admin Portal</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/ugc" target="_blank">ugc command line</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ios" target="_blank">iOS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/android" target="_blank">Android SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/html5-javascript" target="_blank">HTML5/JS SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/nodejs" target="_blank">node.js module</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby-on-rails" target="_blank">Ruby on Rails gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/ruby" target="_blank">Ruby gem</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/php" target="_blank">PHP SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/java" target="_blank">Java SDK</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/sdks/dotnet" target="_blank">.NET / Windows SDK</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Resources</li>
+                    <li><a href="http://github.com/apache/incubator-usergrid" target="_blank">GitHub Code</a></li>
+                    <li><a href="http://usergrid.readthedocs.org/" target="_blank">Docs</a></li>
+                    <li><a href="https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=23&view=planning&selectedIssue=USERGRID-362&epics=visible" target="_blank">JIRA Bug Tracker</a></li>
+                    <li><a href="http://stackoverflow.com/search?q=usergrid" target="_blank">StackOverflow</a></li>
+                    <li><a href="/community/#live">Live Chat</a></li>
+                    <li><a href="https://twitter.com/usergrid" target="_blank">Twitter</a></li>
+                    <li><a href="http://incubator.apache.org/projects/usergrid.html" target="_blank">Podling Listing</a></li>
+                    <li><a href="https://github.com/apache/incubator-usergrid/blob/master/stack#requirements" target="_blank">Getting Started</a></li>
+                    <li><a href="https://cwiki.apache.org/confluence/display/usergrid/GitHub+Based+Contribution+Workflow" target="_blank">Contribution Guidelines</a></li>
+                </ul>
+            </div>
+            <div class="col-md-2">
+                <ul class="nav nav-list">
+                    <li class="nav-header">Apache</li>
+                    <li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+                    <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a></li>
+                    <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a></li>
+                    <li><a href="http://www.apache.org/security/">Security</a></li>
+                    <li><a href="http://www.apache.org/" target="_blank">Apache Foundation</a></li>
+                </ul>
+            </div>
+            <div class="col-md-4">
+                <a class="twitter-timeline" href="https://twitter.com/search?q=%23usergrid" data-widget-id="401499136807038976"  data-related="usergrid" height="400px" style="overflow:hidden">Tweets about "usergrid"</a>
+                <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+            </div> 
+        <!--
+            <div class="col-md-4">
+                <div class="input-group form-search">
+                    <input type="text" class="form-control search-query">
+                    <span class="input-group-btn">
+                        <button type="submit" class="btn btn-primary" data-type="last">Search</button>
+                    </span>
+                </div>
+            </div> -->
+        </div> 
+        <div class="row">
+            <div id="copyright">
+                <img src="/img/egg-logo.png" /><br/><br/>
+                <p>Apache Usergrid is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p>
+                <p>Copyright © 2013 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.<br>
+                Apache and the Apache feather logos are trademarks of The Apache Software Foundation.</p>
+                <p class="credits">Site designed & assembled with love by <a href="https://github.com/ryuneeee">@ryuneeee</a> + <a href="https://github.com/realbeast">@realbeast</a> + <a href="https://twitter.com/timanglade">@timanglade</a>.</p>
+            </div>
+        </div>
+    </div>
+</footer>
+
+<script type="text/javascript" src="/js/head.js"></script>
+<script type="text/javascript">
+    head.js("/js/jquery-1.10.1.min.js", "/js/bootstrap.min.js", "/js/usergrid-site.js");
+</script>
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-45815079-1', 'apache.org');
+  ga('send', 'pageview');
+
+</script>
+
+
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat-extensions.css
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat-extensions.css b/content/publish/css/bootflat-extensions.css
new file mode 100644
index 0000000..513ecaa
--- /dev/null
+++ b/content/publish/css/bootflat-extensions.css
@@ -0,0 +1,356 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $bubble
+\*------------------------------------*/
+.bubble-body {
+    position: relative;
+    padding: 3px;
+    background-color: #ecf0f1;
+    border-radius: 3px;
+    overflow: visible;
+}
+.pull-left ~ .bubble-body {
+    margin-left: 60px;
+}
+.pull-right ~ .bubble-body {
+    margin-right: 60px;
+}
+.bubble-body .bubble-inner {
+    min-height: 32px;
+    border: 1px solid #d3d7d7;
+    background-color: #fbfbfb;
+}
+.bubble-body .bubble-heading {
+    padding: 0 10px;
+    border-bottom: 1px solid #d3d7d7;
+    background-color: #f4f4f4;
+    font-size: 12px;
+    font-weight: bold;
+    color: #222;
+    overflow: hidden;
+    white-space: nowrap;
+    text-overflow: ellipsis;
+    height: 33px;
+    line-height: 33px;
+}
+.bubble-body .bubble-content {
+    padding: 10px;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.7;
+}
+.bubble-body .bubble-inner {
+    margin-bottom: 0;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.bubble-body .bubble-inner .bubble {
+    margin: 0 10px;
+    padding-top: 10px;
+    border-top: 1px solid #ecf0f1;
+}
+.bubble-body .bubble-inner .bubble .bubble {
+    margin: 0;
+}
+.bubble-body .bubble-inner .bubble-body:before,
+.bubble-body .bubble-inner .bubble-body:after {
+    display: none;
+}
+.bubble-body .bubble-inner .bubble-body,
+.bubble-body .bubble-inner .bubble-inner {
+    padding: 0;
+    border: none;
+    background-color: transparent;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-heading {
+    padding: 0;
+    border-bottom: none;
+    background-color: transparent;
+    height: auto;
+    line-height: normal;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-content {
+    padding: 0;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.5;
+}
+.bubble-arrow-left:before,
+.bubble-arrow-right:after {
+    position: absolute;
+    top: 15px;
+    content: "";
+    display: block;
+    height: 0;
+    width: 0;
+    border-width: 10px;
+    border-style: solid;
+}
+.bubble-arrow-left:before {
+    border-color: transparent #ecf0f1 transparent transparent;
+    left: -20px;
+}
+.bubble-arrow-right:after {
+    border-color: transparent transparent transparent #ecf0f1;
+    right: -20px;
+}
+/*------------------------------------*\
+    $breadcrumb-arrow
+\*------------------------------------*/
+.breadcrumb-arrow {
+    padding: 0;
+    list-style:none;
+    background-color: #ecf0f1;
+    height:36px;
+    line-height: 36px;
+}
+.breadcrumb-arrow li:first-child a {
+    border-top-left-radius: 4px;
+    border-bottom-left-radius: 4px;
+}
+.breadcrumb-arrow li,
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li span{
+    display:-moz-inline-box;
+    display:inline-table;
+    display:inline-block;
+    zoom:1;
+    *display:inline;
+    vertical-align:top;
+}
+.breadcrumb-arrow li:not(:first-child) {
+    margin-left: -5px;
+}
+.breadcrumb-arrow li + li:before {
+    padding: 0;
+    content: "";
+}
+.breadcrumb-arrow li span {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li:not(:first-child) span {
+    padding:0 10px 0 25px;
+    height:35px;
+    line-height:35px;
+}
+.breadcrumb-arrow li:first-child a {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a {
+    position:relative;
+    border:1px solid #3da8e3;
+    color:#fff;
+    background-color:#3da8e3;
+    text-decoration:none;
+}
+.breadcrumb-arrow li [class^="icon-"], 
+.breadcrumb-arrow ul li [class*=" icon-"] {
+    top: 0;
+}
+.breadcrumb-arrow-arrow li:first-child a {
+    padding-left:10px;
+}
+.breadcrumb-arrow li a:before,
+.breadcrumb-arrow li a:after {
+    position:absolute;
+    top:0;
+    content:'';
+    width: 0;
+    height: 0;
+    border-top: 17px solid transparent;
+    border-bottom: 17px solid transparent;
+}
+.breadcrumb-arrow li a:before {
+    right: -10px;
+    border-left-width: 10px;
+    border-left-style:solid;
+    border-left-color:#3da8e3;
+    z-index:3;
+}
+.breadcrumb-arrow li a:after{
+    right: -11px;
+    border-left: 10px solid #2980b9;
+    z-index:2;
+}
+.breadcrumb-arrow li a:hover,
+.breadcrumb-arrow li a:focus {
+    background-color:#3598ce;
+    border: 1px solid #3598ce;
+}
+.breadcrumb-arrow li a:hover:before,
+.breadcrumb-arrow li a:focus:before {
+    border-left-color: #3598ce;
+}
+.breadcrumb-arrow li a:active {
+    background-color:#2980b9;
+    border: 1px solid #2980b9;
+}
+.breadcrumb-arrow li a:active:before,
+.breadcrumb-arrow li a:active:after {
+    border-left-color:#2980b9;
+}
+.breadcrumb-arrow li span{
+    color:#bdc3c7;
+}
+/*------------------------------------*\
+    $nav-tabs-panel
+\*------------------------------------*/
+.nav-tabs-panel,
+.nav-tabs-panel.nav-justified {
+    margin-bottom: 15px;
+    border-bottom: 1px solid #2986b9;
+    background-color: #ecf0f1;
+}
+.nav-tabs-panel .tab-default,
+.nav-tabs-panel.nav-justified .tab-default {
+    margin-right: 0;
+    padding: 11px 15px;
+    border-bottom: none;
+    color: #292929;
+}
+.nav-tabs-panel.nav-justified .active .tab-default,
+.nav-tabs-panel.nav-justified .active .tab-default:hover,
+.nav-tabs-panel.nav-justified .active .tab-default:focus,
+.nav-tabs-panel .active .tab-default,
+.nav-tabs-panel .active .tab-default:hover,
+.nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent #2986b9 transparent;
+    border-bottom-style:solid;
+    border-width: 0 0 3px 0;
+    color: #fff;
+    background-color: #3da8e3;
+    -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+            border-radius: 0;
+}
+.nav-tabs-panel li a:hover,
+.nav-tabs-panel li a:focus {
+    border-color: transparent transparent transparent;
+    background-color: transparent;
+}
+.nav-tabs-panel .open .dropdown-toggle,
+.nav-tabs-panel li.dropdown.open.active a:hover,
+.nav-tabs-panel li.dropdown.open.active a:focus {
+    color: #292929;
+    background-color: transparent;
+    border-color: transparent;
+}
+.nav-tabs-panel .dropdown-toggle .caret,
+.nav-tabs-panel .dropdown-toggle:hover .caret,
+.nav-tabs-panel .dropdown-toggle:focus .caret,
+.nav-tabs-panel li.dropdown.open .caret,
+.nav-tabs-panel li.dropdown.open.active .caret,
+.nav-tabs-panel li.dropdown.open a:hover .caret,
+.nav-tabs-panel li.dropdown.open a:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-tabs-panel .active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.nav-tabs-panel .dropdown-menu {
+    margin-top: 1px;
+}
+.nav-tabs-panel .dropdown-menu li a {
+    background-color: transparent;
+}
+.nav-tabs-panel .dropdown-menu li.active a {
+    background-color: #2986b9;
+}
+.nav-tabs-panel .dropdown-menu li a:hover,
+.nav-tabs-panel .dropdown-menu li a:focus {
+    background-color: #2986b9;
+}
+/*------------------------------------*\
+    $tabs-below
+\*------------------------------------*/
+.tabs-below .nav-tabs-panel {
+    margin-top: 15px;
+    margin-bottom: 0;
+    border-top: 1px solid #2986b9;
+    border-bottom:none;
+}
+.tabs-below .nav-tabs-panel li {
+    margin-top: 0;
+}
+.tabs-below .nav-tabs-panel li a:hover,
+.tabs-below .nav-tabs-panel li a:focus {
+    border-top-color: transparent;
+}
+.tabs-below .nav-tabs-panel .active .tab-default,
+.tabs-below .nav-tabs-panel .active .tab-default:hover,
+.tabs-below .nav-tabs-panel .active .tab-default:focus {
+    border-bottom-color: #2986b9;
+}
+.tabs-below .nav-tabs-panel .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+/*------------------------------------*\
+    $tabs-left and $tabs-right
+\*------------------------------------*/
+.tabs-left .nav-tabs-panel,
+.tabs-right .nav-tabs-panel {
+    position: relative;
+    border-bottom: none;
+    z-index: 20;
+}
+.tabs-left .nav-tabs-panel li,
+.tabs-right .nav-tabs-panel li {
+    float: none;
+}
+.tabs-left .nav-tabs-panel li .tab-default,
+.tabs-right .nav-tabs-panel li .tab-default {
+    min-width: 39px;
+    margin-bottom:0;
+}
+.tabs-left .nav-tabs-panel li .tab-default:hover,
+.tabs-left .nav-tabs-panel li .tab-default:focus,
+.tabs-right .nav-tabs-panel li .tab-default:hover,
+.tabs-right .nav-tabs-panel li .tab-default:focus {
+    border-color: transparent;
+}
+.tabs-left .nav-tabs-panel {
+    float: left;
+    margin-right: 15px;
+    border-right: 1px solid #2986b9;
+}
+.tabs-left .nav-tabs-panel li a {
+    margin-right: 0;
+}
+.tabs-left .nav-tabs-panel .active .tab-default,
+.tabs-left .nav-tabs-panel .active .tab-default:hover,
+.tabs-left .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent transparent #2986b9;
+    border-style: solid;
+    border-width: 0 0 0 3px;
+}
+.tabs-right .nav-tabs-panel {
+    float: right;
+    margin-left: 15px;
+    border-left: 1px solid #2986b9;
+}
+.tabs-right .nav-tabs-panel li a {
+    margin-left: 0;
+}
+.tabs-right .nav-tabs-panel .active .tab-default,
+.tabs-right .nav-tabs-panel .active .tab-default:hover,
+.tabs-right .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent #2986b9 transparent transparent;
+    border-style: solid;
+    border-width: 0 3px 0 0;
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat-extensions/index.html
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat-extensions/index.html b/content/publish/css/bootflat-extensions/index.html
new file mode 100644
index 0000000..513ecaa
--- /dev/null
+++ b/content/publish/css/bootflat-extensions/index.html
@@ -0,0 +1,356 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $bubble
+\*------------------------------------*/
+.bubble-body {
+    position: relative;
+    padding: 3px;
+    background-color: #ecf0f1;
+    border-radius: 3px;
+    overflow: visible;
+}
+.pull-left ~ .bubble-body {
+    margin-left: 60px;
+}
+.pull-right ~ .bubble-body {
+    margin-right: 60px;
+}
+.bubble-body .bubble-inner {
+    min-height: 32px;
+    border: 1px solid #d3d7d7;
+    background-color: #fbfbfb;
+}
+.bubble-body .bubble-heading {
+    padding: 0 10px;
+    border-bottom: 1px solid #d3d7d7;
+    background-color: #f4f4f4;
+    font-size: 12px;
+    font-weight: bold;
+    color: #222;
+    overflow: hidden;
+    white-space: nowrap;
+    text-overflow: ellipsis;
+    height: 33px;
+    line-height: 33px;
+}
+.bubble-body .bubble-content {
+    padding: 10px;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.7;
+}
+.bubble-body .bubble-inner {
+    margin-bottom: 0;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.bubble-body .bubble-inner .bubble {
+    margin: 0 10px;
+    padding-top: 10px;
+    border-top: 1px solid #ecf0f1;
+}
+.bubble-body .bubble-inner .bubble .bubble {
+    margin: 0;
+}
+.bubble-body .bubble-inner .bubble-body:before,
+.bubble-body .bubble-inner .bubble-body:after {
+    display: none;
+}
+.bubble-body .bubble-inner .bubble-body,
+.bubble-body .bubble-inner .bubble-inner {
+    padding: 0;
+    border: none;
+    background-color: transparent;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-heading {
+    padding: 0;
+    border-bottom: none;
+    background-color: transparent;
+    height: auto;
+    line-height: normal;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-content {
+    padding: 0;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.5;
+}
+.bubble-arrow-left:before,
+.bubble-arrow-right:after {
+    position: absolute;
+    top: 15px;
+    content: "";
+    display: block;
+    height: 0;
+    width: 0;
+    border-width: 10px;
+    border-style: solid;
+}
+.bubble-arrow-left:before {
+    border-color: transparent #ecf0f1 transparent transparent;
+    left: -20px;
+}
+.bubble-arrow-right:after {
+    border-color: transparent transparent transparent #ecf0f1;
+    right: -20px;
+}
+/*------------------------------------*\
+    $breadcrumb-arrow
+\*------------------------------------*/
+.breadcrumb-arrow {
+    padding: 0;
+    list-style:none;
+    background-color: #ecf0f1;
+    height:36px;
+    line-height: 36px;
+}
+.breadcrumb-arrow li:first-child a {
+    border-top-left-radius: 4px;
+    border-bottom-left-radius: 4px;
+}
+.breadcrumb-arrow li,
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li span{
+    display:-moz-inline-box;
+    display:inline-table;
+    display:inline-block;
+    zoom:1;
+    *display:inline;
+    vertical-align:top;
+}
+.breadcrumb-arrow li:not(:first-child) {
+    margin-left: -5px;
+}
+.breadcrumb-arrow li + li:before {
+    padding: 0;
+    content: "";
+}
+.breadcrumb-arrow li span {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li:not(:first-child) span {
+    padding:0 10px 0 25px;
+    height:35px;
+    line-height:35px;
+}
+.breadcrumb-arrow li:first-child a {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a {
+    position:relative;
+    border:1px solid #3da8e3;
+    color:#fff;
+    background-color:#3da8e3;
+    text-decoration:none;
+}
+.breadcrumb-arrow li [class^="icon-"], 
+.breadcrumb-arrow ul li [class*=" icon-"] {
+    top: 0;
+}
+.breadcrumb-arrow-arrow li:first-child a {
+    padding-left:10px;
+}
+.breadcrumb-arrow li a:before,
+.breadcrumb-arrow li a:after {
+    position:absolute;
+    top:0;
+    content:'';
+    width: 0;
+    height: 0;
+    border-top: 17px solid transparent;
+    border-bottom: 17px solid transparent;
+}
+.breadcrumb-arrow li a:before {
+    right: -10px;
+    border-left-width: 10px;
+    border-left-style:solid;
+    border-left-color:#3da8e3;
+    z-index:3;
+}
+.breadcrumb-arrow li a:after{
+    right: -11px;
+    border-left: 10px solid #2980b9;
+    z-index:2;
+}
+.breadcrumb-arrow li a:hover,
+.breadcrumb-arrow li a:focus {
+    background-color:#3598ce;
+    border: 1px solid #3598ce;
+}
+.breadcrumb-arrow li a:hover:before,
+.breadcrumb-arrow li a:focus:before {
+    border-left-color: #3598ce;
+}
+.breadcrumb-arrow li a:active {
+    background-color:#2980b9;
+    border: 1px solid #2980b9;
+}
+.breadcrumb-arrow li a:active:before,
+.breadcrumb-arrow li a:active:after {
+    border-left-color:#2980b9;
+}
+.breadcrumb-arrow li span{
+    color:#bdc3c7;
+}
+/*------------------------------------*\
+    $nav-tabs-panel
+\*------------------------------------*/
+.nav-tabs-panel,
+.nav-tabs-panel.nav-justified {
+    margin-bottom: 15px;
+    border-bottom: 1px solid #2986b9;
+    background-color: #ecf0f1;
+}
+.nav-tabs-panel .tab-default,
+.nav-tabs-panel.nav-justified .tab-default {
+    margin-right: 0;
+    padding: 11px 15px;
+    border-bottom: none;
+    color: #292929;
+}
+.nav-tabs-panel.nav-justified .active .tab-default,
+.nav-tabs-panel.nav-justified .active .tab-default:hover,
+.nav-tabs-panel.nav-justified .active .tab-default:focus,
+.nav-tabs-panel .active .tab-default,
+.nav-tabs-panel .active .tab-default:hover,
+.nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent #2986b9 transparent;
+    border-bottom-style:solid;
+    border-width: 0 0 3px 0;
+    color: #fff;
+    background-color: #3da8e3;
+    -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+            border-radius: 0;
+}
+.nav-tabs-panel li a:hover,
+.nav-tabs-panel li a:focus {
+    border-color: transparent transparent transparent;
+    background-color: transparent;
+}
+.nav-tabs-panel .open .dropdown-toggle,
+.nav-tabs-panel li.dropdown.open.active a:hover,
+.nav-tabs-panel li.dropdown.open.active a:focus {
+    color: #292929;
+    background-color: transparent;
+    border-color: transparent;
+}
+.nav-tabs-panel .dropdown-toggle .caret,
+.nav-tabs-panel .dropdown-toggle:hover .caret,
+.nav-tabs-panel .dropdown-toggle:focus .caret,
+.nav-tabs-panel li.dropdown.open .caret,
+.nav-tabs-panel li.dropdown.open.active .caret,
+.nav-tabs-panel li.dropdown.open a:hover .caret,
+.nav-tabs-panel li.dropdown.open a:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-tabs-panel .active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.nav-tabs-panel .dropdown-menu {
+    margin-top: 1px;
+}
+.nav-tabs-panel .dropdown-menu li a {
+    background-color: transparent;
+}
+.nav-tabs-panel .dropdown-menu li.active a {
+    background-color: #2986b9;
+}
+.nav-tabs-panel .dropdown-menu li a:hover,
+.nav-tabs-panel .dropdown-menu li a:focus {
+    background-color: #2986b9;
+}
+/*------------------------------------*\
+    $tabs-below
+\*------------------------------------*/
+.tabs-below .nav-tabs-panel {
+    margin-top: 15px;
+    margin-bottom: 0;
+    border-top: 1px solid #2986b9;
+    border-bottom:none;
+}
+.tabs-below .nav-tabs-panel li {
+    margin-top: 0;
+}
+.tabs-below .nav-tabs-panel li a:hover,
+.tabs-below .nav-tabs-panel li a:focus {
+    border-top-color: transparent;
+}
+.tabs-below .nav-tabs-panel .active .tab-default,
+.tabs-below .nav-tabs-panel .active .tab-default:hover,
+.tabs-below .nav-tabs-panel .active .tab-default:focus {
+    border-bottom-color: #2986b9;
+}
+.tabs-below .nav-tabs-panel .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+/*------------------------------------*\
+    $tabs-left and $tabs-right
+\*------------------------------------*/
+.tabs-left .nav-tabs-panel,
+.tabs-right .nav-tabs-panel {
+    position: relative;
+    border-bottom: none;
+    z-index: 20;
+}
+.tabs-left .nav-tabs-panel li,
+.tabs-right .nav-tabs-panel li {
+    float: none;
+}
+.tabs-left .nav-tabs-panel li .tab-default,
+.tabs-right .nav-tabs-panel li .tab-default {
+    min-width: 39px;
+    margin-bottom:0;
+}
+.tabs-left .nav-tabs-panel li .tab-default:hover,
+.tabs-left .nav-tabs-panel li .tab-default:focus,
+.tabs-right .nav-tabs-panel li .tab-default:hover,
+.tabs-right .nav-tabs-panel li .tab-default:focus {
+    border-color: transparent;
+}
+.tabs-left .nav-tabs-panel {
+    float: left;
+    margin-right: 15px;
+    border-right: 1px solid #2986b9;
+}
+.tabs-left .nav-tabs-panel li a {
+    margin-right: 0;
+}
+.tabs-left .nav-tabs-panel .active .tab-default,
+.tabs-left .nav-tabs-panel .active .tab-default:hover,
+.tabs-left .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent transparent #2986b9;
+    border-style: solid;
+    border-width: 0 0 0 3px;
+}
+.tabs-right .nav-tabs-panel {
+    float: right;
+    margin-left: 15px;
+    border-left: 1px solid #2986b9;
+}
+.tabs-right .nav-tabs-panel li a {
+    margin-left: 0;
+}
+.tabs-right .nav-tabs-panel .active .tab-default,
+.tabs-right .nav-tabs-panel .active .tab-default:hover,
+.tabs-right .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent #2986b9 transparent transparent;
+    border-style: solid;
+    border-width: 0 3px 0 0;
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat-square.css
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat-square.css b/content/publish/css/bootflat-square.css
new file mode 100644
index 0000000..0e448ab
--- /dev/null
+++ b/content/publish/css/bootflat-square.css
@@ -0,0 +1,69 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $default-square
+\*------------------------------------*/
+.img-thumbnail-square,
+.btn-square,
+.btn-group-square .btn,
+.btn-group-square .dropdown-menu,
+.btn-group-square .btn,
+.btn-group-square .btn:first-child:not(:last-child),
+.btn-group-square .btn:last-child:not(:first-child),
+.table-bordered-square,
+.table-bordered-square tr:first-child th:first-child,
+.table-bordered-square tr:first-child th:last-child,
+.table-bordered-square tr:last-child td:first-child,
+.table-bordered-square tr:last-child td:last-child,
+.input-group-square .btn,
+.input-group-square .dropdown-menu,
+.input-group-square .form-control,
+.input-group-square .input-group-addon,
+.dropdown-menu-square,
+.dropdown-menu-square .dropdown-submenu .dropdown-menu,
+.form-square .form-control,
+.form-square .btn,
+.form-control-square,
+.label-square,
+.badge-square,
+.alert-square,
+.alert-square .btn,
+.progress-square,
+.breadcrumb-square,
+.tooltip-square .tooltip-inner,
+.popover-square,
+.nav-list-panel-square,
+.nav-tabs-square li > a,
+.tabs-below .nav-tabs-square li > a,
+.tabs-right .nav-tabs-square li > a,
+.tabs-left .nav-tabs-square li > a,
+.nav-tabs-square .dropdown-menu,
+.tabs-below .nav-tabs-square .dropdown-menu,
+.nav-pills-square li a,
+.nav-pills-square .dropdown-menu,
+.navbar-square,
+.navbar-square .dropdown-menu,
+.pagination-square li:first-child a, 
+.pagination-square li:first-child span,
+.pagination-square li:last-child a, 
+.pagination-square li:last-child span,
+.pager-square li a:hover,
+.pager-square li a:focus,
+.panel-group-square .panel,
+.panel-group-square .panel-heading,
+.panel-group-square .panel-body,
+/*------------------------------------*\
+    $extend-square
+\*------------------------------------*/
+.breadcrumb-arrow-square li:first-child a {
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/css/bootflat-square/index.html
----------------------------------------------------------------------
diff --git a/content/publish/css/bootflat-square/index.html b/content/publish/css/bootflat-square/index.html
new file mode 100644
index 0000000..0e448ab
--- /dev/null
+++ b/content/publish/css/bootflat-square/index.html
@@ -0,0 +1,69 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $default-square
+\*------------------------------------*/
+.img-thumbnail-square,
+.btn-square,
+.btn-group-square .btn,
+.btn-group-square .dropdown-menu,
+.btn-group-square .btn,
+.btn-group-square .btn:first-child:not(:last-child),
+.btn-group-square .btn:last-child:not(:first-child),
+.table-bordered-square,
+.table-bordered-square tr:first-child th:first-child,
+.table-bordered-square tr:first-child th:last-child,
+.table-bordered-square tr:last-child td:first-child,
+.table-bordered-square tr:last-child td:last-child,
+.input-group-square .btn,
+.input-group-square .dropdown-menu,
+.input-group-square .form-control,
+.input-group-square .input-group-addon,
+.dropdown-menu-square,
+.dropdown-menu-square .dropdown-submenu .dropdown-menu,
+.form-square .form-control,
+.form-square .btn,
+.form-control-square,
+.label-square,
+.badge-square,
+.alert-square,
+.alert-square .btn,
+.progress-square,
+.breadcrumb-square,
+.tooltip-square .tooltip-inner,
+.popover-square,
+.nav-list-panel-square,
+.nav-tabs-square li > a,
+.tabs-below .nav-tabs-square li > a,
+.tabs-right .nav-tabs-square li > a,
+.tabs-left .nav-tabs-square li > a,
+.nav-tabs-square .dropdown-menu,
+.tabs-below .nav-tabs-square .dropdown-menu,
+.nav-pills-square li a,
+.nav-pills-square .dropdown-menu,
+.navbar-square,
+.navbar-square .dropdown-menu,
+.pagination-square li:first-child a, 
+.pagination-square li:first-child span,
+.pagination-square li:last-child a, 
+.pagination-square li:last-child span,
+.pager-square li a:hover,
+.pager-square li a:focus,
+.panel-group-square .panel,
+.panel-group-square .panel-heading,
+.panel-group-square .panel-body,
+/*------------------------------------*\
+    $extend-square
+\*------------------------------------*/
+.breadcrumb-arrow-square li:first-child a {
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+
+


[28/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/publish/bootstrap/bootstrap/index.html
----------------------------------------------------------------------
diff --git a/content/publish/bootstrap/bootstrap/index.html b/content/publish/bootstrap/bootstrap/index.html
new file mode 100644
index 0000000..93c646f
--- /dev/null
+++ b/content/publish/bootstrap/bootstrap/index.html
@@ -0,0 +1,9 @@
+/*!
+ * Bootstrap v3.0.0
+ *
+ * Copyright 2013 Twitter, Inc
+ * Licensed under the Apache License v2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Designed and built with all the love in the world by @mdo and @fat.
+ *//*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 
 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decorati
 on:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select
 ,textarea{font-family:inherit;font-size:inherit;line-height:inherit}button,input,select[multiple],textarea{background-image:none}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16.099999999999998px;font-weight:200;line-height:1.4}@media(min-w
 idth:768px){.lead{font-size:21px}}small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-warning{color:#c09853}.text-danger{color:#b94a48}.text-success{color:#468847}.text-info{color:#3a87ad}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,o
 l{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}abbr.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height
 :1.25}blockquote p:last-child{margin-bottom:0}blockquote small{display:block;line-height:1.428571429;color:#999}blockquote small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small{text-align:right}blockquote.pull-right small:before{content:''}blockquote.pull-right small:after{content:'\00A0 \2014'}q:before,q:after,blockquote:before,blockquote:after{content:""}address{display:block;margin-bottom:20px;font-style:normal;line-height:1.428571429}code,pre{font-family:Monaco,Menlo,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre co
 de{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-lg-1,.col-lg-2,.col-lg-
 3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11{float:left}.col-xs-1{width:8.333333333333332%}.col-xs-2{width:16.666666666666664%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333333333%}.col-xs-5{width:41.66666666666667%}.col-xs-6{width:50%}.col-xs-7{width:58.333333333333336%}.col-xs-8{width:66.66666666666666%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333333334%}.col-xs-11{width:91.66666666666666%}.col-xs-12{width:100%}@media(min-width:768px){.container{max-width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11{float:left}.col-sm-1{width:8.333333333333332%}.col-sm-2{width:16.666666666666664%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333333333%}.col-sm-5{width:41.66666666666667%}.col-sm-
 6{width:50%}.col-sm-7{width:58.333333333333336%}.col-sm-8{width:66.66666666666666%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333333334%}.col-sm-11{width:91.66666666666666%}.col-sm-12{width:100%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-11{left:91.66666666666666%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-offse
 t-1{margin-left:8.333333333333332%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-11{margin-left:91.66666666666666%}}@media(min-width:992px){.container{max-width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11{float:left}.col-md-1{width:8.333333333333332%}.col-md-2{width:16.666666666666664%}.col-md-3{width:25%}.col-md-4{width:33.33333333333333%}.col-md-5{width:41.66666666666667%}.col-md-6{width:50%}.col-md-7{width:58.333333333333336%}.col-md-8{width:66.66666666666666%}.col-md-9{width:75%}.col-md-10{width:83.33333333333334%}.col-md-11{width:91.66666666666666%}.col
 -md-12{width:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.333333333333332%}.col-md-push-2{left:16.666666666666664%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333333333%}.col-md-push-5{left:41.66666666666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.333333333333336%}.col-md-push-8{left:66.66666666666666%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333333334%}.col-md-push-11{left:91.66666666666666%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-11{right:91.66666666666666%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offse
 t-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-11{margin-left:91.66666666666666%}}@media(min-width:1200px){.container{max-width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11{float:left}.col-lg-1{width:8.333333333333332%}.col-lg-2{width:16.666666666666664%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333333333%}.col-lg-5{width:41.66666666666667%}.col-lg-6{width:50%}.col-lg-7{width:58.333333333333336%}.col-lg-8{width:66.66666666666666%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333333334%}.col-lg-11{width:91.66666666666666%}.col-lg-12{width:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-
 2{left:16.666666666666664%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-11{left:91.66666666666666%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-5{margin-lef
 t:41.66666666666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-11{margin-left:91.66666666666666%}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table caption+thead tr:first-child th,.table colgroup+thead tr:first-child th,.table thead:first-child tr:first-child th,.table caption+thead tr:first-child td,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child td{border-top:0}.table tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.tabl
 e-condensed thead>tr>th,.table-condensed tbody>tr>th,.table-condensed tfoot>tr>th,.table-condensed thead>tr>td,.table-condensed tbody>tr>td,.table-condensed tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.activ
 e>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8;border-color:#d6e9c6}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6;border-color:#c9e2b3}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.tabl
 e>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede;border-color:#eed3d7}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc;border-color:#e6c1c7}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3;border-color:#fbeed5}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc;border-color:#f8e5be}@media(max-width:768px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-
 overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0;background-color:#fff}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>t
 d:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>thead>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>thead>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],sele
 ct[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color eas
 e-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-l
 eft:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:45px;line-height:45px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label{color:#c09853}.has-warning .form-control{border-color:#c09853;-webki
 t-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#a47e3c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #dbc59e}.has-warning .input-group-addon{color:#c09853;background-color:#fcf8e3;border-color:#c09853}.has-error .help-block,.has-error .control-label{color:#b94a48}.has-error .form-control{border-color:#b94a48;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#953b39;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #d59392}.has-error .input-group-addon{color:#b94a48;background-color:#f2dede;border-color:#b94a48}.has-success .help-block,.has-success .control-label{color:#468847}.has-success .form-control{border-color:#468847;-webkit-box-shadow:inset 0 1px 1px 
 rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#356635;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #7aba7b}.has-success .input-group-addon{color:#468847;background-color:#dff0d8;border-color:#468847}.form-control-static{padding-top:7px;margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding
 -top:7px;margin-top:0;margin-bottom:0}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-ima
 ge:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.dis
 abled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-warning{color:#fff;backg
 round-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{col
 or:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disab
 led,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disable
 d]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-xs{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{paddi
 ng:1px 5px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-
 webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e0
 16"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e04
 1"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-print:before{content:"\e045"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-mo
 ve:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:
 "\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder
 -open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-
 link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:
 "\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{
 content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-briefcase:before{content:"\1f4bc"}.glyphicon-calendar:before{content:"\1f4c5"}.glyphicon-pushpin:before{content:"\1f4cc"}.glyphicon-paperclip:before{content:"\1f4ce"}.glyphicon-camera:before{content:"\1f4f7"}.glyphicon-lock:before{content:"\1f512"}.glyphicon-bell:before{content:"\1f514"}.glyphicon-bookmark:before{content:"\1f516"}.glyphicon-fire:before{content:"\1f525"}.glyphicon-wrench:before{content:"\1f527"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000;border-right:4px solid transparent;border-bottom:0 dotted;border-l
 eft:4px solid transparent;content:""}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#fff;text-decoration:none;background-color:#428bca}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outl
 ine:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-default .caret{border-top-color:#333}.btn-primary .caret,.btn-success .caret,.btn-warning .care
 t,.btn-danger .caret,.btn-info .caret{border-top-color:#fff}.dropup .btn-default .caret{border-bottom-color:#333}.dropup .btn-primary .caret,.dropup .btn-success .caret,.dropup .btn-warning .caret,.dropup .btn-danger .caret,.dropup .btn-info .caret{border-bottom-color:#fff}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table
 ;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown
 -toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:5px 10px;padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-g
 roup-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>
 .btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified .btn{display:table-cell;float:none;width:1%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group.col{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:45px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:45px;line-height:45px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>
 .btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;text-align:center;background-color:#eee;border:1px solid #ccc;border-radiu
 s:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{m
 argin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radiu
 s:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav
 -pills>li>a{border-radius:5px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after
 {clear:both}.tabbable:before,.tabbable:after{display:table;content:" "}.tabbable:after{clear:both}.tab-content>.tab-pane,.pill-content>.pill-pane{display:none}.tab-content>.active,.pill-content>.active{display:block}.nav .caret{border-top-color:#428bca;border-bottom-color:#428bca}.nav a:hover .caret{border-top-color:#2a6496;border-bottom-color:#2a6496}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;z-index:1000;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-hea
 der{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-collapse .navbar-nav.navbar-left:first-child{margin-left:-15px}.navbar-collapse .navbar-nav.navbar-right:last-child{margin-right:-15px}.navbar-collapse .navbar-text:last-child{margin-right:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@
 media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;border-width:0 0 1px}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;z-index:1030}.navbar-fixed-bottom{bottom:0;margin-bottom:0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(
 min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webk
 it-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-
 menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-text{float:left;margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{margin-right:15px;margin-left:15px}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.n
 avbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e6e6e6}.navbar-default .navbar-nav>.dropdown>a:hover .caret,.navbar-default .navbar-nav>.dropdown>a:focus .caret{border-top-color:#333;border-bottom-color:#333}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.open>a .caret,.navbar-default .navbar-nav>.open>a:hover .caret,.navbar-default .navbar-nav>.open>a:focus .caret{border-top-color:#555;border-bottom-color:#555}.navbar-default .navbar-nav>.dropdown>a .caret{border-top-color:#777;border-bottom-color:#777}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav 
 .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navba
 r-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.dropdown>a:hover .caret{border-top-color:#fff;border-bottom-color:#fff}.navbar-inverse .nav
 bar-nav>.dropdown>a .caret{border-top-color:#999;border-bottom-color:#999}.navbar-inverse .navbar-nav>.open>a .caret,.navbar-inverse .navbar-nav>.open>a:hover .caret,.navbar-inverse .navbar-nav>.open>a:focus .caret{border-top-color:#fff;border-bottom-color:#fff}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-me
 nu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.paginatio
 n>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination
 -sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:
 #fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-heigh
 t:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.btn .badge{position:relative;top:-1px}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1{font-size:63px}}.thumbnail{display:inline-block;display:block;height:auto;max-width:100%;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:
 4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img{display:block;height:auto;max-width:100%}a.thumbnail:hover,a.thumbnail:focus{border-color:#428bca}.thumbnail>img{margin-right:auto;margin-left:auto}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#356635}.alert-info{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#2d6987}.alert-warning{color:#c09853;background-color:#fcf8e3;border-color:#fbe
 ed5}.alert-warning hr{border-top-color:#f8e5be}.alert-warning .alert-link{color:#a47e3c}.alert-danger{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.alert-danger hr{border-top-color:#e6c1c7}.alert-danger .alert-link{color:#953b39}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-moz-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:0 0}to{background-position:40px 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow
 :inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.act
 ive .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;-ms-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%
 ,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,2
 55,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(
 255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:
 hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background
 -color:#428bca;border-color:#428bca}.list-group-item.active .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:
 first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table{margin-bottom:0}.panel>.panel-body+.table{border-top:1px solid #ddd}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-title{margin-top:0;margin-bottom:0;font-size:16px}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #dd
 d}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#468847;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#fbeed5}.panel-warning>.panel-heading{color:#c09853;background-color:#fcf8e3;border-color:#fbeed5}.pane
 l-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#fbeed5}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#fbeed5}.panel-danger{border-color:#eed3d7}.panel-danger>.panel-heading{color:#b94a48;background-color:#f2dede;border-color:#eed3d7}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#eed3d7}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#eed3d7}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#3a87ad;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-co
 lor:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}body.modal-open,.modal-open .navbar-fixed-top,.modal-open .navbar-fixed-bottom{margin-right:15px}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-
 transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{z-index:1050;width:auto;padding:10px;margin-right:auto;margin-left:auto}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.
 modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{right:auto;left:50%;width:600px;padding-top:30px;padding-bottom:30px}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-ra
 dius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;displ
 ay:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bott
 om:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out 
 left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.5)),to(rgba(0,0,0,0.0001)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:-moz-linear
 -gradient(left,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,0 top,100% top,from(rgba(0,0,0,0.0001)),to(rgba(0,0,0,0.5)));background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:-moz-linear-gradient(left,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-
 prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyph

<TRUNCATED>

[33/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/font/fontawesome-webfont-woff.woff
----------------------------------------------------------------------
diff --git a/content/content/font/fontawesome-webfont-woff.woff b/content/content/font/fontawesome-webfont-woff.woff
new file mode 100755
index 0000000..b9bd17e
Binary files /dev/null and b/content/content/font/fontawesome-webfont-woff.woff differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/alberto.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/alberto.jpg b/content/content/img/alberto.jpg
new file mode 100644
index 0000000..0668d6a
Binary files /dev/null and b/content/content/img/alberto.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/alex.png
----------------------------------------------------------------------
diff --git a/content/content/img/alex.png b/content/content/img/alex.png
new file mode 100644
index 0000000..aec34f6
Binary files /dev/null and b/content/content/img/alex.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/apache_usergrid_favicon.png
----------------------------------------------------------------------
diff --git a/content/content/img/apache_usergrid_favicon.png b/content/content/img/apache_usergrid_favicon.png
new file mode 100644
index 0000000..9566565
Binary files /dev/null and b/content/content/img/apache_usergrid_favicon.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/apache_usergrid_logo_white.png
----------------------------------------------------------------------
diff --git a/content/content/img/apache_usergrid_logo_white.png b/content/content/img/apache_usergrid_logo_white.png
new file mode 100644
index 0000000..7f316b5
Binary files /dev/null and b/content/content/img/apache_usergrid_logo_white.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/apache_usergrid_logo_white_small.png
----------------------------------------------------------------------
diff --git a/content/content/img/apache_usergrid_logo_white_small.png b/content/content/img/apache_usergrid_logo_white_small.png
new file mode 100644
index 0000000..953be54
Binary files /dev/null and b/content/content/img/apache_usergrid_logo_white_small.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/check_flat/default.png
----------------------------------------------------------------------
diff --git a/content/content/img/check_flat/default.png b/content/content/img/check_flat/default.png
new file mode 100755
index 0000000..5a89765
Binary files /dev/null and b/content/content/img/check_flat/default.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/dave.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/dave.jpg b/content/content/img/dave.jpg
new file mode 100644
index 0000000..e3a7691
Binary files /dev/null and b/content/content/img/dave.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/ed.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/ed.jpg b/content/content/img/ed.jpg
new file mode 100644
index 0000000..ed669c1
Binary files /dev/null and b/content/content/img/ed.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/egg-logo.png
----------------------------------------------------------------------
diff --git a/content/content/img/egg-logo.png b/content/content/img/egg-logo.png
new file mode 100644
index 0000000..2169a2a
Binary files /dev/null and b/content/content/img/egg-logo.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/github.png
----------------------------------------------------------------------
diff --git a/content/content/img/github.png b/content/content/img/github.png
new file mode 100644
index 0000000..f19ee0d
Binary files /dev/null and b/content/content/img/github.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/grey.png
----------------------------------------------------------------------
diff --git a/content/content/img/grey.png b/content/content/img/grey.png
new file mode 100644
index 0000000..480557e
Binary files /dev/null and b/content/content/img/grey.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/intellij.png
----------------------------------------------------------------------
diff --git a/content/content/img/intellij.png b/content/content/img/intellij.png
new file mode 100644
index 0000000..2e8c480
Binary files /dev/null and b/content/content/img/intellij.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/jeff.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/jeff.jpg b/content/content/img/jeff.jpg
new file mode 100644
index 0000000..0f4eff9
Binary files /dev/null and b/content/content/img/jeff.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/nate.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/nate.jpg b/content/content/img/nate.jpg
new file mode 100644
index 0000000..ccda068
Binary files /dev/null and b/content/content/img/nate.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/rod.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/rod.jpg b/content/content/img/rod.jpg
new file mode 100644
index 0000000..7533e1d
Binary files /dev/null and b/content/content/img/rod.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/scott.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/scott.jpg b/content/content/img/scott.jpg
new file mode 100644
index 0000000..91d2e4d
Binary files /dev/null and b/content/content/img/scott.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/shawn.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/shawn.jpg b/content/content/img/shawn.jpg
new file mode 100644
index 0000000..6baaa77
Binary files /dev/null and b/content/content/img/shawn.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/stliu.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/stliu.jpg b/content/content/img/stliu.jpg
new file mode 100644
index 0000000..9b1800f
Binary files /dev/null and b/content/content/img/stliu.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/strong.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/strong.jpg b/content/content/img/strong.jpg
new file mode 100644
index 0000000..771bbf9
Binary files /dev/null and b/content/content/img/strong.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/structure101.png
----------------------------------------------------------------------
diff --git a/content/content/img/structure101.png b/content/content/img/structure101.png
new file mode 100644
index 0000000..1510620
Binary files /dev/null and b/content/content/img/structure101.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/sungju.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/sungju.jpg b/content/content/img/sungju.jpg
new file mode 100644
index 0000000..939ac64
Binary files /dev/null and b/content/content/img/sungju.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/tim.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/tim.jpg b/content/content/img/tim.jpg
new file mode 100644
index 0000000..9275e88
Binary files /dev/null and b/content/content/img/tim.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/todd.jpg
----------------------------------------------------------------------
diff --git a/content/content/img/todd.jpg b/content/content/img/todd.jpg
new file mode 100644
index 0000000..2f7637e
Binary files /dev/null and b/content/content/img/todd.jpg differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid-logo.pdf
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid-logo.pdf b/content/content/img/usergrid-logo.pdf
new file mode 100755
index 0000000..b393160
--- /dev/null
+++ b/content/content/img/usergrid-logo.pdf
@@ -0,0 +1,398 @@
+%PDF-1.5
%����
+1 0 obj
<</Metadata 41 0 R/Pages 2 0 R/OCProperties<</D<</RBGroups[]/ON[14 0 R 32 0 R]/Order 31 0 R>>/OCGs[14 0 R 32 0 R]>>/Type/Catalog>>
endobj
41 0 obj
<</Subtype/XML/Length 15291/Type/Metadata>>stream
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1-c036 46.277092, Fri Feb 23 2007 14:17:08        ">
+   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+      <rdf:Description rdf:about=""
+            xmlns:dc="http://purl.org/dc/elements/1.1/">
+         <dc:format>application/pdf</dc:format>
+         <dc:title>
+            <rdf:Alt>
+               <rdf:li xml:lang="x-default">usergrid-positive</rdf:li>
+            </rdf:Alt>
+         </dc:title>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:xap="http://ns.adobe.com/xap/1.0/"
+            xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/">
+         <xap:CreatorTool>Adobe Illustrator CS3</xap:CreatorTool>
+         <xap:CreateDate>2010-11-18T10:17:01-08:00</xap:CreateDate>
+         <xap:ModifyDate>2010-11-18T10:27:30-08:00</xap:ModifyDate>
+         <xap:MetadataDate>2010-11-18T10:27:30-08:00</xap:MetadataDate>
+         <xap:Thumbnails>
+            <rdf:Alt>
+               <rdf:li rdf:parseType="Resource">
+                  <xapGImg:width>256</xapGImg:width>
+                  <xapGImg:height>48</xapGImg:height>
+                  <xapGImg:format>JPEG</xapGImg:format>
+                  <xapGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA&#xA;AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK&#xA;DBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8f&#xA;Hx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgAMAEAAwER&#xA;AAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAA&#xA;AQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPB&#xA;UtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE&#xA;1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZ&#xA;qbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEy&#xA;obHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp&#xA;0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo&#xA;+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A9B6Rf+cdT0u11BDp0
 aXU&#xA;SyqjJOSAwrQ0fNhnx4MczE8ex8v1On0ubV5sccg8McQvlL9btIv/ADjqWmwXyHTo1nUsEKT1FCR2&#xA;f2xzY8GOZj69vd+pdLm1eXGJjwxflL9btKv/ADjqNn9aQ6ci+rNFxKT1rBK8RP2+5SuObHghKvXy&#xA;Hd1F9y6bNq8sOIeGN5DlL+GRj3+TtMv/ADjfwzSIdOQQ3E9sQUn3MErRk/b78a45ceCBA9e4B6dR&#xA;fcunzavKCR4e0pR5S/hNd7tOv/ON612FOnJ9UuGtmqk+5RVao+P/ACscuPBCvr9Qvp+pcGbV5OL+&#xA;79MuHlL9aY+X9Q1C7F/FfiEXFldG35QBgjD0o5AaOWP+7Mo1OKMeExupRvf3kfocvRZ8k+MTrihL&#xA;h25fTE9femuYzmuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV5r+dP1r6rpXoc685uXC&#xA;vgnWmb/sKrnfl+l5H2s4uHHw3zl+hNPyi9f/AAo/rcuf1qT7da04p45j9tV42380fpcz2Y4vypv+&#xA;cf0M2zUPRIbVGZdMu2UlWWGQqw2IIQ7jLMI9Y94adQaxy/qn7nh35a3NzcefdMeeV5W/f/E7Fj/v&#xA;PJ3Odf2rAR00qFcv90HznsDJKWugZEn6v9yXvWcY+mOxV2KsP8pS+bB5Z0sW1rYPALaP0mkuZlcr&#xA;xFOSrAwB+nNprY4PGlZndnoP+KdD2ZLVflsfDHHw8Iq5Sv8A3Cl5bvfNFv5Ys5IrSye3C0j5XEok&#xA;Ys5UDiIStSxoPiyWqx4ZZiCZX7hX+6YaDLqYaaJEYGP9aV8/6v6U+03y7DaWoikuJ3cs8jFJpYkD&#xA;SyGV+KIy7c2PWp98w8uqMpWAPkDyFOzwaEQjRMjzPMgbmzQB70JFb63pdw9hpkdvcwzNLdiW7lki&#xA;flJJylH7uOUNRnrXb
 rlhljyDinYIobAHkNuZDRGGbDLgxiMgbl6iQdzvyiep8uaB0CXzYJNV9G1s&#xA;GJv5TLzuZlo/BKhaQNVem5p8su1McFQsz+kdB5/0nG0UtVeSo4/7w36pc6H9BMPKRuzJrZvEjjuT&#xA;qJ9RIWZ0B+qwfZZlQnb2yjW8NQ4eXB1/rScrswzvLx0JeJ03H0Q8gyDMJ2jBPzF8+av5avbOCxht&#xA;5EuI2dzOrsQQ1NuLpm57M7OhqIkyJ2PT+x5rt3tnLpJxjARPEOt/oIZD5M1q61vy3Z6pdpGlxcep&#xA;zWIEIOEroKBix6L45g67BHDlMI8hX3O17K1ctRp45JUJSvly2JDDvO35ma9oXmKfTbSC1kgiWNla&#xA;VJC9XQMalZFHfwza6DsrHmxCcjKzfKv1Og7X9oM+m1BxwEDEVzB7veGfWOoCTRbfUborGHtkuJyK&#xA;hVrGHalamgzS5MVZDAd9fa9Phz3hGSW3pEj8reTap+cmvz3TDTIIbe25UiDqZJWHbka8d/ADOlw9&#xA;h4hH1kk/Y8RqParPKX7sCMenUqMH5t+dI7hUkS3kZiAI5Iitamn7LKclLsbTkbX82qHtNrBKiIn3&#xA;j9r2PUtRtdN0+e/vH4W9uheRgPDsB4k7DOWxYjkkIx5l77Pnjhxmc/piHkWpfnJ5iuLkjTreG2gr&#xA;+7VlMshH+Ua0+4Z0+LsPFEeskn5B4XP7VaiUv3YER8yv0n85Ncgu1XVreK4ti1JPTUxyr4kb8TTw&#xA;I+nBm7DxmPoJB+xlpvarNGVZQJR8ti9Vu9TQaHNqlmyyoLZrm3Y14sBGXQnoaHObhi/eCEtvVR+b&#xA;2uXUDwTkhv6eIfKw8y0r8678POdVs4XQRk26WodGaXkKBmd3AXjXemdBm7BjtwSPPe+75PH6b2sn&#xA;Z8WIqtuGxv52Tsyf8u/Ot/5ml1M3aRwi2MRgijrsr8
 61JJLH4Rmv7T0EdOI8Nm7v7Hc9h9rT1hnx&#xA;gDhqgPO/1JX52/NWbS9Rl0zSIY5Zrc8bi5mqyh+6qqlfs9yT17ZkaDscZICeQ7HkA4Xa/tGcOQ48&#xA;QBMeZPf3BjC/m351iKySCBoz0DwkK30gqfuObE9jac7C/m6ce02sG54a/qp75X/Mrznrmr29pFp9&#xA;rJbmWMXkkUctY4WcB3qZSBRa0rmHq+ytPhgZGUro1uNz8nY9n9v6vUZREQiY2OKgdhe5+pNPzD8/&#xA;6z5b1O2tbGG3kjmg9VjOrs3Lmy7cXTbbMbszs3HngZSJ2PT+xze3O2sukyRjARIMb3vv8iEj1P8A&#xA;Om8Ntbpp1mi3BjQ3c0tePqcRzWJAenLoWP0ZmYuwo2TM7dP2uu1HtZPhAxxHFQ4ie/rQ/X8mUfmH&#xA;501Ly5bafNp0cEovC/L11ciihSKcWT+bvmu7M0EM5kJkjh7ncdudrZNJGBxiJ4r535eYR3kHzJfe&#xA;YdDa/vY4o5hO8QWEMq8VCkbMzmvxeOU9o6WODJwxuq6uT2Lr56rDxzAB4iNvh5li3nf81bzTtUm0&#xA;vRo4y1seFxdSgt8Y6qiggfD0JPfNjoOx4zgJ5Cd+QdN2v7RzxZDjwgenmT3+TGH/ADa82yRSRSm3&#xA;kjlRkZTFTZhQ04sM2I7GwAgi9vN0x9ptUQQeEgjuQv5Xf8p1pn/Pf/qHkyztf/FpfD/dBp9nf8dh&#xA;/nf7mT37OKfT3Yq7FWH+Ur3zMnlnS1t9LtpYBbRiORrxkZl4ihK+g1PlU5tNbjwnNK5EGz/D/wAe&#xA;dD2Zl1I02PhxxI4R/HX2cBUfLl1rf+HdMjksYUsPUhrci5JcD6wDX0vSA6/5eS1UMfiyIkeKjtw/&#xA;0e+/0NegyZvy8AYR4Ljvxb/V3cP6WbZqXokq1WbUItQtTYW0d1OYpg0cspgATlFU8gk
 vem1MycMY&#xA;mJ4iQLHS+/zDhameSOSPBESNS5nh/m+RSTQL3zMsmq+lpdtITfymTleMvF+CVUfuG5D32+WZepx4&#xA;ahcj9I/h9/8ASddosupByVjif3h/j60P6CYeUnunk1t7qJYLg6ifUiR/UVT9Vg6OVSu3+TlGtAAh&#xA;wmxwe7+KTldmGROUyFS8Tld/wQ60PuZBmE7R5D+d3/HV03/jA/8AxPOo7A+iXveE9rv72H9U/ezT&#xA;8rv+UF0z/nv/ANREmantf/GZfD/ch6H2d/xKH+d/upPMPzX/AOU2vP8AUh/5NLnQ9j/4uPj97x3t&#xA;J/jkvdH7nr1tby3PkmK3iFZZtNWOMeLNBQfic5eUhHUEnkJ/pe6xwM9GIjmcVf7F4Z5W11/Levx3&#xA;8tr67Qc45IHPBgWBU0JBow+Wdhq9P4+LhBq3zjs7WHSZxMxurFcnrmj/AJneUtYkS2nLWk7kBI7p&#xA;V4Fu1HBZf+CpnM5+yc+IWPUPJ7nS+0OlzkRPpP8AS5fP9dNfm47L5MmANA80IYeI5V/WMexR/hA9&#xA;xR7TEjSH+sHm/wCX3m3SPLdxeXN9aSXE8yolvJEFJQDlzHxEfa+Hp4Zv+0tHPOAImgObyXYnaWLS&#xA;SlKcTImqqtud/oUvP3mfS/MWpQXtjavbusfpzmQKGcg1U/CTWgyXZ2knggYyN77MO2u0MWqyCcIm&#xA;O1G+r03y27P+ValjUiwuVr7KJAPwGc9qhWt/zx+h7DQEnszf/U5fpeTeS9Bt9d8xW2m3MjxwSB2d&#xA;o6cqIpagrUCtM6bX6g4cRmObxHZOjjqdRHHI0DfLye+aNoGj6Nb+hptqluhpzYbu1O7Oas30nOLz&#xA;6nJlNzNvpul0WLTx4ccRH8dS8KX6r/ysI/X6fVv0q31j1Ps8frBrzr28a52J4vyvp58G3yfNhw/n&#xA;/X9Pi73/AFu
 r2fzy1h/g/VDdFDE1s/o8qUMvEmLj786UzlOzxLx48PO/s6voHbBh+UycVVwmvf0+&#xA;15r+SvP/ABPd0rw+pPXwr6sVP45v+3v7kf1v0F5H2Tv8zL+of91FU/Oz/jv2P/MJ/wAzHyPYP91L&#xA;+t+hn7W/38P6n6Snn5b+QtAk0e01q9i+uXVwGZI5QDFHxcqKJ0Y/D+1mH2p2jlGQ44nhA+bsewex&#xA;sBxRzTHFKXfyG/d+tQ/PAAWmkAbAPNQfQmT7A+qfw/S1+1304/fL9Ca/k3/yiT/8xcv/ABFMxu3P&#xA;7/8AzR+lzfZb/FT/AFz+h5dNGk/np45h6iS6oVkVtwwa4oQfnnRRNaax/M/3rxs4iWtIO4OX/fPf&#xA;dYt4H0e7Ro0ZEgk4qVBAohpQZxeCRGQG+r6bqoROKQI/hP3PD/yu/wCU60z/AJ7/APUPJnX9r/4t&#xA;L4f7oPnPs7/jsP8AO/3Mnv2cU+nuxV2KsP8AKWp65H5Z0tIdFeaJbaMJKLiFQwCih4sajNprcWM5&#xA;pEzo2ehdD2ZqMw02MDESOEb8UVLy5eazJ5WtrVdGkmgeJkEq3EKVBJ3AJqCMlqoYxmMuOjfcWGhy&#xA;5jpox8IkEc+KLLdNnkuNOtbiUASzQxyOB05MoJ/HNbliIzIHQu708zLHGR5kA/YlUt9qser3rW2l&#xA;teLH6cKzLNFGAAgkI4ua1rJufl4ZkDHAwjcuHmeR936HClmyjLLhx8dUL4gOl9felmganriSar6e&#xA;ivJyv5WcC4hHFiiVXc708RmRqcWMiFz/AIB0Pm4mi1GYHJWIn94f4o9w2TDylLPLJrclxAbaZtRP&#xA;OEsrlf8ARYP2l2OUa0ACABscH++k5XZkpSOUyHCfE5c/4IMgzCdo8h/O5T+k9MamxhkAPuHH9c6f&#xA;sD6Je94T2uH7yH9U/emfkXz75X0nydaWl9dl
 Lu3MoeARuzHlK7rSg47hvHMftDs7NlzmUR6TW/wc&#xA;zsftrTYNJGM5VKN7Ue8l595016213zFcalbRvHBKEVFkpyoiBakAkb08c3mg05w4hA83l+1tbHU6&#xA;iWSIIBrn5B71oUiReXNPkkPFEs4Wdj2AiBJzjNQLyyA/nH730zRyA08CeQhH7kkvX/LPzCDJdTWE&#xA;8rDeQyLDNT3NUk+/MvGNXg2AmPhY/U67KeztVvI4yffR/QXjfmyw0iw1+6tdIuBc2CFfSkDCQVZQ&#xA;WUOuzcSaZ1WjyTniBmKk8D2lhxY88o4jxQHx+16p+YSXM35awySAtKiWsk56kEhQT/wTZznZpA1Z&#xA;A5eqntO2xKXZwJ5+glgn5c2fky8uby38yemGIjNk0srwpty9QclZBU1Wlfozcdpz1EQDi87oX7nm&#xA;uwsWkySlHUV04bJj331Hkza78vfk3aIWna1FBXit5M7U/wBVJWb8M1MNTr5cuL/Sj9T0WTQ9kwFn&#xA;h/08j90mTXNnp1n5MuoNNXhYLYzNbqCzfA8bPWrktvy75r4znLUAz+riF/N2+TFjx6SUcf0cEq+I&#xA;J6vIvyo/5Taz/wBSb/k02dP2x/i5+H3vDezf+OR90vue85xj6W8F/NFdJXzddCwVll2N8duBmIBP&#xA;AfL7XvXOz7I4/AHFy6e58z9ohiGqlwc/4u6/L9Pmraf+VPm2+t4JqwQwSoskfqyk0Vxy6KH8cjk7&#xA;YwQJG5PubMPs3qskQfSARe57/db07yP5ItvLFrL+9+s3tzx9eenEAL0RBvtv9Oc92hrzqCNqiOT2&#xA;HZHZEdHE78U5cz+gMB/Oz/jv2P8AzCf8zHzddg/3Uv636Hmfa3+/h/U/SWf/AJb/APKE6X/qP/yd&#xA;fNJ2p/jEvx0en7B/xPH7j95Yr+eH+8ukf6836kzZdgfVP4fpdL7X/Tj98v0Jr
 +Tf/KJP/wAxcv8A&#xA;xFMxu3P7/wDzR+lzfZb/ABU/1z+h5ddypaeeJpriqJBqbPKaVoqT1Ow9hnRwHFpwB1h+h4zLIQ1p&#xA;MthHLv8A6Z7F5h89+U7fSLimow3Ek0TrFFbsJXJZSAKKfh/2VM5XTdnZ5THpIo9dnvdd2zpY4j6x&#xA;IkGhHc/j3vKvyu/5TrTP+e//AFDyZ0na/wDi0vh/ug8V7O/47D/O/wBzJ79nFPp7sVdirEPI2q6j&#xA;P5csLe305gtvBHH9ZmkRYmogNV4eox69OPsaZtO0MMBlkTLmTsBv+h0XY+pyS08Ixh9MQLJFcvKz&#xA;9icaX5eW00+CyuLl7mKBeIj/ALuM1NTyVTVuvRmI9sxc2p4pGQFE/E/j3Odp9DwQEJSMgPgP2/Ek&#xA;JsiJGixxqERAFRFFAANgABmMTe5c4AAUOSGn06GSQzRs9vcN9qaE8SaCnxggo+2w5KaZOOUgUdx5&#xA;/jb4NU8AJsemXeP09D8QUtgt9T0aO9lSD9JLcTPdMISI5eTKoKiN/hP2P5/ozIlKGUxF8FCt9x8/&#xA;2OHCGTAJEDxOKRltsfkdunf8FDyZdteDWboxNAZtQ5iJyjMAbWClShZem+xyeuhw8Ebuof76TX2V&#xA;l8TxJVV5OW38yHdsyPMB2zG/O/ku38z2UMZm+r3VszNbzceQowHJWFRsaDM/Qa46eRNWDzdR2v2T&#xA;HWQAvhlHkWF2v5IXJk/0rVUWMdooizH/AIJlpm2n2+K9MPtefx+yMr9WQV5BMNQ/JTS5VhFhqElr&#xA;wUiZpYxMZGrsdmiC/QMox9vTF8UQfs/W5Wf2SxmuCZjXOxd/aGcHSA3l/wDQ7TEKbX6o06ijU9P0&#xA;ywBrQ981HjfvfEr+K6+NvR/lf3HhX/Bw38Kt5tc/khch/wDRdVRkPaWIqR/wLNXN9Dt8VvD7Xksn&#xA;sjK/T
 kFeY/ai9G/JaGG7SbVb4XEKEH6tEhUPTszk1p40H05Xn7dJjUI0e8t2k9kxGQOWfEB0A5/F&#xA;6TdWltdWslpcRrJbSoY5IiNipFKZoITMZCQO4etyYoziYyFxO1PMtT/JJWnZ9N1HhCx2inTkVH+u&#xA;p3/4HOhxdvbeuO/k8hqPZK5XjnQ7iP0/sUbb8j7kv/pWqoqdxFEWJ/4Jlpkp9vjpD7WvH7Iyv1ZB&#xA;8B+16OmjJH5e/QqTMUW1+qJO4DNT0/TDEDjWmaE57y+IR/Ff229YNIBg8EHbg4b+FMU8p/lb/h/W&#xA;4dU/Sf1n0ldfR9D0681K/a9R+lfDNlrO1/GxmHDV+f7HSdm+zv5XMMnHxVe3DXP/ADizzNM9M808&#xA;5/lTfarrE+p6ZdQobkh5YJ+S0YAAlWUPWtK7jN/oe2I48YhMHbqHkO1fZuebKcmOQ9XQ/gscb8uv&#xA;zF05C1o7EICaW1zxOw7AlDmeO09LP6vti6k9hdoYh6P9jL+xH/lf5012fzBFpN/dyXlvdLJwMzF3&#xA;R0QyVDtVqUUilcp7W0OMYjOIESO75OV7PdrZpZxinIyjK+e9EC+fwZb52/Lv/E+oQXf6Q+qejF6X&#xA;D0fVr8RateafzZrNB2n+XiY8PFZvnX6Hedrdh/nJifHw0K5X+kMg8t6N+hdEtdL9b6x9WUr63Hhy&#xA;qxb7NWp9rxzC1WfxchnVW7TQaX8vhjjvi4evJKvPHkn/ABTFaR/Xfqf1Vnavpery5hR/OlKccyez&#xA;9f8AlyTw8V+dfocHtfsn84Iji4eG+l8/iEV5N8sf4b0htP8ArP1usrS+rw9P7QApx5P/AC+OVa7V&#xA;+PPjqtq72/srs/8AKYvD4uLe7qv0lIPOP5WW2uag+pWVz9Uu5aeujLyjcgU5ChBU+Pjmboe1zhjw&#xA;SHFEcnV9qezsdRkOSEuGR59xSrS/yS
 jWcPqeo+pCD/c26cS3zdiaf8DmTl7eNeiO/m4Wn9kgDeSd&#xA;juA/T+xNfLn5Vx6J5ih1eLUjLHA0pS1MNDxkRkAMnqH7PPrx3zG1Xa5zYjAxq63v9FOboPZwafUD&#xA;KJ2I3tw94I5359y3V/zW/R2qXVh+h5pvq0rReqslA3E0qBwOHD2PxwEuMCx+OqNV7SeFklDwyeE1&#xA;d/sQf/K5v+1FP/yM/wCveW/yH/tg+X7Wj/RV/tUvn+x3/K5v+1FP/wAjP+veP8h/7YPl+1f9FX+1&#xA;S+f7GW6HPJp+j2Vl+jLlGt4UR1RY+PMKOdPj7tXNZqIieSUuIbnz/U7zRzOLFGHBIcMR3fHqjf0t&#xA;J/1b7v8A4FP+a8q8Efzo/j4OR+ZP8yf2frd+lpP+rfd/8Cn/ADXj4I/nR/HwX8yf5k/s/W79LSf9&#xA;W+7/AOBT/mvHwR/Oj+Pgv5k/zJ/Z+t36Wk/6t93/AMCn/NePgj+dH8fBfzJ/mT+z9aH8uWskDapK&#xA;1u9ut3evcRpJTkQ0Ualti1KspyeqmDwi74Y19patDjMfEJBjxTvf3R/UnGYrnuxV2KuxV2KuxV2K&#xA;uxV2KuxV2KuxV2KvI/MGj/mjDrt/eacboWc07vAsE6leHL4KxcutKV+HOm02fRnHGM+HiA6j9Lw2&#xA;t0vaUc854+LhMjVS6dNr/Qlrj8351eBhqPEgq23Dbps3w/gcyB+Rjv6HDP8AKsrj+8+5kH5bfl3q&#xA;+maqusasiwNEjLb2/JXfk44lmK1UDiT3rmF2p2nDJDw4b3zLtOwew8uHL4uUcNDYdd/2PTs557F2&#xA;KuxV2KuxV2KuxV2KuxV2Kv8A/9k=</xapGImg:image>
+               </rdf:li>
+            </rdf:Alt>
+         </xap:Thumbnails>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/"
+            xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#">
+         <xapMM:DocumentID>uuid:8A766B33B4F2DF11969FA10ECE88A114</xapMM:DocumentID>
+         <xapMM:InstanceID>uuid:e322778a-ddbd-4c75-bb72-b149bbdc2413</xapMM:InstanceID>
+         <xapMM:DerivedFrom rdf:parseType="Resource">
+            <stRef:instanceID>uuid:87766B33B4F2DF11969FA10ECE88A114</stRef:instanceID>
+            <stRef:documentID>uuid:81766B33B4F2DF11969FA10ECE88A114</stRef:documentID>
+         </xapMM:DerivedFrom>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:illustrator="http://ns.adobe.com/illustrator/1.0/">
+         <illustrator:StartupProfile>Print</illustrator:StartupProfile>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:xapTPg="http://ns.adobe.com/xap/1.0/t/pg/"
+            xmlns:stDim="http://ns.adobe.com/xap/1.0/sType/Dimensions#"
+            xmlns:xapG="http://ns.adobe.com/xap/1.0/g/">
+         <xapTPg:NPages>1</xapTPg:NPages>
+         <xapTPg:HasVisibleTransparency>False</xapTPg:HasVisibleTransparency>
+         <xapTPg:HasVisibleOverprint>False</xapTPg:HasVisibleOverprint>
+         <xapTPg:MaxPageSize rdf:parseType="Resource">
+            <stDim:w>350.000000</stDim:w>
+            <stDim:h>65.000000</stDim:h>
+            <stDim:unit>Pixels</stDim:unit>
+         </xapTPg:MaxPageSize>
+         <xapTPg:PlateNames>
+            <rdf:Seq>
+               <rdf:li>Cyan</rdf:li>
+               <rdf:li>Magenta</rdf:li>
+            </rdf:Seq>
+         </xapTPg:PlateNames>
+         <xapTPg:SwatchGroups>
+            <rdf:Seq>
+               <rdf:li rdf:parseType="Resource">
+                  <xapG:groupName>Default Swatch Group</xapG:groupName>
+                  <xapG:groupType>0</xapG:groupType>
+               </rdf:li>
+            </rdf:Seq>
+         </xapTPg:SwatchGroups>
+      </rdf:Description>
+   </rdf:RDF>
+</x:xmpmeta>
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                                                                                                    
+                           
+<?xpacket end="w"?>
+endstream
endobj
2 0 obj
<</Count 1/Type/Pages/Kids[5 0 R]>>
endobj
14 0 obj
<</Intent 15 0 R/Usage 16 0 R/Name(Layer 1)/Type/OCG>>
endobj
32 0 obj
<</Intent 33 0 R/Usage 34 0 R/Name(Layer 1)/Type/OCG>>
endobj
33 0 obj
[/View/Design]
endobj
34 0 obj
<</CreatorInfo<</Subtype/Artwork/Creator(Adobe Illustrator 13.0)>>>>
endobj
15 0 obj
[/View/Design]
endobj
16 0 obj
<</CreatorInfo<</Subtype/Artwork/Creator(Adobe Illustrator 13.0)>>>>
endobj
31 0 obj
[32 0 R]
endobj
5 0 obj
<</Parent 2 0 R/Contents 36 0 R/BleedBox[0.0 0.0 350.0 65.0]/PieceInfo<</Illustrator 24 0 R>>/ArtBox[2.2041 1.10156 347.488 63.8643]/MediaBox[0.0 0.0 350.0 65.0]/Thumb 40 0 R/TrimBox[0.0 0.0 350.0 65.0]/Resources<</Properties<</MC0 32 0 R>>/ExtGState<</GS0 35 0 R>>>>/Type/Page/LastModified(D:20101118102730-07'00')>>
endobj
36 0 obj
<</Length 2286/Filter/FlateDecode>>stream
+H��Wˎ���W�t�*�}5m�$6���D�D������]u�e��NguUu�"2���?n~�������v�햶޶�Ҷ���Ϸ��a-}L�_�l_?�>��)m��}�m�^���G�ڶ:��g��_xj����Q��zn�Ղ�F�������������<jn��1��r�]Kw�l�	��u�^��R�6;��{Y�G-c���N��#�
+���tL[�x�������Qj�D�L�}���z����'�咏�g�r����q�k�tݴ�:�m��\�
+��IwO}�qۇ^����B����F�7�/����1��3n�ѵM��z��!��	ϙt�+�����dx?��K��s�/��)e�gin��������	q���ʙ	�X���5|e(t�gBV�1���������vʐ��<c�^R����J6�Ąd��S�2����U�O��\֖�Qƺ����o!W�0ݓ��oӤ!�+w Q�:g���H=��9��Xߖ";�T����_2]J�;�w$k���z s��pϲSD�����4�5EWO�Ä�.4"p�%q���
f�|Ip6I`]{�_ɼ#D���W�<Nq"�ҳZ�B��C����!2Xgh�?/�
!=u�8���,�v�C�E��{QK��BzTB�4�|f�Lא[��O��^�#�%[��a;�,��!~R狼`1�l �,���FN]�����V	r�eM��ޛ��Z�D֣!:��mi4Y�B���D�H�.����cDWH~���>�8%W<�L:��E���W!I�_Y��%a����\0�'���E"��._f��!���
 ��%*=JT��2��WC�N�„h��/�da�~��s�)�{�{U���}�����|��f!�$�V�,���>� aA�3n�N.��|����I"#2��5s����`����پ��I@	��蓩���*�ٝL�P�ڈ��Y(�k
�����lg)?W�
+m��!;rvz����^��;���@Α�!{��X�b���`�DO�K>�,����uȥ�����NJLh�FH����'zf/@<���G��?�^_r��m��M���\w���=.9���jl�Q��'x!y"��X�K|�7�����7��W�Z� �~K�o�u�f��ص>���7�j}����z;�L�њ��s��\����c�/O.*	��H�J��g�&I�����a����T��Y6�/�ϕ�x�B��-�>-@[�^V��&(�C�3i�'h/��y�1N�9�?r�`WD�_��⌚��5�l��f��.�x��S,'lC�O~Q�Wcj��Kd��F��[{�高^�2��045ƪ��e_ʇS���O�pZi�Z�-j�gRA�&"Y��*^Ǐyb�����op��j*0����̈���c���Я$�3�b?;�O��Y6T�a�}{HJ��;�VTz����/N����4��P��z�!�'�B�}� ��27o_??+H�����r�z:�k�)�	T9��B���򯴩��'�
 �ˁlCҠkF�kE=F��D`��P�BLA���}pscDef��UP8_�K%�%gUm�z��eN�z�UԐ�h�lT/���y��o�>@�l����U����Z���0�E�(����!qTU:�'/�D�9��7��>.ގ��I�Z�Y!.u
+��|:Լ4��:�[���D��z!��J��~'�̹)>�F�?�ą�ʥ3����ee���f6����)��]���e���T���/���Ұ�����Q��+�ks��CA���E����.�FRi�DB������B�o�݂�$ԪR�VP{4�j�П2�A��D�(2]S�Z޶ɿD�G��r�^��Y!F��$�K[�1���%;ǿ�����h�@�7��3a�`��T�)3,p��A$^��8[���Dh�uP8Λ)��4T���(�m^u��K�D���Q�֤�M-Џ~A��N���جP��|;�''�ʎ���Јo��<���i	S�
+����(m$Ϲ
+� ?j$\I��դ�RJ"�jQJL�/[yB��LH*����e�`Մ�a���Q��9=�ꉯQ%Ɩ|}G�$�F�� �d�ta�/�w�&�j�y�
+�������T������_Ra�٭��*pEc١?^"%�/e.���)�CP%�2q5��Q�T�5�	`��@n�T`Q��A�ڕt�0��*�@ޅ�F ��{az/L��0�����g�_53��Ǐ~�+��{�
+endstream
endobj
40 0 obj
<</Length 131/Filter[/ASCII85Decode/FlateDecode]/BitsPerComponent 8/ColorSpace 38 0 R/Width 43/Height 8>>stream
+8;VFb5n:[Q#l@%Nnc(!04/3Q]js$Z8^c']$>_feE'Jr<85jYCG2=^C*+_[Gq9o,Xi
+f_#QU`3iWcn)2XZ?.U+/cCT!f%-paT/br8/6Tad<cL$57GL&>M?YZ^"B)n-dHXQ~>
+endstream
endobj
35 0 obj
<</OPM 1/BM/Normal/CA 1.0/OP false/SMask/None/ca 1.0/AIS false/op false/Type/ExtGState/SA true>>
endobj
38 0 obj
[/Indexed/DeviceRGB 255 39 0 R]
endobj
39 0 obj
<</Length 428/Filter[/ASCII85Decode/FlateDecode]>>stream
+8;X]O>EqN@%''O_@%e@?J;%+8(9e>X=MR6S?i^YgA3=].HDXF.R$lIL@"pJ+EP(%0
+b]6ajmNZn*!='OQZeQ^Y*,=]?C.B+\Ulg9dhD*"iC[;*=3`oP1[!S^)?1)IZ4dup`
+E1r!/,*0[*9.aFIR2&b-C#s<Xl5FH@[<=!#6V)uDBXnIr.F>oRZ7Dl%MLY\.?d>Mn
+6%Q2oYfNRF$$+ON<+]RUJmC0I<jlL.oXisZ;SYU[/7#<&37rclQKqeJe#,UF7Rgb1
+VNWFKf>nDZ4OTs0S!saG>GGKUlQ*Q?45:CI&4J'_2j<etJICj7e7nPMb=O6S7UOH<
+PO7r\I.Hu&e0d&E<.')fERr/l+*W,)q^D*ai5<uuLX.7g/>$XKrcYp0n+Xl_nU*O(
+l[$6Nn+Z_Nq0]s7hs]`XX1nZ8&94a\~>
+endstream
endobj
24 0 obj
<</Private 25 0 R/LastModified(D:20101118102730-07'00')>>
endobj
25 0 obj
<</RoundtripVersion 13/ContainerVersion 11/CreatorVersion 13/AIMetaData 26 0 R/AIPDFPrivateData1 27 0 R/AIPDFPrivateData2 28 0 R/AIPDFPrivateData3 29 0 R/NumBlock 3>>
endobj
26 0 obj
<</Length 915>>stream
+%!PS-Adobe-3.0 
+%%Creator: Adobe Illustrator(R) 13.0
+%%AI8_CreatorVersion: 13.0.2
+%%For: (Ed Anuff) ()
+%%Title: (usergrid-logo.pdf)
+%%CreationDate: 11/18/2010 10:27 AM
+%%BoundingBox: -65 76 281 139
+%%HiResBoundingBox: -64.7959 76.1016 280.4883 138.8643
+%%DocumentProcessColors: Cyan Magenta
+%AI5_FileFormat 9.0
+%AI12_BuildNumber: 434
+%AI3_ColorUsage: Color
+%AI7_ImageSettings: 0
+%%RGBProcessColor: 0 0 0 ([Registration])
+%AI3_TemplateBox: 108.5 107.5 108.5 107.5
+%AI3_TileBox: -180 -276.5 396 491.5
+%AI3_DocumentPreview: None
+%AI5_ArtSize: 350 65
+%AI5_RulerUnits: 6
+%AI9_ColorModel: 1
+%AI5_ArtFlags: 0 0 0 1 0 0 1 0 0
+%AI5_TargetResolution: 800
+%AI5_NumLayers: 1
+%AI9_OpenToView: -72 237 1.97 729 525 26 0 0 44 75 0 0 1 1 1 0 1
+%AI5_OpenViewLayers: 7
+%%PageOrigin:-467 -340
+%AI7_GridSettings: 72 8 72 8 1 0 0.8 0.8 0.8 0.9 0.9 0.9
+%AI9_Flatten: 1
+%AI12_CMSettings: 00.MS
+%%EndComments
+
+endstream
endobj
27 0 obj
<</Length 5476>>stream
+%%BoundingBox: -65 76 281 139
+%%HiResBoundingBox: -64.7959 76.1016 280.4883 138.8643
+%AI7_Thumbnail: 128 24 8
+%%BeginData: 5323 Hex Bytes
+%0000330000660000990000CC0033000033330033660033990033CC0033FF
+%0066000066330066660066990066CC0066FF009900009933009966009999
+%0099CC0099FF00CC0000CC3300CC6600CC9900CCCC00CCFF00FF3300FF66
+%00FF9900FFCC3300003300333300663300993300CC3300FF333300333333
+%3333663333993333CC3333FF3366003366333366663366993366CC3366FF
+%3399003399333399663399993399CC3399FF33CC0033CC3333CC6633CC99
+%33CCCC33CCFF33FF0033FF3333FF6633FF9933FFCC33FFFF660000660033
+%6600666600996600CC6600FF6633006633336633666633996633CC6633FF
+%6666006666336666666666996666CC6666FF669900669933669966669999
+%6699CC6699FF66CC0066CC3366CC6666CC9966CCCC66CCFF66FF0066FF33
+%66FF6666FF9966FFCC66FFFF9900009900339900669900999900CC9900FF
+%9933009933339933669933999933CC9933FF996600996633996666996699
+%9966CC9966FF9999009999339999669999999999CC9999FF99CC0099CC33
+%99CC6699CC9999CCCC99CCFF99FF0099FF3399FF6699FF9999FFCC99FFFF
+%CC0000CC0033CC0066CC0099CC00CCCC00FFCC3300CC3333CC3366CC3399
+%CC33CCCC33FFCC6600CC6633CC6666CC6699CC66CCCC66FFCC9900CC9933
+%CC9966CC9999CC99CCCC99FFCCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF
+%CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFFFF0033FF0066FF0099FF00CC
+%FF3300FF3333FF3366FF3399FF33CCFF33FFFF6600FF6633FF6666FF6699
+%FF66CCFF66FFFF9900FF9933FF9966FF9999FF99CCFF99FFFFCC00FFCC33
+%FFCC66FFCC99FFCCCCFFCCFFFFFF33FFFF66FFFF99FFFFCC110000001100
+%000011111111220000002200000022222222440000004400000044444444
+%550000005500000055555555770000007700000077777777880000008800
+%000088888888AA000000AA000000AAAAAAAABB000000BB000000BBBBBBBB
+%DD000000DD000000DDDDDDDDEE000000EE000000EEEEEEEE0000000000FF
+%00FF0000FFFFFF0000FF00FFFFFF00FFFFFF
+%524C45FD62FF61153D85FD09FFAF61153DFD0DFF848B8585848B8585848B
+%8585848B8585848B858560AFFD4CFF1415148BFD09FFAF141514FD0DFF3D
+%85AF853D85AF853D85AFA96161AF856161AF856161FD4CFF3D151585FD09
+%FFA91B143DFD0DFF60FFFFFF60FFFFFF60FFFFFF60AFFFFF8585FFFFA985
+%FD4CFF363D148BFD09FFAF141514FD0DFF61FFFFFF85FFFFFF8585AFAF61
+%A9FFFFAF85FFFFAF61FD59FFAF1B143DFD0DFF3DAF85AF3CAF85AF61AFA9
+%FF858585AF6161A9AF6185FD07FFAF608561FD04FF856085A9FD04FF8536
+%613C3D3C85FD04FFAF8536613C6184FD04FFAF6161A9FF8561FD04FF8561
+%3C3D3661618560AFFFAF6061A9FF8461FFFF848561AFFD04FF60613C3D3C
+%61141514FD0DFF3D858B613D618B61FD05FF856185613D8B616161FD07FF
+%8515141BFD04FF1515148BFFFFFF61151B141B151514FFFFFFAF3D151B14
+%1B15153DFFFFFF851515613D1B15FFFFFF611B141B1515141B151561FF85
+%151461611514FFFF3D141585FFFFFF3D15141B1515141B153DFD0DFF60FF
+%FFFF60FFFFAFFD06FFA9FF848BFFFFA885FD07FFAF141514FFFFFFAF3D14
+%1584FFFF8B141B141B143D143DAFFFFF3D141B143D1415141560FFFF8514
+%1B14151415A9FF84151415143D1415141560FFFF8B141514151415A8FF14
+%15148BFFFF84151415141B1415141514FD0DFF61FFFFFF8BFFFFA9FD06FF
+%AFFFAF85FFFFAF85FD07FFAF1B143DFD04FF3D1B14AFFFFF851B153DFD04
+%FFAFFFFFFF151B158BFFFF611B1461FFFF851B151B143D85FFFF8B151B3D
+%FFFFFF3D1B158BFFFF851B151B153D61FFFF3D141B85FFFF8B151B37FFFF
+%FF851B153DFD0DFF3CFFAFAF3CFFA9AFFD06FF85FF6085AFFF8485FD07FF
+%AF141514FD04FF3D141584FFFF85141B36FD07FF8515141BFFFFFFAF1415
+%14FFFF85141B1461AFFFFFFF3C151485FFFFFF85141561FFFF8B14151461
+%AFFFFFFF3615148BFFFF3C151461FFFFFFAF141B14FD0DFF3D618B613D61
+%6185FD06FF8B61613D8B616161FD07FF851B153DFD04FF361B158BFFFF85
+%1B141B156185FD04FFAF151B146161613D1B153DFFFF851B143DFD05FF61
+%141B85FFFFFF6115148BFFFF851B153DFD05FF3D151B85FFFF61141B61FF
+%FFFFA91B143DFD0DFF60FFFFFF60FFA9AFFD06FF84FF8585FFFF8585FD07
+%FFAF141514FD04FF3D141585FFFFFF3615141514151485FFFF8415141514
+%151415141514FFFF8B141514FD05FF6015143DAFFFA83D141560FFFF8514
+%1514FD05FF14151485FFFF60151461FFFFFFAF141514FD0DFF61FFFFFF85
+%FFFFAFFD05FFA9FFFFAF85FFFFAF61FD07FF851B153DFD04FF371B158BFD
+%04FF8561151B151B15AFFFAF151B153D153D153D153DFFFF851B143DFD05
+%FFAF141B153D373D151B15FFFFFF851B153DFD05FF3D151B85FFFF61141B
+%61FFFFFFAF1B143DFD0DFF61FFFFFF61FFFFAFA9FD04FFAFAFFF8585FFFF
+%8585FD07FFAF141B14FD04FF3D141B85FD07FF8515141B85FF851B141BA9
+%FFAFFFAFFD04FF8B141514FD06FF85141B141514151485FFFFFF85141B36
+%FD05FF141B1485FFFF61151461FFFFFFAF141514FD0DFF3D6185613D6161
+%61AFFD04FFFD04613D85616161FD07FF851B143DAFFFA961151B148BFD08
+%FF3D1B148BFFAF141B15FD09FF851B153DFD06FF611B143D3D6161FD05FF
+%851B143DFD05FF3D141B85FFFF61151B3DFFFFFF611B153DFD0DFF36FFAF
+%AF60FFFFAF84FFFFFFA88BFFFF8485FFFF8485FD07FFAF1415143D141514
+%15141584FFFFAF36616085601B141584FFAF15141536858485603D84FFFF
+%85141514FD05FF8415141584FD08FF8B141514FD05FF1415148BFFFF6015
+%141560853615141514FD0DFF61FFFFFF8BFFAF85FD05FFAFAFFFAF85FFFF
+%AF85FD08FF3D141B151B141B151B148BFFFF611B151B141B151B15FFFFFF
+%611B151B141B151B148BFFFF851B153DFD05FFAF151B153D3D61618BAFFF
+%FFFF851B143DFD05FF3D141B85FFFFFF151B151B151B141B151BFD0DFF60
+%FFFFAF60AFA9FD07FFAFAF608BFFFF8585FD08FF8515141B143D608B1415
+%84FFFF85141B1415141B14AFFD04FF603D1415141B143D84FFFF85141B36
+%FD05FFAF3D141514151415141585FFFF8B141536FD05FF3615148BFFFFFF
+%8B1415141B1485361B14FD0DFF3D618BA9FD0DFFA9AF613D61FD09FFAFAF
+%85FD0BFFAFAF85AFA9FD08FFAF85AF85FD07FFAFFD07FFAF8B61613D3D15
+%1B143DFD14FFA9AFA9FFFFFFAFFFFFAF143D373D143D373D143D371485AF
+%FD10FFAF3C85FD3EFF141514FD1DFF851B143D143D143D143D143D61FD13
+%FF8B61FD36FFAF618B85AFA9AF851B143DFD29FF85FD13FFA985FD36FF61
+%15141B1415141514153CFD29FF8BAFAF85AFA9AF85AFA9AF85AFA9AF85AF
+%A9AFA98B85FD36FF8B151B141B151B141B3DFD2AFFA8AFA9AFA8AFA9AFA8
+%AFA9AFA8AFA9AFA8AFA9AFA8FD39FFA9AF848585AFA8FD2AFFFF
+%%EndData
+
+endstream
endobj
28 0 obj
<</Length 15654/Filter[/FlateDecode]>>stream
+H��Wio�8����X�"jE�������0��:E@I�Æ&�r���}I�e[R;�Y� �c��{��埓ik
+��:���?��sI���ct�X��4GGw���A�/�)���
+~j�}m�^�h������{���X9�4l11NΎs���kyމ7<i���<��=@�k:1)��������A�����_�Q%L��z#:����t����a��1t"���Q�\0!�):_a���n0�Ɨ��ה�n�5YO�/���YLYx/|vw;]{�y�|�*`��o{>x�\�єh
Z��л7gE�pj��>ޑ9��|:N9ߓE��Q�F�:=����w�WxC������;�r��dIɗSt#8IMK=����N�E�^zz3"�r����=%�^��0PjM��ak�����)��9�8�bmi�fw��+�"&^*�6"�^��Z�m����h��^���}+��E�^*̳3�C�q�O $���)?mu���t�4\o W��������Q�Iu˵&<S2���w׹�ٯxx.���&9D�C2@y���{,�(5�<@�&�r������n�0a1\��"�.�L<v����Gt��fr�<��N��2;t0��kXNW_0�9��I��	�{�����I��:=X���T�&�
 &������b�Gt/˕L�Un<$mBs0Br�.py���1ct.q�H�]�w����6�'ɚ�}��3�QB6j�4޼�ElS���!���Y{^,"3+��G�� _�M� 3��ܰ����0��`�˨Qi1̱D�"�m;�C�+u+{�f�{��Y쌭Vm���QrgƤ^1-��?\|��	��1�I8f��1:���^fJa���[��&�lN���tGnK0�v<���
��q�Q�K�>�
E��2O����p�u�5���E�s��VF�$�|��:M�k��`T�w&��l#��;�.o9��וןI���:����0̶݈�	���s��d�V��΁Y�t��T�l;����'فI�H�,W����X��\�DG_���DR?��<���l~��.x�m\�����\�_�/�2
�^����%��%T�$�걁]b�`s��9�v�K�Q�������V��KLO$l��� �}u�	9�������E��L�?���)�\A��H��h��y"���J�ş����
 ��k}���V�we�����
+����P����W�
(th���JY;�x?�2Q��6�������;�Y��_h��=ED�A�=�����c��C¾A��\�_kߪ�i�����:�QoTk��f��@̂�s&D�=�аO]����^k��Mt0+��Sˀ������S��;=D�������+�P��fM��N�l���:�/GK�,C&$���`�*_z�H��\tO�j�*���Q���r�v�f�0��f<X=��H�23��� ��0�Nz�M�@{�6z|�Ʊ�+M$�F�\����D�.b���l�vN���$���%XlH?A(�r����X�]��G���z
�4� �:S��u��\�6����	��(��m�\4�Y�X3�	����UZ�����C�F�����dvבDYΈ%�8F�\����k-I�!}�0vD|��5z�"xS�\���)`)Dk�ཀ��L����	�5Q�y���(�:[��
��XG�B
Q��[Zb�"�!X��4�T������]��ڂ�׽�;�$�
 T�:�b��[Y��K�%�chˌUi��s�W8x>2$�ރNn�޼/�gAw�M3����>��F-ey�@ʙ��y�&�.)�̦Τ�_��W����w��&÷�IA?����Fe�z��U�t\-W�@��F#���B�	���2v�h�����u[A���$�m�ӧ
���)��'�}�.iOg�i+��M�<O��f�,6��F��1�T�s�+�Xc�P�ɼEU�$��m%u�q{+`�܊�Mp���pY��n�%d
��#�E�	b+~EMPHf8f�F�L5,��P?f��m��]��"�.$�U�����=d[HPVf?jC�]^�(;�2���3ͅo�I,�t@^��!�N�)h���Sf$�V\V�oQVy���*} 
Ky���L����QzŪ\jA�%������{Ƶ�������m���3�UՖr|jJ�Jg�p2Dž�c*\^b��:Xo7�P=b��{'�,œ��Y�}��<xv�̾^�= D�:���E��w���kJ[���Y��p�y��{���V,�]��3u�{��ԃ+D�M��N~?F�
 ��v�R�'�bF�k�{�O�͋dL���,|�Ϊ�y�%Ai�M�3�{Z�O
]JPV�(4�c��^Q؜}�5�7�7�I��|��;J��[Zoԭ��¸w���^�\Ť�,`����۹��D�9Dž�f�F�1Ud1�+�X�T/pU72�$˫ؾ�
����}uu'�mѿ?��0��[����W�;ƽ��F�9o�Ł��*s�=�n���.=�	`�Q~�d0���7���L��V�ߩV��B���\
wPC�'R��fu3w��=�os�T��>r$O��f-#/7�ʂN������>�Q�`g�MN��P�_R�ܮ��h�~�d?�ì��isv< �]����/�uW~=Ԗ�+��6=@����ד�O�i@�~jg���pJ~�6 ]�~E�A�Ec�oc훷D�M(H������S3&��m����˞�I$1i��%�;B�j�Q������V���C���eH��N�'�$�$Ε령L�I�*�5��OU?�v�͙ЇxDݟ�O!�"d2�/�
+��M]m�i��æ?��*xVK�g��Ɩ�m~�[��U{�({�����h*���vThY�^�d4j��B���6��Xƿ;��\$̰��M;Ieu~�^ʳLT��"���7[��0H��3N�Һ����V�ϭ�����3"Iُ�u4����f�I8;���A�&t���pU!X�o�*��R��CpM�~�Q���`�%�ţ8�6h~Ů��	?Ӆ�"/�D���Y&�n`E��Л���ɵ3㌍�.\%`�`'�����-<�")/%�0���|v��@���&�ї�g������iNH���&á!�������+g�ЈΑ�W\{��Mdg����wYn����[!�ם�9M��gNS2$���g���=�r�[���q|.�� �d������\���NV�0��䏽`n2mʞ��m�`��v<2�w����	BJR>;LK�jP�
�*�/�T�(��8&���2.�F�4h��zHf£?�(�C$e�xbR�~i��E�"P��0�LJ������oLb���l�=�������g���
 �����(z�b��>�[T�(բ
+W�8	���p�v�ԨV�}:�5�(��2߳�n|
+��ѯjڢ�-�Ou>�䊲�h���
+%&k�T&>`��ty�5
�V��W��r���0:'�q��w����8�$�:dU�W�����]�kA┌�f;���*
+:0#���id���a�Q0FA��������u	�5��d��I�G���
+U6���Y�
C��3��0SmE���=�D�:�c��q�Œ*/%"��z}�Eæ"�a�����.��+LgҁN(�2G�"��<|������������R�	�W-�	0l�1��-o��D-r�/z�G��#�h�{�蟲�s��ŗV�H�`�
ĥLdI|�y*P���$��~dU
v>~����jS�r�Y�t䈳����~DdW�ns���
�u]<E�g����;����H�����Dr���Nߚp��Qt��jN�p)������u�
+0h���4c
+l�a�_zvs�I�˨o�}C+,�n��n2<:J��}üy��‚���8�V�	��D�0�[����q��*��`|�q�y�@dP� ���ֱ�U�ը�	ÙެYM��pʬ��bREaCӹ�=���l8�YK�ġs��Oٯ�xj&��!k}GNyt�����9�T8�\�'o�2��,`EX�Nr�2xZ�X��f�B)�"df-^밸>�]�E���iN 38R����+���
Ņ����(�����gt�>M;e9�Ջ����O�����{z�	H�dC�r���8\h�2[���W�q�	�LĖ>�\5���T�`9�/.T>��w'�E�HZP����z���͝���6Z��5.�^��> 3����"0N�X���7qEb�����:pp�0x�q鎥[q���U�[m&qߘ)�L-�����[-ct&<��Z�����
��p�Z4�&�Ri�웇p?N��U�(-F�4��к�*��PH0��s�	}\���Ȭ[��=`��1nn�i^�����ZX�_O �|F\�
{m*�{}VR�{��,�E����X��
 @���.7�8
xS�~f��һ���v���Ąٱ�s�=o
��\y#�JOAr�b���������k菷
��NR��O�#�jI򣩨��w�r!�=�Llv�y-Z�;+����^�b+y;��훂flC�r���A��K�,/l.�@������Dυ���07vб	]/�;\U�-�
�u�ލ<ԜK�65�<b�&T����Aks��q�w�O���/�m_rvuD���4I߀ʺ���OR���Y�C9�x@�p�w���W�b-��)�Qӓ{;�4IQ�s��5m���1׃ﮪE1�t���J�}�+<�����(#яK��;;�6�M���X��I��*Fؚ-f��U�
+�ZF�k��Hkif[x��J������^��rK�Xb��
T��-�E�K,�����A=�����'yؙ�{f�Zk��Ե�5(�7�M����`a��v[��d��je��h�;lE!��sI����3��ޥL|ݑ~���K\���c�ޮz����6���$�g��u�V�'7�I/����6�_R���%��;5���)1��l'2�n��@�9j�@��|��v�
+\����`��x�CȦ)9d}P��5�51���RA���PW��lrՔ��߱Do�3�d�g���'��V���wW�ʘ�'�#�%
+!��c���čC̚G�I~��oc#X�!�i�9�qA�K�c�M�öx���yE �B}0�	���e�6q������'*�q��ǣy^�G2є��X�߫_X�������3a�K��9͛���2�)tpd��h�44�.���=�[�
+��
7���7��1sV۩�8~���s�>K–���	�#]D�'u��l��j��Ixy�٭[�zn%�8�����G����&|�Pa7e��[����sm�Pܭ�\��fX}�6�����#? �Mt��
�)0���/cȁ4�#��t���S��ݒF.OOРd�6�
+%��gX��b�d����n-�dM��6�b#4�ޡ~Gܐ�/+uڼp����B.��CO߼���ӷ��Kg*kMˬ��
+x� +	���qO�HC
�￝�`duJ�^�P��/��9S]P+1xP�@��(�JJ���yѹ�E6`�um�,M{�#��|���^B�2L;��}�ԧ&t�9�l�-�
+w��&��;Jo��A�	�S:ha[N>�C�C�Z��r����D��g��w@2z��W;L������(3w�����h���W��KfUAK�#�:�x^J�^�^�����5�2��2��~\��+ڠ��$��P�ް�’��'G��8#�6Y�v߂K���B�E�����tdþ?�bk��$Z�خ��r2��|�����_&Fԛ4b̏�,՗��V��=G����.�%��7'��Y݊k�g��s
����t4�j�%JW!ܜ��Lu��9w��Niϳ��d��+#�@�Z��F����^�y�^�B�*���H"�w�����e����9ۨ����> ��x8%"h�� ��l�X<���!3�kx��~��4����iח�k��c���
r$�Xߴ^��k��c��R�g?��;��3U�vԳ��|�Y-�߈-��9=D��5���Ð�c>*�S]0K�5[�rqV��6�=��CywG��,b+$~�D���dHn ʈ�Ic�2�:�b�[�rJ�8M�!u(�S//K�*�Wg���%
T
 _N���
+_d*�8h��q���>��֛�s	�@�K~�qV�,�I
���==)0���~8x@F�0є�1[v?���#�YRK��
�-ɸ�MJՀ��<	�"�hfB�[o����5�R���v{#�{�4��O�	N{����0?�۟9�Ԗ.X(]8�<�/B�v��
��j]�Io�4q�$��8tIL5��Th�a��)m��0�uM<,�WP��F�Q��
�+j��p�۹l�QvCj)�.5���wz+���5Z��D�|�bzlL {V��Dԉ^��k�{h��FV�}��S�h!�0�-C~-D6�?_�Pj�|�P���wgj�����M�=u��3��й���:�ljr\� _��Sx�)�:�_���	�����HC�����$1{�����lި�*��nL
+]a[Az���Oi��ӫsĦBa'����@��s.��͈N{�I�9��/�3'Z��݈Y���{��ݿ!�&�xD��������@��dX;��m��D�?_�����R����*c��*�X�C�EdOXI��?[E��E]kY�e��QY����إ��c�!>&N�y�Ҭ�p�O<V�>Yq��]a�l�U�!	�#5�@�
+(s6Ԙ�[bf6�*��pr�ƃ+"�8+z}��깸��]��t��	y�B�t�/��E<��Ka>�"�i�S��M��Mn�����o�z���3>�i��Zf[n��F�m(��Ք�Fd7F�PXW��DK��߫o5�|{f�wA���v}��m��0O�$�7
+9c���<P��1��oT��:̽�O�@�oE�� �����������=A��ڔ/����@и���v4�]�O�RlMƺ�/�y//	�z�q��E�큆�(	5�[�	C�50Ux�K(9��y����l��y��?DU݉;��֝RE5�H�I����p���&��D����ff�o��̜֔����Re��ۓ)��r!�w���Q���\�L'/:4�%k��u�cL.��$������a���x�.9?al�-��:}�(``���(d�3�{��/�3��?M���yx��*�Ǐ��MC�`6��z��FP8�y�ݨ橗�BS��h��d��cw�[�
+����\3G��t���2���i��#�q��\˳P�[悽��$,��-S���GaBշ'�"�g%�N�Ȳ-3&�j�����$χ0�}v�ۖ0�/tD��
ډ�D"a�[�%�mm���6o����,���)oM�Zh*���4��kY�0+	�ʣ9+�����sSa���xY	~Md	�ީ�^#E�F�N�FP�6��'Ҡ
+3N�9v�N�5�F�NP����%6('l� U%�8~���eʼn����,me	(��X�sk��$�P!/��Ev�]��]��D��_8���W����?W��!E0;���^U�\�д���ZI�XQB���%�ZH�2��W��X�Ѿ�~*b���3�A�\
+OCXsӯ�R;+H�������� aJ��5�#
+�UX}g���)�2�6��'o4!�����U/XW���U�W�Nq]��B���W8a���T ��Ca�P�ӟ�YN�I�|y����f�O�XI_�'4hPv���kz�?M�5e����V�U'����'�����=f�X��R������^*��uz�����L�˟���9nz����#l�p���4������Y��WWe��@�۟�L�0ٓ�j�^G-�����24���M��+��^�^*����.�I�h\�[�%�`d Ѫ󵽪5�X	u��f³�zo��b���	I8��Z$<WGF3�
�+�x�b
+���:q��4I|	���v�~Hweg[b��zh"Y����Z\�A��*��ň�n�OAG�I�C���=��i��=���\YC`ׄ/M�~��=ʝ��rP|{R����gK��!�'m�C]=�N��q��P?�;����YIA.P�Q3��BA]�ׄH�^"��O.���or�X�|>��f�T����CA����Xؗ S[�tP0ݐ�hQЪ���wrQ�>ʃ�$SDq��Rk�$
+*��NNQ�.�ze��-���ƃ�d�N��H����z�.S�m�l�
�e~~}�;L�8e���u5��\�^<����)�~���$�J����g���L����������6�Ε��PO(����{ę�N���Yu8SK)@~����}�{���KY�R)��NJ�������t?���w>��K�=Pz0���`L��*a��^c&ג��������&W�%or�U?�}��~Ȕ�7��_��v�U0UO��@4�޼&�����a�.�Q0'&׶��~���h)��0�k�[��W:���;�C�a�sd"��m:snG������I�@%vK�v��"b;@q�io��r�M�2R��&���ٝOA�r� <*;�Eӝb�������`�W��-��x?L�Qu�ԧ#o���G��v[��|�����E��0ٰ�`}j�7���*``�ꪺ
��������`��fhGU�z��€����5=si���P�fK���Q�����@%�h�Ew�Z�x^t�<�`�;j�j=
 �p .�g
+2rR8�k�$���X#`�yh=��C5�jP8K��cH
��7ҁ�Ih��;K׀�Lü5Х��Q��Z"N}A��čM�F���>�ݖ��4+$T�9�m�����`D3�RK��F�[V�n[�
+��k��V�H�
l5y��m�����MƑ��MU�F��95���wԾ�vB
�+��J-W̑��i�2(��oJ�����+�SjՁ9Cjz5�e�;ݾG�BU2���O����$]j{��Rk��cV���� Gw�/Q]'�T�r{1�Eu�݊O0�>�ŵB���OtwHPS��[�=�K�&=*��<g�����AzT��������%�p�RG���P�ysn��{1�2��+�O���x�s'T�Q��w���ђ�W�+*�����œ�ro$T�Y���q������=�Ss���us�L�;�Z)T�5i+S=X\<�	�}�̮WT<��9�5-��šS�)[�u�aS��[U�H�<���/=<���}���T�>��ȧT̥�;�}�slk�9k�K(�@�RQ�
+F5�<C�A�P�3'�bw7/R�T�Y�ƙ	�����(������Qw�̚ty�V�I+6�z��e�do�dU�ٔ&|8���Ȇ��)-��٦���H}T
+��R�$I�g�J�W��oI�!@ �
+"[XDE`D��O�����t���~�q&�n��n]$r��?����}����^6juφ��!���H�l�� =���v���G+s�e�������֤�Jڭ�5
+=|��w�����U�x��Soq�n�w����yUӏC���Me�
)!�ۻ\ҳͨ�|П}+�x���{��Χ췃�V�3�j�e%�%�l4���G��=92ގ�ɬ(�W�I���*[�~��������D�[_����Yo���
`�|;��?Hj���7|{�G���Fx	��owo�`�w%����IdC�|/<�?�-CWK�(\"����zg����[�ho��8<�p�2!H�NO��^��9z�ϡ��oԢm��D��ϵ�岋9p�!�1t�y�'k��!���2�=��IH?��8I�k1ȶ��1�]��rΣ�mP�֎���3'��8�Q��k��*W
+�{j�Ϩ�r��	����*��QUu=0P$9L�U�*��Q���$��QS^s����	����`Ts�_�SI�=�d��>�X����$��i�A'8-&<�1IuU�p�E:��
+EJ��a	�ꒃ��J���A��/�w�wG��{�4p>ﳂ��ֻ��g�
5�η�55���R0RXl�)�0����k̾z�inJ��Z��
zj��3%ũ���<u�ǝp5��-���B�kZ����@cT947�GϥD�0������\��3=Mb1)޶����DFc8-��|>�A�!�o�F�Hn�TM94�^��?�p���P��[�-ʧ�?OFB-�9U��Vp��������'=:Z��I��u�qˊ���D�q��*#��r��ش���ԛ�K����^���弆����U�,�=�{�5�����?�����ͅ�f�Eb�
T]e������O��dc�z=i�|Q,4�~h*�K3�?�Bƶ"��D�e�6vՆ_k��,﷖!������yPb��l��`���x���)��ƭ�ਵ��{�O�_�%�'�t<�⸈N#�
+�Q\lNHKrk؄�#��#�ƘG���i+�'���T9u�B�AI;!7��_��n�#�:ba�{v`�m
+L�1�$��p,ޮ���i
=�_q
+*�%��+��"�J�YU��)�0d,6��-"Y�1��3+�o�U���O��T2�]T�(��/�TY�ϻkK�u�B*�i�@�����$ё�*I��5�`\y~�s/�8,ܟ����m}�#ZmO���<<��{pZF���w�X_D������ե
}�����l��4g���+��"0��z�}�X��F�H�=5i$��O��?��,�Q�‘)�W��Y8��Gۜ
���.��>�\�9
�o���B���x~V�/�B���=�Ԃ]��gEsT��_� ;{�y� ��m�iB�Mn��;7JeuR����8��@u�;�{u���&J���
+�Q��@��q,nU#8-LX}
+2�V���u��u����髡�DUL�p��\� ٸq�H*��f��Y헨D�R6�"�δ��YGR�I�K[, ���P��N�����J�Nk��,1G���?����?g5�#!t��=m��tعg�����:;!_K3y�e�Ԥ#NK�w�ۋ�P�+����I7<�nO#�o!?j(v�
��;\q�_k�{ś���{Ĩ� �ѱl�:�FC�	.� ���E��J��M͎˯�����<��{��8(����;r�*�vG0jïK�õ�x��RNs�M�3Z���B����b��AC�H4�2e������V&ev���d��*m������:M�\�tGX�d"}���Zs�3�ߘ���h�L[@oѾ��x�v���!A��oPk�(*X6 ���
�����k
/?�̅	:w�����4r����ܟ�w����`=���G54�dDh��t<�RQ�z2�ŝ̍�i\9bX�Oe��i�݉-�*g��C���m{bC'�"��_�؊���r���cm�9z����mI?��g'�?k��Q���އ�&AS
 ��@Ǯ��G&�׉���Z�)����l��)���`�0�ݺ��
��t
+���n�y�>q��{���5A����m3O���*��A<��,v;����
�m�tv�bv���XC$�E�I�J^�n�q�Cp0$��@�.��V���ǿ��{���Nݙ@�<̅I�_�Wt�CL�a�}��
��I�
��ŸH�A�����X�K����lܞ�8�U
+&�T�*W�8$��s��fo(�+q1%"�i.
�'���͒���po��%mn���;E��:\��x�QO0���9�~?kNNL�r$`-uz��ũ��Z�Z�;_k�S�?aE_����K�������!G��z9d3��S�#���lK��q����d�����M�󾝐�	�x<[���+�d%���'+�Y�m��l04��h2�``�2E��-�I��9��N�ܓ��p�5k��!P�=�ۂ}��>��UohsFm�cM
�k��=�l���⌓
+AP���?��4��l�l:2�,���Ǔ��%f��+z՘k�[FgR�[�fR�X�:�e��]g�M�#��V5�x�uh��;��x"\�U�mk���\�2��SR�����'��ֲ���x��k� Dr�[!z	��eB�J�� =�>�-i!�����E!������\���.�f���o^��x��[���`L���2<��!�˛�V\޷����Z�{/�\������r%�߱���+8�v�į�АB�O\X��F��r���砦=��r�A�~��*��QUu=0P���Y�w�=*�7d�_̨��9��|DŽ���{0j�������������b�S�ʕ�j�"�A$�7�?Mx�cTU�pQ�z�Y�p�M{��'�e�^	�U���^�]��`�؂ P@��A��e�� u_Y����K�&iX��x�>�s�{/5�r����=F!���f\�_��w}�ܸ�oJ
+&���!A3a��EmU�
���#�I
+���K`�8W1N���V�Vu���>�Q<
�Z��yս��NxW��O���>���t�QL�a-��g��P�>��tн����y�)
���(��<&�F��Ru�l�NXzd?�b.?<���ûO�2�|M�c��7k��3t�-H�M�쓪f�ӡ{�\x �7�	�� ��֥b`�NMa6>�8 m�Sj%رS�~��&ҙ�ݴ�q�H�2�u*�c�uQ .��/3����������f��P6�1��[%'���zB2��Ѐ�~]T�9�kX^V[�Qz�ޘ����)�-�;>�92J�*�"�UJ�0t���� ׯ�*��>���)�lhͩ��&�V1�|
P��F���+��8�_���WUo=�/���j#Y����f�ǝÄ��

Ebņ�٬,n`P<2i�<�"����d�F�)�E���h�,��L"�����^,��c�!l6��_�B��q�`Qo���d0i���c0�u�Bn&���H�JK,�E�\��N�^��T?�a%˫JK��fc�I�E�?���)��<�>��3p����pz(�!�
 ��7�mn�[N�[4���t?�L=���ރ5���Z�a��٬h��ފ���E����|����#gyU^�<mK}�i�OKK��ܝGوl�czS�����l����JLA�x�P�s��*d�}��R4d��U툶�
Ĉ�j(���-(Ky�;�u	�u��SI�fS
�+�ST�r 7��ǻw">��*%؛��0���r���%�0yUG(��h�����a�j)�@r�D�r�%��%�	��4ӡ����GE�jW�[��1���^J�}��s�D!�4�s���2&��LXo�g_	�b�ox�$�b�(&�oB�:ٺ}�T�>kF�m�c���GM�ٜ?iF;�N��=��ݴ&B��ʗ�$�����E��|b���F$�B��'W)��0�y������5zNh�n�.�tk�������������E]T��	B7H�OOت��%��
+��Z�64�j��`�O�V�Tm�EG�&�k�H�a8`Ea�����i"��M5lΕ{�P
+:�߷��i�6>�,��t��Ǿ����#��`r��49�f�fϠtP�S
+oU�5pJ4ب�tX�h�I�����[l0(��`�ĵ�Ǐ�D�媏�-��l�X�?��uT�ym
�.��p�����PX@y7�����
���S�q��4�5h*�3�x���
+i���ä��8i�[Tp�C�f�a��+���ha�U8B*(��Bh���S��mIʬ��k
+i��:�T�n��-��;����G`m�ǘB���4�c&�杼�doܙc�#�I���绹��`
+#�5�8����{(	y�/<��G��1R������$kx�}b
+�u���<~�5�x���84;�S>��������`��m@�%�xD�[�V��Q7?�1J���}`���������>�]@�=��c����}d���#hFzW�V3���
+���>����0M���Ў�N�A������YFB�mlH����aI+`U�Z�!z9V�{#'���Zz�l���p�z�L2�}�5r��H(�.M�>x1�A�M�'\Tk�?y䇑��õ�	�qZ��������.����Qۣ�8�Iɭ�l���0�Wgm�W_q�Z�!CN��,Y���}�|s�@ߎs�����D�SU�#�N
+>�j���X�
+�c1��>���G�(�4��Fs�� �_B�z�xf���W�υ�ɘ�4ao�����ǵ��u�)��D$(�hS1��P{��Z�U�I�F��݌1�(�<�3ig�ic�1c�#N%���V�7ā�����&�$����f���L��/��X���E�����ٖ�9��ZKH��=1��2_y���Q
+�q7�l��f��C�	nE���G�r#<�!�(�E�ι(�z^3���S�q�tfy�<{�����U��\�*�Jw�w��U3����k�^I�ޕf��S����F�x���H�!���N���k�z%b.�\Wzd$�E�Yu�����e����.G�:0���~i������,��2ճ�R�X�t�����b�\4�P���l#{�x=���z�'�W{�x��Ӎ4�y�W+�x/�_Nҿ=����o�r���1��ݓ��EӢD��3m�{�S^O�$���+̆*��k�1N�f�o]��SX���u���n�I�Z�S�W�G�{EM
�����X�'��u�A�b�i�7����)�'������Q�._�2߹{�~�}>*~W0�,�V&>� k��RTBF�[��.�<�%�\rJ{���z�l_q��U;��ri�P�d'�aB��9���78�_g%+'&�(�U[��,S��gs�8b��Ֆ�-��+pcALWk&&x��:�>1��b��}�h�R�Fv)�_��#
+��A=�s`�N�1�T]m�����b}C%i�OKk�����т�{=�Ú,��7��Ӻ�V)As]��A���f_�A��WsX�7R�V9;��KK�
���ݴ&���*����/�.��>�Ǎ�0$w�qh'/��*��ҀBQC�/�;5W�V[s���a���-�2�~Y�\:>U4-�
��_f�͈�ՆW4hoB�I���֪��-�)��Ȭ���G�$M,q���G�k��{#�r|�u�R�z8����fh�B%}7�o��#6{CZ���E��YY�qk0�L�"���� ���Jκ���2d�/�ɱ)[�1�"����_Ĕ�9�q�@�
+&m��_y���-X�&Cy�T�Z\/����3��V�������uS�	���f����1a����\A����{HB'U/�����<��;Y��D�unb��2����Hs��g�$�Q�hsrܞ�p�{�,��!�%�qŎ+���L�9`ѐ�qLoni�c�s=��	��UE��!����]]GV�I#���_���O�-W�#Z��
���QJ�0E�n
+endstream
endobj
29 0 obj
<</Length 11656/Filter[/FlateDecode]>>stream
+H��Wk[�J��>��#�����,� �X(z�X+U���?3���Lf2��<��}Y{��V�����qm^(�<��ƤWQ�DZX���4�����q�����h������wӜ�K���Ҧ�V��C�~��ݢ���d�ҥL{
�L�_6yې�n#��S�wC���?�?Ϳ���f��?�w��x�B�J����1tc9�,֍t�.K��ӭ�_w~[ɽ�j=~�Υ�G�JYnܜ��`���jD(8�o)8�&"0gmޘ���kɔ`����ö�
+X�B���TN�V�֣*	����&@��3�r�Q�n(�a"I�^��I4ސ���h�oS�Q��ti~zE1��e&�qbJpcnD%p!T
+���iA�ʗ�n۲P�8�L#�2;o��Am��*�u�@���1I
8l$�
+�*VLЍ�xu��ʯ�f�a��L��{�"��l�Q�)�6��;��5�
� g���n�@�tixdb��4�ݏ�J<I� �MkE��MAа9)f�c!R2C��3�f�G�Yͩ�����Dæ	c��lr	�̆��M�zf9{�6=���Kn�����������BЌ���� �-�Z�x�N?
+�»��F��y��D�ٛ����
蹚������JV�;���ۍ
+����$����UV��ã�r?aem��H�Lje�TG�Q`d��NX{GV���Q����>vr�x��\1�>q�-���ɑ˔�R{߰�Z��4���X
+�~�n$��?%�9�1�'(��M\���G7�	l����\Bs:���p`�Ozx^��x�M��s������D}�t���y )i�)�D[���7����D�5��3
b.ۅ~LSg�q�	z_CȊ�f��4��$�(d賭��P����!w�L�I�5B�rb���FZ#Eh�'�pw��AOʅ��h������Z��_�G�����&����5=p�q�|��(4����MeU\L�Qw�����I�y������t�}{2z�n���`�n�m�%"%�!�P���ѳ�����z��S�gTP�,�Y���d��4t(����0$�F�pr�U���r/��ŎK����G�F���L�V�E;'ӏ@���~�G�{�H��]�~�8A�i?\��)�ef��Kn?��s�M)C7㾖��|ڐ���N\d�Sm�[k�P� y����(��5�e�k
+�!�-q<&3��i#��t�K3d���><�G	�ĥH����$<؊N\L���`m�?p؈����4��j����l�9�v�����>es��z�3P8.HC`�>� �P�Z*&~�<|l�wVn��2h���?�[5�Q�k����T�R�m��ܟH1�kmG8�x���A�~���6 {�ۏ�4p���q4�+���P�4Ȉ�i�O�|ӌ#Sxm|k��>�/�Tҧ=�5�u-�� -_��m����:��ܞ�P���@�2
�E1�G9�X�Q���f�ER1���F�w�p��^��x+�
+�q���լ�n���i�pkS��,d���:�8/������^����c?��5;o��8�:]�hMV��O�!Z?\Z@����䶱����X�*�g�ժ��.s�x�~[�2nj�����/cu��qr۬V��V��\+
���r��b��[?�"�8����ͭ�6"��ߑ�5���Ws�-p�Z��F����j�R*l��v��P�Ũ�Q��w�>�����z�����Ąv�V���5\�q����J����O"��?�	+]���ǫyt�y}R���u�.���+T6hV� /�g;��_��y8�{-���^W�G-��
+AC �����tI�'�������0q���t��ix�j}q{���\�^�x^g,����;���G&���F�=6�y�"������C@?Y�=`w��ا��k)��d���^��'9����jhj��.V���Z�}E^��wh�G)����?]������*�u7D������˒=�;ʇlL4��ɣ{b�	�����X�54�H��(���QM�VZ���&T��x(x��VX��*w����E!d&���'&�8���Q
����$�Kމ,C�����~���	
���ʯ��a�Ɯmxa]ZY~��+�@�b�Y��'�`�����kSt��-����Wxn6��6�;�]�D�������$7�|�u�J�6 ?���#b���GE���(u6��y%�����d[)�E�-�_J����5�d����Ī�{A���y.&~����W
�V͎$$�m����{�/(iN�k�����T�������c9,�!�UR�:'�qX\��U4�Rߦ�
 �q�Oh8���Ѝm�O2�6	�un���E�LA#c=.h�4[Hڕ�B:�iH�	�1�4l�4z2}֥�/V{gWx�uc�N?�"Wd�?[R=��5Ţ.e/'"�hDX�0wˉ�:�3��k
�gWPFk>���g�q#�&�LO?UC7����1�.Kk�OY�I�;
+��ԃ��4����
+Z�k͍�6啍X�|Yy�㦴>�����
�}T2φ�y�@��ʳq�Y�o#
+l�Ql�Ǯa'gְ2��X��ޞ�D`J4�2+�
mnO;�qV����½B]
-��:[�J���78h� g'��X��A�DD�9�<��7��l�]�0��Z�j��ö�"u�X��<yQ��a=͒���_T!�Q:����P�\7N2 �A��<|��
+I���2��$��܈��$d{���lOV�0P�ǫ��
S/�y�"��ޘ����s�c �a}b�c��'�"�YVL��	��3��);���='��>{�2=L���&���D>z��:�朝$[�,���Ȯ�o�]�XM4�d֦���U� ǽ���5ɱ�����mE�\�J��؄�O�\�}�{T�<~L*�蠆"�n<�4��Q^fK�.SP�����L�^�Z��]�
+|z����voM�Ya��2M��ۼ�|�Љ�yba��|���j�!����F(�-R����&_�k�Q�e�Z>#/�|XcТWW�UMw�X���e�H^��z���D�ς�DȆ�ԾƮU��R��E��g&ۄ������83s�瞩���j�W�Ә�%4�I�N�j���>j�7Ή
+/��_E�G2T��H��y]�`���h�c����qZF��1��D+,ctV��`ui��90F���|H:K�����ͦ!6�X��/�|vh�n����0
���2-�T�z�=�Q��2X�"Pws�(<�
+8o�綣���z�@c��v<zca(D�c4�=�h�&4Yj�Fxt[����i9��!(����\c��~/,OS3c�r��0�*sͶB�F���G_%��/Ӂ�P8k�MW�~�2
+�ln����.9�}��)�Z����D���P3��Oӂ
Z�um�v���O���y�#�i������<��A?����nk�2ף4��4���!���_<P��둩�z�����éM���WrC3�ؽ��r�`1��z,��?��X�q=F]�k�^�������k�{T��갭���#�46@�G��i��֣e[�d_���u���@�;�+�b�5�2�;9�削Hp_�h��)]?�v$��B-]�i���͏=����4?�X&D�WkW]m@�#���o.�֛��F�`n4 �z(��,�i�����B:�`�/
 n�a��V3
�vI��A���S�`,��,��D=8G��F=���(%�B���������5s?Ǣ	��jk3M��ES�擊�d����Y�&F�/��Q�Z$i��<�L�9h�����	Zj���و�X>��^��4�!�E��80��9�����1�e.��+���$
+F�9פ�{� %떀���h�c.���>m| �h�=Z�*T/Z#�ـ���3hB�v	͡���C��S�Ru��9����@!��E�i:b�yl�t�zr6��z�f���Z�=i��M+mB]�"j��!"��T/�0"���z���t���x�8>ִp��=�[��Zc�QdZ�!�-�ZljwXHͷUx�����E
�+ȑu6T��W��,�����)?pAo���#��
�_���ፔ�wQjHܮ���9w��&F�{��w�ݮ���6��i�v���{�3��4�y;m��]�-l���ÿU����q����C�#_�u����2���mS�,��{3�p^�X�Ӄڬ�D�:���R�w^�S����R���ls����i�ȧ�|�W�K�M�/5Y��
+ʇE�ܓ��݅���'w&q�´�d9���۱���xPy6���f<��rr��3�b"���dҝG���>������:^+!�^t����M��kT��*g=LX���>����U��j�*�]N����
X��F�T�
+�ۚ�p�)���r�%�{���6��A�i�����e4�p�!�
+Dz��n�G"uK�eb��.�n����hx�e��c�J�����H7��$R�(���{�x$tV1�g
+J}K	��Q�b��HI�Px���2�o��]�-wQ�{^ű�๷]�}B|�/��&6�P��f�&��	ޖx.��+Zz^czˀ�~܁�4"�<��BD<>)��a��xM��k.켊o5�O�	?>��N�	���ϱ��g�C�౉ Q^h
�U(��o��>�(ߗ^ٙ>ĀJ��8�CD��[�MM���>}������t+�k�7�%�aV�jv��@<��yY�IM���C]cx�_d�z{�O4+�71=0O��Ow��j{�(�����L�����[��Wm����\�c���Ǚν|���ۗwJ�*z�v�eT��bf���3�^ob�L��K���41/%�E�)$󃲠�??kFԧUGDO�������X���'�68��%[/&zy�
+�~xL"�8x�W��~�B*�?�����K�*
++k�d�F2V��O�x���s��i���hg9��}�`4G��V�,P�?��Ob^o�J����a�<;5��U�NC{1=�++��n�~~tbC�2�T��?pB��1m$�=�?f�M��m��.�9$@��tR��%��VS�$o�Rn�̼+�ͪ��b4LP��[�;�E�ԡ�@�?�x���"���}��c0��aet�D�����O?wG8���1o��P;zBfp��6PX,��^�3�������7��;(6�7+X��c|!�4�`��Ń	C�I�Ãa!��,
4D�L�@�X}���@�m�]~(�
���}���7�ʺ�$�jֿ�5%G�%���#�)L��Jg�~�����<�'Zu&��[����U�hH/����<�&P�[��P���d��I�J�B��%�%�0�\խ�:k�a3wk�1�_�cAʡ������Q��
�_�8��q��8�b�/.~>�A�A�������6o���p%�D�a�⫢ �i����N�8�F<�6\A����
 ��!}��}��ƈ�+���8<�!C�ej�g)p�����)@ws��o~���ZU���˘0F�+2��N��,�t��� x�T1�?Wd�Q�W��N0V.[HlZ�����ߜ@���h{�&�Hl,1�f�5�lBU�}��3�'0�Tn�1,^�A��Z˃Sn�*p��q]���(�5���$��T���O�#�A}l�|��?֫�+�`	��9�v�09$H���E��Q%s�}���V�D0�ܗ�����*|jso���t�bs��!-�}���I���p�ecGڏԝ9)H;�1�y�5e!�G�t�\Na!���ё�?z��ti��c�9�I����r�:��o���ʾ읜�Y����;R��mS��S4�?>˓m:B&�����AVշh�2t������}�n�p#���� /���:�T}���Z�>��GU��L~R\<.y}�q�SE�33�S�d�6�yO�N���kɔB?7i��}�j�E��~�O���g�5c7]Js���KE��[��RU��C(-��sj����[RlJ-?*geu��
 ��:�9w��C����X�_ի"�:��zSƑZ��#.;��@�z.�ϸEF��E�l�L
+frʙn�[��@6��M��S��X˾EN"�[M�>�6��\2q�v��1*?�k�8��*O[�X.��
r/��2s����Q���k0fƝi��J�d�d{�GU/C��+��،�"z�B�g�C׍@���X�_�P�K�������"1���
r��G�A����5RX_����8#��ƙK������E�iqS�VQY
+�>���Ah�� �``�i\�8Eu�&�t���X�э��]v�I��ސ�*���ӲY<��|4Q � �K��@A�&|P������hi��9�R?4$%^��5WRq3�e�\��/sr�<��aKM�r	�=Ohy�`�K^r��a�k7w��߿"r$�'�F�H���d][O���?��_g�I����揋�z2���g�_�w���O쏔�ʕˑP~2^<N�� l�Q#u�LA��Gg�}�l�)Z��'��0�$w�6ԓ��%H�&����,N1��(ſLA6x)n����N���,%�4���ֿ����g��蝾�� ���%��1ɑ� �e���y��$#j�-��Ma}ד�b����$Ƥ�XN�r�$��Յ�+���ކy�P�M��ow(Z����8��L���)f����y���b��f��ZN[��ϻ�Ӗ�YzD�rڲ�b�Ӯ�e���]�i������y�3�t-�-}D�rڲ�̧]�(,K�v�(XR?�#�Qb
+�~R����Rw�5��U@�x&u�Ip
�P��&Z���*�&z��w
W�����eiKc�>l��EDO{hX��u��q��.?�Vd	��������{L|�4_��I��V�ᔏq�����p�(H�\V4����L2-f��O=��	�8t���iK��TD���?'$�aVe94��p�b�RʮN!@�5�,�!6Q�`�.c�(z��h[#�c_�v���l�*�^��Y�  9���jӀ ?ō W7�N�w����;�Tl䆼����TP?P@�Z�-�A5�.?z���:��ʎ����pA%J��ꧣ݀�B���	�ɺ󆂱�@1��l:�b��7A�i���4N��4�*�Q�$(5�ݬ�wݵ4�͡���7�\V�H��s$�
+��$����ّ��6;�t� #Ъ/���S�o�o�x��!�����a��U�nu\����ą��Z"�w�XN�P�*]�f����X�G���`I;���ei:�ow���A��A����'��aY~H,?��850��,'�qf���m�K?�b���ֳ��t�n�8A��	X>�Cbkd����@7�^'`H��[�Y���N���zm~�/� O�>Ñ1��H;��
+�����t|P��1
+�̿逢�~�ߧ�6��;�"O1��L�az~�#'
+�~�@����.ҊI�p��v�������@��}/�1y�\��^���n����pX:?��0"
+_�x�� ��9Z��㗖����+�5\iN�	�Ȍ��F��c������z��.+D��UR���yz�ޮ+�V�}k�U��y����}_���%�Pw��!-�}�R_t�#\z
+6��(@�e�I��Cڡ՝����*ei?��zZU��@��9F}�q�?Z*��ڛ�scwX8�I+c!!�����a�:m�0R�RH��ٮR&_��W����>����*�&�I��i�����P�7��F�*^N��@�Lz��ǐ�3�)4�2:�YB
+a*+�$J�d��0۹ʉƗE�$�����^��V� ���.�rc"� P�~xb~$��ܳ)8`�����޵葱�)�]�|4e"���2�^7&B�Rј��j�aW>z�й
��"c&)L�B�d��`��}WƩ2z���7ZD/<N�'�s���C�g� "���?�J���3B�������f��j�R��>�9���4-��g�b���L���lT��lh[wOJ���s�j�z�u�XF������t()����]m�ϧ�c#hm��Пo�P�%�mP>�GF�7'����А��9/���Π@�P�bh�ˋ��ڄ���K\�z�h����LR�����\1��$�8��d5[0\K��pˑ�3�J �!9���j�^�
+��7%�� hյ�x�ǰ�YYY���� �d�F���c���1rZ)���z��juT��$�?�����9���^�F
+UkblEI���˭)䋿ݵ�̜3.)���
gݙ=�}���ӘEyj�h	�:�3S)~����;����I�����]�����[-ݲ}�e?��-��/~�w/�������.n0�o)��'����w�{���ӫ����/_�ӎć�?�۳��7O�.di??���"Z����/7n��En-�+y���߿�����g�]=����a��yw�ti���ϗ���=�q�����񐚢��6=x}q����W��-~�����V	��b��gM�5�������H���7��
��`����[���[�\�o_]�а���ZS���	sn�*q9�X-k֘|��Լ�dѴ����c\)�#^��,��.;�����=�b�aC<�ϒ��Xu�/R�̫z�Қ��~U�
:�*��E�P�T�ׅ/h�u��F��,n�$�o�L�����+�~�ϗ7����o1NXS	�+�Brk(�C�)�
�E�i���S���"T��0F�'�1�T�@�d��Cd!�����7����\
 �~$#�$QB� �w���+�S<�g�@q��$�y@��ڵ-T\\j*�Rʊ��[S�<; ��U�'%1(po�9/)�!T��W�u²�cHH�29ҥb�	%X�s��$QE����(I���69�����P�t��J�>�	@Q���R��f����4��s�SU+�q�M�zq�|��%&>��F&(��#Y-cF�bX�.�-����LJ�E^�������re`{L�;��O%�T�,�P1�6�$t�j�[��}݊z=��D)*�r%��#�Tt�ѭ���f�"���ƈ>�X�94�P�l�}��c���)�c|\Q���X��7��]�?�U��`�ԅ.wl���H|�+�����rw�R�E�Z��7�|�YqQ@�k��)���V0�Pp?�����@��5�������6V1잠������&���j��GK�l)���7�:o�+Z��+�m��K��1�Y�c���4��T4]��S�I��-]�sԠۇ�
+	�N�� ]=�+������$���S��������W;A��c���Ht��*B���c���<��nS��|�/�]�SsjS4
+��ޟ%b��R	$$���DIl���"'����Y]�
`cq��5�\�PM{�Fy����6�[e�l;�!e�]P9��)�1i��wDޅV�!�.RșX����]w����n���&u�#Z;��[#��b�4#��A�֧���,�VF���'��9�f��s6$ti��8�n����0�9�;�a���!��c��ѥ�D��{6��'a��}�Ȏ%Ȏ��!-9w��sC������M�)O3f��P�1w���J�@�X��=p[1��z��]e��k7:�l9)a��\��~��Wm�1�I�����0����&�;�<����ԫ�‡8�g=�ڸ�y�<Ǟ3����0���hOt-Y7��ؒͳ�a}��
t���g��{;c!����aػ��@2W��%32^E�����&ĺ��f�;�8RD���+�qf���y�MM1*?MS#��Ss��DkC����!���4��X��il�K2O��	��45�޽/��{����#���,i+
+�ņ��ʜ[#xr�-����5;�p��μ��"�'�-�łү�6��*�he��ñ��3��2=ɨ'�wk)s�R�M5��
g�ڔۋ��=8SUk�ʉ��[=�#�8���'	��a ����R�ٺ��MU���}�Q2�QԌ-ܥ}7ٜ3���[��yu�:�^�h�V��ځG�U}؛z%j4�L��ׂ;b���tL����0�tF<�����־�P�r=%� P	�E6�⇝�k����0�6~7�њ��	w����]H�C]F�ئ���A���*�_����k��K�[��(Z|	�^�N����r���.�1�|k)'�Ly���X�L���y�>�+/~��76��v��eF�$�E��1����C��"�(���~�!�"�1�`�O����ȥ� �c#�2��g9�A\���e�?Bж����=���J��M���鎱�h�T���v��[�Ω�����6�:N
+�G����"�8��nBQ�l�k�
+�
+A�Y*��H��u��0�\�!�2�#������C.|�FO ¾��u��L�g��O�.�	��n%�{�I`�<�SR%�H�I8 ���
+1�*/{x�D��E	D|��rc�"&튬5$[�*�,0��-e��'���H�B8b�*Zm@�E۫�9|����$t�60�Pms;a�:pP.�VU�T�
+�� i�v5�v�,��o�˕�[M_��.�Q�v��	!��<�7k�p8{��@��n V�A�f/$����*\�3#W�?O-F	v�JbɈa�dT��cS.�y�`D�RA��ڡ���<�g��T�"C�,͒S>������4�|G@�es'2�-T��@"���;�LF+j�y0z�=��=�WYTy���gci��;�	�e���e�� ������`ޏ�
6�!!���Y���J$��]U�+�! |�k���Lwuu�:�����x�	�������p�*�i�X�6�(4EtgV,���I�S�q%��y���րb��yceUY��w|��(�����
��oe~qeQ��aAx<xV��Y-�2�65r0���ƨ���
�9AĨ�y��6L�$j�w�]A����A���SAU������	��8ӌ����l����H#j��|2�?l�H
����[D=�a����`2����z��4�M�6��ƼY�T���G-�p�5z+$�2�K�
���4!��
 �W#��$�o���ӵF&��
�8�•x���
�ȘR��7,>�гن*KT�T�W�$�� �Hg=��S��P�ɚ���*�k��������xXM}�M9� R���e-�N�E�g����ۺ`�8��|ln�x��ˈ��l*c
+ij��Ύ�#;t��?y��?)�=k�����!o��z�!�
Yl�bC�ؐņ,6�?6dƆ|=�v����ޱ���է��f���;��5���~3|�ǧa���������nw��0<�S���a7����n:nX�n��^̍�_
+endstream
endobj
37 0 obj
<</CreationDate(D:20101118101701-08'00')/Creator(Adobe Illustrator CS3)/ModDate(D:20101118102730-08'00')/Title(usergrid-positive)>>
endobj
xref
+0 42
+0000000003 65535 f
+0000000016 00000 n
+0000015532 00000 n
+0000000004 00000 f
+0000000006 00000 f
+0000015982 00000 n
+0000000007 00000 f
+0000000008 00000 f
+0000000009 00000 f
+0000000010 00000 f
+0000000011 00000 f
+0000000012 00000 f
+0000000013 00000 f
+0000000017 00001 f
+0000015583 00000 n
+0000015841 00000 n
+0000015872 00000 n
+0000000018 00000 f
+0000000019 00000 f
+0000000020 00001 f
+0000000021 00000 f
+0000000022 00000 f
+0000000023 00000 f
+0000000030 00000 f
+0000019619 00000 n
+0000019693 00000 n
+0000019876 00000 n
+0000020842 00000 n
+0000026370 00000 n
+0000042098 00000 n
+0000000000 00001 f
+0000015957 00000 n
+0000015654 00000 n
+0000015725 00000 n
+0000015756 00000 n
+0000018944 00000 n
+0000016315 00000 n
+0000053828 00000 n
+0000019057 00000 n
+0000019105 00000 n
+0000018672 00000 n
+0000000162 00000 n
+trailer
+<</Size 42/Root 1 0 R/Info 37 0 R/ID[<BF3CA3BEE0B0A047BB932DA032FD150A><C2FAC1AC6942EC4CB20857BF376D5AA3>]>>
+startxref
+53976
+%%EOF

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid.png b/content/content/img/usergrid.png
new file mode 100644
index 0000000..d7b50ae
Binary files /dev/null and b/content/content/img/usergrid.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_160.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_160.png b/content/content/img/usergrid_160.png
new file mode 100644
index 0000000..28ef4c5
Binary files /dev/null and b/content/content/img/usergrid_160.png differ

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/img/usergrid_200.png
----------------------------------------------------------------------
diff --git a/content/content/img/usergrid_200.png b/content/content/img/usergrid_200.png
new file mode 100644
index 0000000..c977d7c
Binary files /dev/null and b/content/content/img/usergrid_200.png differ


[49/51] [partial] incubator-usergrid git commit: Website directory MUST be named "content"

Posted by sn...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/community/index.html
----------------------------------------------------------------------
diff --git a/content/content/community/index.html b/content/content/community/index.html
new file mode 100644
index 0000000..76e85e9
--- /dev/null
+++ b/content/content/community/index.html
@@ -0,0 +1,240 @@
+
+<div id="map-canvas" style="width: 100%;"></div>
+
+<section class="bf-tagline">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2>The Apache Usergrid community has members in 170+ cities in 30 countries on 6 continents</h2>
+			</div>
+		</div>
+	</div>
+</section>
+
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12" id="events">
+    	    	<h2 class="icns-calendar"><span>Events</span></h2>
+			</div>
+		</div>
+		<div class="row">
+    	<div class="col-md-3 done">
+    	    	<h3><a href=http://events.linuxfoundation.org/events/apachecon-north-america/">ApacheCon Denver</a><small>April 7-9</small></h3>
+    	    	<p>Featuring our very own Dave Johnson who will deliver a talk on <a href="http://www.slideshare.net/snoopdave/how-to-contribute-to-apache-usergrid">"How to contribute to Apache Usergrid"</a><p>
+			</div>
+      <div class="col-md-3 done">
+        <h3>Seoul Hack Day #1 <small>January 24</small></h3>
+        <p>KT is hosting a Usergrid evening in Gangnam, Seoul, South Korea! <a href="http://onoffmix.com/event/22000">Register on OnOffMix.com</a><p>
+      </div>
+			<div class="col-md-3 done">
+    	    	<h3>SF Bay Area Meetup #1 <small>January 23</small></h3>
+    	    	<p>Can’t join us for the afternoon hack day? We’ll host an evening meetup right afterwards! Or join us for both! <a href="http://www.meetup.com/apache-usergrid-bay-area/events/155130862/">Register on Meetup.com</a><p>
+			</div>
+			<div class="col-md-3">
+				<h3>&nbsp;</h3>
+    	    	<p><i>Want to organize a Usergrid event? <a href="mailto:timanglade@apache.org">Contact us!</a></i><p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12" id="live">
+    	    	<h2 class="icns-chat"><span>Live Chat</span></h2>
+			</div>
+		</div>
+		<div class="row">
+    	<div class="col-md-3 done">
+    	    	<h3><a href="http://events.linuxfoundation.org/events/apachecon-north-america/">HipChat</a></h3>
+    	    	<p>Much of the Usergrid team hangs around in this HipChat Room: <a href="http://www.hipchat.com/goLqupL1B" target="_blank">http://www.hipchat.com/goLqupL1B</a>. Come by and chat for a spell!<p>
+		</div>
+      	<div class="col-md-3 done">
+        	<h3>IRC</h3>
+        	<p>Fire up your favorite IRC client and check us out on the <a href="http://webchat.freenode.net/?channels=%23usergrid&uio=d4" target="_blank">#usergrid</a> channel.  Get questions answered or just talk Usergrid.<p>
+      </div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-envelope" id="mailing-lists"><span>Mailing-lists</span></h2>
+			</div>
+		</div>
+		<div class="row">
+	    	<div class="col-md-4">
+	    		<h3>Users</h3>
+	    		<p><em>Perfect if you build apps against Apache Usergrid or deploy Apache Usergrid.</em></p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:user-subscribe@usergrid.incubator.apache.org">user-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-user/">read the archives</a>.</p>
+			</div>
+	    	<div class="col-md-4">
+	    		<h3>Dev</h3>
+	    		<p><em>If you are building contributions & modifications to Apache Usergrid’s stack, portal, cli and SDKs, this is the list for you.</em><p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:dev-subscribe@usergrid.incubator.apache.org">dev-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-dev/">read the archives</a>.</p>
+			</div>
+	    	<div class="col-md-4">
+	    		<h3>Commits</h3>
+	    		<p><em>This list receives an email whenever new code is contributed to Apache Usergrid.</em><p>
+	    		<p>To subscribe, send a blank email to<br/><a href="mailto:commits-subscribe@usergrid.incubator.apache.org">commits-subscribe@usergrid.incubator.apache.org</a>.</p>
+	    		<p>You can also <a href="https://mail-archives.apache.org/mod_mbox/incubator-usergrid-commits/">read the archives</a>.</p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-briefcase" id="deployments"><span>Deployments</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<a href="http://baas.io">
+	    	    <div class="col-md-3">
+	    	    	<h3>baas.io (Korea Telecom)</h3>
+	    	    	<p>Korea Telecom uses Apache Usergrid as the core of its public mobile application development platform baas.io, in operation since 2012.<p>
+				</div>
+			</a>
+			<a href="http://globo.com">
+				<div class="col-md-3">
+	    	    	<h3>Globo.com</h3>
+	    	    	<p>Brazilian media conglomerate Globo uses Apache Usergrid as part of its internal publishing platform for globo.com<p>
+				</div>
+			</a>
+			<a href="http://developers.apigee.com">
+				<div class="col-md-3">
+					<h3>Apigee</h3>
+	    	    	<p>Californian startup Apigee uses Apache Usergrid as a component of its cloud developer platform<p>
+				</div>
+			</a>
+			<a href="http://easemob.com">
+			<h3>Easemob</h3>
+    	    	<p>Easemob uses Apache Usergrid as part of its <a href="http://easemob.com">IM Cloud development platform</a>, which provides cloud service for app developers to integrate IM service in munites.<p> 
+			</div>
+			</a>
+			<div class="col-md-3">
+				<h3>&nbsp;</h3>
+    	    	<p><i>Want to be added to this list? <a href="mailto:timanglade@apache.org">Contact us!</a></i><p>
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community committers">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-group" id="committers"><span>Committers</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/alberto.jpg" />
+				<p>Alberto Leal</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/alex.png" />
+				<p>Alex Karasulu</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Askhat Asanaliev</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/dave.jpg" />
+				<p>Dave Johnson</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/ed.jpg" />
+				<p>Ed Anuff</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Furkan Bicak</p>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/grey.png" />
+				<p>George Reyes</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/nate.jpg" />
+				<p>Nate McCall</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/rod.jpg" />
+				<p>Rod Simpson</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/scott.jpg" />
+				<p>Scott Ganyo</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/stliu.jpg" />
+				<p>Shaozhuang Liu</p>
+			</div>
+            <div class="col-md-2 text-center">
+				<img src="/img/shawn.jpg" />
+				<p>Shawn Feldman</p>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<img src="/img/sungju.jpg" />
+				<p>Sungju Jin</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/tim.jpg" />
+				<p>Tim Anglade</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/todd.jpg" />
+				<p>Todd Nine</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/github.png" />
+				<p>Yigit Sapli</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<img src="/img/jeff.jpg" />
+				<p>Jeff West</p>
+			</div>
+			<div class="col-md-2 text-center">
+			</div>
+		</div>
+	</div>
+</section>
+
+<section class="bf-community tools">
+    <div class="container">
+    	<div class="row">
+    	    <div class="col-md-12">
+    	    	<h2 class="icns-tools" id="tools"><span>Tools</span></h2>
+			</div>
+		</div>
+		<div class="row">
+			<div class="col-md-2 text-center">
+				<a href="http://www.jetbrains.com/idea/" target="_blank"><img src="/img/intellij.png" /></a>
+				<p>IntelliJ IDEA</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<a href="http://yourkit.com/" target="_blank"><img src="/img/yourkit.jpeg" /></a>
+				<p>YourKit Java Profiler</p>
+			</div>
+			<div class="col-md-2 text-center">
+				<a href="http://structure101.com/" target="_blank"><img src="/img/structure101.png" /></a>
+				<p>structure101</p>
+			</div>
+		</div>
+		These great companies have provided free product licenses to the Apache Usergrid team. We use these tools and love them.  Thank you!
+	</div>
+</section>

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/css/bootflat-extensions.css
----------------------------------------------------------------------
diff --git a/content/content/css/bootflat-extensions.css b/content/content/css/bootflat-extensions.css
new file mode 100755
index 0000000..513ecaa
--- /dev/null
+++ b/content/content/css/bootflat-extensions.css
@@ -0,0 +1,356 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $bubble
+\*------------------------------------*/
+.bubble-body {
+    position: relative;
+    padding: 3px;
+    background-color: #ecf0f1;
+    border-radius: 3px;
+    overflow: visible;
+}
+.pull-left ~ .bubble-body {
+    margin-left: 60px;
+}
+.pull-right ~ .bubble-body {
+    margin-right: 60px;
+}
+.bubble-body .bubble-inner {
+    min-height: 32px;
+    border: 1px solid #d3d7d7;
+    background-color: #fbfbfb;
+}
+.bubble-body .bubble-heading {
+    padding: 0 10px;
+    border-bottom: 1px solid #d3d7d7;
+    background-color: #f4f4f4;
+    font-size: 12px;
+    font-weight: bold;
+    color: #222;
+    overflow: hidden;
+    white-space: nowrap;
+    text-overflow: ellipsis;
+    height: 33px;
+    line-height: 33px;
+}
+.bubble-body .bubble-content {
+    padding: 10px;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.7;
+}
+.bubble-body .bubble-inner {
+    margin-bottom: 0;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.bubble-body .bubble-inner .bubble {
+    margin: 0 10px;
+    padding-top: 10px;
+    border-top: 1px solid #ecf0f1;
+}
+.bubble-body .bubble-inner .bubble .bubble {
+    margin: 0;
+}
+.bubble-body .bubble-inner .bubble-body:before,
+.bubble-body .bubble-inner .bubble-body:after {
+    display: none;
+}
+.bubble-body .bubble-inner .bubble-body,
+.bubble-body .bubble-inner .bubble-inner {
+    padding: 0;
+    border: none;
+    background-color: transparent;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-heading {
+    padding: 0;
+    border-bottom: none;
+    background-color: transparent;
+    height: auto;
+    line-height: normal;
+}
+.bubble-body .bubble-inner .bubble-inner .bubble-content {
+    padding: 0;
+    font-size: 13px;
+    overflow: auto;
+    width: 100%;
+    line-height: 1.5;
+}
+.bubble-arrow-left:before,
+.bubble-arrow-right:after {
+    position: absolute;
+    top: 15px;
+    content: "";
+    display: block;
+    height: 0;
+    width: 0;
+    border-width: 10px;
+    border-style: solid;
+}
+.bubble-arrow-left:before {
+    border-color: transparent #ecf0f1 transparent transparent;
+    left: -20px;
+}
+.bubble-arrow-right:after {
+    border-color: transparent transparent transparent #ecf0f1;
+    right: -20px;
+}
+/*------------------------------------*\
+    $breadcrumb-arrow
+\*------------------------------------*/
+.breadcrumb-arrow {
+    padding: 0;
+    list-style:none;
+    background-color: #ecf0f1;
+    height:36px;
+    line-height: 36px;
+}
+.breadcrumb-arrow li:first-child a {
+    border-top-left-radius: 4px;
+    border-bottom-left-radius: 4px;
+}
+.breadcrumb-arrow li,
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li span{
+    display:-moz-inline-box;
+    display:inline-table;
+    display:inline-block;
+    zoom:1;
+    *display:inline;
+    vertical-align:top;
+}
+.breadcrumb-arrow li:not(:first-child) {
+    margin-left: -5px;
+}
+.breadcrumb-arrow li + li:before {
+    padding: 0;
+    content: "";
+}
+.breadcrumb-arrow li span {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a,
+.breadcrumb-arrow li:not(:first-child) span {
+    padding:0 10px 0 25px;
+    height:35px;
+    line-height:35px;
+}
+.breadcrumb-arrow li:first-child a {
+    padding: 0 10px;
+}
+.breadcrumb-arrow li a {
+    position:relative;
+    border:1px solid #3da8e3;
+    color:#fff;
+    background-color:#3da8e3;
+    text-decoration:none;
+}
+.breadcrumb-arrow li [class^="icon-"], 
+.breadcrumb-arrow ul li [class*=" icon-"] {
+    top: 0;
+}
+.breadcrumb-arrow-arrow li:first-child a {
+    padding-left:10px;
+}
+.breadcrumb-arrow li a:before,
+.breadcrumb-arrow li a:after {
+    position:absolute;
+    top:0;
+    content:'';
+    width: 0;
+    height: 0;
+    border-top: 17px solid transparent;
+    border-bottom: 17px solid transparent;
+}
+.breadcrumb-arrow li a:before {
+    right: -10px;
+    border-left-width: 10px;
+    border-left-style:solid;
+    border-left-color:#3da8e3;
+    z-index:3;
+}
+.breadcrumb-arrow li a:after{
+    right: -11px;
+    border-left: 10px solid #2980b9;
+    z-index:2;
+}
+.breadcrumb-arrow li a:hover,
+.breadcrumb-arrow li a:focus {
+    background-color:#3598ce;
+    border: 1px solid #3598ce;
+}
+.breadcrumb-arrow li a:hover:before,
+.breadcrumb-arrow li a:focus:before {
+    border-left-color: #3598ce;
+}
+.breadcrumb-arrow li a:active {
+    background-color:#2980b9;
+    border: 1px solid #2980b9;
+}
+.breadcrumb-arrow li a:active:before,
+.breadcrumb-arrow li a:active:after {
+    border-left-color:#2980b9;
+}
+.breadcrumb-arrow li span{
+    color:#bdc3c7;
+}
+/*------------------------------------*\
+    $nav-tabs-panel
+\*------------------------------------*/
+.nav-tabs-panel,
+.nav-tabs-panel.nav-justified {
+    margin-bottom: 15px;
+    border-bottom: 1px solid #2986b9;
+    background-color: #ecf0f1;
+}
+.nav-tabs-panel .tab-default,
+.nav-tabs-panel.nav-justified .tab-default {
+    margin-right: 0;
+    padding: 11px 15px;
+    border-bottom: none;
+    color: #292929;
+}
+.nav-tabs-panel.nav-justified .active .tab-default,
+.nav-tabs-panel.nav-justified .active .tab-default:hover,
+.nav-tabs-panel.nav-justified .active .tab-default:focus,
+.nav-tabs-panel .active .tab-default,
+.nav-tabs-panel .active .tab-default:hover,
+.nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent #2986b9 transparent;
+    border-bottom-style:solid;
+    border-width: 0 0 3px 0;
+    color: #fff;
+    background-color: #3da8e3;
+    -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+            border-radius: 0;
+}
+.nav-tabs-panel li a:hover,
+.nav-tabs-panel li a:focus {
+    border-color: transparent transparent transparent;
+    background-color: transparent;
+}
+.nav-tabs-panel .open .dropdown-toggle,
+.nav-tabs-panel li.dropdown.open.active a:hover,
+.nav-tabs-panel li.dropdown.open.active a:focus {
+    color: #292929;
+    background-color: transparent;
+    border-color: transparent;
+}
+.nav-tabs-panel .dropdown-toggle .caret,
+.nav-tabs-panel .dropdown-toggle:hover .caret,
+.nav-tabs-panel .dropdown-toggle:focus .caret,
+.nav-tabs-panel li.dropdown.open .caret,
+.nav-tabs-panel li.dropdown.open.active .caret,
+.nav-tabs-panel li.dropdown.open a:hover .caret,
+.nav-tabs-panel li.dropdown.open a:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-tabs-panel .active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.nav-tabs-panel .dropdown-menu {
+    margin-top: 1px;
+}
+.nav-tabs-panel .dropdown-menu li a {
+    background-color: transparent;
+}
+.nav-tabs-panel .dropdown-menu li.active a {
+    background-color: #2986b9;
+}
+.nav-tabs-panel .dropdown-menu li a:hover,
+.nav-tabs-panel .dropdown-menu li a:focus {
+    background-color: #2986b9;
+}
+/*------------------------------------*\
+    $tabs-below
+\*------------------------------------*/
+.tabs-below .nav-tabs-panel {
+    margin-top: 15px;
+    margin-bottom: 0;
+    border-top: 1px solid #2986b9;
+    border-bottom:none;
+}
+.tabs-below .nav-tabs-panel li {
+    margin-top: 0;
+}
+.tabs-below .nav-tabs-panel li a:hover,
+.tabs-below .nav-tabs-panel li a:focus {
+    border-top-color: transparent;
+}
+.tabs-below .nav-tabs-panel .active .tab-default,
+.tabs-below .nav-tabs-panel .active .tab-default:hover,
+.tabs-below .nav-tabs-panel .active .tab-default:focus {
+    border-bottom-color: #2986b9;
+}
+.tabs-below .nav-tabs-panel .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+/*------------------------------------*\
+    $tabs-left and $tabs-right
+\*------------------------------------*/
+.tabs-left .nav-tabs-panel,
+.tabs-right .nav-tabs-panel {
+    position: relative;
+    border-bottom: none;
+    z-index: 20;
+}
+.tabs-left .nav-tabs-panel li,
+.tabs-right .nav-tabs-panel li {
+    float: none;
+}
+.tabs-left .nav-tabs-panel li .tab-default,
+.tabs-right .nav-tabs-panel li .tab-default {
+    min-width: 39px;
+    margin-bottom:0;
+}
+.tabs-left .nav-tabs-panel li .tab-default:hover,
+.tabs-left .nav-tabs-panel li .tab-default:focus,
+.tabs-right .nav-tabs-panel li .tab-default:hover,
+.tabs-right .nav-tabs-panel li .tab-default:focus {
+    border-color: transparent;
+}
+.tabs-left .nav-tabs-panel {
+    float: left;
+    margin-right: 15px;
+    border-right: 1px solid #2986b9;
+}
+.tabs-left .nav-tabs-panel li a {
+    margin-right: 0;
+}
+.tabs-left .nav-tabs-panel .active .tab-default,
+.tabs-left .nav-tabs-panel .active .tab-default:hover,
+.tabs-left .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent transparent transparent #2986b9;
+    border-style: solid;
+    border-width: 0 0 0 3px;
+}
+.tabs-right .nav-tabs-panel {
+    float: right;
+    margin-left: 15px;
+    border-left: 1px solid #2986b9;
+}
+.tabs-right .nav-tabs-panel li a {
+    margin-left: 0;
+}
+.tabs-right .nav-tabs-panel .active .tab-default,
+.tabs-right .nav-tabs-panel .active .tab-default:hover,
+.tabs-right .nav-tabs-panel .active .tab-default:focus {
+    border-color: transparent #2986b9 transparent transparent;
+    border-style: solid;
+    border-width: 0 3px 0 0;
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/css/bootflat-square.css
----------------------------------------------------------------------
diff --git a/content/content/css/bootflat-square.css b/content/content/css/bootflat-square.css
new file mode 100755
index 0000000..0e448ab
--- /dev/null
+++ b/content/content/css/bootflat-square.css
@@ -0,0 +1,69 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $default-square
+\*------------------------------------*/
+.img-thumbnail-square,
+.btn-square,
+.btn-group-square .btn,
+.btn-group-square .dropdown-menu,
+.btn-group-square .btn,
+.btn-group-square .btn:first-child:not(:last-child),
+.btn-group-square .btn:last-child:not(:first-child),
+.table-bordered-square,
+.table-bordered-square tr:first-child th:first-child,
+.table-bordered-square tr:first-child th:last-child,
+.table-bordered-square tr:last-child td:first-child,
+.table-bordered-square tr:last-child td:last-child,
+.input-group-square .btn,
+.input-group-square .dropdown-menu,
+.input-group-square .form-control,
+.input-group-square .input-group-addon,
+.dropdown-menu-square,
+.dropdown-menu-square .dropdown-submenu .dropdown-menu,
+.form-square .form-control,
+.form-square .btn,
+.form-control-square,
+.label-square,
+.badge-square,
+.alert-square,
+.alert-square .btn,
+.progress-square,
+.breadcrumb-square,
+.tooltip-square .tooltip-inner,
+.popover-square,
+.nav-list-panel-square,
+.nav-tabs-square li > a,
+.tabs-below .nav-tabs-square li > a,
+.tabs-right .nav-tabs-square li > a,
+.tabs-left .nav-tabs-square li > a,
+.nav-tabs-square .dropdown-menu,
+.tabs-below .nav-tabs-square .dropdown-menu,
+.nav-pills-square li a,
+.nav-pills-square .dropdown-menu,
+.navbar-square,
+.navbar-square .dropdown-menu,
+.pagination-square li:first-child a, 
+.pagination-square li:first-child span,
+.pagination-square li:last-child a, 
+.pagination-square li:last-child span,
+.pager-square li a:hover,
+.pager-square li a:focus,
+.panel-group-square .panel,
+.panel-group-square .panel-heading,
+.panel-group-square .panel-body,
+/*------------------------------------*\
+    $extend-square
+\*------------------------------------*/
+.breadcrumb-arrow-square li:first-child a {
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/css/bootflat.css
----------------------------------------------------------------------
diff --git a/content/content/css/bootflat.css b/content/content/css/bootflat.css
new file mode 100755
index 0000000..180823b
--- /dev/null
+++ b/content/content/css/bootflat.css
@@ -0,0 +1,1560 @@
+/*
+    Bootflat 1.0.1
+    Designed & Built by flathemes, http://www.flathemes.com
+    Licensed under MIT License, http://opensource.org/licenses/mit-license.html
+
+    Thanks for supporting our website and enjoy!
+*/
+/*------------------------------------*\
+    $typography
+\*------------------------------------*/
+a {
+    text-decoration: none;
+}
+a:hover {
+    text-decoration: underline;
+}
+a {
+    color: #2986b9;
+}
+a:hover {
+    color: #1b71a0;
+}
+ins {
+    background-color: #ff0; 
+    text-decoration: none;   
+}
+dfn[title] {
+    cursor: help;
+    border-bottom: 1px dotted;
+    font-style: normal;
+}
+q, blockquote {
+    font-style: italic;
+}
+q::before {
+    content: open-quote;
+}
+q::after {
+    content: close-quote;
+}
+hr.hr-line {
+  display: block;
+  padding: 0;
+  border: 0;
+  border-top: 1px solid #d3d7d7;
+}
+.first-letter::first-letter {
+    font-size: 5em;
+    line-height: 0.8em;
+    float: left;
+    position: relative;
+    padding-right: 6px;
+    font-weight: normal;
+}
+/*------------------------------------*\
+    $close
+\*------------------------------------*/
+.close:hover, .close:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $text
+\*------------------------------------*/
+.muted {
+    color: #d3d7d7;
+}
+a.muted:hover,
+a.muted:focus {
+    color: #aeb1b1;
+}
+.text-warning {
+    color: #d7af0d;
+}
+a.text-warning:hover,
+a.text-warning:focus {
+    color: #b1900b;
+}
+.text-danger,
+.text-error {
+    color: #c0392b;
+}
+a.text-danger:hover,
+a.text-danger:focus,
+a.text-error:hover,
+a.text-error:focus {
+    color: #a5281b;
+}
+.text-info {
+    color: #4fbeba;
+}
+a.text-info:hover,
+a.text-info:focus {
+    color: #1ba5a0;
+}
+.text-success {
+    color: #64b92a;
+}
+a.text-success:hover,
+a.text-success:focus {
+    color: #50a118;
+}
+.text-inverse {
+    color: #34495e;
+}
+a.text-inverse:hover,
+a.text-inverse:focus {
+    color: #263544;
+}
+/*------------------------------------*\
+    $lead
+\*------------------------------------*/
+.lead {
+    margin: 20px 0;
+    padding: 15px 30px 15px 15px;
+    border-left: 5px solid #d3d7d7;
+    font-size: 14px;
+    background-color: #f9f9f9;
+}
+/*------------------------------------*\
+    $page
+\*------------------------------------*/
+.page-header {
+    margin: 0 0 20px;
+}
+.page-header h1 {
+    margin-top: 0;
+}
+.page-article:before,
+.page-article:after {
+    display: table;
+    content: " ";
+}
+.page-article:after {
+    clear: both;
+}
+.page-article .meta {
+    font-size: 12px;
+    line-height: 18px;
+    color: #aeb1b1;
+}
+/*------------------------------------*\
+    $thumbnail
+\*------------------------------------*/
+a.thumbnail:hover, a.thumbnail:focus {
+    border-color: #2986b9;
+}
+.thumbnail .caption {
+    color: #292929;
+}
+.thumbnail .caption h1,
+.thumbnail .caption h2,
+.thumbnail .caption h3 {
+    margin-top: 9px;
+    font-size: 16px;
+    font-weight: bold;
+}
+/*------------------------------------*\
+    $list-group
+\*------------------------------------*/
+.list-group-item:hover,
+.list-group-item:active {
+    color: inherit;
+}
+.list-group-item.active, 
+.list-group-item.active:hover, 
+.list-group-item.active:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $btn
+\*------------------------------------*/
+.btn:focus {
+    outline: none;
+}
+.btn,
+.btn.disabled, 
+.btn[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+}
+.btn.disabled, 
+.btn[disabled] {
+    opacity: .45;
+    filter: alpha(opacity=45);
+}
+.btn {
+    -webkit-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    -moz-transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    transition: border-color 0.3s ease-out, background-color 0.3s ease-out;
+    color: #333;
+}
+.btn:hover,
+.btn:focus,
+.btn:active,
+.btn.active {
+    border-color: #aeb1b1;
+    background-color: #aeb1b1;
+}
+.btn-link {
+    border: 1px solid transparent !important;
+    color: #2986b9;
+    background-color: transparent;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px; 
+}
+.btn-link.btn-lg {
+    -webkit-border-radius: 6px;
+    -moz-border-radius: 6px;
+    border-radius: 6px;     
+}
+.btn-link.btn-sm,
+.btn-link.btn-xs {
+    -webkit-border-radius: 3px;
+    -moz-border-radius: 3px;
+    border-radius: 3px;     
+}
+.btn-link:hover, 
+.btn-link:focus {
+    text-decoration: none;
+}
+.btn-link:hover, 
+.btn-link:focus, 
+.btn-link:active, 
+.btn-link.active {
+    color: #333;
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;  
+}
+.btn-link.disabled,
+.btn-link[disabled] {
+    border-color: #d3d7d7;
+    background-color: #d3d7d7;
+    color: #333;
+}
+.btn-default {
+    margin-left: 0;
+    /*border: 1px solid #ddd !important;*/
+    background-color: #fff;
+}
+.btn-default:hover, 
+.btn-default:focus, 
+.btn-default:active, 
+.btn-default.active, 
+.open .dropdown-toggle.btn-default {
+    border-color: #aeb1b1;
+    background-color: #d3d7d7;    
+}
+.btn-default.disabled,
+.btn-default[disabled] {
+    background-color: #fff;
+}
+.btn-primary,
+.btn-info,
+.btn-success,
+.btn-warning,
+.btn-danger,
+.btn-inverse {
+    color: #fff;
+}
+.btn-primary,
+.btn-primary.disabled,
+.btn-primary[disabled] {
+    border-color: #2986b9;
+    background-color: #2986b9;
+}
+.btn-primary:hover, 
+.btn-primary:focus, 
+.btn-primary:active, 
+.btn-primary.active, 
+.open .dropdown-toggle.btn-primary {
+    border-color: #1b71a0;
+    background-color: #1b71a0;    
+}
+.btn-info,
+.btn-info.disabled,
+.btn-info[disabled] {
+    border-color: #4fbeba;
+    background-color: #4fbeba;
+}
+.btn-info:hover, 
+.btn-info:focus, 
+.btn-info:active, 
+.btn-info.active, 
+.open .dropdown-toggle.btn-info {
+    border-color: #1ba5a0;
+    background-color: #1ba5a0;
+}
+.btn-success,
+.btn-success.disabled,
+.btn-success[disabled] {
+    border-color: #64b92a;
+    background-color: #64b92a;
+}
+.btn-success:hover,
+.btn-success:focus,
+.btn-success:active,
+.btn-success.active,
+.open .dropdown-toggle.btn-success {
+    border-color: #50a118;
+    background-color: #50a118;
+}
+.btn-warning,
+.btn-warning.disabled,
+.btn-warning[disabled] {
+    border-color: #d7af0d;
+    background-color: #d7af0d;
+}
+.btn-warning:hover,
+.btn-warning:focus,
+.btn-warning:active,
+.btn-warning.active,
+.open .dropdown-toggle.btn-warning {
+    border-color: #b1900b;
+    background-color: #b1900b;
+}
+.btn-danger,
+.btn-danger.disabled,
+.btn-danger[disabled] {
+    border-color: #c0392b;
+    background-color: #c0392b;
+}
+.btn-danger:hover,
+.btn-danger:focus,
+.btn-danger:active,
+.btn-danger.active,
+.open .dropdown-toggle.btn-danger {
+    border-color: #a5281b;
+    background-color: #a5281b;
+}
+.btn-inverse,
+.btn-inverse.disabled,
+.btn-inverse[disabled] {
+    border-color: #34495e;
+    background-color: #34495e;
+    color: #fff;
+}
+.btn-inverse:hover,
+.btn-inverse:focus,
+.btn-inverse:active,
+.btn-inverse.active
+.open .dropdown-toggle.btn-inverse {
+    border-color: #263544;
+    background-color: #263544;
+    color: #fff;
+}
+.btn-inverse .caret {
+    border-top-color: #fff;
+}
+.dropup .btn-inverse .caret {
+    border-bottom-color: #fff;
+}
+/*------------------------------------*\
+    $btn-group
+\*------------------------------------*/
+.btn-group .btn {
+    border-left-color: #aeb1b1;
+    border-right-color: #aeb1b1;
+}
+.btn-group .btn:first-child {
+    border-left-color: #d3d7d7;
+}
+.btn-group .btn:last-child,
+.btn-group .btn + .dropdown-toggle {
+    border-right-color: #d3d7d7;
+}
+.btn-group-vertical .btn:first-child {
+    border-top-color: #d3d7d7;
+}
+.btn-group-vertical .btn:last-child {
+    border-bottom-color: #d3d7d7;
+}
+.btn-group-vertical .btn,
+.btn-group-vertical .btn-group .btn {
+    border-top-color: #aeb1b1;
+    border-bottom-color: #aeb1b1;
+}
+.btn-group .btn-default {
+    border-left-color: #d3d7d7;
+    border-right-color: #d3d7d7;
+}
+.btn-group .btn-default:hover, 
+.btn-group .btn-default:focus, 
+.btn-group .btn-default:active, 
+.btn-group .btn-default.active,
+.btn-group-vertical .btn-default:hover, 
+.btn-group-vertical .btn-default:focus, 
+.btn-group-vertical .btn-default:active, 
+.btn-group-vertical .btn-default.active {
+    border-top-color: #d3d7d7;
+    border-bottom-color: #d3d7d7;   
+}
+.btn-group-vertical .btn-default,
+.btn-group-vertical .btn-group .btn-default,
+.btn-group-vertical .btn-default {
+    border-top-color: #d3d7d7 !important;
+    border-bottom-color: #d3d7d7;    
+}
+.btn-group .btn-primary {
+    border-left-color: #1b71a0;
+    border-right-color: #1b71a0;
+}
+.btn-group .btn-primary:first-child {
+    border-left-color: #2986b9;
+}
+.btn-group .btn-primary:last-child,
+.btn-group .btn-primary + .dropdown-toggle {
+    border-right-color: #2986b9;
+}
+.btn-group-vertical .btn-primary:first-child {
+    border-top-color: #1b71a0;
+}
+.btn-group-vertical .btn-primary,
+.btn-group-vertical .btn-group .btn-primary,
+.btn-group-vertical .btn-primary:last-child {
+    border-bottom-color: #2986b9;
+}
+.btn-group-vertical .btn-primary {
+    border-top-color: #1b71a0;
+    border-bottom-color: #1b71a0;
+}
+.btn-group .btn-info {
+    border-left-color: #1ba5a0;
+    border-right-color: #1ba5a0;
+}
+.btn-group .btn-info:first-child {
+    border-left-color: #4fbeba;
+}
+.btn-group .btn-info:last-child,
+.btn-group .btn-info + .dropdown-toggle {
+    border-right-color: #4fbeba;
+}
+.btn-group-vertical .btn-info:first-child {
+    border-top-color: #1ba5a0;
+}
+.btn-group-vertical .btn-info,
+.btn-group-vertical .btn-group .btn-info,
+.btn-group-vertical .btn-info:last-child {
+    border-bottom-color: #4fbeba;
+}
+.btn-group-vertical .btn-info {
+    border-top-color: #1ba5a0;
+    border-bottom-color: #1ba5a0;
+}
+.btn-group .btn-success {
+    border-left-color: #50a118;
+    border-right-color: #50a118;
+}
+.btn-group .btn-success:first-child {
+    border-left-color: #64b92a;
+}
+.btn-group .btn-success:last-child,
+.btn-group .btn-success + .dropdown-toggle {
+    border-right-color: #64b92a;
+}
+.btn-group-vertical .btn-success:first-child {
+    border-top-color: #50a118;
+}
+.btn-group-vertical .btn-success,
+.btn-group-vertical .btn-group .btn-success,
+.btn-group-vertical .btn-success:last-child {
+    border-bottom-color: #64b92a;
+}
+.btn-group-vertical .btn-success {
+    border-top-color: #50a118;
+    border-bottom-color: #50a118;
+}
+.btn-group .btn-warning {
+    border-left-color: #b1900b;
+    border-right-color: #b1900b;
+}
+.btn-group .btn-warning:first-child {
+    border-left-color: #d7af0d;
+}
+.btn-group .btn-warning:last-child,
+.btn-group .btn-warning + .dropdown-toggle {
+    border-right-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning:first-child {
+    border-top-color: #b1900b;
+}
+.btn-group-vertical .btn-warning,
+.btn-group-vertical .btn-group .btn-warning,
+.btn-group-vertical .btn-warning:last-child {
+    border-bottom-color: #d7af0d;
+}
+.btn-group-vertical .btn-warning {
+    border-top-color: #b1900b;
+    border-bottom-color: #b1900b;
+}
+.btn-group .btn-danger {
+    border-left-color: #a5281b;
+    border-right-color: #a5281b;
+}
+.btn-group .btn-danger:first-child {
+    border-left-color: #c0392b;
+}
+.btn-group .btn-danger:last-child,
+.btn-group .btn-danger + .dropdown-toggle {
+    border-right-color: #c0392b;
+}
+.btn-group-vertical .btn-danger:first-child {
+    border-top-color: #a5281b;
+}
+.btn-group-vertical .btn-danger,
+.btn-group-vertical .btn-group .btn-danger,
+.btn-group-vertical .btn-danger:last-child {
+    border-bottom-color: #c0392b;
+}
+.btn-group-vertical .btn-danger {
+    border-top-color: #a5281b;
+    border-bottom-color: #a5281b;
+}
+.btn-group .btn-inverse {
+    border-left-color: #2c3e50;
+    border-right-color: #2c3e50;
+}
+.btn-group .btn-inverse:first-child {
+    border-left-color: #34495e;
+}
+.btn-group .btn-inverse:last-child,
+.btn-group .btn-inverse + .dropdown-toggle {
+    border-right-color: #34495e;
+}
+.btn-group-vertical .btn-inverse:first-child {
+    border-top-color: #2c3e50;
+}
+.btn-group-vertical .btn-inverse,
+.btn-group-vertical .btn-group .btn-inverse,
+.btn-group-vertical .btn-inverse:last-child {
+    border-bottom-color: #34495e;
+}
+.btn-group-vertical .btn-inverse {
+    border-top-color: #2c3e50;
+    border-bottom-color: #2c3e50;
+}
+/*------------------------------------*\
+    $btn-group-justified
+\*------------------------------------*/
+.btn-group-justified .btn {
+    border-right: none;
+}
+/*------------------------------------*\
+    $input-group-btn
+\*------------------------------------*/
+.input-group-btn .btn + .btn {
+    border-left: 1px solid #aeb1b1;
+}
+.input-group-btn .btn + .btn.btn-default {
+    margin-left: -5px;
+    border-left: 1px solid #d3d7d7;
+}
+.input-group-btn .btn + .btn.btn-primary {
+    border-left: 1px solid #1b71a0;
+}
+.input-group-btn .btn + .btn.btn-info {
+    border-left: 1px solid #1ba5a0;
+}
+.input-group-btn .btn + .btn.btn-success {
+    border-left: 1px solid #50a118;
+}
+.input-group-btn .btn + .btn.btn-warning {
+    border-left: 1px solid #b1900b;
+}
+.input-group-btn .btn + .btn.btn-danger {
+    border-left: 1px solid #a5281b;
+}
+.input-group-btn .btn + .btn.btn-inverse {
+    border-left: 1px solid #263544;
+}
+/*------------------------------------*\
+    $dropdown-menu
+\*------------------------------------*/
+.dropdown-menu {
+    border: none;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    background-color: #292929;
+}
+.dropdown-menu .dropdown-header {
+    font-size: 14px;
+    font-weight: bold;
+    padding: 5px 20px;
+}
+.dropdown-menu li a {
+    padding:5px 20px;
+    color: #fff;
+}
+.dropdown-menu li a:hover,
+.dropdown-menu li a:focus,
+.dropdown-menu .active a,
+.dropdown-menu .active a:hover,
+.dropdown-menu .active a:focus{
+    background-color: #2986b9;
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline: none;
+}
+.dropdown-menu .disabled a,
+.dropdown-menu .disabled a:hover,
+.dropdown-menu .disabled a:focus {
+    color:#9B9B9B !important;
+    cursor: default;
+}
+.dropdown-menu .divider {
+    margin:3px 0 0;
+    background-color: #373737;
+    border-bottom: none;
+}
+/*------------------------------------*\
+    $dropdown-submenu
+\*------------------------------------*/
+.dropdown-submenu {
+    position: relative;
+}
+.dropdown-submenu .dropdown-menu {
+    top: 0;
+    left: 100%;
+    margin-top: -6px;
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 4px;
+    -moz-border-radius: 0 4px 4px 4px;
+    border-radius: 0 4px 4px 4px;
+}
+.dropdown-submenu:hover .dropdown-menu {
+    display: block;
+}
+.dropup .dropdown-submenu .dropdown-menu {
+    top: auto;
+    bottom: 0;
+    margin-top: 0;
+    margin-bottom: -2px;
+    -webkit-border-radius: 4px 4px 4px 0;
+    -moz-border-radius: 4px 4px 4px 0;
+    border-radius: 4px 4px 4px 0;
+}
+.dropdown-submenu > a:after {
+    display: block;
+    content: " ";
+    float: right;
+    width: 0;
+    height: 0;
+    border-color: transparent;
+    border-style: solid;
+    border-width: 5px 0 5px 5px;
+    border-left-color: #fff;
+    margin-top: 5px;
+    margin-right: -10px;
+}
+.dropdown-submenu:hover a:after {
+    border-left-color: #ffffff;
+}
+.dropdown-submenu.pull-left {
+    float: none;
+}
+.dropdown-submenu.pull-left .dropdown-menu {
+    left: -100%;
+    margin-left: 10px;
+    -webkit-border-radius: 4px 0 4px 4px;
+    -moz-border-radius: 4px 0 4px 4px;
+    border-radius: 4px 0 4px 4px;
+}
+/*------------------------------------*\
+    $table
+\*------------------------------------*/
+.table {
+    background-color: #fff;
+    border-collapse: separate;
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+}
+.table .success td,
+.table .danger td,
+.table .warning td,
+.table .info td,
+.table .active td {
+    color: #fff;
+}
+.table .success th,
+.table .success td {
+    border-color: #64b92a !important;
+    background-color: #64b92a !important;
+}
+.table .danger th,
+.table .danger td {
+    border-color: #c0392b !important;
+    background-color: #c0392b !important;
+}
+.table .warning th,
+.table .warning td {
+    border-color: #d7af0d !important;
+    background-color: #d7af0d !important;
+}
+.table .info th,
+.table .info td {
+    border-color: #4fbeba !important;
+    background-color: #4fbeba !important;
+}
+.table .active th,
+.table .active td {
+    border-color: #2986b9 !important;
+    background-color: #2986b9 !important;
+}
+.table-background thead {
+    color:#fff;
+    background-color:#d3d7d7;
+}
+.table-background thead tr th,
+.table-background thead tr td {
+    border-bottom: none;
+}
+.table-bordered tr:first-child th:first-child {
+    -webkit-border-top-left-radius: 4px;
+    -moz-border-radius-topleft: 4px;
+    border-top-left-radius: 4px;
+}
+.table-bordered tr:first-child th:last-child {
+    -webkit-border-top-right-radius: 4px;
+    -moz-border-radius-topright: 4px;
+    border-top-right-radius: 4px;
+}
+.table-bordered tr:last-child td:first-child {
+    -webkit-border-bottom-left-radius: 4px;
+    -moz-border-radius-bottomleft: 4px;
+    border-bottom-left-radius: 4px;
+}
+.table-bordered tr:last-child td:last-child {
+    -webkit-border-bottom-right-radius: 4px;
+    -moz-border-radius-bottomright: 4px;
+    border-bottom-right-radius: 4px;
+}
+.table-bordered {
+    border-width: 1px 1px 0 0;
+}
+.table-bordered thead tr th, 
+.table-bordered tbody tr th, 
+.table-bordered tfoot tr th, 
+.table-bordered thead tr td, 
+.table-bordered tbody tr td, 
+.table-bordered tfoot tr td {
+    border-width: 0 0 1px 1px;
+}
+.table-hover tbody tr td,
+.table-hover tbody tr th {
+    -webkit-transition: all 0.3s ease-out;
+    -moz-transition: all 0.3s ease-out;
+    transition: all 0.3s ease-out;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th,
+.table-striped tbody tr:nth-child(odd) td,
+.table-striped tbody tr:nth-child(odd) th {
+    background-color: #ecf0f1;
+}
+.table-hover tbody tr:hover td,
+.table-hover tbody tr:hover th {
+    background-color: #f9f9f9;
+}
+.table-hover .success:hover td,
+.table-hover .success:hover th {
+    border-color: #79d738 !important;
+    background-color: #79d738 !important;
+}
+.table-hover .danger:hover td,
+.table-hover .danger:hover th {
+    border-color: #d44637 !important;
+    background-color: #d44637 !important;
+}
+.table-hover .warning:hover td,
+.table-hover .warning:hover th {
+    border-color: #f1c40f !important;
+    background-color: #f1c40f !important;
+}
+.table-hover .info:hover td,
+.table-hover .info:hover th {
+    border-color: #4cd1cb !important;
+    background-color: #4cd1cb !important;
+}
+.table-hover .active:hover td,
+.table-hover .active:hover th {
+    border-color: #3598ce !important;
+    background-color: #3598ce !important;
+}
+/*------------------------------------*\
+    $form
+\*------------------------------------*/
+.form-control {
+    padding: 4px 6px;
+    border-width: 1px;
+    border-style: solid;
+    border-color: #ddd #eee #eee #ddd;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control:-moz-placeholder,
+.form-control::-moz-placeholder,
+.form-control:-ms-input-placeholder,
+.form-control::-webkit-input-placeholder,
+.form-control.placeholder {
+    color: #bdc3c7;
+}
+.form-control:focus {
+    -webkit-transition: 0.25s;
+       -moz-transition: 0.25s;
+            transition: 0.25s;
+    -webkit-backface-visibility: hidden;
+    outline:none;
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.form-control[disabled],
+.form-control[readonly],
+fieldset[disabled] .form-control {
+    cursor: not-allowed;
+    opacity: 0.4;
+    filter: alpha(opacity=4);
+}
+
+.form-inline .form-group,
+.form-inline .checkbox,
+.form-inline .radio,
+.form-inline .btn {
+    margin-right: 5px;
+}
+/*------------------------------------*\
+    $validation states
+\*------------------------------------*/
+.has-warning .form-control,
+.has-warning .form-control:focus,
+.has-error .form-control,
+.has-error .form-control:focus,
+.has-info .form-control,
+.has-info .form-control:focus,
+.has-success .form-control,
+.has-success .form-control:focus {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+    border-radius: auto;
+}
+.has-warning .help-block,
+.has-warning .control-label,
+.has-warning .form-control {
+    color: #d7af0d;
+}
+.has-warning .form-control {
+    border-color:#d7af0d;
+}
+.has-error .help-block,
+.has-error .control-label,
+.has-error .form-control {
+    color: #c0392b;
+}
+.has-error .form-control {
+    border-color: #c0392b;
+}
+.has-info .help-block,
+.has-info .control-label,
+.has-info .form-control {
+    color: #4fbeba;
+}
+.has-info .form-control {
+    border-color: #4fbeba;
+}
+.has-success .help-block,
+.has-success .control-label,
+.has-success .form-control {
+    color: #64b92a;
+}
+.has-success .form-control {
+    border-color:#64b92a;
+}
+/*------------------------------------*\
+    $input-group-addon
+\*------------------------------------*/
+.input-group-addon {
+    background-color: #d3d7d7;
+    border: 1px solid #d3d7d7;
+}
+.input-group-addon .radio,
+.input-group-addon .checkbox {
+    margin: -2px 0 -4px !important;
+}
+/*------------------------------------*\
+    $search-query
+\*------------------------------------*/
+.form-search .search-query,
+.form-search .search-query:first-child,
+.form-search .search-query:last-child {
+    padding: 0 17px;
+    -webkit-border-radius: 17px;
+    -moz-border-radius: 17px;
+    border-radius: 17px;
+}
+.input-group .form-control:last-child {
+    padding: 0 17px 0 10px;
+    border-bottom-left-radius: 0;
+    border-top-left-radius: 0;
+}
+.input-group .form-control:first-child {
+    border-bottom-right-radius: 0;
+    border-top-right-radius: 0;
+}
+.form-search .btn {
+    -webkit-border-radius: 25px;
+    -moz-border-radius: 25px;
+    border-radius: 25px;    
+}
+.search-only {
+    position: relative;
+}
+.search-only:before {
+    position: absolute;
+    top: 1px;
+    left: 8px;
+    width: 30px;
+    line-height: 30px;
+    text-align: center;
+    font-family: "FontAwesome";
+    font-size: 18px;
+    color: #d3d7d7;
+    content: "\f002";
+    z-index: 20;
+}
+.search-only .form-control:last-child {
+    padding-left: 40px;
+}
+/*------------------------------------*\
+    $radio and $checkbox
+\*------------------------------------*/
+.radio, .checkbox {
+    padding-left:0;
+    margin-top: 0;
+}
+.checkbox label,
+.radio label{
+    display:inline-block;
+    vertical-align:top;
+    height:24px;
+    line-height:24px;
+    font-weight: normal;
+    cursor:pointer;
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    background-image: url(../img/check_flat/default.png);
+}
+.checkbox .icheckbox_flat,
+.radio .iradio_flat{
+    display:inline-block;
+    vertical-align:top;
+    margin: 0;
+    padding: 0;
+    width: 24px;
+    height: 24px;
+    border: none;
+    cursor: pointer;
+    background-repeat:no-repeat;
+}
+.checkbox .icheckbox_flat {
+    background-position: 0 0;
+}
+.checkbox .icheckbox_flat.hover {
+    background-position: -24px 0;
+}
+.checkbox .icheckbox_flat.checked {
+    background-position: -48px 0;
+}
+fieldset[disabled] .checkbox .icheckbox_flat,
+.checkbox .icheckbox_flat.disabled {
+    background-position: -72px 0;
+    cursor: not-allowed;
+}
+.checkbox .icheckbox_flat.checked.disabled {
+    background-position: -96px 0;
+}
+.radio .iradio_flat {
+    background-position: -120px 0;
+}
+.radio .iradio_flat.hover {
+    background-position: -144px 0;
+}
+.radio .iradio_flat.checked {
+    background-position: -168px 0;
+}
+fieldset[disabled] .radio .iradio_flat,
+.radio .iradio_flat.disabled {
+    background-position: -192px 0;
+    cursor: not-allowed;
+}
+.radio .iradio_flat.checked.disabled {
+    background-position: -216px 0;
+}
+fieldset[disabled] .checkbox,
+fieldset[disabled] .radio,
+.checkbox .disabled,
+.checkbox .checked.disabled,
+.radio .disabled,
+.radio .checked.disabled {
+    color:#bdc3c7;
+    cursor: not-allowed;
+}
+.radio-inline {
+    margin-left: 10px;
+}
+/*------------------------------------*\
+    $label and $badge
+\*------------------------------------*/
+.label, .badge {
+    background-color: #d3d7d7;
+}
+.label.label-primary,
+.badge.badge-primary,
+.label.label-info,
+.badge.badge-info,
+.label.label-success,
+.badge.badge-success,
+.label.label-warning,
+.badge.badge-warning,
+.label.label-danger,
+.badge.badge-danger,
+.label.label-inverse,
+.badge.badge-inverse {
+    color: #fff;
+}
+.label.label-primary,
+.badge.badge-primary {
+    background-color: #2986b9;
+}
+.label.label-info,
+.badge.badge-info {
+    background-color: #4fbeba;
+}
+.label.label-success,
+.badge.badge-success {
+    background-color: #64b92a;
+}
+.label.label-warning,
+.badge.badge-warning {
+    background-color: #d7af0d;
+}
+.label.label-danger,
+.badge.badge-danger {
+    background-color: #c0392b;
+}
+.label.label-inverse,
+.badge.badge-inverse {
+    background-color: #34495e;
+}
+/*------------------------------------*\
+    $alert
+\*------------------------------------*/
+.alert {
+    background-color: #fece10;
+    border: 1px solid #fece10;
+}
+.alert, .alert h4{
+    color: #FFF;
+}
+.alert .alert-link,
+.alert .alert-link:hover,
+.alert .alert-link:focus {
+    color: #000;
+    opacity: 0.55;
+    filter: alpha(opacity=55);
+}
+.alert h4{
+    margin-bottom: 10px;
+    font-weight: bold;
+}
+.alert-dismissable .close {
+    color: #000;
+}
+.alert.alert-info {
+    background-color: #5eddd8;
+    border: 1px solid #5eddd8;
+}
+.alert.alert-danger,
+.alert.alert-error {
+    background-color: #e74c3c;
+    border: 1px solid #e74c3c;
+}
+.alert.alert-success {
+    background-color: #87eb41;
+    border: 1px solid #87eb41;
+}
+/*------------------------------------*\
+    $popover
+\*------------------------------------*/
+.popover {
+    background-color: #292929;
+    color:#FFF;
+    border: 1px solid #292929;
+}
+.popover-title {
+    padding-bottom: 0;
+    font-weight: bold;
+    background-color: transparent;
+    border-bottom: none;
+}
+.popover .close {
+    position: absolute;
+    top:10px;
+    right: 10px;
+}
+.popover.top .arrow,
+.popover.top .arrow:after {
+    border-top-color: #292929;
+}
+.popover.right .arrow,
+.popover.right .arrow:after {
+    border-right-color: #292929;
+}
+.popover.bottom .arrow,
+.popover.bottom .arrow:after {
+    border-bottom-color: #292929;
+}
+.popover.left .arrow,
+.popover.left .arrow:after {
+    border-left-color: #292929;
+}
+/*------------------------------------*\
+    $pagination
+\*------------------------------------*/
+.pagination .active a, 
+.pagination .active span, 
+.pagination .active a:hover, 
+.pagination .active span:hover, 
+.pagination .active a:focus, 
+.pagination .active span:focus {
+    background-color: #2986b9;
+    border-color: #2986b9;
+}
+/*------------------------------------*\
+    $pager
+\*------------------------------------*/
+.pager li a, .pager li span {
+    border: none;
+    -webkit-border-radius: 0;
+    -moz-border-radius: 0;
+    border-radius: 0;
+}
+.pager li a:hover,
+.pager li a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+            border-radius: 4px;
+}
+/*------------------------------------*\
+    $progress
+\*------------------------------------*/
+.progress,
+.progress .progress-bar {
+    -webkit-box-shadow: none !important;
+    -moz-box-shadow: none !important;
+    box-shadow: none !important;
+}
+.progress {
+    height: 12px;
+    overflow: hidden;
+    background-color: #ecf0f1;
+}
+.progress .progress-bar {
+    background-color: #2986b9;
+}
+.progress-success .progress-bar,
+.progress .progress-bar-success,
+.progress-success.progress-striped .progress-bar,
+.progress-striped .progress-bar-success {
+    background-color: #64b92a;
+}
+.progress-info .progress-bar,
+.progress .progress-bar-info,
+.progress-info.progress-striped .progress-bar,
+.progress-striped .progress-bar-info {
+    background-color: #4fbeba;
+}
+.progress-danger .progress-bar,
+.progress .progress-bar-danger,
+.progress-danger.progress-striped .progress-bar,
+.progress-striped .progress-bar-danger {
+    background-color: #c0392b;
+}
+.progress-warning .progress-bar,
+.progress .progress-bar-warning,
+.progress-warning.progress-striped .progress-bar,
+.progress-striped .progress-bar-warning {
+    background-color: #d7af0d;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb {
+    background-color: #ecf0f1;
+}
+/*------------------------------------*\
+    $nav
+\*------------------------------------*/
+.nav .open > a, 
+.nav .open > a:hover, 
+.nav .open > a:focus {
+    border-color: transparent;
+}
+/*------------------------------------*\
+    $navbar-toggle
+\*------------------------------------*/
+.navbar-toggle:focus {
+    outline: none;
+}
+/*------------------------------------*\
+    $navbar
+\*------------------------------------*/
+.navbar .divider-vertical {
+    border-left-width: 1px;
+    border-left-style: solid;
+    height: 50px;
+}
+.navbar-default {
+    border:none;
+    background-color:#3da8e3;
+}
+.navbar-default .navbar-brand {
+    color: #fff;
+}
+.navbar-default .navbar-link:hover,
+.navbar-default .navbar-link:focus,
+.navbar-default .navbar-brand:hover,
+.navbar-default .navbar-brand:focus {
+    color: #d3efff;
+}
+.navbar-default .navbar-link,
+.navbar-default .navbar-text {
+    color: #d3efff;
+}
+.navbar-default .dropdown-header {
+    color: #aeb1b1;
+}
+.navbar-default .divider-vertical {
+    border-left-color: #2986b9;
+}
+.navbar-default .nav li a,
+.navbar-default .nav li a:focus,
+.navbar-default .nav li a:hover {
+    color: #fff;
+}
+.navbar-default .nav .active a,
+.navbar-default .nav .active a:hover,
+.navbar-default .nav .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+}
+.navbar-default .nav li.dropdown.open .dropdown-toggle,
+.navbar-default .nav li.dropdown.active .dropdown-toggle,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle {
+    background-color: #2986b9;
+    color: #fff;
+}
+.navbar-default .nav li.dropdown a:hover .caret,
+.navbar-default .nav li.dropdown a:focus .caret,
+.navbar-default .nav li.dropdown .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.active .dropdown-toggle .caret,
+.navbar-default .nav li.dropdown.open.active .dropdown-toggle .caret {
+    border-top-color: #fff;
+    border-bottom-color: #fff;
+}
+.navbar-default .nav li .dropdown-menu:before,
+.navbar-default .nav li .dropdown-menu:after {
+    border-bottom-color: transparent;
+}
+.navbar-default .navbar-toggle {
+    background-color: #aeb1b1;   
+}
+.navbar-default .navbar-toggle:hover, 
+.navbar-default .navbar-toggle:focus {
+    background-color: #c2c2c2;
+}
+.navbar-default .navbar-collapse, 
+.navbar-default .navbar-form {
+    border-color: #aeb1b1;
+}
+/*------------------------------------*\
+    $navbar-inverse
+\*------------------------------------*/
+.navbar-inverse {
+    background-color:#292929;
+}
+.navbar-inverse .nav .active a,
+.navbar-inverse .nav .active a:hover,
+.navbar-inverse .nav .active a:focus,
+.navbar-inverse .nav li.dropdown.open .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.active .dropdown-toggle,
+.navbar-inverse .nav li.dropdown.open.active .dropdown-toggle{
+    background-color: #000;
+}
+.navbar-inverse .divider-vertical {
+    border-left-color: #000;
+}
+.navbar-inverse .navbar-form .form-control {
+    border: 1px solid #292929;
+}
+.navbar-inverse .navbar-form .form-control:focus,
+.navbar-inverse .navbar-form .form-control.focused {
+    color: #292929;
+    background-color: #fff !important;
+    border: 1px solid #000;
+}
+/*------------------------------------*\
+    $navbar-right
+\*------------------------------------*/
+.navbar-right .dropdown.open .dropdown-toggle {
+    -webkit-border-radius: 0 4px 0 0;
+    -moz-border-radius: 0 4px 0 0;
+    border-radius: 0 4px 0 0;
+}
+/*------------------------------------*\
+    $nav-list
+\*------------------------------------*/
+.nav-list {
+    padding: 10px 0;
+}
+.nav-list li a,
+.nav-list .nav-header {
+    padding: 5px 15px;
+}
+.nav-list .nav-header {
+    font-weight: bold;
+}
+.nav-list li a {
+    color: #292929;
+}
+.nav-list li a:hover,
+.nav-list li a:focus,
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    color: #3498db;
+    text-decoration: none;
+}
+.nav-list li a:hover,
+.nav-list li a:focus {
+    background-color: transparent;
+}
+.nav-list .active a,
+.nav-list .active a:hover,
+.nav-list .active a:focus {
+    font-weight: bold;
+}
+.nav-list .divider {
+    margin: 9px 15px;
+    overflow: hidden;
+    border-bottom: 1px solid #ddd;
+}
+.nav-list  .nav-list-sub {
+    list-style: none;
+}
+.nav-list  .nav-list-sub {
+    padding-left: 0;
+}
+.nav-list  .nav-list-sub li a {
+    padding: 2px 15px 2px 30px;
+    display: block;
+}
+
+.nav-list-panel {
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    background-color:#ecf0f1;   
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus,
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    color: #fff;
+    background-color: #2986b9;
+    text-decoration: none;
+}
+.nav-list-panel li a:hover,
+.nav-list-panel li a:focus {
+    opacity: 0.45;
+    filter: alpha(opacity=45);
+}
+.nav-list-panel .active a,
+.nav-list-panel .active a:hover,
+.nav-list-panel .active a:focus {
+    opacity: 1;
+    filter: alpha(opacity=100);
+}
+/*------------------------------------*\
+    $nav-tabs
+\*------------------------------------*/
+.nav-tabs > li > a {
+    color: #292929;
+}
+.nav-tabs .dropdown-toggle .caret,
+.nav-tabs .dropdown-toggle:hover .caret,
+.nav-tabs .dropdown-toggle:focus .caret,
+.nav-tabs li.dropdown.open .caret,
+.nav-tabs li.dropdown.open.active .caret,
+.nav-tabs li.dropdown.open a:hover .caret,
+.nav-tabs li.dropdown.open a:focus .caret,
+.nav-tabs .active .dropdown-toggle .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.tabs-below .nav-tabs {
+    border-top: 1px solid #ddd;
+    border-bottom: none;
+}
+.tabs-below .nav-tabs .dropdown-menu {
+    -webkit-border-radius: 4px 4px 0 0;
+    -moz-border-radius: 4px 4px 0 0;
+    border-radius: 4px 4px 0 0;
+}
+.tabs-below .nav-tabs li {
+    margin-top: -1px;
+    margin-bottom: 0;
+}
+.tabs-below .nav-tabs li a {
+    -webkit-border-radius: 0 0 4px 4px;
+       -moz-border-radius: 0 0 4px 4px;
+            border-radius: 0 0 4px 4px;
+}
+.tabs-below .nav-tabs li a:hover,
+.tabs-below .nav-tabs li a:focus {
+    border-top-color: #ddd;
+    border-bottom-color: transparent;
+}
+.tabs-below .nav-tabs .active a,
+.tabs-below .nav-tabs .active a:hover,
+.tabs-below .nav-tabs .active a:focus {
+    border-color: transparent #ddd #ddd #ddd;
+}
+.tabs-left .nav-tabs,
+.tabs-right .nav-tabs {
+    border-bottom: none;
+}
+.tabs-left .nav-tabs li,
+.tabs-right .nav-tabs li {
+    float: none;
+}
+.tabs-left .nav-tabs li a,
+.tabs-right .nav-tabs li a {
+    min-width: 74px;
+    margin-right: 0;
+    margin-bottom: 3px;
+}
+.tabs-left .nav-tabs {
+    float: left;
+    margin-right: 19px;
+    border-right: 1px solid #ddd;
+}
+.tabs-left .nav-tabs li > a {
+    margin-right: -1px;
+    -webkit-border-radius: 4px 0 0 4px;
+       -moz-border-radius: 4px 0 0 4px;
+            border-radius: 4px 0 0 4px;
+}
+.tabs-left .nav-tabs li a:hover,
+.tabs-left .nav-tabs li a:focus {
+    border-color: #eeeeee #dddddd #eeeeee #eeeeee;
+}
+.tabs-left .nav-tabs .active a,
+.tabs-left .nav-tabs .active a:hover,
+.tabs-left .nav-tabs .active a:focus {
+    border-color: #ddd transparent #ddd #ddd;
+    *border-right-color: #ffffff;
+}
+.tabs-right .nav-tabs {
+    float: right;
+    margin-left: 19px;
+    border-left: 1px solid #ddd;
+}
+.tabs-right .nav-tabs li a {
+    margin-left: -1px;
+    -webkit-border-radius: 0 4px 4px 0;
+       -moz-border-radius: 0 4px 4px 0;
+            border-radius: 0 4px 4px 0;
+}
+.tabs-right .nav-tabs li a:hover,
+.tabs-right .nav-tabs li a:focus {
+    border-color: #eeeeee #eeeeee #eeeeee #dddddd;
+}
+.tabs-right .nav-tabs .active a,
+.tabs-right .nav-tabs .active a:hover,
+.tabs-right .nav-tabs .active a:focus {
+    border-color: #ddd #ddd #ddd transparent;
+    *border-left-color: #ffffff;
+}
+/*------------------------------------*\
+    $nav-pills
+\*------------------------------------*/
+.nav-pills > li > a {
+    color: #292929;
+}
+.nav-pills > li > a:hover,
+.nav-pills > li > a:focus {
+    background-color: ;
+}
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
+    background-color: #2986b9;
+    color:#fff;
+}
+.nav-pills .dropdown-toggle .caret,
+.nav-pills .open .dropdown-toggle:focus .caret,
+.nav-pills .dropdown-toggle:hover .caret,
+.nav-pills .dropdown-toggle:focus .caret {
+    border-top-color: #292929;
+    border-bottom-color: #292929;
+}
+.nav-pills .open .dropdown-toggle,
+.nav-pills .open .dropdown-toggle:focus {
+    background-color: transparent;
+}
+/*------------------------------------*\
+    $breadcrumb
+\*------------------------------------*/
+.breadcrumb > li + li::before {
+    font-family: 'FontAwesome';
+    content: "\f105";
+}
+/*------------------------------------*\
+    $panel-group
+\*------------------------------------*/
+.panel-group .panel {
+    -webkit-box-shadow: none;
+    -moz-box-shadow: none;
+    box-shadow: none;
+}
+.panel-group .panel-heading {
+    padding: 9px 15px;
+    background-color: #2986b9;
+}
+.panel-group .panel-heading a,
+.panel-group .panel-heading a:hover,
+.panel-group .panel-heading a:focus,
+.panel-group .panel-heading a:active {
+    color:#fff;
+    text-decoration: none;
+}
+.panel-group .panel-body {
+    border: 1px solid #ddd;
+    -webkit-border-radius: 0 0 4px 4px;
+    -moz-border-radius: 0 0 4px 4px;
+    border-radius: 0 0 4px 4px;
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a46faae1/content/content/css/font-awesome.min.css
----------------------------------------------------------------------
diff --git a/content/content/css/font-awesome.min.css b/content/content/css/font-awesome.min.css
new file mode 100755
index 0000000..7b8ed50
--- /dev/null
+++ b/content/content/css/font-awesome.min.css
@@ -0,0 +1,405 @@
+@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont-eot.eot?v=3.2.1');src:url('../font/fontawesome-webfont-eot.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont-woff.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont-ttf.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont-svg.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
+[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
+.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
+a [class^="icon-"],a [class*=" icon-"]{display:inline;}
+[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;}
+.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;}
+.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;}
+[class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
+.icon-muted{color:#eeeeee;}
+.icon-light{color:#ffffff;}
+.icon-dark{color:#333333;}
+.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
+.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
+.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
+.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
+.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
+.pull-right{float:right;}
+.pull-left{float:left;}
+[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
+[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
+[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
+.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
+.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
+.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
+.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
+.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
+.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
+.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
+.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
+.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
+.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;}
+.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
+.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
+.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
+a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;}
+@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
+.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
+.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
+.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
+.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
+a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;}
+.icon-glass:before{content:"\f000";}
+.icon-music:before{content:"\f001";}
+.icon-search:before{content:"\f002";}
+.icon-envelope-alt:before{content:"\f003";}
+.icon-heart:before{content:"\f004";}
+.icon-star:before{content:"\f005";}
+.icon-star-empty:before{content:"\f006";}
+.icon-user:before{content:"\f007";}
+.icon-film:before{content:"\f008";}
+.icon-th-large:before{content:"\f009";}
+.icon-th:before{content:"\f00a";}
+.icon-th-list:before{content:"\f00b";}
+.icon-ok:before{content:"\f00c";}
+.icon-remove:before{content:"\f00d";}
+.icon-zoom-in:before{content:"\f00e";}
+.icon-zoom-out:before{content:"\f010";}
+.icon-power-off:before,.icon-off:before{content:"\f011";}
+.icon-signal:before{content:"\f012";}
+.icon-gear:before,.icon-cog:before{content:"\f013";}
+.icon-trash:before{content:"\f014";}
+.icon-home:before{content:"\f015";}
+.icon-file-alt:before{content:"\f016";}
+.icon-time:before{content:"\f017";}
+.icon-road:before{content:"\f018";}
+.icon-download-alt:before{content:"\f019";}
+.icon-download:before{content:"\f01a";}
+.icon-upload:before{content:"\f01b";}
+.icon-inbox:before{content:"\f01c";}
+.icon-play-circle:before{content:"\f01d";}
+.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";}
+.icon-refresh:before{content:"\f021";}
+.icon-list-alt:before{content:"\f022";}
+.icon-lock:before{content:"\f023";}
+.icon-flag:before{content:"\f024";}
+.icon-headphones:before{content:"\f025";}
+.icon-volume-off:before{content:"\f026";}
+.icon-volume-down:before{content:"\f027";}
+.icon-volume-up:before{content:"\f028";}
+.icon-qrcode:before{content:"\f029";}
+.icon-barcode:before{content:"\f02a";}
+.icon-tag:before{content:"\f02b";}
+.icon-tags:before{content:"\f02c";}
+.icon-book:before{content:"\f02d";}
+.icon-bookmark:before{content:"\f02e";}
+.icon-print:before{content:"\f02f";}
+.icon-camera:before{content:"\f030";}
+.icon-font:before{content:"\f031";}
+.icon-bold:before{content:"\f032";}
+.icon-italic:before{content:"\f033";}
+.icon-text-height:before{content:"\f034";}
+.icon-text-width:before{content:"\f035";}
+.icon-align-left:before{content:"\f036";}
+.icon-align-center:before{content:"\f037";}
+.icon-align-right:before{content:"\f038";}
+.icon-align-justify:before{content:"\f039";}
+.icon-list:before{content:"\f03a";}
+.icon-indent-left:before{content:"\f03b";}
+.icon-indent-right:before{content:"\f03c";}
+.icon-facetime-video:before{content:"\f03d";}
+.icon-picture:before{content:"\f03e";}
+.icon-pencil:before{content:"\f040";}
+.icon-map-marker:before{content:"\f041";}
+.icon-adjust:before{content:"\f042";}
+.icon-tint:before{content:"\f043";}
+.icon-edit:before{content:"\f044";}
+.icon-share:before{content:"\f045";}
+.icon-check:before{content:"\f046";}
+.icon-move:before{content:"\f047";}
+.icon-step-backward:before{content:"\f048";}
+.icon-fast-backward:before{content:"\f049";}
+.icon-backward:before{content:"\f04a";}
+.icon-play:before{content:"\f04b";}
+.icon-pause:before{content:"\f04c";}
+.icon-stop:before{content:"\f04d";}
+.icon-forward:before{content:"\f04e";}
+.icon-fast-forward:before{content:"\f050";}
+.icon-step-forward:before{content:"\f051";}
+.icon-eject:before{content:"\f052";}
+.icon-chevron-left:before{content:"\f053";}
+.icon-chevron-right:before{content:"\f054";}
+.icon-plus-sign:before{content:"\f055";}
+.icon-minus-sign:before{content:"\f056";}
+.icon-remove-sign:before{content:"\f057";}
+.icon-ok-sign:before{content:"\f058";}
+.icon-question-sign:before{content:"\f059";}
+.icon-info-sign:before{content:"\f05a";}
+.icon-screenshot:before{content:"\f05b";}
+.icon-remove-circle:before{content:"\f05c";}
+.icon-ok-circle:before{content:"\f05d";}
+.icon-ban-circle:before{content:"\f05e";}
+.icon-arrow-left:before{content:"\f060";}
+.icon-arrow-right:before{content:"\f061";}
+.icon-arrow-up:before{content:"\f062";}
+.icon-arrow-down:before{content:"\f063";}
+.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";}
+.icon-resize-full:before{content:"\f065";}
+.icon-resize-small:before{content:"\f066";}
+.icon-plus:before{content:"\f067";}
+.icon-minus:before{content:"\f068";}
+.icon-asterisk:before{content:"\f069";}
+.icon-exclamation-sign:before{content:"\f06a";}
+.icon-gift:before{content:"\f06b";}
+.icon-leaf:before{content:"\f06c";}
+.icon-fire:before{content:"\f06d";}
+.icon-eye-open:before{content:"\f06e";}
+.icon-eye-close:before{content:"\f070";}
+.icon-warning-sign:before{content:"\f071";}
+.icon-plane:before{content:"\f072";}
+.icon-calendar:before{content:"\f073";}
+.icon-random:before{content:"\f074";}
+.icon-comment:before{content:"\f075";}
+.icon-magnet:before{content:"\f076";}
+.icon-chevron-up:before{content:"\f077";}
+.icon-chevron-down:before{content:"\f078";}
+.icon-retweet:before{content:"\f079";}
+.icon-shopping-cart:before{content:"\f07a";}
+.icon-folder-close:before{content:"\f07b";}
+.icon-folder-open:before{content:"\f07c";}
+.icon-resize-vertical:before{content:"\f07d";}
+.icon-resize-horizontal:before{content:"\f07e";}
+.icon-bar-chart:before{content:"\f080";}
+.icon-twitter-sign:before{content:"\f081";}
+.icon-facebook-sign:before{content:"\f082";}
+.icon-camera-retro:before{content:"\f083";}
+.icon-key:before{content:"\f084";}
+.icon-gears:before,.icon-cogs:before{content:"\f085";}
+.icon-comments:before{content:"\f086";}
+.icon-thumbs-up-alt:before{content:"\f087";}
+.icon-thumbs-down-alt:before{content:"\f088";}
+.icon-star-half:before{content:"\f089";}
+.icon-heart-empty:before{content:"\f08a";}
+.icon-signout:before{content:"\f08b";}
+.icon-linkedin-sign:before{content:"\f08c";}
+.icon-pushpin:before{content:"\f08d";}
+.icon-external-link:before{content:"\f08e";}
+.icon-signin:before{content:"\f090";}
+.icon-trophy:before{content:"\f091";}
+.icon-github-sign:before{content:"\f092";}
+.icon-upload-alt:before{content:"\f093";}
+.icon-lemon:before{content:"\f094";}
+.icon-phone:before{content:"\f095";}
+.icon-unchecked:before,.icon-check-empty:before{content:"\f096";}
+.icon-bookmark-empty:before{content:"\f097";}
+.icon-phone-sign:before{content:"\f098";}
+.icon-twitter:before{content:"\f099";}
+.icon-facebook:before{content:"\f09a";}
+.icon-github:before{content:"\f09b";}
+.icon-wiki:before{content:"\f109";}
+.icon-releases:before{content:"\f01a";}
+.icon-unlock:before{content:"\f09c";}
+.icon-credit-card:before{content:"\f09d";}
+.icon-rss:before{content:"\f09e";}
+.icon-hdd:before{content:"\f0a0";}
+.icon-bullhorn:before{content:"\f0a1";}
+.icon-bell:before{content:"\f0a2";}
+.icon-certificate:before{content:"\f0a3";}
+.icon-hand-right:before{content:"\f0a4";}
+.icon-hand-left:before{content:"\f0a5";}
+.icon-hand-up:before{content:"\f0a6";}
+.icon-hand-down:before{content:"\f0a7";}
+.icon-circle-arrow-left:before{content:"\f0a8";}
+.icon-circle-arrow-right:before{content:"\f0a9";}
+.icon-circle-arrow-up:before{content:"\f0aa";}
+.icon-circle-arrow-down:before{content:"\f0ab";}
+.icon-globe:before{content:"\f0ac";}
+.icon-wrench:before{content:"\f0ad";}
+.icon-tasks:before{content:"\f0ae";}
+.icon-filter:before{content:"\f0b0";}
+.icon-briefcase:before{content:"\f0b1";}
+.icon-fullscreen:before{content:"\f0b2";}
+.icon-group:before{content:"\f0c0";}
+.icon-link:before{content:"\f0c1";}
+.icon-cloud:before{content:"\f0c2";}
+.icon-beaker:before{content:"\f0c3";}
+.icon-cut:before{content:"\f0c4";}
+.icon-copy:before{content:"\f0c5";}
+.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";}
+.icon-save:before{content:"\f0c7";}
+.icon-sign-blank:before{content:"\f0c8";}
+.icon-reorder:before{content:"\f0c9";}
+.icon-list-ul:before{content:"\f0ca";}
+.icon-list-ol:before{content:"\f0cb";}
+.icon-strikethrough:before{content:"\f0cc";}
+.icon-underline:before{content:"\f0cd";}
+.icon-table:before{content:"\f0ce";}
+.icon-magic:before{content:"\f0d0";}
+.icon-truck:before{content:"\f0d1";}
+.icon-pinterest:before{content:"\f0d2";}
+.icon-pinterest-sign:before{content:"\f0d3";}
+.icon-google-plus-sign:before{content:"\f0d4";}
+.icon-google-plus:before{content:"\f0d5";}
+.icon-money:before{content:"\f0d6";}
+.icon-caret-down:before{content:"\f0d7";}
+.icon-caret-up:before{content:"\f0d8";}
+.icon-caret-left:before{content:"\f0d9";}
+.icon-caret-right:before{content:"\f0da";}
+.icon-columns:before{content:"\f0db";}
+.icon-sort:before{content:"\f0dc";}
+.icon-sort-down:before{content:"\f0dd";}
+.icon-sort-up:before{content:"\f0de";}
+.icon-envelope:before{content:"\f0e0";}
+.icon-linkedin:before{content:"\f0e1";}
+.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";}
+.icon-legal:before{content:"\f0e3";}
+.icon-dashboard:before{content:"\f0e4";}
+.icon-comment-alt:before{content:"\f0e5";}
+.icon-comments-alt:before{content:"\f0e6";}
+.icon-bolt:before{content:"\f0e7";}
+.icon-sitemap:before{content:"\f0e8";}
+.icon-umbrella:before{content:"\f0e9";}
+.icon-paste:before{content:"\f0ea";}
+.icon-lightbulb:before{content:"\f0eb";}
+.icon-exchange:before{content:"\f0ec";}
+.icon-cloud-download:before{content:"\f0ed";}
+.icon-cloud-upload:before{content:"\f0ee";}
+.icon-user-md:before{content:"\f0f0";}
+.icon-stethoscope:before{content:"\f0f1";}
+.icon-suitcase:before{content:"\f0f2";}
+.icon-bell-alt:before{content:"\f0f3";}
+.icon-coffee:before{content:"\f0f4";}
+.icon-food:before{content:"\f0f5";}
+.icon-file-text-alt:before{content:"\f0f6";}
+.icon-building:before{content:"\f0f7";}
+.icon-hospital:before{content:"\f0f8";}
+.icon-ambulance:before{content:"\f0f9";}
+.icon-medkit:before{content:"\f0fa";}
+.icon-fighter-jet:before{content:"\f0fb";}
+.icon-beer:before{content:"\f0fc";}
+.icon-h-sign:before{content:"\f0fd";}
+.icon-plus-sign-alt:before{content:"\f0fe";}
+.icon-double-angle-left:before{content:"\f100";}
+.icon-double-angle-right:before{content:"\f101";}
+.icon-double-angle-up:before{content:"\f102";}
+.icon-double-angle-down:before{content:"\f103";}
+.icon-angle-left:before{content:"\f104";}
+.icon-angle-right:before{content:"\f105";}
+.icon-angle-up:before{content:"\f106";}
+.icon-angle-down:before{content:"\f107";}
+.icon-desktop:before{content:"\f108";}
+.icon-laptop:before{content:"\f109";}
+.icon-tablet:before{content:"\f10a";}
+.icon-mobile-phone:before{content:"\f10b";}
+.icon-circle-blank:before{content:"\f10c";}
+.icon-quote-left:before{content:"\f10d";}
+.icon-quote-right:before{content:"\f10e";}
+.icon-spinner:before{content:"\f110";}
+.icon-circle:before{content:"\f111";}
+.icon-mail-reply:before,.icon-reply:before{content:"\f112";}
+.icon-github-alt:before{content:"\f113";}
+.icon-folder-close-alt:before{content:"\f114";}
+.icon-folder-open-alt:before{content:"\f115";}
+.icon-expand-alt:before{content:"\f116";}
+.icon-collapse-alt:before{content:"\f117";}
+.icon-smile:before{content:"\f118";}
+.icon-frown:before{content:"\f119";}
+.icon-meh:before{content:"\f11a";}
+.icon-gamepad:before{content:"\f11b";}
+.icon-keyboard:before{content:"\f11c";}
+.icon-flag-alt:before{content:"\f11d";}
+.icon-flag-checkered:before{content:"\f11e";}
+.icon-terminal:before{content:"\f120";}
+.icon-code:before{content:"\f121";}
+.icon-reply-all:before{content:"\f122";}
+.icon-mail-reply-all:before{content:"\f122";}
+.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
+.icon-location-arrow:before{content:"\f124";}
+.icon-crop:before{content:"\f125";}
+.icon-code-fork:before{content:"\f126";}
+.icon-unlink:before{content:"\f127";}
+.icon-question:before{content:"\f128";}
+.icon-info:before{content:"\f129";}
+.icon-exclamation:before{content:"\f12a";}
+.icon-superscript:before{content:"\f12b";}
+.icon-subscript:before{content:"\f12c";}
+.icon-eraser:before{content:"\f12d";}
+.icon-puzzle-piece:before{content:"\f12e";}
+.icon-microphone:before{content:"\f130";}
+.icon-microphone-off:before{content:"\f131";}
+.icon-shield:before{content:"\f132";}
+.icon-calendar-empty:before{content:"\f133";}
+.icon-fire-extinguisher:before{content:"\f134";}
+.icon-rocket:before{content:"\f135";}
+.icon-maxcdn:before{content:"\f136";}
+.icon-chevron-sign-left:before{content:"\f137";}
+.icon-chevron-sign-right:before{content:"\f138";}
+.icon-chevron-sign-up:before{content:"\f139";}
+.icon-chevron-sign-down:before{content:"\f13a";}
+.icon-html5:before{content:"\f13b";}
+.icon-css3:before{content:"\f13c";}
+.icon-anchor:before{content:"\f13d";}
+.icon-unlock-alt:before{content:"\f13e";}
+.icon-bullseye:before{content:"\f140";}
+.icon-ellipsis-horizontal:before{content:"\f141";}
+.icon-ellipsis-vertical:before{content:"\f142";}
+.icon-rss-sign:before{content:"\f143";}
+.icon-play-sign:before{content:"\f144";}
+.icon-ticket:before{content:"\f145";}
+.icon-minus-sign-alt:before{content:"\f146";}
+.icon-check-minus:before{content:"\f147";}
+.icon-level-up:before{content:"\f148";}
+.icon-level-down:before{content:"\f149";}
+.icon-check-sign:before{content:"\f14a";}
+.icon-edit-sign:before{content:"\f14b";}
+.icon-external-link-sign:before{content:"\f14c";}
+.icon-share-sign:before{content:"\f14d";}
+.icon-compass:before{content:"\f14e";}
+.icon-collapse:before{content:"\f150";}
+.icon-collapse-top:before{content:"\f151";}
+.icon-expand:before{content:"\f152";}
+.icon-euro:before,.icon-eur:before{content:"\f153";}
+.icon-gbp:before{content:"\f154";}
+.icon-dollar:before,.icon-usd:before{content:"\f155";}
+.icon-rupee:before,.icon-inr:before{content:"\f156";}
+.icon-yen:before,.icon-jpy:before{content:"\f157";}
+.icon-renminbi:before,.icon-cny:before{content:"\f158";}
+.icon-won:before,.icon-krw:before{content:"\f159";}
+.icon-bitcoin:before,.icon-btc:before{content:"\f15a";}
+.icon-file:before{content:"\f15b";}
+.icon-file-text:before{content:"\f15c";}
+.icon-sort-by-alphabet:before{content:"\f15d";}
+.icon-sort-by-alphabet-alt:before{content:"\f15e";}
+.icon-sort-by-attributes:before{content:"\f160";}
+.icon-sort-by-attributes-alt:before{content:"\f161";}
+.icon-sort-by-order:before{content:"\f162";}
+.icon-sort-by-order-alt:before{content:"\f163";}
+.icon-thumbs-up:before{content:"\f164";}
+.icon-thumbs-down:before{content:"\f165";}
+.icon-youtube-sign:before{content:"\f166";}
+.icon-youtube:before{content:"\f167";}
+.icon-xing:before{content:"\f168";}
+.icon-xing-sign:before{content:"\f169";}
+.icon-youtube-play:before{content:"\f16a";}
+.icon-dropbox:before{content:"\f16b";}
+.icon-stackexchange:before{content:"\f16c";}
+.icon-instagram:before{content:"\f16d";}
+.icon-flickr:before{content:"\f16e";}
+.icon-adn:before{content:"\f170";}
+.icon-bitbucket:before{content:"\f171";}
+.icon-bitbucket-sign:before{content:"\f172";}
+.icon-tumblr:before{content:"\f173";}
+.icon-tumblr-sign:before{content:"\f174";}
+.icon-long-arrow-down:before{content:"\f175";}
+.icon-long-arrow-up:before{content:"\f176";}
+.icon-long-arrow-left:before{content:"\f177";}
+.icon-long-arrow-right:before{content:"\f178";}
+.icon-apple:before{content:"\f179";}
+.icon-windows:before{content:"\f17a";}
+.icon-android:before{content:"\f17b";}
+.icon-linux:before{content:"\f17c";}
+.icon-dribbble:before{content:"\f17d";}
+.icon-skype:before{content:"\f17e";}
+.icon-foursquare:before{content:"\f180";}
+.icon-trello:before{content:"\f181";}
+.icon-female:before{content:"\f182";}
+.icon-male:before{content:"\f183";}
+.icon-gittip:before{content:"\f184";}
+.icon-sun:before{content:"\f185";}
+.icon-moon:before{content:"\f186";}
+.icon-archive:before{content:"\f187";}
+.icon-bug:before{content:"\f188";}
+.icon-vk:before{content:"\f189";}
+.icon-weibo:before{content:"\f18a";}
+.icon-renren:before{content:"\f18b";}