latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

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

Query parameters

oauth2ClientIdsstring[]

A list of oauth2 client ids, separated by comma ','

Request body

createdTimeinteger

Entity creation timestamp in milliseconds since Unix epoch

titlestring required

Application bundle title. Cannot be empty

descriptionstring

Application bundle description.

oauth2Enabledboolean

Whether OAuth2 settings are enabled or not

namestring

Mobile app bundle title

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

createdTimeinteger

Entity creation timestamp in milliseconds since Unix epoch

titlestring required

Application bundle title. Cannot be empty

descriptionstring

Application bundle description.

oauth2Enabledboolean

Whether OAuth2 settings are enabled or not

namestring

Mobile app bundle title

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"
}