Feature: REST API for Meals Module with JSON-LD #14
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
psycodepath/hrp#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
Expose meal planning and recipes to REST API clients.
Description
Create endpoints
/api/v1/meals/recipesand planning slot updates returning hypermedia-enabled JSON-LD representations.User Story
As an API consumer, I want to retrieve recipes and add meals to slots via the API so that I can schedule meals from external calendar tools.
Gherkin Feature
Acceptance Criteria
GET /api/v1/meals/recipes(paginated, searchable list of recipes).GET /api/v1/meals/recipes/{id}(single recipe details with ingredients).POST /api/v1/meals/plan(plan a meal in a slot).