The Restaurant Service REST API is available atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/microservices-patterns/ftgo-application/llms.txt
Use this file to discover all available pages before exploring further.
http://localhost:8084. It maintains the restaurant registry — including each restaurant’s address and menu — that other services (Order Service, Kitchen Service) depend on for order validation and ticket creation.
POST /restaurants
Registers a new restaurant along with its physical address and menu. Returns the system-assigned restaurant ID on success.Request body
The display name of the restaurant, e.g.
"Ajanta".The physical address of the restaurant.
The restaurant’s menu, containing one or more items.
Response
The unique identifier assigned to the newly created restaurant.
Status codes
| Code | Meaning |
|---|---|
200 OK | Restaurant created successfully. |
Example
GET /restaurants/
Retrieves a restaurant’s ID and name by its unique identifier.Path parameters
The unique ID of the restaurant to retrieve.
Response
The unique identifier of the restaurant.
The display name of the restaurant.
Status codes
| Code | Meaning |
|---|---|
200 OK | Restaurant found and returned. |
404 Not Found | No restaurant exists with the given restaurantId. |