latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

tb-resource-controller

Get LwM2M Objects (getLwm2mListObjects)

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. 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

Query parameters

sortOrder'ASC' | 'DESC' required

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

sortProperty'id' | 'name' required

Property of entity to sort by

objectIdsstring[] required

LwM2M Object ids.

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