REST APIs » History » Revision 2
Revision 1 (Hammel, 12 Feb 2018 22:33) → Revision 2/16 (Hammel, 12 Feb 2018 22:40)
h1. REST APIs
h2. Server Node
table{width:100%}.
|_. 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 |
h2. IoT Node
table{width:100%}.
|_. 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 |