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/07 23:07:05 UTC
[28/29] incubator-usergrid git commit: Merge branch 'master' into
asf-site
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/c207d3f4/content/docs/rest-endpoints/api-reference.html
----------------------------------------------------------------------
diff --cc content/docs/rest-endpoints/api-reference.html
index 1241a65,0000000..af9121f
mode 100644,000000..100644
--- a/content/docs/rest-endpoints/api-reference.html
+++ b/content/docs/rest-endpoints/api-reference.html
@@@ -1,5867 -1,0 +1,5273 @@@
+<html>
+<head>
+ <title>Usergrid API Reference</title>
+
+ <!-- Latest compiled and minified CSS -->
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
+
+ <!-- Optional theme -->
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
+
+ <link rel="stylesheet" href="api-docs.css">
+
+</head>
+<body>
+
+<div class="row">
+ <div class="col-md-1"></div>
+ <div class="col-md-10">
+
+ <h1>Usergrid API Reference</h1>
+ <p>Generated from Swagger.</p>
+<h2>Methods</h2><p>API methods are organized by the tags.</p>
+<p>Following the methods is a listing of all <a href='#models'>Default Entity Models.</p>
- <a name='Action-method'></a>
- <h2>Action Methods</h2>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/activate
- <a data-toggle="collapse" data-target="#collapse-iN5h4Rfha6"
- href="#collapse-iN5h4Rfha6" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-iN5h4Rfha6" class="panel-body collapse">
-
- <p>Activate an organization from a link provIded in an email notification.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>token</b> () <br>
- Activation token. (Specified in query).
- </li>
- <li>
- <b>confirm_email</b> () <br>
- Send confirmation email or not. (Specified in query).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/reactivate
- <a data-toggle="collapse" data-target="#collapse-4JPBNBUnYR"
- href="#collapse-4JPBNBUnYR" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-4JPBNBUnYR" class="panel-body collapse">
-
- <p>Reactivate an expired organization.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/users/resetpw
- <a data-toggle="collapse" data-target="#collapse-8Q4qhiQLvH"
- href="#collapse-8Q4qhiQLvH" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-8Q4qhiQLvH" class="panel-body collapse">
-
- <p>Initiate the reset of an admin user's password.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
++<a name='Access-Tokens-method'></a>
++<h2>Access-Tokens</h2>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /management/users/resetpw
- <a data-toggle="collapse" data-target="#collapse-TBw5HyJTTa"
- href="#collapse-TBw5HyJTTa" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-TBw5HyJTTa" class="panel-body collapse">
-
- <p>Complete the password reset through getting the newpassword and the old one for identification.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>ResetPWMsg</b> ( <a href="#resetpwmsg">ResetPWMsg</a>) <br>
- Parameters and value for the Captcha challenge, the admin user's response to the Captcha challenge, and the admin user's email address. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/users/{userId}/activate
- <a data-toggle="collapse" data-target="#collapse-gPyb4FcquB"
- href="#collapse-gPyb4FcquB" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title POST-heading">POST /management/token
++ <a data-toggle="collapse" data-target="#collapse-cmZMwwFK7m"
++ href="#collapse-cmZMwwFK7m" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-gPyb4FcquB" class="panel-body collapse">
++ <div id="collapse-cmZMwwFK7m" class="panel-body collapse">
+
- <p>Activate an admin user from a link provIded in an email notification.</p>
++ <p>Login with Admin-User or Organization credentials.</p>
+
+ <h3>Parameters</h3>
+
- <ul>
- <li>
- <b>userId</b> (string) <br>
- One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
- </li>
- <li>
- <b>token</b> () <br>
- Activation token's query statement. (Specified in query).
- </li>
- <li>
- <b>confirm_email</b> () <br>
- Query statement of whether send confimation email or not. (Specified in query).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading PUT">
- <h2 class="panel-title PUT-heading">PUT /management/users/{userId}/password
- <a data-toggle="collapse" data-target="#collapse-eOkQcznynD"
- href="#collapse-eOkQcznynD" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-eOkQcznynD" class="panel-body collapse">
-
- <p>Update an admin user's password through getting the newpassword and the old one for identification.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>userId</b> (string) <br>
- One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
- </li>
- <li>
- <b>ResetPW</b> ( <a href="#resetpw">ResetPW</a>) <br>
- The user's old and new password. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/users/{userId}/reactivate
- <a data-toggle="collapse" data-target="#collapse-pxE50B5nCD"
- href="#collapse-pxE50B5nCD" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-pxE50B5nCD" class="panel-body collapse">
-
- <p>Reactivate an expired admin user.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>userId</b> (string) <br>
- One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/users/{user}/password
- <a data-toggle="collapse" data-target="#collapse-sOcj4VS4JA"
- href="#collapse-sOcj4VS4JA" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-sOcj4VS4JA" class="panel-body collapse">
-
- <p>Set a user's password or reset the user's existing password.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>username</b> (string) <br>
- The username of the user. (Specified in path).
- </li>
- <li>
- <b>ResetPW</b> ( <a href="#resetpw">ResetPW</a>) <br>
- The user's old and new password. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of complete messages.</li>
- <li>Schema: [<a href="#action">Action</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
- <a name='ActivityFeed-method'></a>
- <h2>ActivityFeed Methods</h2>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/feed
- <a data-toggle="collapse" data-target="#collapse-HkB3lyybM0"
- href="#collapse-HkB3lyybM0" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-HkB3lyybM0" class="panel-body collapse">
-
- <p>Retrieve an organization's activity feed.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of the organization's ActivityFeed.</li>
- <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/users/{userId}/feed
- <a data-toggle="collapse" data-target="#collapse-trV5SjBRiv"
- href="#collapse-trV5SjBRiv" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-trV5SjBRiv" class="panel-body collapse">
-
- <p>Retrieve an admin user's activity feed.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>userId</b> (string) <br>
- One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of user's activity</li>
- <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/groups/{groupId}/activities
- <a data-toggle="collapse" data-target="#collapse-zj0yM6YokI"
- href="#collapse-zj0yM6YokI" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-zj0yM6YokI" class="panel-body collapse">
-
- <p>Create 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>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>groupId</b> (string) <br>
- One of the group's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>CreateActivity</b> ( <a href="#createactivity">CreateActivity</a>) <br>
- One or more sets of activity properties. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of user's activity.</li>
- <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
- </ul>
- </li>
- <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
- </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/groups/{groupId}/feed
- <a data-toggle="collapse" data-target="#collapse-gIeQmdnsDx"
- href="#collapse-gIeQmdnsDx" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-gIeQmdnsDx" class="panel-body collapse">
-
- <p>Get a group's feed through providing all the identifications.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
++ <ul>
+ <li>
- <b>groupId</b> (string) <br>
- One of the group's identification which includes name or uuid. (Specified in path).
++ <b>login-credentials</b> ( <a href="#logincredentials">LoginCredentials</a>) <br>
++ Login credentials either username/password or id/secret. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of group's activity.</li>
- <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
++ <li>Description: Object containing access_token.</li>
++ <li>Schema: [<a href="#accesstokenreponse">AccessTokenReponse</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/users/{userId}/activities
- <a data-toggle="collapse" data-target="#collapse-L2T56Ztybh"
- href="#collapse-L2T56Ztybh" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/token
++ <a data-toggle="collapse" data-target="#collapse-9bwBQQ9E8H"
++ href="#collapse-9bwBQQ9E8H" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-L2T56Ztybh" class="panel-body collapse">
++ <div id="collapse-9bwBQQ9E8H" class="panel-body collapse">
+
- <p>Create an activity in the activities collection.</p>
++ <p>Login with App-User or Application credentials.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>userId-3</b> (string) <br>
- One of the user's identification which includes username or UUID. (Specified in path).
- </li>
- <li>
- <b>CreateActivity</b> ( <a href="#createactivity">CreateActivity</a>) <br>
- One or more sets of activity properties. (Specified in body).
++ <b>login-credentials</b> ( <a href="#logincredentials">LoginCredentials</a>) <br>
++ Login credentials either username/password or id/secret. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of user's activity.</li>
- <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
++ <li>Description: An array of new created Admin user's info.</li>
++ <li>Schema: [<a href="#accesstokenreponse">AccessTokenReponse</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
++<a name='Activities-method'></a>
++<h2>Activities</h2>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users/{userId}/feed
- <a data-toggle="collapse" data-target="#collapse-q3sk3xVUu4"
- href="#collapse-q3sk3xVUu4" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/groups/{groupId}/feed
++ <a data-toggle="collapse" data-target="#collapse-exqRBt1fJf"
++ href="#collapse-exqRBt1fJf" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-q3sk3xVUu4" class="panel-body collapse">
++ <div id="collapse-exqRBt1fJf" class="panel-body collapse">
+
- <p>Retrieve a user's feed through providing all the identifications.</p>
++ <p>Get a group's feed through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>userId-3</b> (string) <br>
- One of the user's identification which includes username or UUID. (Specified in path).
++ <b>groupId</b> (string) <br>
++ One of the group's identification which includes name or uuid. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of user's activity feed.</li>
++ <li>Description: An array of group's activity.</li>
+ <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='AppData-method'></a>
- <h2>AppData Methods</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/apps
- <a data-toggle="collapse" data-target="#collapse-2aQqcShABU"
- href="#collapse-2aQqcShABU" class="collapsed collapse-button"> </a>
++ <div class="panel-heading POST">
++ <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/users/{userId}/activities
++ <a data-toggle="collapse" data-target="#collapse-JxAIGXKO4s"
++ href="#collapse-JxAIGXKO4s" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-2aQqcShABU" class="panel-body collapse">
++ <div id="collapse-JxAIGXKO4s" class="panel-body collapse">
+
- <p>Retrieve the applications in an organization through providing both Id of application and organization.</p>
++ <p>Create an activity in the activities collection.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of retrieved application data.</li>
- <li>Schema: [<a href="#appdata">AppData</a>]</li>
- </ul>
- </li>
+ <li>
- <b>default</b>
- <ul>
- <li>Description: Unexpected error.</li>
- <li>Schema: [<a href="#error">Error</a>]</li>
- </ul>
++ <b>appId</b> (string) <br>
++ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
- </ul>
-
- </div>
- <!--<div class="panel-footer"></div>-->
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading DELETE">
- <h2 class="panel-title DELETE-heading">DELETE /management/orgs/{orgId}/apps/{appId}
- <a data-toggle="collapse" data-target="#collapse-G319AhhnWy"
- href="#collapse-G319AhhnWy" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-G319AhhnWy" class="panel-body collapse">
-
- <p>Remove an application from an organization through providing both Id of application and organization.</p>
-
- <h3>Parameters</h3>
-
- <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
++ <b>userId-3</b> (string) <br>
++ One of the user's identification which includes username or UUID. (Specified in path).
+ </li>
+ <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
++ <b>CreateActivity</b> ( <a href="#createactivity">CreateActivity</a>) <br>
++ One or more sets of activity properties. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of deleted application info.</li>
- <li>Schema: [<a href="#appdata">AppData</a>]</li>
++ <li>Description: An array of user's activity.</li>
++ <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Credential-method'></a>
- <h2>Credential Methods</h2>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/apps/{appId}/credentials
- <a data-toggle="collapse" data-target="#collapse-AASgKtaSkG"
- href="#collapse-AASgKtaSkG" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users/{userId}/feed
++ <a data-toggle="collapse" data-target="#collapse-AbL9xxckcn"
++ href="#collapse-AbL9xxckcn" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-AASgKtaSkG" class="panel-body collapse">
++ <div id="collapse-AbL9xxckcn" class="panel-body collapse">
+
- <p>Retrieve the client Id and client secret credentials for an application in an organization.</p>
++ <p>Retrieve a user's feed through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
++ <li>
++ <b>userId-3</b> (string) <br>
++ One of the user's identification which includes username or UUID. (Specified in path).
++ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of retrieved credentials info.</li>
- <li>Schema: [<a href="#credential">Credential</a>]</li>
++ <li>Description: An array of user's activity feed.</li>
++ <li>Schema: [<a href="#activityfeed">ActivityFeed</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
++<a name='Admin-Users-method'></a>
++<h2>Admin-Users</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /management/orgs/{orgId}/apps/{appId}/credentials
- <a data-toggle="collapse" data-target="#collapse-dKcFwuUjzH"
- href="#collapse-dKcFwuUjzH" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/users
++ <a data-toggle="collapse" data-target="#collapse-1pGl58DjyV"
++ href="#collapse-1pGl58DjyV" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-dKcFwuUjzH" class="panel-body collapse">
++ <div id="collapse-1pGl58DjyV" class="panel-body collapse">
+
- <p>Generate the client Id and client secret credentials for an application in an organization.</p>
++ <p>Retrieve details about the admin users in an organization.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of generated credentials info.</li>
- <li>Schema: [<a href="#credential">Credential</a>]</li>
++ <li>Description: An array of retrieved Admin user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /management/orgs/{orgId}/credentials
- <a data-toggle="collapse" data-target="#collapse-ZMqkJ1AwIr"
- href="#collapse-ZMqkJ1AwIr" class="collapsed collapse-button"> </a>
++ <div class="panel-heading DELETE">
++ <h2 class="panel-title DELETE-heading">DELETE /management/orgs/{orgId}/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-6s9X1sa0oT"
++ href="#collapse-6s9X1sa0oT" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-ZMqkJ1AwIr" class="panel-body collapse">
++ <div id="collapse-6s9X1sa0oT" class="panel-body collapse">
+
- <p>Retrieve the credentials for an organization client.</p>
++ <p>Remove an admin user from an organization through providing both Id of application and organization.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
++ <li>
++ <b>userId-2</b> (string) <br>
++ One of the user's identification which includes username, email address or UUID. (Specified in path).
++ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of Credential</li>
- <li>Schema: [<a href="#credential">Credential</a>]</li>
++ <li>Description: An array of deleted Admin user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /management/orgs/{orgId}/credentials
- <a data-toggle="collapse" data-target="#collapse-eG7QcoefBR"
- href="#collapse-eG7QcoefBR" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title POST-heading">POST /management/users
++ <a data-toggle="collapse" data-target="#collapse-CffAy8PFG0"
++ href="#collapse-CffAy8PFG0" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-eG7QcoefBR" class="panel-body collapse">
++ <div id="collapse-CffAy8PFG0" class="panel-body collapse">
+
- <p>Generate whole new credentials for an organization client.</p>
++ <p>Create a whole new admin user.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
++ <b>adminuserproperty</b> ( <a href="#createadminuser">CreateAdminUser</a>) <br>
++ One or more sets of user properties of which username is mandatory and must be unique. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of Credential</li>
- <li>Schema: [<a href="#credential">Credential</a>]</li>
++ <li>Description: An array of new created Admin user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Devices-method'></a>
- <h2>Devices Methods</h2>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/{notificationId}/*/queue
- <a data-toggle="collapse" data-target="#collapse-m94kArvzxi"
- href="#collapse-m94kArvzxi" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title GET-heading">GET /management/users/resetpw
++ <a data-toggle="collapse" data-target="#collapse-puhv9tWxAI"
++ href="#collapse-puhv9tWxAI" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-m94kArvzxi" class="panel-body collapse">
++ <div id="collapse-puhv9tWxAI" class="panel-body collapse">
+
- <p>Retrieve the list of devices associated with one or more notifications before the notifications are sent through providing all the identifications.</p>
++ <p>Initiate the reset of an admin user's password.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
- <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>notificationId</b> (string) <br>
- One of the notification's identification which includes name or uuid. (Specified in path).
- </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of retrieved device's info.</li>
- <li>Schema: [<a href="#device">Device</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Entity-method'></a>
- <h2>Entity Methods</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users/{userId}/{relation}
- <a data-toggle="collapse" data-target="#collapse-pIaAhJWMZp"
- href="#collapse-pIaAhJWMZp" class="collapsed collapse-button"> </a>
++ <div class="panel-heading POST">
++ <h2 class="panel-title POST-heading">POST /management/users/resetpw
++ <a data-toggle="collapse" data-target="#collapse-slmKGt1TxI"
++ href="#collapse-slmKGt1TxI" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-pIaAhJWMZp" class="panel-body collapse">
++ <div id="collapse-slmKGt1TxI" class="panel-body collapse">
+
- <p>Retrieve a user's collections or connections through query statement.</p>
++ <p>Complete the password reset through getting the newpassword and the old one for identification.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>userId-3</b> (string) <br>
- One of the user's identification which includes username or UUID. (Specified in path).
- </li>
- <li>
- <b>relation</b> (string) <br>
- The relation between user and collections. (Specified in path).
- </li>
- <li>
- <b>queryStatement</b> () <br>
- The query statement of the user. (Specified in query).
++ <b>ResetPWMsg</b> ( <a href="#resetpwmsg">ResetPWMsg</a>) <br>
++ Parameters and value for the Captcha challenge, the admin user's response to the Captcha challenge, and the admin user's email address. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of user's collections info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/{collectionId}
- <a data-toggle="collapse" data-target="#collapse-xW56KedRyq"
- href="#collapse-xW56KedRyq" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title GET-heading">GET /management/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-5ONpkPJETJ"
++ href="#collapse-5ONpkPJETJ" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-xW56KedRyq" class="panel-body collapse">
++ <div id="collapse-5ONpkPJETJ" class="panel-body collapse">
+
- <p>Retrieve collection through query statement.</p>
++ <p>Retrieve details about an admin user.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>queryStatement</b> () <br>
- Any values specified in the query statement should be enclosed in single-quotes. (Specified in query).
++ <b>userId</b> (string) <br>
++ One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of retrieved collection's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of user's details</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading PUT">
- <h2 class="panel-title PUT-heading">PUT /{orgId}/{appId}/{collectionId}
- <a data-toggle="collapse" data-target="#collapse-Zy8ncQAeme"
- href="#collapse-Zy8ncQAeme" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title PUT-heading">PUT /management/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-AAUTXtRESK"
++ href="#collapse-AAUTXtRESK" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-Zy8ncQAeme" class="panel-body collapse">
++ <div id="collapse-AAUTXtRESK" class="panel-body collapse">
+
- <p>Update collection through query statement.</p>
++ <p>Update the info of an admin user.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>queryStatement</b> () <br>
- Any values specified in the query statement should be enclosed in single-quotes. (Specified in query).
++ <b>userId</b> (string) <br>
++ One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of updated collection's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of user's details.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/{collectionId}/{entityId1}/{relation}/{entityId2}
- <a data-toggle="collapse" data-target="#collapse-ocB2PheyLp"
- href="#collapse-ocB2PheyLp" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /management/users/{userId}/activate
++ <a data-toggle="collapse" data-target="#collapse-d2BwAnUMRh"
++ href="#collapse-d2BwAnUMRh" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-ocB2PheyLp" class="panel-body collapse">
++ <div id="collapse-d2BwAnUMRh" class="panel-body collapse">
+
- <p>Add an entity to a collection through providing all the identifications.</p>
++ <p>Activate an admin user from a link provIded in an email notification.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityId1</b> (string) <br>
- The Id of the 1st entity. (Specified in path).
++ <b>userId</b> (string) <br>
++ One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
+ </li>
+ <li>
- <b>relation</b> (string) <br>
- The relation between 1st entity and 2nd entity. (Specified in path).
++ <b>token</b> (string) <br>
++ Activation token's query statement. (Specified in query).
+ </li>
- <li>
- <b>entityId2</b> (string) <br>
- The Id of the 2nd entity. (Specified in path).
++ <li>
++ <b>confirm_email</b> (boolean) <br>
++ Query statement of whether send confimation email or not. (Specified in query).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of added entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading DELETE">
- <h2 class="panel-title DELETE-heading">DELETE /{orgId}/{appId}/{collectionId}/{entityId1}/{relation}/{entityId2}
- <a data-toggle="collapse" data-target="#collapse-5zFww1vFfs"
- href="#collapse-5zFww1vFfs" class="collapsed collapse-button"> </a>
++ <div class="panel-heading PUT">
++ <h2 class="panel-title PUT-heading">PUT /management/users/{userId}/password
++ <a data-toggle="collapse" data-target="#collapse-iIdJ1A84uU"
++ href="#collapse-iIdJ1A84uU" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-5zFww1vFfs" class="panel-body collapse">
++ <div id="collapse-iIdJ1A84uU" class="panel-body collapse">
+
- <p>Remove an entity from a collection through providing all the identifications.</p>
++ <p>Update an admin user's password through getting the newpassword and the old one for identification.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityId1</b> (string) <br>
- The Id of the 1st entity. (Specified in path).
- </li>
- <li>
- <b>relation</b> (string) <br>
- The relation between 1st entity and 2nd entity. (Specified in path).
++ <b>userId</b> (string) <br>
++ One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
+ </li>
+ <li>
- <b>entityId2</b> (string) <br>
- The Id of the 2nd entity. (Specified in path).
++ <b>ResetPW</b> ( <a href="#resetpw">ResetPW</a>) <br>
++ The user's old and new password. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of deleted entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
+ <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/{collectionId}/{entityId}
- <a data-toggle="collapse" data-target="#collapse-1dov3vPnls"
- href="#collapse-1dov3vPnls" class="collapsed collapse-button"> </a>
++ <h2 class="panel-title GET-heading">GET /management/users/{userId}/reactivate
++ <a data-toggle="collapse" data-target="#collapse-PhIPbnIHGc"
++ href="#collapse-PhIPbnIHGc" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-1dov3vPnls" class="panel-body collapse">
++ <div id="collapse-PhIPbnIHGc" class="panel-body collapse">
+
- <p>Retrieve an entity through providing Id of application, organization, collection and entity.</p>
++ <p>Reactivate an expired admin user.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>orgId</b> (string) <br>
- One of the organization's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>appId</b> (string) <br>
- One of the application's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityId</b> (string) <br>
- One of the entity's identification which includes name or uuid. (Specified in path).
++ <b>userId</b> (string) <br>
++ One of the user's identification which includes username, real name, email address or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of retrieved entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
++<a name='App-Users-method'></a>
++<h2>App-Users</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading PUT">
- <h2 class="panel-title PUT-heading">PUT /{orgId}/{appId}/{collectionId}/{entityId}
- <a data-toggle="collapse" data-target="#collapse-CMPoM2NkHk"
- href="#collapse-CMPoM2NkHk" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users
++ <a data-toggle="collapse" data-target="#collapse-V01GZ7JOxQ"
++ href="#collapse-V01GZ7JOxQ" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-CMPoM2NkHk" class="panel-body collapse">
++ <div id="collapse-V01GZ7JOxQ" class="panel-body collapse">
+
- <p>One or more properties can be updated with a single request.</p>
++ <p>Retrieve users though query statement.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityId</b> (string) <br>
- One of the entity's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityproperty</b> ( <a href="#createentities">CreateEntities</a>) <br>
- The properties of the entity. (Specified in body).
++ <b>queryStatement</b> (string) <br>
++ The query statement of the User. (Specified in query).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of updated entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of retrieved user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading DELETE">
- <h2 class="panel-title DELETE-heading">DELETE /{orgId}/{appId}/{collectionId}/{entityId}
- <a data-toggle="collapse" data-target="#collapse-Jg2pLwSrSu"
- href="#collapse-Jg2pLwSrSu" class="collapsed collapse-button"> </a>
++ <div class="panel-heading POST">
++ <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/users
++ <a data-toggle="collapse" data-target="#collapse-PaYXkTXJ5G"
++ href="#collapse-PaYXkTXJ5G" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-Jg2pLwSrSu" class="panel-body collapse">
++ <div id="collapse-PaYXkTXJ5G" class="panel-body collapse">
+
- <p>Delete an entity from the collection.</p>
++ <p>Create a user in the users collection through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>collectionId</b> (string) <br>
- One of the collection's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>entityId</b> (string) <br>
- One of the entity's identification which includes name or uuid. (Specified in path).
++ <b>CreateUser</b> ( <a href="#createuser">CreateUser</a>) <br>
++ The properties of the user. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of deleted entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of created user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/{entitytype}
- <a data-toggle="collapse" data-target="#collapse-o8OSLLkp41"
- href="#collapse-o8OSLLkp41" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-0mWFb57I4U"
++ href="#collapse-0mWFb57I4U" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-o8OSLLkp41" class="panel-body collapse">
++ <div id="collapse-0mWFb57I4U" class="panel-body collapse">
+
- <p>When a new entity is created, 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. </p>
++ <p>Retrieve a user through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>entitytype</b> (string) <br>
- The entity type to create. (Specified in path).
- </li>
- <li>
- <b>entityproperty</b> ( <a href="#createentities">CreateEntities</a>) <br>
- The properties of the entity. (Specified in body).
++ <b>userId-2</b> (string) <br>
++ One of the user's identification which includes username, email address or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of created custom entity's info.</li>
- <li>Schema: [<a href="#entity">Entity</a>]</li>
++ <li>Description: An array of retrieved user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Event-method'></a>
- <h2>Event Methods</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/events
- <a data-toggle="collapse" data-target="#collapse-qnPBoA07vy"
- href="#collapse-qnPBoA07vy" class="collapsed collapse-button"> </a>
++ <div class="panel-heading PUT">
++ <h2 class="panel-title PUT-heading">PUT /{orgId}/{appId}/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-cgjV8htU81"
++ href="#collapse-cgjV8htU81" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-qnPBoA07vy" class="panel-body collapse">
++ <div id="collapse-cgjV8htU81" class="panel-body collapse">
+
- <p>Create an event through providing both Id of organization and application.</p>
++ <p>Update a user through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>CreateEvent</b> ( <a href="#createevent">CreateEvent</a>) <br>
- The required property of the event. (Specified in body).
++ <b>userId-3</b> (string) <br>
++ One of the user's identification which includes username or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of created event's info.</li>
- <li>Schema: [<a href="#event">Event</a>]</li>
++ <li>Description: An array of updated user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Group-method'></a>
- <h2>Group Methods</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/groups
- <a data-toggle="collapse" data-target="#collapse-4qiW3TsSSu"
- href="#collapse-4qiW3TsSSu" class="collapsed collapse-button"> </a>
++ <div class="panel-heading DELETE">
++ <h2 class="panel-title DELETE-heading">DELETE /{orgId}/{appId}/users/{userId}
++ <a data-toggle="collapse" data-target="#collapse-ykHqVqQ6Oj"
++ href="#collapse-ykHqVqQ6Oj" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-4qiW3TsSSu" class="panel-body collapse">
++ <div id="collapse-ykHqVqQ6Oj" class="panel-body collapse">
+
- <p>Create a new group through providing both Id of organization and application.</p>
++ <p>Remove a user through providing all the identifications.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>groupproperty</b> ( <a href="#creategroup">CreateGroup</a>) <br>
- The property of the created group. (Specified in body).
++ <b>userId-3</b> (string) <br>
++ One of the user's identification which includes username or UUID. (Specified in path).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of created group's info.</li>
- <li>Schema: [<a href="#group">Group</a>]</li>
++ <li>Description: An array of deleted user's info.</li>
++ <li>Schema: [<a href="#user">User</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading GET">
- <h2 class="panel-title GET-heading">GET /{org_Id}/{app_Id}/groups/{groupId}
- <a data-toggle="collapse" data-target="#collapse-mh3TFMiqlw"
- href="#collapse-mh3TFMiqlw" class="collapsed collapse-button"> </a>
++ <div class="panel-heading POST">
++ <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/users/{user}/password
++ <a data-toggle="collapse" data-target="#collapse-VhPgf00cla"
++ href="#collapse-VhPgf00cla" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-mh3TFMiqlw" class="panel-body collapse">
++ <div id="collapse-VhPgf00cla" class="panel-body collapse">
+
- <p>Get a group through through providing all the identifications.</p>
++ <p>Set a user's password or reset the user's existing password.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>groupId</b> (string) <br>
- One of the group's identification which includes name or uuid. (Specified in path).
++ <b>username</b> (string) <br>
++ The username of the user. (Specified in path).
++ </li>
++ <li>
++ <b>ResetPW</b> ( <a href="#resetpw">ResetPW</a>) <br>
++ The user's old and new password. (Specified in body).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of retrieved group's info.</li>
- <li>Schema: [<a href="#group">Group</a>]</li>
++ <li>Description: An array of complete messages.</li>
++ <li>Schema: [<a href="#action">Action</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
++<a name='Entities-Collections-method'></a>
++<h2>Entities-Collections</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading PUT">
- <h2 class="panel-title PUT-heading">PUT /{org_Id}/{app_Id}/groups/{groupId}
- <a data-toggle="collapse" data-target="#collapse-Ytvz84UP9Q"
- href="#collapse-Ytvz84UP9Q" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/users/{userId}/{relation}
++ <a data-toggle="collapse" data-target="#collapse-jlZmpUyBZV"
++ href="#collapse-jlZmpUyBZV" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-Ytvz84UP9Q" class="panel-body collapse">
++ <div id="collapse-jlZmpUyBZV" class="panel-body collapse">
+
- <p>Update a group through providing all the identifications.</p>
++ <p>Retrieve a user's collections or connections through query statement.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
+ <b>orgId</b> (string) <br>
+ One of the organization's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
+ <b>appId</b> (string) <br>
+ One of the application's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>groupId</b> (string) <br>
- One of the group's identification which includes name or uuid. (Specified in path).
++ <b>userId-3</b> (string) <br>
++ One of the user's identification which includes username or UUID. (Specified in path).
++ </li>
++ <li>
++ <b>relation</b> (string) <br>
++ The relation between user and collections. (Specified in path).
++ </li>
++ <li>
++ <b>queryStatement</b> (string) <br>
++ The query statement of the user. (Specified in query).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of updated group's info.</li>
- <li>Schema: [<a href="#group">Group</a>]</li>
++ <li>Description: An array of user's collections info.</li>
++ <li>Schema: [<a href="#entity">Entity</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
- <a name='Notification-method'></a>
- <h2>Notification Methods</h2>
+
+<div class="panel panel-default">
+
- <div class="panel-heading PUT">
- <h2 class="panel-title PUT-heading">PUT /my-org/sandbox/notifications/{notificationId}
- <a data-toggle="collapse" data-target="#collapse-2X3BWwAy5v"
- href="#collapse-2X3BWwAy5v" class="collapsed collapse-button"> </a>
++ <div class="panel-heading GET">
++ <h2 class="panel-title GET-heading">GET /{orgId}/{appId}/{collectionId}
++ <a data-toggle="collapse" data-target="#collapse-pr3vboKDpc"
++ href="#collapse-pr3vboKDpc" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="collapse-2X3BWwAy5v" class="panel-body collapse">
++ <div id="collapse-pr3vboKDpc" class="panel-body collapse">
+
- <p>Cancel sent notifications through providing the Id of the notification.</p>
++ <p>Retrieve collection through query statement.</p>
+
+ <h3>Parameters</h3>
+
+ <ul>
+ <li>
- <b>notificationId</b> (string) <br>
- One of the notification's identification which includes name or uuid. (Specified in path).
++ <b>orgId</b> (string) <br>
++ One of the organization's identification which includes name or uuid. (Specified in path).
++ </li>
++ <li>
++ <b>appId</b> (string) <br>
++ One of the application's identification which includes name or uuid. (Specified in path).
++ </li>
++ <li>
++ <b>collectionId</b> (string) <br>
++ One of the collection's identification which includes name or uuid. (Specified in path).
+ </li>
+ <li>
- <b>cancelMsg</b> ( <a href="#cancelmsg">CancelMSG</a>) <br>
- Indicete whether is canceled or not. (Specified in body).
++ <b>queryStatement</b> (string) <br>
++ Any values specified in the query statement should be enclosed in single-quotes. (Specified in query).
+ </li>
+ </ul>
+
+ <h3>Responses</h3>
+
+ <ul>
+ <li>
+ <b>200</b>
+ <ul>
- <li>Description: An array of canceled notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</a>]</li>
++ <li>Description: An array of retrieved collection's info.</li>
++ <li>Schema: [<a href="#entity">Entity</a>]</li>
+ </ul>
+ </li>
+ <li>
+ <b>default</b>
+ <ul>
+ <li>Description: Unexpected error.</li>
+ <li>Schema: [<a href="#error">Error</a>]</li>
+ </ul>
+ </li>
+ </ul>
+
+ </div>
+ <!--<div class="panel-footer"></div>-->
+</div>
+
+<div class="panel panel-default">
+
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /{orgId}/{appId}/devices
- <a data-toggle="collapse" data-target="#collapse-oPXCIDKL6a"
- href="#collapse-oPXCIDKL6a" class="collapsed collapse-button"> </a>
++ <div class="panel-heading PUT">
++ <h2 class="panel-title PUT-heading">PUT /{orgId}/{appId}/{collectionId}
++ <a data-toggle="collapse" data-target="#collapse-sS3PjGnyPg"
++ href="#collapse-sS3PjGnyPg" class="collapsed collapse-button"> </a>
+ </h2>
+ </div>
+
- <div id="co
<TRUNCATED>