town.delve.embed.getEmbedExternalView

delve.town

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "associatedRecords": {
              "items": {
                "description": "The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.",
                "type": "unknown"
              },
              "type": "array"
            },
            "associatedRefs": {
              "description": "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.",
              "items": {
                "ref": "com.atproto.repo.strongRef",
                "type": "ref"
              },
              "type": "array"
            },
            "view": {
              "description": "Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.",
              "ref": "town.delve.embed.external#view",
              "type": "ref"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "description": "AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 4,
            "type": "array"
          },
          "url": {
            "description": "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url",
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "town.delve.embed.getEmbedExternalView",
  "lexicon": 1
}

Validate Record

Validate a record against town.delve.embed.getEmbedExternalView

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:qzqct2rrq4u2gmy5g3mjxske
CID
bafyreigmnrtc3stbvwk7fmfo4kvowyc2sdnpymwyzhemubuz4p7nrcgmqe
Indexed At
2026-09-11 20:04 UTC
AT-URI
at://did:plc:qzqct2rrq4u2gmy5g3mjxske/com.atproto.lexicon.schema/town.delve.embed.getEmbedExternalView

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `v…

  • town.delve.embed.external objectnot from the namespace authority

    A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).

  • A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).

  • External link embed with optional aggregated sources for megathreads

Lexicon Garden

@