Skip to content

app.bsky.unspecced.getTrends

Lexicon Version: 1

Type: query

Get the current trends on the network

Parameters:

NameTypeReq’dDescriptionConstraints
limitintegerMin: 1
Max: 25
Default: 10
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

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

{
"lexicon": 1,
"id": "app.bsky.unspecced.getTrends",
"defs": {
"main": {
"type": "query",
"description": "Get the current trends on the network",
"parameters": {
"type": "params",
"properties": {
"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#trendView"
}
}
}
}
}
}
}
}