GET
/
v1.0.0
/
hvacs
curl --request GET \
  --url https://api.energy-hub.io/v1.0.0/hvacs \
  --header 'X-API-KEY: <api-key>'
{
  "totalPages": 1,
  "content": [
    {
      "lastUpdated": "2023-11-07T05:31:56Z",
      "vendor": "VIESSMANN",
      "name": "Viessmann Vitotronic 200",
      "isOnline": true,
      "model": "Vitotronic 200",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "AC",
      "userId": "896f9d5a-b618-48a2-98ae-957059bf1bc9"
    }
  ],
  "totalElements": 1
}

Authorizations

X-API-KEY
string
header
required

API key used for authorization and authentication.

Query Parameters

sortField
enum<string>
required

Sorting field. Default value is USER_ID

Available options:
USER_ID,
VENDOR,
IS_ONLINE,
LAST_UPDATED
sortOrder
enum<string>
required

Sorting order. Default value is DESC.

Available options:
ASC,
DESC
page
integer
required

Zero-based page index (0..N)

Required range: x > 0
size
integer
required

The size of the page to be returned. Default value is 10. Maximum value is 100.

Required range: 1 < x < 100

Response

200
application/json
Successful operation
totalPages
integer
required

Total number of pages.

content
object[]
required

Elements in the page. If there is no elements the list will be empty.

totalElements
integer
required

Total number of elements.