social.colibri.embed.getMetadata
Fetches Open Graph-style link preview metadata for a URL.
Details · query
| Kind | query |
|---|---|
| Authority | embed.colibri.social |
| Indexed |
Showing version bafyreiajt4737rvzjr2tl2vfa4stixgl5zhywnqftl4hwqofzsjvwlh3g4. Show the latest
Checks
Validunlimited-stringdefs.main.parameters.properties.uriNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.siteNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.themeColorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Fetches Open Graph-style link preview metadata for a URL.",
"errors": [
{
"description": "Missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "A parameter or body field was missing or malformed.",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"type": "string"
},
"image": {
"items": {
"ref": "lex:social.colibri.embed.defs#embedImage",
"type": "ref"
},
"type": "array"
},
"largeImage": {
"type": "boolean"
},
"siteName": {
"type": "string"
},
"themeColor": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"image"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "social.colibri.embed.getMetadata",
"lexicon": 1
}