# FoodGuard Mobile API ## API Docs - Authentication [User Login](https://api.foodguard.mgamal.dev/user-login-25774429e0.md): - Authentication [User Logout](https://api.foodguard.mgamal.dev/user-logout-25776501e0.md): Revokes the current access token - Lookups [Get All Branches](https://api.foodguard.mgamal.dev/get-all-branches-25774430e0.md): - Lookups [Get All Suppliers](https://api.foodguard.mgamal.dev/get-all-suppliers-25774431e0.md): - Inspection [Lookup Batch by QR/Barcode](https://api.foodguard.mgamal.dev/lookup-batch-by-qrbarcode-25781289e0.md): Used in Step 1 to find a scheduled batch before inspection starts. - Inspection [Initialize Inspection Batch](https://api.foodguard.mgamal.dev/initialize-inspection-batch-25774432e0.md): Can be used to start the batch after lookup confirms it exists. - Inspection [Upload Sample Image for AI Analysis](https://api.foodguard.mgamal.dev/upload-sample-image-for-ai-analysis-25774433e0.md): - Inspection [Finalize Batch Inspection](https://api.foodguard.mgamal.dev/finalize-batch-inspection-25774434e0.md): - History [Get Inspection History](https://api.foodguard.mgamal.dev/get-inspection-history-25774435e0.md): - Inspector Dashboard [Get Home Screen Stats](https://api.foodguard.mgamal.dev/get-home-screen-stats-25781290e0.md): Returns shift targets, last batch status, and system readiness for the home screen. ## Schemas - [User](https://api.foodguard.mgamal.dev/user-11729414d0.md): - [Branch](https://api.foodguard.mgamal.dev/branch-11729415d0.md): - [Supplier](https://api.foodguard.mgamal.dev/supplier-11729416d0.md): - [BatchInitResponse](https://api.foodguard.mgamal.dev/batchinitresponse-11729417d0.md): - [AISampleResult](https://api.foodguard.mgamal.dev/aisampleresult-11729418d0.md): - [ErrorResponse](https://api.foodguard.mgamal.dev/errorresponse-11730990d0.md): - [ValidationErrorResponse](https://api.foodguard.mgamal.dev/validationerrorresponse-11730991d0.md):