REST API: Difference between revisions

From IOT4
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
===Need to enable on the Admin page:===
===Need to enable on the Admin page:===


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




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


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





Revision as of 20:51, 27 September 2018

REST API

Need to enable on the Admin page:

300px|thumb|Enable on the admin page


After you can ask the available values:

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

300px|thumb|Request the available APIs


With this can you ask discret values:

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

Request the temperature