appBskyUnspeccedGetTrends top-level constant

Map<String, dynamic> const appBskyUnspeccedGetTrends

app.bsky.unspecced.getTrends

Implementation

const appBskyUnspeccedGetTrends = <String, dynamic>{
  "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",
            "default": 10,
            "minimum": 1,
            "maximum": 25,
          },
        },
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["trends"],
          "properties": {
            "trends": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "app.bsky.unspecced.defs#trendView",
              },
            },
          },
        },
      },
    },
  },
};