FoodGuard Mobile API
  1. Inspector Dashboard
FoodGuard Mobile API
  • Authentication
    • User Login
      POST
    • User Logout
      POST
  • Lookups
    • Get All Branches
      GET
    • Get All Suppliers
      GET
  • Inspection
    • Lookup Batch by QR/Barcode
      GET
    • Initialize Inspection Batch
      POST
    • Upload Sample Image for AI Analysis
      POST
    • Finalize Batch Inspection
      POST
  • History
    • Get Inspection History
      GET
  • Inspector Dashboard
    • Get Home Screen Stats
      GET
  • Schemas
    • User
    • Branch
    • Supplier
    • BatchInitResponse
    • AISampleResult
    • ErrorResponse
    • ValidationErrorResponse
  1. Inspector Dashboard

Get Home Screen Stats

Pending
GET
/inspector/home
Returns shift targets, last batch status, and system readiness for the home screen.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or

Responses

🟢200
application/json
Inspector Dashboard Data
Body

Example
{
    "data": {
        "inspector_name": "Inspector Ray",
        "system_status": "Scanner Ready",
        "shift_stats": {
            "target": 200,
            "completed": 154,
            "percentage": 78
        },
        "last_batch": {
            "id": "#9928A",
            "status": "PASSED"
        }
    }
}
Modified at 2025-12-18 11:12:27
Previous
Get Inspection History
Next
User
Built with