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
| Kind | query |
|---|---|
| Authority | group.bsky.chat |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.codes.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$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
}