appBskyGraphSearchStarterPacks top-level constant

Map<String, dynamic> const appBskyGraphSearchStarterPacks

app.bsky.graph.searchStarterPacks

Implementation

const appBskyGraphSearchStarterPacks = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.graph.searchStarterPacks",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Find starter packs matching search criteria. Does not require auth.",
      "parameters": {
        "type": "params",
        "required": ["q"],
        "properties": {
          "q": {
            "type": "string",
            "description":
                "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
          },
          "limit": {
            "type": "integer",
            "default": 25,
            "minimum": 1,
            "maximum": 100
          },
          "cursor": {"type": "string"}
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["starterPacks"],
          "properties": {
            "cursor": {"type": "string"},
            "starterPacks": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "app.bsky.graph.defs#starterPackViewBasic"
              }
            }
          }
        }
      }
    }
  }
};