532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"id": "chat.bsky.group.getJoinLinkPreviews",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"joinLinkPreviews"
|
|
],
|
|
"properties": {
|
|
"joinLinkPreviews": {
|
|
"type": "array",
|
|
"items": {
|
|
"refs": [
|
|
"chat.bsky.group.defs#joinLinkPreviewView",
|
|
"chat.bsky.group.defs#disabledJoinLinkPreviewView",
|
|
"chat.bsky.group.defs#invalidJoinLinkPreviewView"
|
|
],
|
|
"type": "union"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"codes"
|
|
],
|
|
"properties": {
|
|
"codes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"maxLength": 50,
|
|
"minLength": 1
|
|
}
|
|
}
|
|
},
|
|
"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."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|