Sections

Method: GET

Provides list of devices linked to user's account.

Base URL

https://dlb.com.pl/api/v1/devices_list.php

Query parameters

Key Type Description
user Required string Login
token Required string Authentication

Authentication

Providing token is also required, you can do it using one of the following methods:

  • Query parameter
  • Standard Bearer token in the header: Authorization: Bearer {token}
  • API key in the header: HTTP_X_API_KEY: {token}

Response

Response is a string to be decoded to JSON object, where keys are MAC addresses of the loggers, and values are JSONs with logger properties:

Example response:

{
    "00:00:95:9D:68:16": {"type":"OEE","name":"Packing machine"},
    "00:00:95:9D:68:FF": {"type":"OEE2","name":"Turning machine"}
}