Unacceptable Parameter:
Status: 400 (Bad Request) or 416 (Range Not Satisfiable)
Error Message for Invalid request
API Unavailable:
Status: 503 (Service Unavailable)
Error Message for Service Unavailable
Anything else?
We want to have this basic implementation running as is, but we will add caching and background workers to this in the next iteration.
Add any additional Edge cases and Sad Paths that are needed
Feature description
This route should make a call to look up a random recipe using TheMealDB.
count
for the number of recipes requested by User (1 - 7)ID
,Name
,Picture
successful
with or without a count parameterUnsuccessful
if invalid count parameter receivedIs this a route?
CRUD Action
{"GET"}
Route Path / Description
v1/random_recipes?count=4
Success - JSON Contract Example
Success - Return status code
200
Fail - JSON Contract Example(s)
Anything else?
Remember: Use GitHub branch creation for naming