241 lines
9.0 KiB
JSON
241 lines
9.0 KiB
JSON
{
|
|
"validation_summary": {
|
|
"total_endpoints_available": 70,
|
|
"total_template_references": 14,
|
|
"valid_references": 14,
|
|
"invalid_references": 0,
|
|
"validation_success": true
|
|
},
|
|
"available_endpoints": [
|
|
"admin",
|
|
"admin.add_printer_page",
|
|
"admin.add_user_page",
|
|
"admin.admin_dashboard",
|
|
"admin.admin_plug_schedules",
|
|
"admin.advanced_settings",
|
|
"admin.edit_printer_page",
|
|
"admin.edit_user_page",
|
|
"admin.guest_otps_management",
|
|
"admin.guest_requests",
|
|
"admin.logs_overview",
|
|
"admin.maintenance",
|
|
"admin.printers_overview",
|
|
"admin.system_health",
|
|
"admin.tapo_monitoring",
|
|
"admin.users_overview",
|
|
"admin_api.api_admin_bulk_tapo_control",
|
|
"admin_api.api_admin_configure_printer_tapo",
|
|
"admin_api.api_admin_error_recovery_status",
|
|
"admin_api.api_admin_live_stats",
|
|
"admin_api.api_admin_plug_schedules_calendar",
|
|
"admin_api.api_admin_plug_schedules_cleanup",
|
|
"admin_api.api_admin_plug_schedules_logs",
|
|
"admin_api.api_admin_plug_schedules_statistics",
|
|
"admin_api.api_admin_system_health",
|
|
"admin_api.api_admin_system_health_alias",
|
|
"admin_api.api_admin_tapo_health_check",
|
|
"admin_api.clear_cache",
|
|
"admin_api.clear_cache_api",
|
|
"admin_api.create_backup",
|
|
"admin_api.create_backup_api",
|
|
"admin_api.create_sample_logs_api",
|
|
"admin_api.create_user_api",
|
|
"admin_api.delete_printer_api",
|
|
"admin_api.delete_user_api",
|
|
"admin_api.export_logs_api",
|
|
"admin_api.generate_guest_otp_api",
|
|
"admin_api.get_guest_requests_api",
|
|
"admin_api.get_logs_api",
|
|
"admin_api.get_pending_guest_otps_api",
|
|
"admin_api.get_system_status_api",
|
|
"admin_api.get_user_api",
|
|
"admin_api.optimize_database",
|
|
"admin_api.optimize_database_api",
|
|
"admin_api.print_guest_credentials_api",
|
|
"admin_api.toggle_printer_power",
|
|
"admin_api.update_user_api",
|
|
"api_finish_job",
|
|
"api_get_printer_status",
|
|
"api_get_printers",
|
|
"api_health_check",
|
|
"api_pause_job",
|
|
"api_resume_job",
|
|
"api_start_job",
|
|
"api_stats",
|
|
"api_version",
|
|
"csrf_test_api",
|
|
"csrf_test_page",
|
|
"dashboard",
|
|
"imprint",
|
|
"index",
|
|
"jobs_page",
|
|
"legal",
|
|
"new_job_page",
|
|
"printer_control",
|
|
"printers_page",
|
|
"privacy",
|
|
"service_worker",
|
|
"stats_page",
|
|
"terms"
|
|
],
|
|
"template_references": [
|
|
{
|
|
"line": 71,
|
|
"endpoint": "admin.users_overview",
|
|
"context": "<a href=\"{{ url_for('admin.users_overview') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 77,
|
|
"endpoint": "admin.printers_overview",
|
|
"context": "<a href=\"{{ url_for('admin.printers_overview') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 83,
|
|
"endpoint": "admin.system_health",
|
|
"context": "<a href=\"{{ url_for('admin.system_health') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 163,
|
|
"endpoint": "admin.users_overview",
|
|
"context": "<a href=\"{{ url_for('admin.users_overview') }}\""
|
|
},
|
|
{
|
|
"line": 171,
|
|
"endpoint": "admin.printers_overview",
|
|
"context": "<a href=\"{{ url_for('admin.printers_overview') }}\""
|
|
},
|
|
{
|
|
"line": 179,
|
|
"endpoint": "jobs_page",
|
|
"context": "<a href=\"{{ url_for('jobs_page') }}\""
|
|
},
|
|
{
|
|
"line": 187,
|
|
"endpoint": "admin.system_health",
|
|
"context": "<a href=\"{{ url_for('admin.system_health') }}\""
|
|
},
|
|
{
|
|
"line": 196,
|
|
"endpoint": "admin.logs_overview",
|
|
"context": "<a href=\"{{ url_for('admin.logs_overview') }}\""
|
|
},
|
|
{
|
|
"line": 218,
|
|
"endpoint": "admin.add_user_page",
|
|
"context": "<a href=\"{{ url_for('admin.add_user_page') }}\" class=\"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-xl border border-blue-200 dark:border-blue-800 hover:bg-blue-100 dark:hover:bg-blue-900/30 transition-colors\">"
|
|
},
|
|
{
|
|
"line": 224,
|
|
"endpoint": "admin.add_printer_page",
|
|
"context": "<a href=\"{{ url_for('admin.add_printer_page') }}\" class=\"p-4 bg-green-50 dark:bg-green-900/20 rounded-xl border border-green-200 dark:border-green-800 hover:bg-green-100 dark:hover:bg-green-900/30 transition-colors\">"
|
|
},
|
|
{
|
|
"line": 249,
|
|
"endpoint": "admin.maintenance",
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='clear_cache') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 256,
|
|
"endpoint": "admin.maintenance",
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='optimize_db') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 263,
|
|
"endpoint": "admin.maintenance",
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='create_backup') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 270,
|
|
"endpoint": "admin.advanced_settings",
|
|
"context": "<a href=\"{{ url_for('admin.advanced_settings') }}\" class=\"block w-full px-3 py-2 bg-slate-500 text-white rounded-lg hover:bg-slate-600 transition-colors text-xs font-medium text-center\">"
|
|
}
|
|
],
|
|
"validation_results": [
|
|
{
|
|
"line": 71,
|
|
"endpoint": "admin.users_overview",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.users_overview') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 77,
|
|
"endpoint": "admin.printers_overview",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.printers_overview') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 83,
|
|
"endpoint": "admin.system_health",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.system_health') }}\" class=\"inline-flex items-center px-6 py-3 bg-white/10 backdrop-blur-sm border border-white/20 rounded-xl text-white hover:bg-white/20 transition-all duration-300 hover:scale-105\">"
|
|
},
|
|
{
|
|
"line": 163,
|
|
"endpoint": "admin.users_overview",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.users_overview') }}\""
|
|
},
|
|
{
|
|
"line": 171,
|
|
"endpoint": "admin.printers_overview",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.printers_overview') }}\""
|
|
},
|
|
{
|
|
"line": 179,
|
|
"endpoint": "jobs_page",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('jobs_page') }}\""
|
|
},
|
|
{
|
|
"line": 187,
|
|
"endpoint": "admin.system_health",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.system_health') }}\""
|
|
},
|
|
{
|
|
"line": 196,
|
|
"endpoint": "admin.logs_overview",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.logs_overview') }}\""
|
|
},
|
|
{
|
|
"line": 218,
|
|
"endpoint": "admin.add_user_page",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.add_user_page') }}\" class=\"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-xl border border-blue-200 dark:border-blue-800 hover:bg-blue-100 dark:hover:bg-blue-900/30 transition-colors\">"
|
|
},
|
|
{
|
|
"line": 224,
|
|
"endpoint": "admin.add_printer_page",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.add_printer_page') }}\" class=\"p-4 bg-green-50 dark:bg-green-900/20 rounded-xl border border-green-200 dark:border-green-800 hover:bg-green-100 dark:hover:bg-green-900/30 transition-colors\">"
|
|
},
|
|
{
|
|
"line": 249,
|
|
"endpoint": "admin.maintenance",
|
|
"is_valid": true,
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='clear_cache') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 256,
|
|
"endpoint": "admin.maintenance",
|
|
"is_valid": true,
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='optimize_db') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 263,
|
|
"endpoint": "admin.maintenance",
|
|
"is_valid": true,
|
|
"context": "<form method=\"POST\" action=\"{{ url_for('admin.maintenance', action='create_backup') }}\" class=\"w-full\">"
|
|
},
|
|
{
|
|
"line": 270,
|
|
"endpoint": "admin.advanced_settings",
|
|
"is_valid": true,
|
|
"context": "<a href=\"{{ url_for('admin.advanced_settings') }}\" class=\"block w-full px-3 py-2 bg-slate-500 text-white rounded-lg hover:bg-slate-600 transition-colors text-xs font-medium text-center\">"
|
|
}
|
|
],
|
|
"invalid_references": [],
|
|
"validation_status": "PASSED"
|
|
} |