Skip to content

Commit f5dfb74

Browse files
authored
feat: Allow integration drivers to provide entity descriptions. (#82)
* refactor: add a description field to the available entity object Allow integration drivers to provide entity descriptions. * docs: update API versions table
1 parent 4caaeaa commit f5dfb74

7 files changed

Lines changed: 20 additions & 5 deletions

File tree

core-api/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ in YAML format.
2727

2828
| UCR Firmware | Core Simulator | REST API | WS API |
2929
|--------------|----------------|----------|--------|
30-
| | 0.70.4 | 0.45.1 | 0.35.1 |
30+
| 2.9.1-beta | 0.71.0 | 0.45.3 | 0.35.3 |
31+
| 2.9.0-beta | 0.70.4 | 0.45.1 | 0.35.1 |
3132
| 2.8.4-beta | 0.69.3 | 0.44.4 | 0.34.0 |
3233
| 2.8.3-beta | 0.68.1 | 0.44.1 | 0.34.0 |
3334
| 2.8.0-beta | 0.66.4 | 0.43.1 | 0.33.0 |

core-api/rest/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This section contains unreleased changes which will be part of an upcoming relea
1010

1111
---
1212

13+
## 0.45.3
14+
### Added
15+
- Add an optional description field to AvailableEntity.
16+
1317
## 0.45.2
1418
### Changed
1519
- Minimal string length requirements for BrowseMediaItem string fields.

core-api/rest/UCR-core-openapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
title: Remote Two/3 REST Core-API
4-
version: 0.45.2
4+
version: 0.45.3
55
contact:
66
name: API Support
77
url: 'https://github.com/unfoldedcircle/core-api/issues'
@@ -11734,6 +11734,8 @@ components:
1173411734
$ref: '#/components/schemas/LanguageText'
1173511735
icon:
1173611736
$ref: '#/components/schemas/IconIdentifier'
11737+
description:
11738+
$ref: '#/components/schemas/LanguageText'
1173711739
features:
1173811740
description: |
1173911741
Supported features of the entity. See entity documentation for available features.

core-api/websocket/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This section contains unreleased changes which will be part of an upcoming relea
1010

1111
---
1212

13+
## 0.35.3-beta
14+
### Added
15+
- Add an optional description field in available_entity.
16+
1317
## 0.35.2-beta
1418
### Changed
1519
- Minimal string length requirements for BrowseMediaItem string fields.

core-api/websocket/UCR-core-asyncapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ asyncapi: 2.2.0
88
id: 'urn:com:unfoldedcircle:core'
99
info:
1010
title: Remote Two/3 WebSocket Core-API
11-
version: '0.35.2-beta'
11+
version: '0.35.3-beta'
1212
contact:
1313
name: API Support
1414
url: https://github.com/unfoldedcircle/core-api/issues
@@ -7602,6 +7602,8 @@ components:
76027602
$ref: '#/components/schemas/languageText'
76037603
icon:
76047604
$ref: '#/components/schemas/iconIdentifier'
7605+
description:
7606+
$ref: '#/components/schemas/languageText'
76057607
features:
76067608
$ref: '#/components/schemas/entityFeatures'
76077609
options:

integration-api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The provided Bash wrapper script [`create-html-docker.sh`](create-html-docker.sh
2323

2424
| Integration API | UCR Firmware | Core Simulator |
2525
|-----------------|--------------|----------------|
26-
| 0.15.3 | | 0.70.7 |
26+
| 0.15.4 | 2.9.1-beta | 0.71.0 |
2727
| 0.15.1 | 2.9.0-beta | 0.70.4 |
2828
| 0.13.0 | 2.8.0-beta | 0.64.4 |
2929
| 0.12.1 | 2.2.4-beta | 0.58.3 |

integration-api/UCR-integration-asyncapi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ asyncapi: 2.2.0
88
id: 'urn:com:unfoldedcircle:integration'
99
info:
1010
title: Remote Two/3 WebSocket Integration API
11-
version: '0.15.3-beta'
11+
version: '0.15.4-beta'
1212
contact:
1313
name: API Support
1414
url: https://github.com/unfoldedcircle/core-api/issues
@@ -1924,6 +1924,8 @@ components:
19241924
$ref: '#/components/schemas/languageText'
19251925
icon:
19261926
$ref: '#/components/schemas/iconIdentifier'
1927+
description:
1928+
$ref: '#/components/schemas/languageText'
19271929
area:
19281930
description: |
19291931
Optional area if supported by the integration, e.g. `Living room`. This information might be used by the UI

0 commit comments

Comments
 (0)