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/08/12 19:13:59 UTC

[04/60] [abbrv] incubator-usergrid git commit: cherry picking docs from master

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4a92ab09/content/docs/user-management/messagee-example.html
----------------------------------------------------------------------
diff --git a/content/docs/user-management/messagee-example.html b/content/docs/user-management/messagee-example.html
new file mode 100644
index 0000000..fa24fbd
--- /dev/null
+++ b/content/docs/user-management/messagee-example.html
@@ -0,0 +1,485 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>App Example - Messagee &mdash; Apache Usergrid 1.0 documentation</title>
+  
+
+  
+  
+
+  
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+
+  
+    <link rel="top" title="Apache Usergrid 1.0 documentation" href="../index.html"/>
+        <link rel="next" title="Geolocating your Entities" href="../geolocation/geolocation.html"/>
+        <link rel="prev" title="Social Graph Connections" href="user-connections.html"/> 
+
+  
+  <script src="../_static/js/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        
+
+        
+          <a href="../index.html" class="icon icon-home"> Apache Usergrid
+        
+
+        
+        </a>
+
+        
+          
+          
+            <div class="version">
+              1.0
+            </div>
+          
+        
+
+        
+<div role="search">
+  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+
+        
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
+        
+          
+          
+              <p class="caption"><span class="caption-text">Introduction</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/usergrid-features.html">Usergrid Features</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/data-model.html">Usergrid Data model</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/async-vs-sync.html">Async vs. sync calls</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Getting Started</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-a-new-application.html">Creating a new application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-account.html">Creating an Usergrid Account</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-a-sandbox-app.html">Using a Sandbox Application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-the-api.html">Using the API</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Storage</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/data-store-dbms.html">The Usergrid Data Store</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/optimizing-access.html">Data Store Best Practices</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/collections.html">Collections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/entities.html">Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Queries</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/querying-your-data.html">Querying your data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/query-parameters.html">Query parameters &amp; clauses</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/operators-and-types.html">Query operators &amp; data types</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/advanced-query-usage.html">Advanced query usage</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Entity Connections</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/connecting-entities.html">Connecting entities</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/retrieving-entities.html">Retrieving connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/disconnecting-entities.html">Disconnecting entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Security &amp; Authentication</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/app-security.html">Security &amp; token authentication</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/using-permissions.html">Using permissions</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-users-and-application-clients.html">Authenticating users &amp; app clients</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/user-authentication-types.html">Authentication levels</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/changing-token-time-live-ttl.html">Changing token expiration (time-to-live)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-api-requests.html">Authenticating API requests</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/revoking-tokens-logout.html">Revoking tokens (logout)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/facebook-sign.html">Facebook sign in</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/securing-your-app.html">Security best practices</a></li>
+</ul>
+<p class="caption"><span class="caption-text">User Management &amp; Social Graph</span></p>
+<ul class="current">
+<li class="toctree-l1"><a class="reference internal" href="user-management.html">User management &amp; social graph</a></li>
+<li class="toctree-l1"><a class="reference internal" href="working-user-data.html">Working with User Data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="group.html">Working with group data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="activity.html">Activity</a></li>
+<li class="toctree-l1"><a class="reference internal" href="user-connections.html">Social Graph Connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="user-connections.html#creating-other-connections">Creating other connections</a></li>
+<li class="toctree-l1 current"><a class="current reference internal" href="">App Example - Messagee</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="#creating-a-user-account-in-usergrid">Creating a user account in Usergrid</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#creating-an-app-and-users">Creating an app and users</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#step-1">STEP 1</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-2">STEP 2</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-3">STEP 3</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-4">STEP 4</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-5">STEP 5</a></li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="#ios-client">iOS client</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="#step-6">STEP 6</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-7">STEP 7</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-8">STEP 8</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-9">STEP 9</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-10">STEP 10</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-11">STEP 11</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#step-12">STEP 12</a></li>
+<li class="toctree-l3"><a class="reference internal" href="#id1">STEP 6</a></li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="#ios-sdk">iOS SDK</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#android-client-and-sdk">Android client and SDK</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#javascript-html5-client-and-sdk">Javascript/HTML5 client and SDK</a></li>
+</ul>
+</li>
+</ul>
+<p class="caption"><span class="caption-text">Geo-location</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../geolocation/geolocation.html">Geolocating your Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Assets &amp; Files</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/uploading-assets.html">Uploading assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/retrieving-assets.html">Retrieving assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/folders.html">Folders</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Counters &amp; Events</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/events-and-counters.html">Counters &amp; events</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html">Creating &amp; incrementing counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#decrementing-resetting-counters">Decrementing/resetting counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#using-counters-hierarchically">Using counters hierarchically</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/retrieving-counters.html">Retrieving counters</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Organizations &amp; Applications</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/managing.html">Organization &amp; application management</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/organization.html">Organization</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/application.html">Application</a></li>
+</ul>
+<p class="caption"><span class="caption-text">API Reference</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html">Methods</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html#models">Models</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Client SDKs</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../sdks/tbd.html">COMING SOON...</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Installing the Stack</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-deploy-to-tomcat.html">Usegrid 1: Deploying to Tomcat</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-launcher-quick-start.html">Usegrid 1: Launcher Quick-start</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug2-deploy-to-tomcat.html">Usergrid 2: Deploy to Tomcat</a></li>
+</ul>
+<p class="caption"><span class="caption-text">More about Usergrid</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../reference/presos-and-videos.html">Presentations &amp; Videos</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../reference/contribute-code.html">How to Contribute Code &amp; Docs</a></li>
+</ul>
+
+          
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Usergrid</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+    <li>App Example - Messagee</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          
+            <a href="../_sources/user-management/messagee-example.txt" rel="nofollow"> View page source</a>
+          
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
+            
+  <div class="section" id="app-example-messagee">
+<h1>App Example - Messagee<a class="headerlink" href="#app-example-messagee" title="Permalink to this headline">¶</a></h1>
+<p>Messagee is a simple Twitter-style messaging application that leverages
+the extensive functionality of Usergrid. This section describes some of
+the features of Messagee.</p>
+<p>There are three client versions of Messagee:</p>
+<ul class="simple">
+<li><a class="reference external" href="https://github.com/apigee/usergrid-sample-ios-messagee">An iOS client
+version</a></li>
+<li><a class="reference external" href="https://github.com/apigee/usergrid-sample-android-messagee">An Android client
+version</a></li>
+<li><a class="reference external" href="https://github.com/apigee/usergrid-sample-html5-messagee">An 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 Usergrid admin
+portal, a user interface that streamlines data and application
+management in the Usergrid system. The portal is also a reference
+application that shows how to incorporate Usergrid APIs with JavaScript.
+For a more detailed discussion of the portal&#8217;s functionality, see Admin
+portal.</p>
+<div class="section" id="creating-a-user-account-in-usergrid">
+<h2>Creating a user account in Usergrid<a class="headerlink" href="#creating-a-user-account-in-usergrid" title="Permalink to this headline">¶</a></h2>
+<p>Go to the Usergrid portal and login. If you are new to Usergrid, sign up
+for an account, 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 Usergrid 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>
+<img alt="../_images/login.png" src="../_images/login.png" />
+</div>
+<div class="section" id="creating-an-app-and-users">
+<h2>Creating an app and users<a class="headerlink" href="#creating-an-app-and-users" title="Permalink to this headline">¶</a></h2>
+<p>When you have logged in, you need to create a new application.</p>
+<img alt="../_images/portal1.png" src="../_images/portal1.png" />
+<div class="section" id="step-1">
+<h3>STEP 1<a class="headerlink" href="#step-1" title="Permalink to this headline">¶</a></h3>
+<p>Enter a unique application name. The name must be unique to avoid a
+conflict with another user running the same application.</p>
+<img alt="../_images/portal2.png" src="../_images/portal2.png" />
+</div>
+<div class="section" id="step-2">
+<h3>STEP 2<a class="headerlink" href="#step-2" title="Permalink to this headline">¶</a></h3>
+<p>Make sure that the portal shows the application name you entered as the
+active application beneath the Applications menu (1).</p>
+<p>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.</p>
+</div>
+<div class="section" id="step-3">
+<h3>STEP 3<a class="headerlink" href="#step-3" title="Permalink to this headline">¶</a></h3>
+<p>Click the Users box on the left side of the console (2).</p>
+<img alt="../_images/portal3.png" src="../_images/portal3.png" />
+</div>
+<div class="section" id="step-4">
+<h3>STEP 4<a class="headerlink" href="#step-4" title="Permalink to this headline">¶</a></h3>
+<p>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.</p>
+<img alt="../_images/portal4.png" src="../_images/portal4.png" />
+</div>
+<div class="section" id="step-5">
+<h3>STEP 5<a class="headerlink" href="#step-5" title="Permalink to this headline">¶</a></h3>
+<p>When you have finished all these steps, you have a new application and
+two new users.</p>
+<img alt="../_images/portal5.png" src="../_images/portal5.png" />
+<p>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.</p>
+<p>To continue with the example, follow the instructions for a client app
+(iOS client, Android client, or HTML5 client).</p>
+</div>
+</div>
+<div class="section" id="ios-client">
+<h2>iOS client<a class="headerlink" href="#ios-client" title="Permalink to this headline">¶</a></h2>
+<p>Messagee is available as an iPhone app that uses Usergrid and RestKit.
+The source for the iOS version of Messagee is available in the
+/samples/messagee directory of the Usergrid iOS SDK</p>
+<p>Here are the steps to run the Messagee app on iOS:</p>
+<div class="section" id="step-6">
+<h3>STEP 6<a class="headerlink" href="#step-6" title="Permalink to this headline">¶</a></h3>
+<p>Run Steps 1-5 under Creating an app and users. These steps create a
+unique instance of the Messagee app on the server and two test users,
+test-user-1 and test-user-2.</p>
+</div>
+<div class="section" id="step-7">
+<h3>STEP 7<a class="headerlink" href="#step-7" title="Permalink to this headline">¶</a></h3>
+<p>Access the Messagee server app by typing a URL similar to the following
+into your iOS mobile client (replace with the unique name of your
+application): <a class="reference external" href="https://api.usergrid.com//index.html">https://api.usergrid.com//index.html</a></p>
+<img alt="../_images/iOS1chooseapp.jpg" src="../_images/iOS1chooseapp.jpg" />
+</div>
+<div class="section" id="step-8">
+<h3>STEP 8<a class="headerlink" href="#step-8" title="Permalink to this headline">¶</a></h3>
+<p>On the mobile client, complete the registration information and click
+Register.</p>
+<img alt="../_images/iOS2register.jpg" src="../_images/iOS2register.jpg" />
+</div>
+<div class="section" id="step-9">
+<h3>STEP 9<a class="headerlink" href="#step-9" title="Permalink to this headline">¶</a></h3>
+<p>Log in to the Messagee app by entering the test-user-1 account
+information created previously, and click the Sign in button.</p>
+<img alt="user-management/iOS3signin.jpg" src="user-management/iOS3signin.jpg" />
+</div>
+<div class="section" id="step-10">
+<h3>STEP 10<a class="headerlink" href="#step-10" title="Permalink to this headline">¶</a></h3>
+<p>At this point, the message board is empty:</p>
+<img alt="../_images/iOS5emptyfeed.jpg" src="../_images/iOS5emptyfeed.jpg" />
+</div>
+<div class="section" id="step-11">
+<h3>STEP 11<a class="headerlink" href="#step-11" title="Permalink to this headline">¶</a></h3>
+<p>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.</p>
+<img alt="../_images/iOS6newmsg.jpg" src="../_images/iOS6newmsg.jpg" />
+<p>Note: The posted message should appear in the message board within few
+seconds.</p>
+<img alt="../_images/iOS7feed1msg.jpg" src="../_images/iOS7feed1msg.jpg" />
+</div>
+<div class="section" id="step-12">
+<h3>STEP 12<a class="headerlink" href="#step-12" title="Permalink to this headline">¶</a></h3>
+<p>For your instance of the Messagee application to act like Twitter, you
+need to &#8220;follow&#8221; another user.</p>
+<p>In the message board, click Add People and add test-user-2 as a person
+that test-user-1 follows.</p>
+<img alt="user-management/iOS9followme.jpg" src="user-management/iOS9followme.jpg" />
+</div>
+<div class="section" id="id1">
+<h3>STEP 6<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
+<p>Log in as test-user-2 and post a message as this user to the message
+board.</p>
+<p>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.</p>
+<img alt="../_images/iOS10seeusermsg.jpg" src="../_images/iOS10seeusermsg.jpg" />
+</div>
+</div>
+<div class="section" id="ios-sdk">
+<h2>iOS SDK<a class="headerlink" href="#ios-sdk" title="Permalink to this headline">¶</a></h2>
+<p>If you want to write iOS applications that connect to Usergrid,
+<a class="reference external" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/ios">download the Usergrid iOS
+SDK</a>.</p>
+<p><strong>Note</strong>: The Messagee iOS application uses RestKit, a popular REST
+framework for iOS, to communicate with Usergrid. Because Usergrid use a
+REST API, you can use any REST framework to talk with the service.
+However, the official Usergrid iOS SDK provides a more convenient
+communication mechanism that you should use unless you&#8217;re already using
+RestKit or some other framework in your project.</p>
+</div>
+<div class="section" id="android-client-and-sdk">
+<h2>Android client and SDK<a class="headerlink" href="#android-client-and-sdk" title="Permalink to this headline">¶</a></h2>
+<p>Messagee is available as a sample Android app that acts as a Usergrid
+client. The source for the Android version is packaged with the Usergrid
+Android SDK in the /samples/messagee directory.</p>
+<p><a class="reference external" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/android">Download the Usergrid Android
+SDK</a></p>
+</div>
+<div class="section" id="javascript-html5-client-and-sdk">
+<h2>Javascript/HTML5 client and SDK<a class="headerlink" href="#javascript-html5-client-and-sdk" title="Permalink to this headline">¶</a></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 Usergrid Javascript/HTML5 SDK in the
+/samples/messagee directory.</p>
+<p><a class="reference external" href="https://github.com/apache/incubator-usergrid/tree/master/sdks/html5-javascript">Download the Usergrid Javascript/HTML5
+SDK</a></p>
+</div>
+</div>
+
+
+           </div>
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
+      
+        <a href="../geolocation/geolocation.html" class="btn btn-neutral float-right" title="Geolocating your Entities" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="user-connections.html" class="btn btn-neutral" title="Social Graph Connections" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2013-2015, Apache Usergrid.
+
+    </p>
+  </div>
+  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
+
+</footer>
+
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'1.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4a92ab09/content/docs/user-management/user-connections.html
----------------------------------------------------------------------
diff --git a/content/docs/user-management/user-connections.html b/content/docs/user-management/user-connections.html
new file mode 100644
index 0000000..a743066
--- /dev/null
+++ b/content/docs/user-management/user-connections.html
@@ -0,0 +1,358 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>Social Graph Connections &mdash; Apache Usergrid 1.0 documentation</title>
+  
+
+  
+  
+
+  
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+
+  
+    <link rel="top" title="Apache Usergrid 1.0 documentation" href="../index.html"/>
+        <link rel="next" title="App Example - Messagee" href="messagee-example.html"/>
+        <link rel="prev" title="Activity" href="activity.html"/> 
+
+  
+  <script src="../_static/js/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        
+
+        
+          <a href="../index.html" class="icon icon-home"> Apache Usergrid
+        
+
+        
+        </a>
+
+        
+          
+          
+            <div class="version">
+              1.0
+            </div>
+          
+        
+
+        
+<div role="search">
+  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+
+        
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
+        
+          
+          
+              <p class="caption"><span class="caption-text">Introduction</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/usergrid-features.html">Usergrid Features</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/data-model.html">Usergrid Data model</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/async-vs-sync.html">Async vs. sync calls</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Getting Started</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-a-new-application.html">Creating a new application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-account.html">Creating an Usergrid Account</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-a-sandbox-app.html">Using a Sandbox Application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-the-api.html">Using the API</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Storage</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/data-store-dbms.html">The Usergrid Data Store</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/optimizing-access.html">Data Store Best Practices</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/collections.html">Collections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/entities.html">Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Queries</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/querying-your-data.html">Querying your data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/query-parameters.html">Query parameters &amp; clauses</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/operators-and-types.html">Query operators &amp; data types</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/advanced-query-usage.html">Advanced query usage</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Entity Connections</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/connecting-entities.html">Connecting entities</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/retrieving-entities.html">Retrieving connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/disconnecting-entities.html">Disconnecting entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Security &amp; Authentication</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/app-security.html">Security &amp; token authentication</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/using-permissions.html">Using permissions</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-users-and-application-clients.html">Authenticating users &amp; app clients</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/user-authentication-types.html">Authentication levels</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/changing-token-time-live-ttl.html">Changing token expiration (time-to-live)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-api-requests.html">Authenticating API requests</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/revoking-tokens-logout.html">Revoking tokens (logout)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/facebook-sign.html">Facebook sign in</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/securing-your-app.html">Security best practices</a></li>
+</ul>
+<p class="caption"><span class="caption-text">User Management &amp; Social Graph</span></p>
+<ul class="current">
+<li class="toctree-l1"><a class="reference internal" href="user-management.html">User management &amp; social graph</a></li>
+<li class="toctree-l1"><a class="reference internal" href="working-user-data.html">Working with User Data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="group.html">Working with group data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="activity.html">Activity</a></li>
+<li class="toctree-l1 current"><a class="current reference internal" href="">Social Graph Connections</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="#following-followers">Following/followers</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#creating-a-following-followers-connection">Creating a following/followers connection</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="#creating-other-connections">Creating other connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="messagee-example.html">App Example - Messagee</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Geo-location</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../geolocation/geolocation.html">Geolocating your Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Assets &amp; Files</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/uploading-assets.html">Uploading assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/retrieving-assets.html">Retrieving assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/folders.html">Folders</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Counters &amp; Events</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/events-and-counters.html">Counters &amp; events</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html">Creating &amp; incrementing counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#decrementing-resetting-counters">Decrementing/resetting counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#using-counters-hierarchically">Using counters hierarchically</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/retrieving-counters.html">Retrieving counters</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Organizations &amp; Applications</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/managing.html">Organization &amp; application management</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/organization.html">Organization</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/application.html">Application</a></li>
+</ul>
+<p class="caption"><span class="caption-text">API Reference</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html">Methods</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html#models">Models</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Client SDKs</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../sdks/tbd.html">COMING SOON...</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Installing the Stack</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-deploy-to-tomcat.html">Usegrid 1: Deploying to Tomcat</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-launcher-quick-start.html">Usegrid 1: Launcher Quick-start</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug2-deploy-to-tomcat.html">Usergrid 2: Deploy to Tomcat</a></li>
+</ul>
+<p class="caption"><span class="caption-text">More about Usergrid</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../reference/presos-and-videos.html">Presentations &amp; Videos</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../reference/contribute-code.html">How to Contribute Code &amp; Docs</a></li>
+</ul>
+
+          
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Usergrid</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+    <li>Social Graph Connections</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          
+            <a href="../_sources/user-management/user-connections.txt" rel="nofollow"> View page source</a>
+          
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
+            
+  <div class="section" id="social-graph-connections">
+<h1>Social Graph Connections<a class="headerlink" href="#social-graph-connections" title="Permalink to this headline">¶</a></h1>
+<p>One of the most useful features of Usergrid is the ability to create
+connections between entities, which allow you to model arbitrary
+relationships between entities. This feature is particularly powerful
+when applied to user entities by allowing you to model complex social
+graphs between users as well as groups of users.</p>
+<div class="section" id="following-followers">
+<h2>Following/followers<a class="headerlink" href="#following-followers" title="Permalink to this headline">¶</a></h2>
+<p>To make the social graph possibilities of entity connections even easier
+to achieve, Usergrid also has special support for a default
+following/followers relationship, which offers these additional
+features:</p>
+<p>Reciprocal connection: If a following connection is made between a user
+and another user, a reciprocal followers relationship will be created
+automatically. In contrast, all of other entity connections are one-way,
+meaning any reciprocal relationship must be created manually.</p>
+<p>Activity feed subscription: The followed user&#8217;s activities will
+automatically be posted to the following user&#8217;s activity feed. For
+example, if Arthur is following Ford, then any activities published by
+Ford that Arthur is allowed to see will appear in Arthur&#8217;s activity
+feed.</p>
+</div>
+<div class="section" id="creating-a-following-followers-connection">
+<h2>Creating a following/followers connection<a class="headerlink" href="#creating-a-following-followers-connection" title="Permalink to this headline">¶</a></h2>
+<p>To create a following/followers connection between two entities, create
+the connection as you would any generic entity connection. For full
+details on creating connections, see <a class="reference external" href="../entity-connections/connecting-entities.html">Connecting
+entities</a>.</p>
+<p>For example, the following request would create a following/followers
+relationship between two user entities with the usernames &#8216;Fred&#8217; and
+&#8216;Barney&#8217;:</p>
+<div class="highlight-python"><div class="highlight"><pre>POST https://api.usergrid.com/your-org/your-app/users/barney/following/users/fred
+</pre></div>
+</div>
+<div class="admonition note"> <p class="first admonition-title"><p>Note</p>
+</p> <p class="last"><p>Please note that this only works when you <code class="docutils literal"><span class="pre">POST</span></code> a <code class="docutils literal"><span class="pre">following</span></code>
+connection. Creating a follower connection would not create a reciprocal
+following connection.</p>
+</p></div><p>This would retrieve a list of the users that Barney is following:</p>
+<div class="highlight-python"><div class="highlight"><pre>GET https://api.usergrid.com/your-org/your-app/users/barney/following
+</pre></div>
+</div>
+<p>And this would retrieve a list of users that are following Fred:</p>
+<div class="highlight-python"><div class="highlight"><pre>GET https://api.usergrid.com/your-org/your-app/users/fred/followers
+</pre></div>
+</div>
+</div>
+</div>
+<div class="section" id="creating-other-connections">
+<h1>Creating other connections<a class="headerlink" href="#creating-other-connections" title="Permalink to this headline">¶</a></h1>
+<p>You can extend this connection structure to create connections using any
+relationship. For example, you could use likes to denote a connection
+between a user and his dog with this POST:</p>
+<div class="highlight-python"><div class="highlight"><pre>POST https://api.usergrid.com/your-org/your-app/users/Fred/likes/dogs/Dino
+</pre></div>
+</div>
+<p>Note that in this case a reciprocal connection is not automatically
+created. To do so you would need to manually create the reciprocal
+connection with another POST such as:</p>
+<div class="highlight-python"><div class="highlight"><pre>POST https://api.usergrid.com/your-org/your-app/dogs/Dino/liked_by/users/Fred
+</pre></div>
+</div>
+<p>For more information on using entity connections, see <a class="reference external" href="../entity-connections/connecting-entities.html">Connecting
+entities</a>.</p>
+</div>
+
+
+           </div>
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
+      
+        <a href="messagee-example.html" class="btn btn-neutral float-right" title="App Example - Messagee" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="activity.html" class="btn btn-neutral" title="Activity" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2013-2015, Apache Usergrid.
+
+    </p>
+  </div>
+  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
+
+</footer>
+
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'1.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/4a92ab09/content/docs/user-management/user-management.html
----------------------------------------------------------------------
diff --git a/content/docs/user-management/user-management.html b/content/docs/user-management/user-management.html
new file mode 100644
index 0000000..e74d5dc
--- /dev/null
+++ b/content/docs/user-management/user-management.html
@@ -0,0 +1,372 @@
+
+
+<!DOCTYPE html>
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
+<head>
+  <meta charset="utf-8">
+  
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  
+  <title>User management &amp; social graph &mdash; Apache Usergrid 1.0 documentation</title>
+  
+
+  
+  
+
+  
+
+  
+  
+    
+
+  
+
+  
+  
+    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
+  
+
+  
+
+  
+    <link rel="top" title="Apache Usergrid 1.0 documentation" href="../index.html"/>
+        <link rel="next" title="Working with User Data" href="working-user-data.html"/>
+        <link rel="prev" title="Security best practices" href="../security-and-auth/securing-your-app.html"/> 
+
+  
+  <script src="../_static/js/modernizr.min.js"></script>
+
+</head>
+
+<body class="wy-body-for-nav" role="document">
+
+  <div class="wy-grid-for-nav">
+
+    
+    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
+      <div class="wy-side-nav-search">
+        
+
+        
+          <a href="../index.html" class="icon icon-home"> Apache Usergrid
+        
+
+        
+        </a>
+
+        
+          
+          
+            <div class="version">
+              1.0
+            </div>
+          
+        
+
+        
+<div role="search">
+  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
+    <input type="text" name="q" placeholder="Search docs" />
+    <input type="hidden" name="check_keywords" value="yes" />
+    <input type="hidden" name="area" value="default" />
+  </form>
+</div>
+
+        
+      </div>
+
+      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
+        
+          
+          
+              <p class="caption"><span class="caption-text">Introduction</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/usergrid-features.html">Usergrid Features</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/data-model.html">Usergrid Data model</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../introduction/async-vs-sync.html">Async vs. sync calls</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Getting Started</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-a-new-application.html">Creating a new application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/creating-account.html">Creating an Usergrid Account</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-a-sandbox-app.html">Using a Sandbox Application</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../getting-started/using-the-api.html">Using the API</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Storage</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/data-store-dbms.html">The Usergrid Data Store</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/optimizing-access.html">Data Store Best Practices</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/collections.html">Collections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-storage/entities.html">Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Data Queries</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/querying-your-data.html">Querying your data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/query-parameters.html">Query parameters &amp; clauses</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/operators-and-types.html">Query operators &amp; data types</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../data-queries/advanced-query-usage.html">Advanced query usage</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Entity Connections</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/connecting-entities.html">Connecting entities</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/retrieving-entities.html">Retrieving connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../entity-connections/disconnecting-entities.html">Disconnecting entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Security &amp; Authentication</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/app-security.html">Security &amp; token authentication</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/using-permissions.html">Using permissions</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-users-and-application-clients.html">Authenticating users &amp; app clients</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/user-authentication-types.html">Authentication levels</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/changing-token-time-live-ttl.html">Changing token expiration (time-to-live)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/authenticating-api-requests.html">Authenticating API requests</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/revoking-tokens-logout.html">Revoking tokens (logout)</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/facebook-sign.html">Facebook sign in</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../security-and-auth/securing-your-app.html">Security best practices</a></li>
+</ul>
+<p class="caption"><span class="caption-text">User Management &amp; Social Graph</span></p>
+<ul class="current">
+<li class="toctree-l1 current"><a class="current reference internal" href="">User management &amp; social graph</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="#user-management">User management</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#group-management">Group management</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#social-connections">Social connections</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#activity-feeds">Activity feeds</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="working-user-data.html">Working with User Data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="group.html">Working with group data</a></li>
+<li class="toctree-l1"><a class="reference internal" href="activity.html">Activity</a></li>
+<li class="toctree-l1"><a class="reference internal" href="user-connections.html">Social Graph Connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="user-connections.html#creating-other-connections">Creating other connections</a></li>
+<li class="toctree-l1"><a class="reference internal" href="messagee-example.html">App Example - Messagee</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Geo-location</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../geolocation/geolocation.html">Geolocating your Entities</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Assets &amp; Files</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/uploading-assets.html">Uploading assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/retrieving-assets.html">Retrieving assets</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../asset-and-files/folders.html">Folders</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Counters &amp; Events</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/events-and-counters.html">Counters &amp; events</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html">Creating &amp; incrementing counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#decrementing-resetting-counters">Decrementing/resetting counters</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/creating-and-incrementing-counters.html#using-counters-hierarchically">Using counters hierarchically</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../counters-and-events/retrieving-counters.html">Retrieving counters</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Organizations &amp; Applications</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/managing.html">Organization &amp; application management</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/organization.html">Organization</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../orgs-and-apps/application.html">Application</a></li>
+</ul>
+<p class="caption"><span class="caption-text">API Reference</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html">Methods</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../rest-endpoints/api-docs.html#models">Models</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Client SDKs</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../sdks/tbd.html">COMING SOON...</a></li>
+</ul>
+<p class="caption"><span class="caption-text">Installing the Stack</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-deploy-to-tomcat.html">Usegrid 1: Deploying to Tomcat</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug1-launcher-quick-start.html">Usegrid 1: Launcher Quick-start</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../installation/ug2-deploy-to-tomcat.html">Usergrid 2: Deploy to Tomcat</a></li>
+</ul>
+<p class="caption"><span class="caption-text">More about Usergrid</span></p>
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="../reference/presos-and-videos.html">Presentations &amp; Videos</a></li>
+<li class="toctree-l1"><a class="reference internal" href="../reference/contribute-code.html">How to Contribute Code &amp; Docs</a></li>
+</ul>
+
+          
+        
+      </div>
+      &nbsp;
+    </nav>
+
+    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
+
+      
+      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
+        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
+        <a href="../index.html">Apache Usergrid</a>
+      </nav>
+
+
+      
+      <div class="wy-nav-content">
+        <div class="rst-content">
+          <div role="navigation" aria-label="breadcrumbs navigation">
+  <ul class="wy-breadcrumbs">
+    <li><a href="../index.html">Docs</a> &raquo;</li>
+      
+    <li>User management &amp; social graph</li>
+      <li class="wy-breadcrumbs-aside">
+        
+          
+            <a href="../_sources/user-management/user-management.txt" rel="nofollow"> View page source</a>
+          
+        
+      </li>
+  </ul>
+  <hr/>
+</div>
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
+            
+  <div class="section" id="user-management-social-graph">
+<h1>User management &amp; social graph<a class="headerlink" href="#user-management-social-graph" title="Permalink to this headline">¶</a></h1>
+<p>Whether you&#8217;re developing apps for mobile or the Web, it&#8217;s almost
+certain that you will need to be able to handle user management, as well
+as offer the types of social features users have come to expect from a
+rich app experience. Usergrid makes all of this easy with default entity
+types and functionality available right out of the box. From user
+registration and profiles to login and authentication to activity feeds
+and social graph, you can create a social experience quickly and easily
+with just a few types of API calls.</p>
+<div class="section" id="user-management">
+<h2>User management<a class="headerlink" href="#user-management" title="Permalink to this headline">¶</a></h2>
+<p>The default user entity in Usergrid is designed to model app users,
+meaning registering users and managing their profiles is as simple as
+sending and updating JSON via the API. Used in conjunction with our
+available social graph, as well as our OAuth 2.0 authentication and
+token authorization features, you have all the tools you need to manage
+your user base.</p>
+<p>Learn more about:</p>
+<ul class="simple">
+<li><a class="reference external" href="user-management.html">User management</a></li>
+<li><a class="reference external" href="../security-and-auth/app-security.html">Authentication &amp; tokens</a></li>
+<li><a class="reference external" href="../security-and-auth/using-permissions.html">Permissions and
+roles</a></li>
+</ul>
+</div>
+<div class="section" id="group-management">
+<h2>Group management<a class="headerlink" href="#group-management" title="Permalink to this headline">¶</a></h2>
+<p>One of the most basic social features of any app is the ability to
+create groups of users to limit shared access to user or other app data.
+The default group entity in Usergrid was designed for this exact
+purpose. Associate a user with as many groups or sub-groups as you need,
+then apply permissions or roles to define shared access to Usergrid
+data.</p>
+<p>Learn more about:</p>
+<ul class="simple">
+<li><a class="reference external" href="group.md">Group management</a></li>
+<li><a class="reference external" href="../security-and-auth/using-permissions.html">Permissions and
+roles</a></li>
+</ul>
+</div>
+<div class="section" id="social-connections">
+<h2>Social connections<a class="headerlink" href="#social-connections" title="Permalink to this headline">¶</a></h2>
+<p>To create a rich social graph, your app needs to be able to create
+connections between users. Usergrid makes this process lightweight by
+allowing you to create social connections and generic entity connections
+between users to model relationships by working with simple URI paths.</p>
+<p>For example, you could create a &#8216;likes&#8217; relationship between two users
+with a POST:</p>
+<div class="highlight-python"><div class="highlight"><pre>https://api.usergrid.com/your-org/your-app/users/Arthur/likes/users/Ford
+</pre></div>
+</div>
+<p>You could then retrieve all the users Arthur &#8216;likes&#8217; with a GET to
+populate a list in your UI:</p>
+<div class="highlight-python"><div class="highlight"><pre>https://api.usergrid.com/your-org/your-app/users/Arthur/likes
+</pre></div>
+</div>
+<p>Learn more about:</p>
+<ul class="simple">
+<li><a class="reference external" href="user-connections.html">Social connections</a></li>
+<li><a class="reference external" href="../data-storage/relationship.html">Generic entity connections</a></li>
+</ul>
+</div>
+<div class="section" id="activity-feeds">
+<h2>Activity feeds<a class="headerlink" href="#activity-feeds" title="Permalink to this headline">¶</a></h2>
+<p>Activity feeds can be an essential way of establishing a social
+dimension of your user experience. Allow users to actively publish
+activities, such as status messages, or have your application code
+passively publish activities based on user actions, such as posting a
+photo. Activity feeds can be created and shared at both the user and
+group level, giving you the flexibility to present activity feeds that
+are most relevant to your users.</p>
+<p>Learn more about:</p>
+<ul class="simple">
+<li><a class="reference external" href="#activity-feeds">Activity feeds</a></li>
+</ul>
+</div>
+</div>
+
+
+           </div>
+          </div>
+          <footer>
+  
+    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
+      
+        <a href="working-user-data.html" class="btn btn-neutral float-right" title="Working with User Data" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
+      
+      
+        <a href="../security-and-auth/securing-your-app.html" class="btn btn-neutral" title="Security best practices" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
+      
+    </div>
+  
+
+  <hr/>
+
+  <div role="contentinfo">
+    <p>
+        &copy; Copyright 2013-2015, Apache Usergrid.
+
+    </p>
+  </div>
+  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
+
+</footer>
+
+        </div>
+      </div>
+
+    </section>
+
+  </div>
+  
+
+
+  
+
+    <script type="text/javascript">
+        var DOCUMENTATION_OPTIONS = {
+            URL_ROOT:'../',
+            VERSION:'1.0',
+            COLLAPSE_INDEX:false,
+            FILE_SUFFIX:'.html',
+            HAS_SOURCE:  true
+        };
+    </script>
+      <script type="text/javascript" src="../_static/jquery.js"></script>
+      <script type="text/javascript" src="../_static/underscore.js"></script>
+      <script type="text/javascript" src="../_static/doctools.js"></script>
+
+  
+
+  
+  
+    <script type="text/javascript" src="../_static/js/theme.js"></script>
+  
+
+  
+  
+  <script type="text/javascript">
+      jQuery(function () {
+          SphinxRtdTheme.StickyNav.enable();
+      });
+  </script>
+   
+
+</body>
+</html>
\ No newline at end of file