io.kich.pantry.listItems
List a household's pantry items. Items with status `finished` are never returned — they are history, not stock.
Details · query
| Kind | query |
|---|---|
| Authority | pantry.kich.io |
| Indexed |
Query
query · GETParameters
query stringcursor
stringexpiringWithinDays
integerOnly items that turn within this many days
minimum: 1maximum: 365
The household whose pantry to read. Must be the household the credential is scoped to.
limit
integerminimum: 1maximum: 100default: 50
status
stringOnly items in this state
knownValues: in_stock | low | depleted
Output
application/jsoncursor
stringAbsent when there is no further page.
Errors
AuthRequired
No bearer token, or one this endpoint does not accept.
HouseholdNotFound
No such household, or the credential is not scoped to it. Deliberately the same error for both: a caller holding the wrong token learns nothing about which households exist.
InvalidCursor
The cursor was not one this endpoint issued.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A household's cookbook, most cookable first. Read-only.
-
The household's current shopping list and the recipes attached to it — which is what 'what are we cooking this week' means in this product. Read-only.
-
io.kich.pantry.defs
objectShared definitions for the pantry namespace. The pantry has no record type — it lives in the application database rather than on a PDS — so these views exist only as query output.