ink.igav.whatmealtodo.getSuggestions
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "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.",
5
+
"description": "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.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"cursor": {
11
11
"type": "string"
12
12
},
13
13
"pantrySize": {
14
14
"description": "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.",
15
15
"minimum": 0,
16
16
"type": "integer"
17
17
},
18
18
"suggestions": {
19
19
"items": {
20
20
"ref": "ink.igav.whatmealtodo.defs#suggestion",
21
21
"type": "ref"
22
22
},
23
23
"type": "array"
24
24
}
25
25
},
26
26
"required": [
27
27
"suggestions"
28
28
],
29
29
"type": "object"
30
30
}
31
31
},
32
32
"parameters": {
33
33
"properties": {
34
34
"cursor": {
35
35
"type": "string"
36
36
},
37
37
"limit": {
38
38
"default": 25,
39
39
"maximum": 100,
40
40
"minimum": 1,
41
41
"type": "integer"
42
42
},
43
43
"maxMissing": {
44
44
"default": 2,
45
45
"description": "Drop recipes missing more than this many ingredients. 0 is 'cook now' only.",
46
46
"maximum": 10,
47
47
"minimum": 0,
48
48
"type": "integer"
49
49
}
50
50
},
51
51
"type": "params"
52
52
},
53
53
"type": "query"
54
54
}
55
55
},
56
56
"id": "ink.igav.whatmealtodo.getSuggestions",
57
57
"lexicon": 1
58
58
}