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