mobile-app-bundle-controller
Save Or update Mobile app bundle (saveMobileAppBundle)
Create or update the Mobile app bundle that represents tha pair of ANDROID and IOS app and mobile settings like oauth2 clients, self-registration and layout configuration.When creating mobile app bundle, platform generates Mobile App Bundle Id as time-based UUID. The newly created Mobile App Bundle Id will be present in the response. Referencing non-existing Mobile App Bundle Id will cause 'Not Found' error.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
post/api/mobile/bundle
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
oauth2ClientIdsstring[]
A list of oauth2 client ids, separated by comma ','
Request body
Example request
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"androidAppId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"iosAppId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"layoutConfig": {
"pages": [
{
"visible": true,
"path": "/alarmDetails/868c7083-032d-4f52-b8b4-7859aebb6a4e",
"label": "Air quality",
"icon": "home_icon"
}
]
},
"name": "My main application"
}Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"androidAppId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"iosAppId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"layoutConfig": {
"pages": [
{
"visible": true,
"path": "/alarmDetails/868c7083-032d-4f52-b8b4-7859aebb6a4e",
"label": "Air quality",
"icon": "home_icon"
}
]
},
"name": "My main application"
}Changes
No recorded changes to this operation across all 2 revisions of this API.