Project

General

Profile

Actions

REST APIs » History » Revision 3

« Previous | Revision 3/16 (diff) | Next »
Hammel, 18 Feb 2018 16:59


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
Pair CREATE Pair POST /pair/jarvis/<uuid> From Jarvis Pair a Jarvis node with server
Device CREATE Device POST /device/<uuid> From IoT Node Register a node
Device UPDATE Device PUT /device/<uuid> From Jarvis Change device state with JSON
Device GET Device GET /device/<uuid> From Jarvise 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 about 6 years ago · 3 revisions