appBskyUnspeccedGetAtmosphereApps top-level constant

Map<String, dynamic> const appBskyUnspeccedGetAtmosphereApps

app.bsky.unspecced.getAtmosphereApps

Implementation

const appBskyUnspeccedGetAtmosphereApps = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.unspecced.getAtmosphereApps",
  "defs": {
    "main": {
      "type": "query",
      "description":
          "Get curated Atmosphere apps. Authentication is optional; authenticated requests include viewer-specific profile state and known followers.",
      "parameters": {
        "type": "params",
        "properties": {
          "category": {
            "type": "string",
            "description":
                "Only return apps with this category (exact match). Omit to return all apps.",
            "maxLength": 100,
          },
        },
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["apps"],
          "properties": {
            "apps": {
              "type": "array",
              "items": {"type": "ref", "ref": "#appCard"},
              "maxLength": 100,
            },
          },
        },
      },
    },
    "appCard": {
      "type": "object",
      "properties": {
        "id": {"type": "string", "maxLength": 4096},
        "title": {"type": "string", "maxLength": 4096},
        "description": {"type": "string", "maxLength": 4096},
        "logo": {
          "type": "string",
          "format": "uri",
          "description":
              "The app's logo, using its account avatar when available.",
          "maxLength": 4096,
        },
        "banner": {
          "type": "string",
          "format": "uri",
          "description":
              "The app's banner, using its account banner when available.",
          "maxLength": 4096,
        },
        "url": {"type": "string", "format": "uri", "maxLength": 4096},
        "category": {"type": "string", "maxLength": 100},
        "profile": {
          "type": "ref",
          "description":
              "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.",
          "ref": "app.bsky.actor.defs#profileViewDetailed",
        },
      },
    },
  },
};