/restaurant/newest

If you want to show list of newest restaurants in the service, this can be used for it.

For convenience, this returns list of restaurants in same format as described in /restaurant/list.

There will be at most 30 newest restaurants returned.

Request

POST nameValueRequired?
amountamount of restaurants to returnYes

Response

See /restaurant/list.

Expectable errors

See error conventions section for explanation how error system works.

Label Additional data Description
TOO_MUCH_AMOUNTNoneDo not try to get more than 30 newest restaurants.
AMOUNT_MISSINGNoneYou could atleast tell how many restaurants you would want to see :(