# club.userstyles.alpha.feed.listComments

> Published by [userstyles.club](https://lexicon.garden/identity/did:plc:z6a2tfjek74wmqinw5vjzbed)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:z6a2tfjek74wmqinw5vjzbed/club.userstyles.alpha.feed.listComments)
- [Documentation](https://lexicon.garden/lexicon/did:plc:z6a2tfjek74wmqinw5vjzbed/club.userstyles.alpha.feed.listComments/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:z6a2tfjek74wmqinw5vjzbed/club.userstyles.alpha.feed.listComments/examples)

## Definitions

### `club.userstyles.alpha.feed.listComments`

**Type**: `query`

List comments, optionally filtered by subject and/or author.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No |  |
| `author` | `string` (at-identifier) | No | comment author's did |
| `cursor` | `string` | No |  |
| `subject` | `string` (at-uri) | No | uri of the subject userstyle |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `comments` | `array` | Yes |  |

#### Errors

- **ActorNotFound**

## Raw Schema

```json
{
  "id": "club.userstyles.alpha.feed.listComments",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "comments"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "comments": {
              "type": "array",
              "items": {
                "ref": "club.userstyles.alpha.defs#commentView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "author": {
            "type": "string",
            "format": "at-identifier",
            "description": "comment author's did"
          },
          "cursor": {
            "type": "string"
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "uri of the subject userstyle"
          }
        }
      },
      "description": "List comments, optionally filtered by subject and/or author."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
