Fix topic subscription example (#1951)

This seems to have been overlooked in #1313

Signed-off-by: Wouter Born <github@maindrain.net>

Signed-off-by: Wouter Born <github@maindrain.net>
pull/1954/head
Wouter Born 2022-12-11 18:27:35 +01:00 committed by GitHub
parent 4a22e578fc
commit 4c19576ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ Nevertheless, here is some examples using [curl](https://en.wikipedia.org/wiki/C
```bash
# ThingStatusInfoChangedEvent - The status of a thing changed.
curl "http://{openHAB_IP}:8080/rest/events?topics=smarthome/things/{thingUID}/statuschanged"
curl "http://{openHAB_IP}:8080/rest/events?topics=openhab/things/{thingUID}/statuschanged"
# ChannelTriggeredEvent - A channel has been triggered.
curl "http://{openHAB_IP}:8080/rest/events?topics=smarthome/channels/{channelUID}/triggered"
curl "http://{openHAB_IP}:8080/rest/events?topics=openhab/channels/{channelUID}/triggered"
```
The commands above have been copied from the REST API documentation for illustration.