Guide for Extensions

5 Testbed & Resource registration

5.4 Register Devices by text

When registering devices by text, testbed providers can input an annotated document with the resource descriptions of as many devices as they need. Firstly, the RDF serialization format used must be specified. Then input the text of the annotated resource description(s) into the text-area (see 1st Figure).

After providing the text for registering the device(s), you can Validate Annotated Resource for double checking or go directly to the registration by clicking on the Save button.

Upon success, the user will return back to the main options window of ‘Register Resources’.

You can confirm that the sensor description(s) has been correctly stored at the Fiesta−IoT Platform semantic repository by making the following HTTP Request:

GET 

/iot-registry/api/testbeds/1B2F37ZYQ.../resources HTTP/1.1

Host: platform.fiesta-iot.eu

iPlanetDirectoryPro: AQIC5wM2LY4SfcwEw_Jg........

Use the path found when registering your testbed and the appropriate Host. Note that a valid SSO Token has to be previously obtained and added to the request.

The result should be a list of the Sensor IDs that you have already registered.