pub.chive.governance.getUserVote

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

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authoritygovernance.chive.pub
Indexed

Query

query · GET

Parameters

query string

proposalId

requiredstring

Proposal identifier

userDid

requiredstring · did

User DID

Output

application/json

vote

requiredunion

Vote if found, or null

One of

Errors

NotFound

No description in schema.

#voteView

object

View of a vote on a proposal

Properties

cid

requiredstring

Content identifier

createdAt

requiredstring · datetime

Vote timestamp

id

requiredstring

Vote identifier

proposalUri

requiredstring · at-uri

Proposal AT-URI

rationale

string

Vote rationale

uri

requiredstring · at-uri

Vote AT-URI

vote

requiredstring

Vote value

  • knownValues: approve | reject | abstain | request-changes

voterDid

requiredstring · did

Voter DID

voterRole

requiredstring

Voter governance role

  • knownValues: community-member | reviewer | domain-expert | administrator

weight

requiredinteger

Weighted vote value (scaled by 1000 for 0.0-1.0 range)

  • minimum: 0
  • maximum: 1000

Similar lexicons

semantic match

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

  • List votes for a specific governance proposal

  • Get a single governance proposal by ID with full enrichment

  • Vote on field proposal

  • support.supper.poll.getVotes

    query not from the namespace authority

    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.

  • List governance proposals with optional filtering by status, type, and other criteria