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