REST API: Difference between revisions

From IOT4
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
REST API
===REST API===


Need to enable on the Admin page:


[[File:Admin_set.png|800px|thumb|left|Enable on the admin page]]
===Need to enable on the Admin page:===


[[File:Admin_set.png|300px|thumb|Enable on the admin page]]


After you can ask the available values:  
 
 
===After you can ask the available values:===


http://<ip_address>/apis?apikey=B7B0189A937E2951
http://<ip_address>/apis?apikey=B7B0189A937E2951


[[File:Apis.png|800px|thumb|left|Request the available APIs]]
[[File:Apis.png|300px|thumb|Request the available APIs]]




With this can you ask discret values:
===With this can you ask discret values:===


http://<ip_address>/api/temperature?apikey=B7B0189A937E2951
http://<ip_address>/api/temperature?apikey=B7B0189A937E2951


[[File:Api_temp.png|800px|thumb|left|Request the temperature]]
[[File:Api_temp.png|300px|thumb|Request the temperature]]

Latest revision as of 20:53, 27 September 2018

REST API

Need to enable on the Admin page:

Enable on the admin page


After you can ask the available values:

http://<ip_address>/apis?apikey=B7B0189A937E2951

Request the available APIs


With this can you ask discret values:

http://<ip_address>/api/temperature?apikey=B7B0189A937E2951

Request the temperature