social.coves.feed.defs

coves.social

Documentation

feedViewPost object

A post with optional context about why it appears in a feed

Properties

reply ref #replyRef Optional

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "post"
  ],
  "properties": {
    "post": {
      "ref": "social.coves.community.post.defs#postView",
      "type": "ref"
    },
    "reply": {
      "ref": "#replyRef",
      "type": "ref"
    },
    "reason": {
      "refs": [
        "#reasonRepost",
        "#reasonPin"
      ],
      "type": "union",
      "description": "Additional context for why this post is in the feed"
    }
  },
  "description": "A post with optional context about why it appears in a feed"
}
postRef object

Minimal reference to a post

Properties

cid string cid Required

A content identifier (CID) referencing immutable data.

uri string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "type": "object",
  "required": [
    "uri",
    "cid"
  ],
  "properties": {
    "cid": {
      "type": "string",
      "format": "cid"
    },
    "uri": {
      "type": "string",
      "format": "at-uri"
    }
  },
  "description": "Minimal reference to a post"
}
reasonPin object

Indicates this post is pinned in a community

Properties

View raw schema
{
  "type": "object",
  "required": [
    "community"
  ],
  "properties": {
    "community": {
      "ref": "social.coves.community.post.defs#communityRef",
      "type": "ref"
    }
  },
  "description": "Indicates this post is pinned in a community"
}
reasonRepost object

Indicates this post was reposted

Properties

indexedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "type": "object",
  "required": [
    "by",
    "indexedAt"
  ],
  "properties": {
    "by": {
      "ref": "social.coves.community.post.defs#authorView",
      "type": "ref"
    },
    "indexedAt": {
      "type": "string",
      "format": "datetime"
    }
  },
  "description": "Indicates this post was reposted"
}
replyRef object

Reference to parent and root posts in a reply thread

Properties

parent ref #postRef Required

No description available.

root ref #postRef Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "root",
    "parent"
  ],
  "properties": {
    "root": {
      "ref": "#postRef",
      "type": "ref"
    },
    "parent": {
      "ref": "#postRef",
      "type": "ref"
    }
  },
  "description": "Reference to parent and root posts in a reply thread"
}

Lexicon Garden

@