Project

General

Profile

Actions

REST APIs » History » Revision 4

« Previous | Revision 4/16 (diff) | Next »
Hammel, 18 Feb 2018 17:06


REST APIs

Server Node

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

IoT Node

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

Updated by Hammel about 6 years ago · 4 revisions