entity-view-controller
Assign entity view to edge (assignEntityViewToEdge)
Creates assignment of an existing entity view to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment entity view (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once entity view will be delivered to edge service, it's going to be available for usage on remote edge instance.
post/api/edge/{edgeId}/entityView/{entityViewId}
Path parameters
edgeIdstring required
entityViewIdstring required
Response
OK
Example response
{
"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": {}
}