# support.supper.feed.getCheerCounts

> Published by [supper.support](https://lexicon.garden/identity/did:plc:mcsqdltevtjpu26xthzzmm2l)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.feed.getCheerCounts)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.feed.getCheerCounts/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.feed.getCheerCounts/examples)

## Definitions

### `support.supper.feed.getCheerCounts#count`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `count` | `integer` | Yes |  |
| `subject` | `string` (at-uri) | Yes |  |
| `viewerCheerUri` | `string` (at-uri) | No |  |

### `support.supper.feed.getCheerCounts`

**Type**: `query`

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.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `additionalSubjects` | `array` | No | Optional additional public subject to union with one primary subject. Actors are deduplicated across both. Clients must verify the relationship; this query does not assert that the subjects identify the same post. For counts, requires exactly one primary subject. |
| `subjects` | `array` | Yes |  |
| `viewer` | `string` (did) | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `additionalSubjects` | `array` | No | Echoes the additional subject included in the actor-deduplicated union, when requested. |
| `counts` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "count": {
      "properties": {
        "count": {
          "minimum": 0,
          "type": "integer"
        },
        "subject": {
          "format": "at-uri",
          "type": "string"
        },
        "viewerCheerUri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "subject",
        "count"
      ],
      "type": "object"
    },
    "main": {
      "description": "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.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "additionalSubjects": {
              "description": "Echoes the additional subject included in the actor-deduplicated union, when requested.",
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "maxLength": 1,
              "type": "array"
            },
            "counts": {
              "items": {
                "ref": "#count",
                "type": "ref"
              },
              "maxLength": 25,
              "type": "array"
            }
          },
          "required": [
            "counts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "additionalSubjects": {
            "description": "Optional additional public subject to union with one primary subject. Actors are deduplicated across both. Clients must verify the relationship; this query does not assert that the subjects identify the same post. For counts, requires exactly one primary subject.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 1,
            "type": "array"
          },
          "subjects": {
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          },
          "viewer": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "subjects"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "support.supper.feed.getCheerCounts",
  "lexicon": 1
}
```
