Advanced information how to get started with DeviceHive and Grafana located here
Server URL
Server URL - is the path to the DeviceHive WebSocket server. In case of official playground, You can get it by the next link:
https://playground.devicehive.com/api/rest/info (webSocketServerUrl field)
When You have Your own DeviceHive instance this link will change to:
http(s)://[host-name]/api/rest/info
Device ID
Device is a unit that runs microcode, and it communicates with the API in the following cases:
- When started, device registers within the framework by passing unique identifier, display name and other meta-information.
- Device sends notifications with an arbitrary content format to notify other components about the changes in the device's environment.
- Device listens for commands issued by other components and executes them in an appropriate way.
All Your devices id's You can find in the DeviceHive admin console.
Authentication
Users are authenticated using JSON Web Token.
The access is provided based on authenticated user role (Client or Administrator) and provided access rights,
please refer to the
Reference
for the list of available resources and methods for each user role.
Login and Password
Login and Password is the credentials that You have mentioned when created the user (In API console).
How to create a user You can find
here
Access and Refresh Token
Access and Refresh Token is the JSON Web Tokens with expiration date that can be generated for any user.
How to get an Access and Refresh Token You can find
here
Official site
Official documentation
Official playground
GitHub