Implemented Pull OTA json

This commit is contained in:
2025-01-04 22:29:43 +00:00
parent f76f248446
commit 9919495346
11 changed files with 194 additions and 35 deletions

View 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)
}

View File

@@ -0,0 +1,11 @@
meta {
name: Get Devices
type: http
seq: 2
}
get {
url: http://localhost:8484/device
body: none
auth: none
}

View 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
View File

@@ -0,0 +1,9 @@
{
"version": "1",
"name": "IoT-API",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}