The API organises objects in a logical and hierarchical structure for straight-forward navigation.
Generally objects are organised as follows:
Drawio | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
In order to get to the data, you'll need to traverse the API structure starting with the Controller. Here's an example:
Controller
adf
Request all Controllers
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/Controller |
Request a specific Controller
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/Controller/5 |
Device
adf
Request all Devices on a Controller
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/Controller/5/Device |
Request a specific Device
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/Device/15 |
Data Point
ada
Now that we have a specific DataPoint, we are ready to retrieve data. This is covered in the next section.
Request all DataPoints on a Device
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/Device/15/DataPoint |
Request a specific Data Point
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- GET --> https://nexcloud.io/v1.0/DataPoint/123 |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|