atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.unspecced.getTrendsSkeleton",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends",
8 "parameters": {
9 "type": "params",
10 "properties": {
11 "limit": {
12 "type": "integer",
13 "default": 10,
14 "minimum": 1,
15 "maximum": 25
16 },
17 "viewer": {
18 "type": "string",
19 "description": "DID of the account making the request (not included for public/unauthenticated queries).",
20 "format": "did"
21 }
22 }
23 },
24 "output": {
25 "encoding": "application/json",
26 "schema": {
27 "type": "object",
28 "required": [
29 "trends"
30 ],
31 "properties": {
32 "trends": {
33 "type": "array",
34 "items": {
35 "type": "ref",
36 "ref": "app.bsky.unspecced.defs#skeletonTrend"
37 }
38 }
39 }
40 }
41 }
42 }
43 }
44}