appBskyUnspeccedGetAtmosphereExploreTab top-level constant
app.bsky.unspecced.getAtmosphereExploreTab
Implementation
const appBskyUnspeccedGetAtmosphereExploreTab = <String, dynamic>{
"lexicon": 1,
"id": "app.bsky.unspecced.getAtmosphereExploreTab",
"defs": {
"main": {
"type": "query",
"description":
"Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Authentication is optional; authenticated requests include viewer-specific profile state.",
"parameters": {
"type": "params",
"properties": {
"langs": {
"type": "array",
"description":
"Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.",
"items": {"type": "string", "format": "language"},
},
"countryCode": {
"type": "string",
"description":
"The ISO 3166-1 alpha-2 country code used to select curated content.",
},
"regionCode": {
"type": "string",
"description":
"The ISO 3166-2 region code used to select curated content.",
},
},
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"articles",
"publications",
"photos",
"livestreams",
"apps",
],
"properties": {
"announcementBanner": {"type": "ref", "ref": "#announcementBanner"},
"articles": {"type": "ref", "ref": "#articleList"},
"publications": {"type": "ref", "ref": "#publicationList"},
"photos": {"type": "ref", "ref": "#galleryList"},
"livestreams": {"type": "ref", "ref": "#livestreamList"},
"apps": {
"type": "array",
"items": {"type": "ref", "ref": "#appCard"},
"maxLength": 100,
},
},
},
},
},
"articleList": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {"type": "ref", "ref": "#articleItem"},
},
"recIdStr": {
"type": "string",
"description":
"Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
},
},
},
"publicationList": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {"type": "ref", "ref": "#publicationItem"},
},
"recIdStr": {
"type": "string",
"description":
"Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
},
},
},
"galleryList": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {"type": "ref", "ref": "#galleryItem"},
},
"recIdStr": {
"type": "string",
"description":
"Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
},
},
},
"livestreamList": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {"type": "ref", "ref": "#livestreamItem"},
},
"recIdStr": {
"type": "string",
"description":
"Snowflake for this list's recommendation, use when submitting recommendation events. Omitted when the list is not algorithmically recommended.",
},
},
},
"articleItem": {
"type": "object",
"required": ["featured", "view"],
"properties": {
"featured": {"type": "boolean"},
"view": {"type": "ref", "ref": "app.bsky.embed.external#viewArticle"},
},
},
"publicationItem": {
"type": "object",
"required": ["featured", "view"],
"properties": {
"featured": {"type": "boolean"},
"view": {
"type": "ref",
"ref": "app.bsky.embed.external#viewArticlePublication",
},
},
},
"galleryItem": {
"type": "object",
"required": ["featured", "view"],
"properties": {
"featured": {"type": "boolean"},
"view": {"type": "ref", "ref": "app.bsky.embed.external#viewGallery"},
},
},
"livestreamItem": {
"type": "object",
"required": ["featured", "view"],
"properties": {
"featured": {"type": "boolean"},
"view": {
"type": "ref",
"ref": "app.bsky.embed.external#viewLivestream",
},
},
},
"announcementBanner": {
"type": "object",
"properties": {
"id": {"type": "string", "maxLength": 4096},
"title": {"type": "string", "maxLength": 4096},
"description": {"type": "string", "maxLength": 4096},
"url": {"type": "string", "format": "uri", "maxLength": 4096},
"image": {"type": "string", "format": "uri", "maxLength": 4096},
"overlayColor": {"type": "string", "maxLength": 4096},
"textColor": {"type": "string", "maxLength": 4096},
},
},
"appCard": {
"type": "object",
"properties": {
"id": {"type": "string", "maxLength": 4096},
"title": {"type": "string", "maxLength": 4096},
"description": {"type": "string", "maxLength": 4096},
"logo": {"type": "string", "format": "uri", "maxLength": 4096},
"backgroundImage": {
"type": "string",
"format": "uri",
"maxLength": 4096,
},
"overlayColor": {"type": "string", "maxLength": 4096},
"textColor": {"type": "string", "maxLength": 4096},
"url": {"type": "string", "format": "uri", "maxLength": 4096},
"category": {"type": "string", "maxLength": 4096},
},
},
},
};