ReferenceMeal plans
/api/v1/meal-plans/{id}/shopping-preview
Preview what a range puts on a list
GET
/api/v1/meal-plans/{id}/shopping-previewrezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Path Parameters
id*string
Query Parameters
from?string
First day (YYYY-MM-DD) of the entries to answer with; with to left out too, the current week
Format
dateto?string
Last day (YYYY-MM-DD), inclusive, at most 62 days after from
Format
datetoday?string
The reader's today (YYYY-MM-DD): unlisted leaves out the days before it; left out, today in the server's time zone
Format
datetray?boolean
Also offer the entries on the tray
entry?string
Offer only this recipe entry, on its day or the tray, whatever from, to and tray say
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v1/meal-plans/string/shopping-preview"{ "$schema": "https://example.com/api/v1/schemas/PreviewList.json", "entries": [ { "alreadyListed": true, "day": "string", "entryId": "string", "ingredients": [ { "group": 0, "index": 0, "name": "string", "quantity": 0.1, "staple": true, "unit": "string" } ], "servings": 0, "title": "string" } ]}