We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d62a58 commit 397798aCopy full SHA for 397798a
1 file changed
src/modules/scanning/routes.py
@@ -137,6 +137,15 @@ async def get_scanner_capabilities_debug(
137
return Response(response, media_type="application/xml")
138
139
140
+@router.get("/debug/get_scanners_status")
141
+async def get_printers_status(_innohassle_user_id: USER_AUTH) -> list[ScannerStatus]:
142
+ result: list[ScannerStatus] = await asyncio.gather(
143
+ *(scanning_repository.get_scanner_status(scanner) for scanner in settings.api.scanners_list)
144
+ )
145
+
146
+ return result
147
148
149
@router.get("/debug/get_scanner_status")
150
async def get_scanner_status(
151
_innohassle_user_id: USER_AUTH,
0 commit comments