social.coves.feed.vote

coves.social

Documentation

Record declaring a vote (upvote or downvote) on a post or comment. Requires authentication.

main record

Record declaring a vote (upvote or downvote) on a post or comment. Requires authentication.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp when the vote was created

direction string Required

Vote direction: up for upvote, down for downvote

maxLength: 64 bytes
Known values: up, down
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "direction",
      "createdAt"
    ],
    "properties": {
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Strong reference to the post or comment being voted on"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the vote was created"
      },
      "direction": {
        "type": "string",
        "maxLength": 64,
        "description": "Vote direction: up for upvote, down for downvote",
        "knownValues": [
          "up",
          "down"
        ]
      }
    }
  },
  "description": "Record declaring a vote (upvote or downvote) on a post or comment. Requires authentication."
}

Lexicon Garden

@