# community.gifthood.feed.getListingInterests

> Published by [gifthood.community](https://lexicon.garden/identity/did:plc:7prvtl4j6wsfmkrfrnwknuxj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListingInterests)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListingInterests/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.feed.getListingInterests/examples)

## Definitions

### `community.gifthood.feed.getListingInterests`

**Type**: `query`

List the interests ('raised hands') on a listing, each with the interested person's resolved identity. Rows are viewer-block-filtered, newest first; totalCount reflects all interests (the public count).

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | DID of the account that created the listing. |
| `rkey` | `string` | Yes | Record key of the listing. |
| `limit` | `integer` | No | Maximum rows to return. |
| `cursor` | `string` | No | Reserved for future pagination; ignored in this version. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Reserved; not emitted in this version. |
| `interests` | `array` | Yes | The interests, viewer-block-filtered, newest-first. |
| `totalCount` | `integer` | Yes | Total interests on the listing (pre-block-filter — the public 'N interested' count). |

#### Errors

- **NotAvailableToPublic**: The author hides their content from logged-out viewers; sign in to view.

## Raw Schema

```json
{
  "id": "community.gifthood.feed.getListingInterests",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "NotAvailableToPublic",
          "description": "The author hides their content from logged-out viewers; sign in to view."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "totalCount",
            "interests"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Reserved; not emitted in this version."
            },
            "interests": {
              "type": "array",
              "items": {
                "ref": "community.gifthood.feed.defs#interestView",
                "type": "ref"
              },
              "description": "The interests, viewer-block-filtered, newest-first."
            },
            "totalCount": {
              "type": "integer",
              "description": "Total interests on the listing (pre-block-filter — the public 'N interested' count)."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "did",
          "rkey"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "DID of the account that created the listing."
          },
          "rkey": {
            "type": "string",
            "description": "Record key of the listing."
          },
          "limit": {
            "type": "integer",
            "default": 100,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum rows to return."
          },
          "cursor": {
            "type": "string",
            "description": "Reserved for future pagination; ignored in this version."
          }
        }
      },
      "description": "List the interests ('raised hands') on a listing, each with the interested person's resolved identity. Rows are viewer-block-filtered, newest first; totalCount reflects all interests (the public count)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
