List saved quick adds
list_quick_addsReads- What it does
- Reads only. Changes nothing.
- Permission
- Meals, read
meals:read
What your assistant is told
The user's saved quick adds — one-tap shortcuts for meals they log often
("Boiled eggs", weekday mornings). Each carries its items, the hour and
weekdays it is relevant, how many times it has been used, and who created
it.
Call this BEFORE create_quick_add (so you don't offer something they
already have) and before update_quick_add / delete_quick_add, which
both need an id from here. Only ACTIVE shortcuts are returned: one that
was never used and is more than three weeks old retires itself and stops
appearing — that is normal, not an error.
time_local_minutes is minutes since local midnight (600 = 10:00) and
weekday_mask is a bitmask with bit 0 = Monday … bit 6 = Sunday (31 =
Mon–Fri). Both are timezone-naive and belong to the user's own local
clock.
Parameters
Takes no parameters.