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:14:35 UTC
[40/60] [abbrv] incubator-usergrid git commit: For review purposes.
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/24aa4da8/docs/rest-endpoints/api-docs.html
----------------------------------------------------------------------
diff --git a/docs/rest-endpoints/api-docs.html b/docs/rest-endpoints/api-docs.html
deleted file mode 100644
index 1241a65..0000000
--- a/docs/rest-endpoints/api-docs.html
+++ /dev/null
@@ -1,5867 +0,0 @@
-<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>
-
-<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>
- </div>
-
- <div id="collapse-gPyb4FcquB" class="panel-body collapse">
-
- <p>Activate an admin user from a link provIded in an email notification.</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>
- <li>
- <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 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>
-
-<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>
- </div>
-
- <div id="collapse-L2T56Ztybh" class="panel-body collapse">
-
- <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>
- <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).
- </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}/users/{userId}/feed
- <a data-toggle="collapse" data-target="#collapse-q3sk3xVUu4"
- href="#collapse-q3sk3xVUu4" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-q3sk3xVUu4" class="panel-body collapse">
-
- <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 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='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>
- </h2>
- </div>
-
- <div id="collapse-2aQqcShABU" class="panel-body collapse">
-
- <p>Retrieve the applications in 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>
- </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>
- </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).
- </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 deleted application info.</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>
- </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>
- </div>
-
- <div id="collapse-AASgKtaSkG" class="panel-body collapse">
-
- <p>Retrieve the client Id and client secret credentials for an application 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 retrieved credentials info.</li>
- <li>Schema: [<a href="#credential">Credential</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}/apps/{appId}/credentials
- <a data-toggle="collapse" data-target="#collapse-dKcFwuUjzH"
- href="#collapse-dKcFwuUjzH" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-dKcFwuUjzH" class="panel-body collapse">
-
- <p>Generate the client Id and client secret credentials for an application 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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-ZMqkJ1AwIr" class="panel-body collapse">
-
- <p>Retrieve the credentials for an organization client.</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 Credential</li>
- <li>Schema: [<a href="#credential">Credential</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>
- </div>
-
- <div id="collapse-eG7QcoefBR" class="panel-body collapse">
-
- <p>Generate whole new credentials for an organization client.</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 Credential</li>
- <li>Schema: [<a href="#credential">Credential</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>
- </div>
-
- <div id="collapse-m94kArvzxi" 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>
-
- <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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-pIaAhJWMZp" class="panel-body collapse">
-
- <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>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).
- </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>
- </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>
- </div>
-
- <div id="collapse-xW56KedRyq" class="panel-body collapse">
-
- <p>Retrieve collection 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>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).
- </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>
- </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>
- </div>
-
- <div id="collapse-Zy8ncQAeme" class="panel-body collapse">
-
- <p>Update collection 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>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).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-ocB2PheyLp" class="panel-body collapse">
-
- <p>Add an entity to a 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>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).
- </li>
- <li>
- <b>entityId2</b> (string) <br>
- The Id of the 2nd entity. (Specified in path).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-5zFww1vFfs" class="panel-body collapse">
-
- <p>Remove an entity from a 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>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).
- </li>
- <li>
- <b>entityId2</b> (string) <br>
- The Id of the 2nd entity. (Specified in path).
- </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>
- </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>
- </div>
-
- <div id="collapse-1dov3vPnls" class="panel-body collapse">
-
- <p>Retrieve an entity through providing Id of application, organization, collection and entity.</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>
- </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>
- </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}/{entityId}
- <a data-toggle="collapse" data-target="#collapse-CMPoM2NkHk"
- href="#collapse-CMPoM2NkHk" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-CMPoM2NkHk" class="panel-body collapse">
-
- <p>One or more properties can be updated with a single request.</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).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-Jg2pLwSrSu" class="panel-body collapse">
-
- <p>Delete an entity from the 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>
- <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>
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-o8OSLLkp41" 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>
-
- <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).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-qnPBoA07vy" class="panel-body collapse">
-
- <p>Create an event through providing both Id of organization and application.</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).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-4qiW3TsSSu" class="panel-body collapse">
-
- <p>Create a new group through providing both Id of organization and application.</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).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-mh3TFMiqlw" class="panel-body collapse">
-
- <p>Get a group through 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>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 retrieved group's info.</li>
- <li>Schema: [<a href="#group">Group</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 /{org_Id}/{app_Id}/groups/{groupId}
- <a data-toggle="collapse" data-target="#collapse-Ytvz84UP9Q"
- href="#collapse-Ytvz84UP9Q" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-Ytvz84UP9Q" class="panel-body collapse">
-
- <p>Update a group 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>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 updated group's info.</li>
- <li>Schema: [<a href="#group">Group</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>
- </h2>
- </div>
-
- <div id="collapse-2X3BWwAy5v" class="panel-body collapse">
-
- <p>Cancel sent notifications through providing the Id of the notification.</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).
- </li>
- <li>
- <b>cancelMsg</b> ( <a href="#cancelmsg">CancelMSG</a>) <br>
- Indicete whether is canceled or not. (Specified in body).
- </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>
- </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>
- </h2>
- </div>
-
- <div id="collapse-oPXCIDKL6a" class="panel-body collapse">
-
- <p>Create notifications for user through targeting by location and 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>notification</b> ( <a href="#createnotifications">CreateNotifications</a>) <br>
- These parameters are used when forming the notification portion of the request. (Specified in body).
- </li>
- <li>
- <b>scheduleNotification</b> ( <a href="#schedulenotification">ScheduleNotification</a>) <br>
- To schedule a notification for a later time add the deliver parameter with a UNIX timestamp to the body of your request. (Specified in body).
- </li>
- <li>
- <b>setExpiration</b> ( <a href="#setexpiration">SetExpiration</a>) <br>
- If a push service can't deliver a message to a device and needs to resend it you can set a notification to expire after a certain date/time. (Specified in body).
- </li>
- <li>
- <b>queryStatement</b> () <br>
- The query statement of the location of the user. (Specified in query).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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/*/notifications
- <a data-toggle="collapse" data-target="#collapse-QHRHWLFRwh"
- href="#collapse-QHRHWLFRwh" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-QHRHWLFRwh" class="panel-body collapse">
-
- <p>Create notifications for all devices. This request will target all device entities.</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>notification</b> ( <a href="#createnotifications">CreateNotifications</a>) <br>
- These parameters are used when forming the notification portion of the request. (Specified in body).
- </li>
- <li>
- <b>scheduleNotification</b> ( <a href="#schedulenotification">ScheduleNotification</a>) <br>
- To schedule a notification for a later time add the deliver parameter with a UNIX timestamp to the body of your request. (Specified in body).
- </li>
- <li>
- <b>setExpiration</b> ( <a href="#setexpiration">SetExpiration</a>) <br>
- If a push service can't deliver a message to a device and needs to resend it you can set a notification to expire after a certain date/time. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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/{deviceId}/notifications
- <a data-toggle="collapse" data-target="#collapse-YK5TdQKJ4Z"
- href="#collapse-YK5TdQKJ4Z" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-YK5TdQKJ4Z" class="panel-body collapse">
-
- <p>Create notifications for a single device. This request will target a specific device entity.</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>deviceId</b> (string) <br>
- One of the device's identification which includes name or uuid. (Specified in path).
- </li>
- <li>
- <b>notification</b> ( <a href="#createnotifications">CreateNotifications</a>) <br>
- These parameters are used when forming the notification portion of the request. (Specified in body).
- </li>
- <li>
- <b>scheduleNotification</b> ( <a href="#schedulenotification">ScheduleNotification</a>) <br>
- To schedule a notification for a later time add the deliver parameter with a UNIX timestamp to the body of your request. (Specified in body).
- </li>
- <li>
- <b>setExpiration</b> ( <a href="#setexpiration">SetExpiration</a>) <br>
- If a push service can't deliver a message to a device and needs to resend it you can set a notification to expire after a certain date/time. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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/{path}/notifications
- <a data-toggle="collapse" data-target="#collapse-ygcIRQJpNR"
- href="#collapse-ygcIRQJpNR" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-ygcIRQJpNR" class="panel-body collapse">
-
- <p>Create notifications for a group. This request will target all users associated with a specific group entity.</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>path</b> (string) <br>
- The path of the group. (Specified in path).
- </li>
- <li>
- <b>notification</b> ( <a href="#createnotifications">CreateNotifications</a>) <br>
- These parameters are used when forming the notification portion of the request. (Specified in body).
- </li>
- <li>
- <b>scheduleNotification</b> ( <a href="#schedulenotification">ScheduleNotification</a>) <br>
- To schedule a notification for a later time add the deliver parameter with a UNIX timestamp to the body of your request. (Specified in body).
- </li>
- <li>
- <b>setExpiration</b> ( <a href="#setexpiration">SetExpiration</a>) <br>
- If a push service can't deliver a message to a device and needs to resend it you can set a notification to expire after a certain date/time. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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}/notifications
- <a data-toggle="collapse" data-target="#collapse-dapPIY8Bor"
- href="#collapse-dapPIY8Bor" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-dapPIY8Bor" class="panel-body collapse">
-
- <p>Retrieve one or more notifications 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>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of retrieved notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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}/notifications/{notificationId}
- <a data-toggle="collapse" data-target="#collapse-Ewtulp8IFk"
- href="#collapse-Ewtulp8IFk" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-Ewtulp8IFk" class="panel-body collapse">
-
- <p>Remove unsent notifications 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>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 deleted notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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}/notifications
- <a data-toggle="collapse" data-target="#collapse-iuRATGDSDn"
- href="#collapse-iuRATGDSDn" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-iuRATGDSDn" class="panel-body collapse">
-
- <p>Create notifications for a user. This request will target a specific user entity.</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>notification</b> ( <a href="#createnotifications">CreateNotifications</a>) <br>
- These parameters are used when forming the notification portion of the request. (Specified in body).
- </li>
- <li>
- <b>scheduleNotification</b> ( <a href="#schedulenotification">ScheduleNotification</a>) <br>
- To schedule a notification for a later time add the deliver parameter with a UNIX timestamp to the body of your request. (Specified in body).
- </li>
- <li>
- <b>setExpiration</b> ( <a href="#setexpiration">SetExpiration</a>) <br>
- If a push service can't deliver a message to a device and needs to resend it you can set a notification to expire after a certain date/time. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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}/{receiptId}/*/notifications
- <a data-toggle="collapse" data-target="#collapse-MVtYUm9Thh"
- href="#collapse-MVtYUm9Thh" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-MVtYUm9Thh" class="panel-body collapse">
-
- <p>Retrieve notifications associated with one or more receipts 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>receiptId</b> (string) <br>
- One of the receipt'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 notification's info.</li>
- <li>Schema: [<a href="#notification">Notification</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='Organization-method'></a>
-<h2>Organization Methods</h2>
-
-<div class="panel panel-default">
-
- <div class="panel-heading POST">
- <h2 class="panel-title POST-heading">POST /management/orgs
- <a data-toggle="collapse" data-target="#collapse-vUb9W088QZ"
- href="#collapse-vUb9W088QZ" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-vUb9W088QZ" class="panel-body collapse">
-
- <p>Create an organization through a form post.</p>
-
- <h3>Parameters</h3>
-
- <ul>
- <li>
- <b>CreateOrg</b> ( <a href="#createorg">CreateOrg</a>) <br>
- A set of organization properties supplied through a form. (Specified in body).
- </li>
- </ul>
-
- <h3>Responses</h3>
-
- <ul>
- <li>
- <b>200</b>
- <ul>
- <li>Description: An array of created Organization.</li>
- <li>Schema: [<a href="#organization">Organization</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}
- <a data-toggle="collapse" data-target="#collapse-cwUcW5lEAU"
- href="#collapse-cwUcW5lEAU" class="collapsed collapse-button"> </a>
- </h2>
- </div>
-
- <div id="collapse-cwUcW5lEAU" class="panel-body collapse">
-
- <p>Retrieve an organization given a specified UUID or username.</p>
<TRUNCATED>