App objects represent mobile apps in MOCA platform.
The App object
Attributes:
Name | Type | Obligatory? | Description |
---|---|---|---|
createdAt | long | Autogenerated | Creation date (timestamp UTC) |
updatedAt | long | Autogenerated | Last modified date (timestamp UTC) |
appId | string | Autogenerated | App ID |
appSecret | string | Autogenerated | Used to connect MOCA SDK to all services |
accountId | string | Yes | Account ID this app belongs to. |
config.name | string | Yes | App short name |
config.description | string | No | App description |
config.appUrl | string | No | App website URL |
config.version | string | No | App version string |
config.category | string | No | App category name |
config.iconUrl | string | No | App icon URL |
config.approxAppSize | string | No | Estimated volume of users of this app |
config.production | boolean | Yes (default false) | Whether the App is connected to a Test or Production environment |
targets | array of objects | No | The list of Push certificates of this App. |
{
"createdAt": 1491817192134,
"updatedAt": 1491830647928,
"appId": "IXa7Bl9oRo6c7zQ5aQIzlg",
"appSecret": "lJiLBbqHcVc3gyPoZujm6wqouGs=",
"accountId": "TAPFXFowToO4dFsktFzz9Q",
"config": {
"appUrl": "https://mocaplatform.com",
"category": "Utilities",
"version": "1.0",
"description": "This is a sample app",
"iconUrl": "https://console.mocaplatform.com/images/moca-logo-standalone-72x72.png",
"name": "TestApp",
"approxAppSize": "<2500",
"production": false
},
"targets": []
}