Generated from Swagger.
API methods are organized by the tags.
Following the methods is a listing of all Default Entity Models.
Login with Admin-User or Organization credentials.
Login with App-User or Application credentials.
Get a group's feed through providing all the identifications.
Create an activity in the activities collection.
Retrieve a user's feed through providing all the identifications.
Retrieve details about the admin users in an organization.
Remove an admin user from an organization through providing both Id of application and organization.
Create a whole new admin user.
Complete the password reset through getting the newpassword and the old one for identification.
Retrieve details about an admin user.
Update the info of an admin user.
Activate an admin user from a link provIded in an email notification.
Update an admin user's password through getting the newpassword and the old one for identification.
Reactivate an expired admin user.
Retrieve users though query statement.
Create a user in the users collection through providing all the identifications.
Retrieve a user through providing all the identifications.
Update a user through providing all the identifications.
Remove a user through providing all the identifications.
Set a user's password or reset the user's existing password.
Retrieve a user's collections or connections through query statement.
Retrieve collection through query statement.
Update collection through query statement.
Add an entity to a collection through providing all the identifications.
Remove an entity from a collection through providing all the identifications.
Retrieve an entity through providing Id of application, organization, collection and entity.
One or more properties can be updated with a single request.
Delete an entity from the collection.
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.
Create an event through providing both Id of organization and application.
Create a new group through providing both Id of organization and application.
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.
Add a user to a group through providing all the identifications.
Delete user from a group through providing all the identifications.
Get a group through through providing all the identifications.
Update a group through providing all the identifications.
Create notifications for user through targeting by location and providing all the identifications.
Create notifications for all devices. This request will target all device entities.
Create notifications for a single device. This request will target a specific device entity.
Create notifications for a group. This request will target all users associated with a specific group entity.
Retrieve one or more notifications through providing all the identifications.
Update a Notification in order to cancel the notifcation or set a new expiration time.
Delete an unsent Notification from the system.
Retrieve one or more receipts through providing all the identifications.
Create notifications for a user. This request will target a specific user entity.
Retrieve receipts associated with one or more devices through providing all the identifications.
Retrieve the list of devices associated with one or more notifications before the notifications are sent through providing all the identifications.
Retrieve receipts for one or more notifications through providing all the identifications.
Retrieve notifications associated with one or more receipts through providing all the identifications.
Create an organization through a form post.
Retrieve an organization given a specified UUID or username.
Activate an organization from a link provIded in an email notification.
Retrieve the applications in an organization through providing both Id of application and organization.
Remove an application from an organization through providing both Id of application and organization.
Retrieve the client Id and client secret credentials for an application in an organization.
Generate the client Id and client secret credentials for an application in an organization.
Retrieve the credentials for an organization client.
Generate whole new credentials for an organization client.
Retrieve an organization's activity feed.
Retrieve an admin user's activity feed.
Retrieve the roles in an application through providing all the identifications.
Create a new role through providing all the identifications.
Remove permissions from a role.
Retrieve the users in a role through providing all the identifications.
Add a user to a role through providing all the identifications.
Remove a user from a role through providing all the identifications.
Remove a role through providing all the identifications.
Retrieve permissions for a Role.
Add permissions to a role through providing all the identifications.
This section lists the properties for the following Usergrid Default Entities.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| access_token | string | Access-token that may be used on subsequent requests. | false |
| expires_in | number | Time (in milliseconds) until access-token expires. | false |
| user | User | User object if login was done as a user. | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| action | string | The requested action. | false |
| status | string | The status of the requested action. | false |
| timestamp | number | The timestamp of the requested action. | false |
| duration | number | The duration of the requested action. | false |
| token | string | The token required for getting an AdminUser. | false |
Referring API Paths
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| entityproperty | Entity | false | |
| category | string | The category of the activity. | false |
| metadataproperty | Metadata | false | |
| objectproperty | Object | false | |
| title | string | The title of the activity. | false |
| verb | string | The verb of the activity. | false |
| published | number | UTC timestamp of the feed publish time. | false |
| completeMsg | Action | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| title | string | The title of the role. | true |
| role name | string | The name of the role. | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| tester/sandbox | string | The UUID of tester/sandbox. | false |
| tester/app1 | string | The UUID of tester/app1. | false |
| tester/app2 | string | The UUID of tester/app2. | false |
| completeMsg | Action | false |
Referring API Paths
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| displayName | string | true | |
| uuid | string | true | |
| username | string | true | |
| image | ImageModel | false | |
| verb | string | true | |
| content | string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| username | string | true | |
| string | false | ||
| name | string | false | |
| password | string | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| timestamp | string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| title | string | The title of the group. | true |
| path | string | The path of the group. | true |
Referring API Paths
An array of Notifications to be created.
Properties
| Name | Type | Description | Required |
|---|
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| organization | string | true | |
| username | string | true | |
| name | string | true | |
| string | true | ||
| password | string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| username | string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| client_Id | string | The Id of the client. | false |
| client_secret | string | The secret of the client. | false |
| completeMsg | Action | false |
Referring API Paths
Represents a single Device that is registered for recieving of Push Notifications.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| uuid | string | Unique entity Id. | false |
| type | string | Type of entity. | false |
| name | string | Notifier display name. | false |
| created | number | UTC timestamp in milliseconds of when the entity was created. | false |
| modified | number | UTC timestamp in milliseconds of when the entity was last modified. | false |
| metadata | Metadata | false | |
| completeMsg | Action | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| uuid | string | The UUID of the entity. | false |
| type | string | The type of the entity. | false |
| created | number | UTC timestamp of entity creation time. | false |
| modified | Actor | UTC timestamp of entity modified time. | false |
| metadata | Metadata | false | |
| name | string | The name of the entity. | false |
| message | string | false |
Referring API Paths
/{orgId}/{appId}/{collectionId}/{entityId1}/{relation}/{entityId2} |
/{orgId}/{appId}/{collectionId}/{entityId1}/{relation}/{entityId2} |
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| code | integer | false | |
| message | string | false | |
| fields | object | false |
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | string | The application name of the event. | false |
| entity | Entity | false | |
| url | string | The url of the event. | false |
| applicationId | string | The application UUID of the event. | false |
| parameters | string | The parameters of the event. | false |
| organization | string | The title of the organization. | false |
| completeMsg | Action | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| uuid | string | The UUID of the group. | false |
| type | string | The type of the group. | false |
| created | string | The created Id for the group. | false |
| modified | string | The modified Id for the group. | false |
| path | string | The path of the group. | false |
| metadata | Metadata | false | |
| title | string | The title of the group. | false |
| completeMsg | Action | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| grant_type | string | Grant-type must be 'password' or 'client_credentials'. | false |
| username | string | Username of user attempting login, required only if grant_type is 'password'. | false |
| password | string | Password of user attempting login, required only if grant_type is 'password'. | false |
| client_id | string | Client-ID portion of credentials, required only if grant_type is 'client_credentials'. | false |
| client_secret | string | Client-Secret portion of credentials, required only if grant_type is 'client_credentials'. | false |
Referring API Paths
Represents a Push Notification that is either scheduled, finished or cancelled.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| uuid | string | Unique entity Id. | false |
| type | string | Type of entity. | false |
| created | number | UTC timestamp in milliseconds of when the entity was created. | false |
| modified | number | UTC timestamp in milliseconds of when the entity was last modified. | false |
| payloads | string | The push notifications to be delivered. | true |
| errorMessage | string | Error message returned by the notification service (APNs or GCM) if the notification fails entirely. | false |
| scheduled | boolean | Whether the notification is currently scheduled for delivery. | false |
| state | string | The current delivery status of the notification 'FINISHED', 'SCHEDULED' or 'CANCELED'. | false |
| metadata | Metadata | false | |
| completeMsg | Action | false |
Referring API Paths
Represents fields that may be updated on a Notification to cause changes in Push Notification processing.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| canceled | boolean | Setting this field to true will cancel a Notification, if it has not yet been sent. | false |
| deliver | number | Specifies the UNIX timestamp time at which the Notification should be sent. | false |
| expired | number | Specifies the UNIX timestamp time at which this Notification has expired. | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| applicationId | string | The application Id of the owner. | false |
| username | string | The username of the owner. | false |
| name | string | The name of the owner. | false |
| string | The email of the owner. | false | |
| activated | boolean | Indicate whether the account is activated or not. | false |
| disabled | boolean | Indicate whether the account is disabled or not. | false |
| uuid | string | The UUID of the owner. | false |
| adminUser | boolean | Indicate whether the use is a adminUser or not. | false |
| displayEmail | string | The display of the email of the owner. | false |
| htmldisplayEmail | string | The HTML display of the email of the owner. | false |
| orgname | string | The name of the organization. | false |
| orguuId | string | The UUID of the organization. | false |
| applicationdata | AppData | false | |
| completeMsg | Action | false |
Referring API Paths
Represents a set of Permissions associated with a User or a Role, each being a Usergrid Permission String.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| application | string | The UUID of the associated application. | false |
| applicationName | string | The name of the associated application. | false |
| organization | string | The name of the associated organization. | false |
| data | array | Array of strings each being a Usergrid Permission String. | true |
Referring API Paths
Represents response received from Notification service indicating success or failure.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| uuid | string | Unique entity Id. | false |
| type | string | Type of entity. | false |
| created | number | UTC timestamp in milliseconds of when the entity was created. | false |
| modified | number | UTC timestamp in milliseconds of when the entity was last modified. | false |
| payloads | string | The push notifications to be delivered. | false |
| errorMessage | string | Error message returned by the notification service (APNs or GCM) if the notification fails entirely. | false |
| errorCode | string | Error code returned by the notification service. | false |
| sent | number | UTC timestamp in milliseconds for when the notification was sent. | false |
| metadata | Metadata | false | |
| completeMsg | Action | false |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| password | string | true | |
| newpassword | string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| recaptcha_response | string | Parameters and value for the Captcha challenge. | true |
| recaptcha_challenge | string | The admin user's response to the Captcha challenge. | true |
| string | true |
Referring API Paths
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | string | The application name of the event. | false |
| count | number | The numebr of the roles. | false |
| entity | Entity | false | |
| url | string | The url of the event. | false |
| applicationId | string | The application UUID of the event. | false |
| parameters | string | The parameters of the event. | false |
| organization | string | The title of the organization. | false |
| completeMsg | Action | false | |
| path | string | The path of the role. | false |
Referring API Paths
Represents a User account which may be a user within an Application's User collection, or may be an Admin User.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| applicationId | string | The application Id of a user. | false |
| username | string | The username of a user. | false |
| name | string | The name of a user. | false |
| string | The email of a user. | false | |
| activated | boolean | Indicate whether the account is activated or not. | false |
| disabled | boolean | Indicate whether the account is disabled or not. | false |
| uuid | string | The UUID of a user. | false |
| adminUser | boolean | Indicate whether the use is a adminUser or not. | false |
| displayEmail | string | The display of the email of a user. | false |
| htmldisplayEmail | string | The HTML display of the email of a user. | false |
| organization | string | The organization of the user. | false |
| picture | string | The uri of the user's picture. | false |
| uri | string | The uri of the user. | false |
| path | string | The path of the user. | false |
| completeMsg | Action | false |
Referring API Paths
Referring Definitions
This section lists the properties for sub-types used in Usergrid Default Entities.
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| activities | string | false | |
| feed | string | false | |
| roles | string | false | |
| users | string | false |
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| duration | number | false | |
| height | number | false | |
| url | string | false | |
| wIdth | integer | false | |
| string | false |
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| cursor | string | The cursor of the metadata. | false |
| path | string | The path of the metadata. | false |
| sets | Sets | false | |
| collections | Collections | false |
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| displayname | string | The display of the name of the object. | false |
| objecttype | string | The type of the object. | false |
| objectuuId | string | The UUID of the object. | false |
| entitytype | string | The entitytype of the object. | false |
Referring Definitions
Properties
| Name | Type | Description | Required |
|---|---|---|---|
| rolenames | string | false | |
| permissions | string | false |
Referring Definitions