{"message":"SOFRS-EA Backend API - Welcome!","version":"1.0.0","description":"Smart Office Face Recognition System backend API for employees, visitors, and image recognition workflows.","documentation":{"swagger_ui":"/docs","redoc":"/redoc"},"authentication":{"required_on":"All /employee, /visitor, and /image endpoints","header":"X-API-Key"},"available_endpoints":[{"entity":"Health Check","base_path":"/health","description":"Check if the backend API is running.","endpoints":[{"method":"GET","endpoint":"/health","description":"Check if the backend API is running.","example":"GET http://localhost:8000/health"}]},{"entity":"Employee Management","base_path":"/employee","description":"Create, retrieve, update, and delete employee records.","endpoints":[{"method":"GET","endpoint":"/employee/get/employees","description":"Get all employees.","example":"GET http://localhost:8000/employee/get/employees"},{"method":"GET","endpoint":"/employee/get/employees/{id_}","description":"Get an employee by employee ID.","example":"GET http://localhost:8000/employee/get/employees/EA123456"},{"method":"POST","endpoint":"/employee/create","description":"Create a new employee.","example":"POST http://localhost:8000/employee/create"},{"method":"PATCH","endpoint":"/employee/update/employees/{id_}","description":"Update an existing employee.","example":"PATCH http://localhost:8000/employee/update/employees/EA123456"},{"method":"DELETE","endpoint":"/employee/delete/employees/{id_}","description":"Delete an employee.","example":"DELETE http://localhost:8000/employee/delete/employees/EA123456"}]},{"entity":"Visitor Management","base_path":"/visitor","description":"Create, retrieve, update, and delete visitor records.","endpoints":[{"method":"GET","endpoint":"/visitor/get/visitors","description":"Get all visitors.","example":"GET http://localhost:8000/visitor/get/visitors"},{"method":"GET","endpoint":"/visitor/get/visitors/{id_}","description":"Get a visitor by visitor ID.","example":"GET http://localhost:8000/visitor/get/visitors/VA123456"},{"method":"POST","endpoint":"/visitor/create","description":"Create a new visitor.","example":"POST http://localhost:8000/visitor/create"},{"method":"PATCH","endpoint":"/visitor/update/visitors/{id_}","description":"Update an existing visitor.","example":"PATCH http://localhost:8000/visitor/update/visitors/VA123456"},{"method":"DELETE","endpoint":"/visitor/delete/visitors/{id_}","description":"Delete a visitor.","example":"DELETE http://localhost:8000/visitor/delete/visitors/VA123456"}]},{"entity":"Image Management","base_path":"/image","description":"Upload and search face images for recognition workflows.","endpoints":[{"method":"POST","endpoint":"/image/upload","description":"Upload one or more images for an employee or visitor.","example":"POST http://localhost:8000/image/upload"},{"method":"POST","endpoint":"/image/search","description":"Search an uploaded face image against the image database and identify a returning person.","example":"POST http://localhost:8000/image/search"}]}]}