Created form to upload new firmware

This commit is contained in:
2024-10-07 22:04:57 +02:00
parent f4dda44d15
commit cef5b5aa5b
7 changed files with 566 additions and 248 deletions

View File

@ -0,0 +1,15 @@
import { APIClient } from "./ApiClient";
export class OTAAPI {
/**
* Get the list of supported OTA platforms
*/
static async SupportedPlatforms(): Promise<Array<string>> {
return (
await APIClient.exec({
method: "GET",
uri: "/ota/supported_platforms",
})
).data;
}
}