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 bytesKnown values:
up, downsubject
ref
com.atproto.repo.strongRef
Required
Strong reference to the post or comment being voted on
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."
}