app.bsky.embed.record
A representation of a record embedded in a Bluesky record (eg, a post). For example, a quote-post, or sharing a feed generator record.
Lexicon Version: 1
Definitions
Section titled “Definitions”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
record | com.atproto.repo.strongRef | ✅ |
Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
record | Union of:#viewRecord#viewNotFound#viewBlocked#viewDetachedapp.bsky.feed.defs#generatorViewapp.bsky.graph.defs#listViewapp.bsky.labeler.defs#labelerViewapp.bsky.graph.defs#starterPackViewBasic | ✅ |
viewRecord
Section titled “viewRecord”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
uri | string | ✅ | Format: at-uri | |
cid | string | ✅ | Format: cid | |
author | app.bsky.actor.defs#profileViewBasic | ✅ | ||
value | unknown | ✅ | The record data itself. | |
labels | Array of com.atproto.label.defs#label | ❌ | ||
replyCount | integer | ❌ | ||
repostCount | integer | ❌ | ||
likeCount | integer | ❌ | ||
quoteCount | integer | ❌ | ||
embeds | Array of Union of:app.bsky.embed.images#viewapp.bsky.embed.video#viewapp.bsky.embed.external#viewapp.bsky.embed.record#viewapp.bsky.embed.recordWithMedia#view | ❌ | ||
indexedAt | string | ✅ | Format: datetime |
viewNotFound
Section titled “viewNotFound”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
uri | string | ✅ | Format: at-uri | |
notFound | boolean | ✅ | Const: true |
viewBlocked
Section titled “viewBlocked”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
uri | string | ✅ | Format: at-uri | |
blocked | boolean | ✅ | Const: true | |
author | app.bsky.feed.defs#blockedAuthor | ✅ |
viewDetached
Section titled “viewDetached”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
uri | string | ✅ | Format: at-uri | |
detached | boolean | ✅ | Const: true |
Lexicon Source
Section titled “Lexicon Source”{ "lexicon": 1, "id": "app.bsky.embed.record", "description": "A representation of a record embedded in a Bluesky record (eg, a post). For example, a quote-post, or sharing a feed generator record.", "defs": { "main": { "type": "object", "required": [ "record" ], "properties": { "record": { "type": "ref", "ref": "com.atproto.repo.strongRef" } } }, "view": { "type": "object", "required": [ "record" ], "properties": { "record": { "type": "union", "refs": [ "#viewRecord", "#viewNotFound", "#viewBlocked", "#viewDetached", "app.bsky.feed.defs#generatorView", "app.bsky.graph.defs#listView", "app.bsky.labeler.defs#labelerView", "app.bsky.graph.defs#starterPackViewBasic" ] } } }, "viewRecord": { "type": "object", "required": [ "uri", "cid", "author", "value", "indexedAt" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "cid": { "type": "string", "format": "cid" }, "author": { "type": "ref", "ref": "app.bsky.actor.defs#profileViewBasic" }, "value": { "type": "unknown", "description": "The record data itself." }, "labels": { "type": "array", "items": { "type": "ref", "ref": "com.atproto.label.defs#label" } }, "replyCount": { "type": "integer" }, "repostCount": { "type": "integer" }, "likeCount": { "type": "integer" }, "quoteCount": { "type": "integer" }, "embeds": { "type": "array", "items": { "type": "union", "refs": [ "app.bsky.embed.images#view", "app.bsky.embed.video#view", "app.bsky.embed.external#view", "app.bsky.embed.record#view", "app.bsky.embed.recordWithMedia#view" ] } }, "indexedAt": { "type": "string", "format": "datetime" } } }, "viewNotFound": { "type": "object", "required": [ "uri", "notFound" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "notFound": { "type": "boolean", "const": true } } }, "viewBlocked": { "type": "object", "required": [ "uri", "blocked", "author" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "blocked": { "type": "boolean", "const": true }, "author": { "type": "ref", "ref": "app.bsky.feed.defs#blockedAuthor" } } }, "viewDetached": { "type": "object", "required": [ "uri", "detached" ], "properties": { "uri": { "type": "string", "format": "at-uri" }, "detached": { "type": "boolean", "const": true } } } }}