Rezepte 1.7.0: Print a recipe, or a whole cookbook
Skip to Content
ReferenceMeal plans

/api/v1/meal-plans/{id}/events

A Server-Sent Events stream: `retry: 3000` first, then `event: changed` once as you connect and after every change to the plan, its JSON data carrying the plan's `revision` (refetch the plan to see what changed, unless the one you hold already has that revision), and a `: ping` comment every 25 seconds. The stream ends when the caller loses access to the plan or the server shuts down.

GET/api/v1/meal-plans/{id}/events

Authorization

rezepte_session<token>

Session cookie set by POST /api/v1/auth/login.

In: cookie

Path Parameters

id*string

Response Body

text/event-stream

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/meal-plans/string/events"
"string"