Skip to content

Introduction mechanism

Andrea Cimmino Arriaga edited this page Dec 16, 2021 · 4 revisions

The WoT Hive directory implements the Well Known URIs introduction mechanism.

Retrieving the self description

In order to access the self description of the WoT Hive a GET request at /.well-known/wot-thing-description must be sent. As a result the WoT Hive directory returns an application/td+json with its Thing Description.

Enabling/modifying the self description

The WoT Hive publishes the self description allocated in its root file directory called self-description.json. If this file is not allocated in such file directory then the introduction mechanism will be disabled and any GET request at /.well-known/wot-thing-description will return a code 404 with an error message.