us.off-the-clock.polls.getPoll

off-the-clock.us

Documentation

One poll of a content space the viewer reads, with its results counted now: each member's newest vote cast between opensAt and closesAt by a member the viewer may see.

main query

One poll of a content space the viewer reads, with its results counted now: each member's newest vote cast between opensAt and closesAt by a member the viewer may see.

Parameters

allVoters boolean Optional

Every voter in each result row's recentVoters, newest first, rather than three: the poll's own page lists them all.

uri string at-uri Required

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

Output

Encodingapplication/json

Errors

InvalidRequest
NotSpaceMember
RecordNotFound
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Every voter in each result row's recentVoters, newest first, rather than three: the poll's own page lists them all.
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
View raw schema
{
  "description": "One poll of a content space the viewer reads, with its results counted now: each member's newest vote cast between opensAt and closesAt by a member the viewer may see.",
  "errors": [
    {
      "name": "InvalidRequest"
    },
    {
      "name": "NotSpaceMember"
    },
    {
      "name": "RecordNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "ref": "us.off-the-clock.polls.pollView",
      "type": "ref"
    }
  },
  "parameters": {
    "properties": {
      "allVoters": {
        "default": false,
        "description": "Every voter in each result row's recentVoters, newest first, rather than three: the poll's own page lists them all.",
        "type": "boolean"
      },
      "uri": {
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "uri"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@