Skip to content

Commit 066b932

Browse files
committed
add GET /homes/{homeId}/installations/{installationId}
1 parent 7c58bf7 commit 066b932

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

tado-openapispec-v2.yaml

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ info:
3131
[https://github.com/kritsel/tado-openapispec-v2](https://github.com/kritsel/tado-openapispec-v2)
3232
* Wiki for this GitHub repo with additional information:
3333
[https://github.com/kritsel/tado-openapispec-v2/wiki](https://github.com/kritsel/tado-openapispec-v2/wiki/)
34-
version: 2.2025.01.27.0
34+
version: 2.2025.01.27.1
3535
servers:
3636
- url: https://my.tado.com/api/v2/
3737
security:
@@ -2452,6 +2452,39 @@ paths:
24522452
'403':
24532453
$ref: '#/components/responses/AccessDenied403'
24542454

2455+
/homes/{homeId}/installations/{installationId}:
2456+
get:
2457+
summary: Returns the specified installation.
2458+
operationId: getInstallation # hint for client code generators
2459+
tags:
2460+
- device
2461+
parameters:
2462+
- in: path
2463+
name: homeId
2464+
schema:
2465+
$ref: '#/components/schemas/HomeId'
2466+
required: true
2467+
description: unique ID of a home the authenticated user has access to
2468+
- in: path
2469+
name: installationId
2470+
schema:
2471+
$ref: '#/components/schemas/InstallationId'
2472+
required: true
2473+
description: unique ID of an installation within the specified home
2474+
responses:
2475+
'200':
2476+
description: successful response
2477+
content:
2478+
application/json:
2479+
schema:
2480+
$ref: '#/components/schemas/Installation'
2481+
'401':
2482+
$ref: '#/components/responses/Unauthorized401'
2483+
'403':
2484+
$ref: '#/components/responses/AccessDenied403'
2485+
'404':
2486+
$ref: '#/components/responses/NotFound404'
2487+
24552488
/homes/{homeId}/zones/{zoneId}/control:
24562489
get:
24572490
summary: >
@@ -3544,9 +3577,7 @@ components:
35443577
format: date-time
35453578
example: "2022-11-25T09:40:14.803Z"
35463579
temperatureUnit:
3547-
type: string
3548-
enum: [CELSIUS, FAHRENHEIT]
3549-
example: CELSIUS
3580+
$ref: '#/components/schemas/TemperatureUnit'
35503581
partner:
35513582
description: meaning and type of this property is unknown
35523583
nullable: true
@@ -3819,8 +3850,7 @@ components:
38193850
type: string
38203851
example: AC_SETTING
38213852
temperatureUnit:
3822-
type: string
3823-
example: CELSIUS
3853+
$ref: '#/components/schemas/TemperatureUnit'
38243854
modelName:
38253855
nullable: true
38263856
photoS3Key:
@@ -4262,6 +4292,11 @@ components:
42624292
items:
42634293
$ref: '#/components/schemas/TemperatureDataPointInTimeSeries'
42644294

4295+
TemperatureUnit:
4296+
type: string
4297+
enum: [ CELSIUS, FAHRENHEIT ]
4298+
example: CELSIUS
4299+
42654300
TimetableBlock:
42664301
type: object
42674302
description: Time segment of a scheduled timetable to control the (temperature) settings of a zone (a.k.a. room)

0 commit comments

Comments
 (0)