blue.moji.feed.getReactionCounts
Batch version of blue.moji.feed.getReactions for timelines: aggregated reaction groups (counts only, no paginated individual reactions) for many posts in one call, avoiding an N+1 fetch per rendered post. Use getReactions for a single post's full detail (e.g. its own dedicated view with an actor list).
Details · query
| Kind | query |
|---|---|
| Authority | feed.moji.blue |
| Commit rev | 3n24diy3zue2i |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Batch version of blue.moji.feed.getReactions for timelines: aggregated reaction groups (counts only, no paginated individual reactions) for many posts in one call, avoiding an N+1 fetch per rendered post. Use getReactions for a single post's full detail (e.g. its own dedicated view with an actor list).",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"counts": {
"items": {
"ref": "#subjectReactionCounts",
"type": "ref"
},
"type": "array"
}
},
"required": [
"counts"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uris": {
"description": "AT-URIs of the subject posts. Send as a single comma-joined value (e.g. 'uris=at://a,at://b'), not repeated 'uris=' keys — this AppView's implementation currently only sees the last occurrence of a repeated query key. AT-URIs never contain commas (record keys exclude them), so this is unambiguous.",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 50,
"type": "array"
}
},
"required": [
"uris"
],
"type": "params"
},
"type": "query"
},
"subjectReactionCounts": {
"properties": {
"groups": {
"items": {
"ref": "blue.moji.feed.defs#reactionGroup",
"type": "ref"
},
"type": "array"
},
"uri": {
"description": "AT-URI of the subject post. Subjects with zero reactions are omitted from the response rather than included with an empty groups array.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"groups"
],
"type": "object"
}
},
"id": "blue.moji.feed.getReactionCounts",
"lexicon": 1
}