REST APIs » History » Version 3
Hammel, 18 Feb 2018 16:59
1 | 1 | Hammel | h1. REST APIs |
---|---|---|---|
2 | |||
3 | h2. Server Node |
||
4 | |||
5 | table{width:100%}. |
||
6 | 3 | Hammel | |_. Resource Name |_. HTTP Verbs |_. HTTP Methods |_. Direction |_. Description | |
7 | | Pair | CREATE Pair | POST /pair/<uuid> | From IoT Node | Pair an IoT node with the server | |
||
8 | | Pair | CREATE Pair | POST /pair/jarvis/<uuid> | From Jarvis | Pair a Jarvis node with server | |
||
9 | | Device | CREATE Device| POST /device/<uuid> | From IoT Node | Register a node | |
||
10 | | Device | UPDATE Device| PUT /device/<uuid> | From Jarvis | Change device state with JSON | |
||
11 | | Device | GET Device | GET /device/<uuid> | From Jarvise | Get Device state, returned with JSON | |
||
12 | 1 | Hammel | |
13 | h2. IoT Node |
||
14 | |||
15 | table{width:100%}. |
||
16 | 2 | Hammel | |_. Resource Name |_. HTTP Verbs |_. HTTP Methods |_. Direction |_. Description | |
17 | | Pair | CREATE Pair | POST /pair/<uuid> | From Server | Pair an IoT node with the server| |
||
18 | | Device | UPDATE Device| PUT /device/<uuid> | From Server | Change device state with JSON | |
||
19 | | Device | GET Device | GET /device/<uuid> | From Server | Get Device state, returned with JSON | |