From 4c19576ebc22c61980ee1cabad7e934713825f90 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 11 Dec 2022 18:27:35 +0100 Subject: [PATCH] Fix topic subscription example (#1951) This seems to have been overlooked in #1313 Signed-off-by: Wouter Born Signed-off-by: Wouter Born --- configuration/restdocs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/restdocs.md b/configuration/restdocs.md index 790464449..73428aef8 100644 --- a/configuration/restdocs.md +++ b/configuration/restdocs.md @@ -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.