eclipse-thingweb / eclipse-thingweb/node-wot

[Enhancement] Using Links vocabulary to describe the TD location

Open
#160 2 comments 0 reactions 0 assignees View on GitHub
core enhancement
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

It is possible to describe in which resource of the servient the TD is served by using the Links vocabulary, i.e. in the Thing level, the TD can have:
```json
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/counter/",
"type": "application/td+json"
},
{
"rel": "self",
"href": "coap://localhost:5683/counter/",
"type": "application/td+json"
},
{
"rel": "self",
"href": "mqtt://test.mosquitto.org/counter/",
"type": "application/td+json"
}
]
}
```
I think it can be a good addition since there is the implicit assumption that a node-wot TD is stored at `IP/ThingName` but this is not communicated anywhere. When the TD is communicated to others (in Plugfests for example), it would be good that everyone knows where to find the TD.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.