Skip to content

app.bsky.unspecced.getTrendsSkeleton

Lexicon Version: 1

Type: query

Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends

Parameters:

NameTypeReq’dDescriptionConstraints
viewerstringDID of the account making the request (not included for public/unauthenticated queries).Format: did
limitintegerMin: 1
Max: 25
Default: 10
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
trendsArray of app.bsky.unspecced.defs#skeletonTrend

{
"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"
}
}
}
}
}
}
}
}