ink.igav.whatmealtodo.getSuggestions

Recipes ranked by how much of them the caller's pantry already covers. The one query that needs both halves of this AppView: a network-wide public index, and one non-public repo. Neither source can answer it alone. Pantry items marked `kind: staple` are asymmetric here and callers should say so to their users: a staple counts towards a recipe that needs it, but never brings one up — candidates are drawn from held ingredients only, so a pantry of nothing but staples answers with nothing.

Repository @kaur.igav.ink did:plc:vd7yvfuocu3xr54lnszirlgz namespace authority
Details · query
Kindquery
Authoritywhatmealtodo.igav.ink
Indexed

Query

query · GET

Parameters

query string

cursor

string

limit

integer
  • minimum: 1
  • maximum: 100
  • default: 25

maxMissing

integer

Drop recipes missing more than this many ingredients. 0 is 'cook now' only.

  • minimum: 0
  • maximum: 10
  • default: 2

Output

application/json

cursor

string

pantrySize

integer

How many pantry items the ranking was computed against. An empty pantry produces an empty answer for a reason worth stating rather than leaving to look like no recipes matched.

  • minimum: 0

suggestions

requiredarray

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • The public recipe index, unfiltered and unauthenticated. It exists to prove the indexer works before there is a pantry to match against, and stays because an AppView that cannot show what it indexed is hard to debug.

  • A person overrode the normalizer's proposal. Every one of these is a case the rules got wrong, which is why it is recorded rather than discarded.