# com.bsky38.influential.getVoterStatus

> Published by [bsky38.com](https://lexicon.garden/identity/did:web:bsky38.com)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getVoterStatus)
- [Documentation](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getVoterStatus/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getVoterStatus/examples)

## Definitions

### `com.bsky38.influential.getVoterStatus`

**Type**: `query`

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

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `closed` | `boolean` | Yes |  |
| `closesAt` | `string` (datetime) | No |  |
| `did` | `string` (did) | Yes |  |
| `maxVotes` | `integer` | Yes |  |
| `votes` | `array` | Yes |  |
| `votesRemaining` | `integer` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A voter's votes as indexed by the server, with remaining allowance.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "closed": {
              "type": "boolean"
            },
            "closesAt": {
              "format": "datetime",
              "type": "string"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "maxVotes": {
              "type": "integer"
            },
            "votes": {
              "items": {
                "ref": "com.bsky38.influential.defs#recordStatus",
                "type": "ref"
              },
              "type": "array"
            },
            "votesRemaining": {
              "type": "integer"
            }
          },
          "required": [
            "did",
            "votes",
            "votesRemaining",
            "maxVotes",
            "closed"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.bsky38.influential.getVoterStatus",
  "lexicon": 1
}
```
