Skip to content

Specify unobserveproperty operation #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
benfrancis opened this issue May 8, 2025 · 1 comment
Open

Specify unobserveproperty operation #56

benfrancis opened this issue May 8, 2025 · 1 comment

Comments

@benfrancis
Copy link
Member

5.2.2.8 MUST define a way for a WoT Consumer to stop observing a property of a Web Thing so that it no longer gets notified when the value of the property changes

@benfrancis
Copy link
Member Author

Proposal from #42

Request

{
  "thingID": "https://mythingserver.com/things/mylamp1",
  "messageID": "c370da58-69ae-4e83-bb5a-ac6cfb2fed54",
  "messageType": "request",
  "operation": "unobserveproperty",
  "name": "on",
  "correlationID": "5afb752f-8be0-4a3c-8108-1327a6009cbd"
}

Response

{
  "thingID": "https://mythingserver.com/things/mylamp1",
  "messageID": "79057736-3e0e-4dc3-b139-a33051901ee2",
  "messageType": "response",
  "operation": "unobserveproperty",
  "name": "on",
  "correlationID": "5afb752f-8be0-4a3c-8108-1327a6009cbd"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant