chat.bsky.group.getJoinLinkPreviews

Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.

Details · query
Kindquery
Authoritygroup.bsky.chat
Indexed
cid bafyreigrglu52cdsrc7sxxflwoxr6eg6paw4zsd7ioy7kyue2kqfdjyqn4

Checks

Valid
  • unlimited-string defs.main.parameters.properties.codes.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "joinLinkPreviews": {
              "items": {
                "refs": [
                  "chat.bsky.group.defs#joinLinkPreviewView",
                  "chat.bsky.group.defs#disabledJoinLinkPreviewView",
                  "chat.bsky.group.defs#invalidJoinLinkPreviewView"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "joinLinkPreviews"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "codes": {
            "items": {
              "type": "string"
            },
            "maxLength": 50,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "codes"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "chat.bsky.group.getJoinLinkPreviews",
  "lexicon": 1
}