()
| 469 | @api.route("/settings/software/advanced", methods=["GET"]) |
| 470 | @restricted_access |
| 471 | def getAdvancedSoftwareSettings(): |
| 472 | s = settings() |
| 473 | |
| 474 | return jsonify( |
| 475 | apiKey= { |
| 476 | "key": UI_API_KEY, |
| 477 | "regenerate": s.getBoolean(['api','regenerate']) |
| 478 | }, |
| 479 | serialActivated= s.getBoolean(['serial', 'log']), |
| 480 | updateChannel= s.getInt(['software', 'channel']) |
| 481 | ) |
| 482 | |
| 483 | @api.route("/settings/software/logs", methods=["GET"]) |
| 484 | @restricted_access |
nothing calls this directly
no test coverage detected