# club.userstyles.alpha.feed.getFeedback

> 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.getFeedback)
- [Documentation](https://lexicon.garden/lexicon/did:plc:z6a2tfjek74wmqinw5vjzbed/club.userstyles.alpha.feed.getFeedback/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:z6a2tfjek74wmqinw5vjzbed/club.userstyles.alpha.feed.getFeedback/examples)

## Definitions

### `club.userstyles.alpha.feed.getFeedback`

**Type**: `query`

Get a subject userstyle's feedback; a list of comment threads and the overall rating count and average.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subject` | `string` (at-uri) | Yes | uri of the subject userstyle |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comments` | `array` | Yes |  |
| `ratingCount` | `integer` | Yes |  |
| `ratingAverage` | `string` | No |  |

## Raw Schema

```json
{
  "id": "club.userstyles.alpha.feed.getFeedback",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "comments",
            "ratingCount"
          ],
          "properties": {
            "comments": {
              "type": "array",
              "items": {
                "ref": "club.userstyles.alpha.defs#commentThreadView",
                "type": "ref"
              }
            },
            "ratingCount": {
              "type": "integer"
            },
            "ratingAverage": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "subject"
        ],
        "properties": {
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "uri of the subject userstyle"
          }
        }
      },
      "description": "Get a subject userstyle's feedback; a list of comment threads and the overall rating count and average."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
