Prepare the path for OTA implementation

This commit is contained in:
2024-10-03 21:16:51 +02:00
parent 436bcd5677
commit 06659404c1
3 changed files with 18 additions and 0 deletions

View File

@ -180,6 +180,13 @@ pub async fn secure_server(energy_actor: EnergyActorAddr) -> anyhow::Result<()>
"/web_api/device/{id}",
web::delete().to(devices_controller::delete_device),
)
// OTA API
// TODO : list supported platform references
// TODO : upload a new software update
// TODO : list ota software update per platform
// TODO : download a OTA file
// TODO : delete an OTA file
// TODO : deploy an update to a device
// Logging controller API
.route(
"/web_api/logging/logs",