ReferenceMeal plans
/api/v1/meal-plans/{id}/entries
Plan a recipe or a free text
POST
/api/v1/meal-plans/{id}/entriesrezepte_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
dateRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v1/meal-plans/string/entries" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://example.com/api/v1/schemas/Plan.json", "entries": [ { "createdBy": { "avatarId": "string", "color": "string", "displayName": "string", "id": "string" }, "day": "string", "id": "string", "lists": [ { "entries": 0, "id": "string", "name": "string", "openCount": 0 } ], "photo": "string", "photoFocus": { "x": 0, "y": 0 }, "photoHeight": 0, "photoWidth": 0, "position": 0, "recipeId": "string", "recipeSlug": "string", "servings": 0, "title": "string" } ], "from": "string", "hasEntries": true, "id": "string", "lists": [ { "entries": 0, "id": "string", "name": "string", "openCount": 0 } ], "members": [ { "avatarId": "string", "color": "string", "displayName": "string", "id": "string" } ], "name": "string", "owner": { "avatarId": "string", "color": "string", "displayName": "string", "id": "string" }, "pending": [ { "avatarId": "string", "color": "string", "displayName": "string", "id": "string" } ], "personal": true, "revision": 0, "to": "string", "unlisted": 0}