Skip to content

app.bsky.bookmark.defs

Lexicon Version: 1

Type: object

Object used to store bookmark data in stash.

Properties:

NameTypeReq’dDescriptionConstraints
subjectcom.atproto.repo.strongRefA strong ref to the record to be bookmarked. Currently, only app.bsky.feed.post records are supported.

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
subjectcom.atproto.repo.strongRefA strong ref to the bookmarked record.
createdAtstringFormat: datetime
itemUnion of:
  app.bsky.feed.defs#blockedPost
  app.bsky.feed.defs#notFoundPost
  app.bsky.feed.defs#postView

{
"lexicon": 1,
"id": "app.bsky.bookmark.defs",
"defs": {
"bookmark": {
"description": "Object used to store bookmark data in stash.",
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"description": "A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported.",
"type": "ref",
"ref": "com.atproto.repo.strongRef"
}
}
},
"bookmarkView": {
"type": "object",
"required": [
"subject",
"item"
],
"properties": {
"subject": {
"description": "A strong ref to the bookmarked record.",
"type": "ref",
"ref": "com.atproto.repo.strongRef"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"item": {
"type": "union",
"refs": [
"app.bsky.feed.defs#blockedPost",
"app.bsky.feed.defs#notFoundPost",
"app.bsky.feed.defs#postView"
]
}
}
}
}
}