Display the list of devices

This commit is contained in:
2024-07-04 19:52:09 +02:00
parent b59e807de1
commit 751e33cb72
4 changed files with 158 additions and 1 deletions

@ -49,6 +49,19 @@ export class DeviceApi {
})
).data;
}
/**
* Get the list of validated devices
*/
static async ValidatedList(): Promise<Device[]> {
return (
await APIClient.exec({
uri: "/devices/list_validated",
method: "GET",
})
).data;
}
/**
* Validate a device
*/