What is next in a meal plan
meal_statusRead-onlyIdempotent
Say what is next in a meal plan made with plan_meal, and how long until it. Give the plan's code (the last part of its link). Only reads; never changes a plan. Give the control key too, if you have it, to also see the timers on the phone.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional: the plan's secret control key. With it the answer also says whether the person has started the timers on the phone and what each one is doing. | |
| code | Yes | The plan's code, or its whole link. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| next | No | ||
| state | Yes | ||
| timers | No | Only with the key, once the phone has started: each dish's state on the phone. | |
| claimed | No | Only with the key: a phone has tapped Start. | |
| upcoming | No | ||
| readyAtMs | Yes | ||
| serverNowMs | No |