DeviceConnectionAdded
Emitted when a device's socket connection goes online.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | Unique identifier of the event instance, generated when the event is emitted |
kind | "domain" | ✅ | Kind of the event |
type | "Device.DeviceConnectionAdded" | ✅ | Type of the event |
payload | object | ✅ | Event-specific payload data |
Example
{
"id": "string",
"kind": "domain",
"type": "Device.DeviceConnectionAdded",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "d165d2e6xxxxxxxxxxxxxxxxde86c886",
"parentCompanyUid": "0f678e9exxxxxxxxxxxxxxxxf39c34b4"
},
"type": "Device.DeviceConnectionAdded",
"deviceUid": "5fc839eexxxxxxxxxxxxxxxx266f4756",
"connectionUid": "083afa93xxxxxxxxxxxxxxxxb90a3754",
"serverInstanceUid": "d07b70eaxxxxxxxxxxxxxxxx32a45331"
}
}
Shape
{
"id": "string",
"kind": "domain",
"type": "Device.DeviceConnectionAdded",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "string | null",
"parentCompanyUid": "string | null"
},
"type": "Device.DeviceConnectionAdded",
"deviceUid": "string",
"connectionUid": "string",
"serverInstanceUid": "string"
}
}