Project

General

Profile

Actions

REST APIs » History » Revision 2

« Previous | Revision 2/16 (diff) | Next »
Hammel, 12 Feb 2018 22:40


REST APIs

Server Node

Resource Name HTTP Verbs HTTP Methods Direction Description
Pair CREATE Pair POST /pair/<uuid> From IoT Node Pair an IoT node with the server
Device CREATE Device POST /device/<uuid> From IoT Node Register a node
Device UPDATE Device PUT /device/<uuid> From Jarvis, To IoT Node Change device state with JSON
Device GET Device GET /device/<uuid> From Jarvis, To IoT Node Get Device state, returned with JSON

IoT Node

Resource Name HTTP Verbs HTTP Methods Direction Description
Pair CREATE Pair POST /pair/<uuid> From Server Pair an IoT node with the server
Device UPDATE Device PUT /device/<uuid> From Server Change device state with JSON
Device GET Device GET /device/<uuid> From Server Get Device state, returned with JSON

Updated by Hammel almost 7 years ago · 2 revisions