nexus. device
Source: src/
Namespaces
Namespaces
access
certificate
functionality
functionalityGraph
manufacturer
Methods
create(params) → Promise containing ApiResponse
creates a device
Parameters
| Name | Type | Optional | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
createHeidolphCoreGateway(params) → Promise containing ApiResponse
creates a heidolph core gateway consisting of 6 individual devices
Parameters
| Name | Type | Optional | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
deletePendingInvitation(params) → Promise containing ApiResponse
retract pending user invitation
Parameters
| Name | Type | Optional | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
get(params) → Promise containing ApiResponse
returns a device
Parameters
| Name | Type | Optional | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
getUserInvitations(params) → Promise containing ApiResponse
returns all pending user invitations
Parameters
| Name | Type | Optional | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
list(params) → Promise containing ApiResponse
queries the devices collection
Parameters
| Name | Type | Optional | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
remove(params) → Promise containing ApiResponse
deletes a device (only in development environment)
Parameters
| Name | Type | Optional | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
transforOwnership(params) → Promise containing ApiResponse
transfers the ownership of a device to another device user
Parameters
| Name | Type | Optional | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
update(params) → Promise containing ApiResponse
updates a device
Parameters
| Name | Type | Optional | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
validate(deviceId) → Promise containing ApiResponse
returns limited device data
Parameter
| Name | Type | Optional | Description |
|---|---|---|---|
|
deviceId |
string |
|
- Returns
-
Promise containing ApiResponse