support.supper.poll.getVotes

supper.support

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Read public vote totals for an exact Supper poll URI and CID. No authentication is required. Optional viewer is a public actor DID, not authentication, and adds that actor latest valid vote. Only support.supper.poll.vote records on support.supper.poll.poll are included. Member-only polls and votes are never exposed.",
      "errors": [
        {
          "description": "The subject, revision or viewer is invalid.",
          "name": "InvalidRequest"
        },
        {
          "description": "The exact public poll revision is unavailable.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "counts": {
              "description": "One count per poll option in its original order, including zero-vote options. Counts sum to total.",
              "items": {
                "minimum": 0,
                "type": "integer"
              },
              "maxLength": 10,
              "minLength": 2,
              "type": "array"
            },
            "subject": {
              "description": "Exact public poll URI requested.",
              "format": "at-uri",
              "type": "string"
            },
            "subjectCid": {
              "description": "Exact public poll revision requested.",
              "format": "cid",
              "type": "string"
            },
            "total": {
              "description": "Number of distinct actors with a valid surviving vote on this exact revision.",
              "minimum": 0,
              "type": "integer"
            },
            "viewerVote": {
              "description": "Requested actor latest valid surviving vote, omitted if none exists.",
              "ref": "#viewerVote",
              "type": "ref"
            }
          },
          "required": [
            "subject",
            "subjectCid",
            "counts",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "subject": {
            "description": "Public support.supper.poll.poll AT URI.",
            "format": "at-uri",
            "type": "string"
          },
          "subjectCid": {
            "description": "CID of the exact poll revision whose choices are being tallied.",
            "format": "cid",
            "type": "string"
          },
          "viewer": {
            "description": "Optional public actor DID whose currently selected vote is requested.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "subjectCid"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "viewerVote": {
      "description": "Public record identity of the requested actor latest valid vote.",
      "properties": {
        "cid": {
          "description": "CID of that vote record.",
          "format": "cid",
          "type": "string"
        },
        "option": {
          "description": "Zero-based selected option.",
          "maximum": 9,
          "minimum": 0,
          "type": "integer"
        },
        "uri": {
          "description": "AT URI of the actor-owned support.supper.poll.vote record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "option"
      ],
      "type": "object"
    }
  },
  "id": "support.supper.poll.getVotes",
  "lexicon": 1
}

Validate Record

Validate a record against support.supper.poll.getVotes

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mcsqdltevtjpu26xthzzmm2l
CID
bafyreic3bczbwiwdgdcbwmsvpz6qdyda6r3hp3g364puaczm3vq365c3di
Indexed At
2026-09-17 17:23 UTC
AT-URI
at://did:plc:mcsqdltevtjpu26xthzzmm2l/com.atproto.lexicon.schema/support.supper.poll.getVotes

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • support.supper.poll.vote recordnot from the namespace authority

    A public vote authored by the repository owner on an exact Supper poll revision. Consumers count one valid vote per actor and subject URI/CID, choosing the greatest TID record key (URI breaks ties). A changed choice cre…

  • Get a user's vote on a specific proposal, if they have voted

  • List votes for a specific governance proposal

  • Batched public Cheers counts, deduplicated by actor and subject URI. Viewer is a public actor DID, not authentication. No authentication is required; responses contain public records only.

  • A voter's votes as indexed by the server, with remaining allowance.

Lexicon Garden

@