ReferenceShopping lists
Shopping lists
Shopping lists: recipes copied onto a list at chosen servings, free items, ticking, the store department an ingredient is sorted under, and a Server-Sent Events stream of each list's changes. A session, or an API token with lists:read to read and lists:write to change.
Sort an ingredient name under a department on every list
List the caller's shopping lists
Create a shopping list
Create a shopping list from text
Get a shopping list
Rename a shopping list
Delete a shopping list
Remove every ticked item
Follow a shopping list's changes
A Server-Sent Events stream: `retry: 3000` first, then `event: changed` once as you connect and after every change to the list, its JSON data carrying the list's `revision` (refetch the list 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 list or the server shuts down.