latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

tb-resource-controller

Get LwM2M Objects (getLwm2mListObjectsPage)

Returns a page of LwM2M objects parsed from Resources with type 'LWM2M_MODEL' owned by tenant or sysadmin. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. LwM2M Object is a object that includes information about the LwM2M model which can be used in transport configuration for the LwM2M device profile.

Available for users with 'TENANT_ADMIN' authority.

get/api/resource/lwm2m/page

Query parameters

pageSizeinteger required

Maximum amount of entities in a one page

pageinteger required

Sequence number of page starting from 0

textSearchstring

The case insensitive 'substring' filter based on the resource title.

sortProperty'id' | 'name'

Property of entity to sort by

sortOrder'ASC' | 'DESC'

Sort order. ASC (ASCENDING) or DESC (DESCENDING)

Response

OK

idinteger

LwM2M Object id.

keyIdstring

LwM2M Object key id.

namestring

LwM2M Object name.

multipleboolean

LwM2M Object multiple.

mandatoryboolean

LwM2M Object mandatory.

Example response

[
  {
    "id": 19,
    "keyId": "19_1.0",
    "name": "BinaryAppDataContainer",
    "multiple": true,
    "instances": [
      {
        "resources": [
          {
            "name": "Data",
            "keyName": "data"
          }
        ]
      }
    ]
  }
]