latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

entity-view-controller

get/api/edge/{edgeId}/entityViews

Path parameters

edgeIdstring required

Query parameters

pageSizeinteger required
pageinteger required
typestring
textSearchstring
sortPropertystring
sortOrderstring
startTimeinteger
endTimeinteger

Response

OK

totalPagesinteger

Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria

totalElementsinteger

Total number of elements in all available pages

hasNextboolean

'false' value indicates the end of the result set

Example response

{
  "data": [
    {
      "entityId": {
        "id": "784f394c-42b6-435a-983c-b7beff2784f9",
        "entityType": "DEVICE"
      },
      "tenantId": {
        "id": "784f394c-42b6-435a-983c-b7beff2784f9",
        "entityType": "TENANT"
      },
      "customerId": {
        "id": "784f394c-42b6-435a-983c-b7beff2784f9",
        "entityType": "CUSTOMER"
      },
      "name": "A4B72CCDFF33",
      "type": "Temperature Sensor",
      "keys": {
        "timeseries": [
          "temperature",
          "humidity"
        ],
        "attributes": {
          "cs": [
            "currentConfiguration"
          ],
          "ss": [
            "model"
          ],
          "sh": [
            "targetConfiguration"
          ]
        }
      },
      "id": {
        "id": "784f394c-42b6-435a-983c-b7beff2784f9",
        "entityType": "ENTITY_VIEW"
      },
      "createdTime": 1609459200000,
      "additionalInfo": {}
    }
  ]
}