* Reapply "add codegen" This reverts commit 620b10954af90f53e1692c3fd7451c675f1e9956. * add pipethrough * pipethrough header * fix descriptions * rm * codgen/build * suggested starterpacks pipethrough * Reapply "add codegen" This reverts commit 620b10954af90f53e1692c3fd7451c675f1e9956. * add pipethrough * pipethrough header * fix descriptions * rm * codgen/build * add hot * Codegen * Hotter * Category as optional open string * Format * Run codegen for reaction lexicon changes (#3674) * codegen main * changeset * Version packages (#3675) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * add hot * Codegen * Hotter * Category as optional open string * Format * codegen * tidy * required array * add route * update lex * use right viewer * use right viewer * remove viewer property * lex codegen * update comment * Changeset * Add test --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Samuel Newman <mozzius@protonmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rafael <rafael@blueskyweb.xyz>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "app.bsky.unspecced.getTrendsSkeleton",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends",
|
|
"parameters": {
|
|
"type": "params",
|
|
"properties": {
|
|
"viewer": {
|
|
"type": "string",
|
|
"format": "did",
|
|
"description": "DID of the account making the request (not included for public/unauthenticated queries)."
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 25,
|
|
"default": 10
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["trends"],
|
|
"properties": {
|
|
"trends": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "ref",
|
|
"ref": "app.bsky.unspecced.defs#skeletonTrend"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|