forked from elasticnotorious/elasticnotorious
-
Notifications
You must be signed in to change notification settings - Fork 0
Server API
Fleur Dragan edited this page Sep 1, 2014
·
1 revision
Gets the data for the dish specified by id. Return a JSON object in the following format.
{
"id": "1",
"name": "Chicken Vindaloo,
"rating": 3,
"restaurant_id": "1",
<other ratings to be determined>
}
Gets the data for dishes based on search criteria entered. Search criteria are sent as a query string. Returns an array of the same JSON objects the GET /api/dish returns.
The following search criteria are available:
id
name
rating
resturant_id