Implemented Pull OTA json
This commit is contained in:
15
dev/IoT-API/GET firmwares.bru
Normal file
15
dev/IoT-API/GET firmwares.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: GET firmwares
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:8484/firmware/waterlevel
|
||||
body: multipartForm
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
: @file(/home/tobi/git/iot-cloud-api/target/debug/iot-cloud)
|
||||
}
|
||||
11
dev/IoT-API/Get Devices.bru
Normal file
11
dev/IoT-API/Get Devices.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Get Devices
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:8484/device
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
15
dev/IoT-API/PUT firmware.bru
Normal file
15
dev/IoT-API/PUT firmware.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: PUT firmware
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
put {
|
||||
url: http://localhost:8484/firmware/waterlevel/INA226/0.0.1
|
||||
body: multipartForm
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
: @file(/home/tobi/git/iot-cloud-api/target/debug/iot-cloud)
|
||||
}
|
||||
9
dev/IoT-API/bruno.json
Normal file
9
dev/IoT-API/bruno.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "IoT-API",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user