Introduction
The FoodTech Kitchen Service API is a RESTful API that manages kitchen operations for a restaurant. It handles order processing, task creation, and kitchen station workflow coordination.Base URL
The API is served at the following base URL:API Structure
The API is organized into two main resource groups:- Orders (
/api/orders) - Manage restaurant orders and check their status - Tasks (
/api/tasks) - Manage kitchen tasks assigned to different stations
Common Patterns
Request Format
All requests accept and return JSON format. Include the appropriateContent-Type header:
Response Format
All API responses follow a consistent JSON structure: Success Response:HTTP Status Codes
The API uses standard HTTP status codes:| Code | Description |
|---|---|
200 | Success - Request completed successfully |
201 | Created - Resource created successfully |
400 | Bad Request - Invalid parameters or validation failed |
404 | Not Found - Resource not found |
500 | Internal Server Error - Server-side error |
Kitchen Stations
The system supports three kitchen stations:BAR- Beverage preparation stationHOT_KITCHEN- Hot food preparation stationCOLD_KITCHEN- Cold food and salad preparation station
Task Status Workflow
Tasks progress through the following statuses:PENDING- Task created, waiting to startIN_PREPARATION- Task is being preparedCOMPLETED- Task finished
Error Handling
The API implements centralized error handling with descriptive error messages: Validation Errors (400):Authentication
The current version of the API does not require authentication. This may change in future releases.Next Steps
Orders
Learn how to create and manage orders
Tasks
Manage kitchen tasks and station workflows