![Daikin Airzone Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/daikin/airzone/airzone_api-integration-manual_502360013.webp)
API Integration Manual for Daikin DKN Cloud Wi-Fi Adaptor
12
3 API
For every API request, the following headers are required:
-
Accept: application/json
-
Authorization: Bearer
{{ACCESS_TOKEN}}
Where the value of
ACCESS_TOKEN
must correspond to a valid access_token for a specific user.
As for PUT requests, the following header is also required:
-
Content-Type: application/json
The headers will be omitted in the following descriptions.
All responses are in JSON format.
3.1 Status Requests
3.1.1 Devices
-
REQUEST:
-
GET https://dkncloudna.com/api/v1/open/devices
-
BODY: none
-
RESPONSE:
Example response:
[{
"_id": "5cd51f1684c09013f6765d9c",
"name": "Test group",
"devices": [{
"mac": "AA:BB:CC:DD:EE:0D",
"icon": 1,
"name": "Test"
}],
"timezoneId": "Europe/Madrid",
"units": 0,
"schedules": [{
"devices": ["AA:BB:CC:DD:EE:0D"],
"hour": 14,
"minutes": 32,
"power": "on",
"mode": 1,
"temp": 23,
"vent": 3,
"days": [ 0,1,2,3,5,6],
"name": "Program_1",
"enabled": true,
"_id": "5be1b5d973269f2fcc88386b"
}],
"added_at": "2019-02-10T06:49:58.591Z",
"type": "advanced"
}]