# dev.jazco.boards.getKarma

> Published by [jaztesting.jazco.dev](https://lexicon.garden/identity/did:plc:wj2ubhxdhdbmkjq3pzckk7gx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getKarma)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getKarma/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wj2ubhxdhdbmkjq3pzckk7gx/dev.jazco.boards.getKarma/examples)

## Definitions

### `dev.jazco.boards.getKarma`

**Type**: `query`

A member's karma in a board: the scores of their posts and comments. Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).

#### Parameters

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

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comment` | `integer` | Yes |  |
| `post` | `integer` | Yes |  |
| `total` | `integer` | Yes |  |

#### Errors

- **BoardNotFound**
- **AuthRequired**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A member's karma in a board: the scores of their posts and comments. Viewers authenticate with a space credential for the board (Authorization: Atproto-Space, audience = this appview's DID).",
      "errors": [
        {
          "name": "BoardNotFound"
        },
        {
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "comment": {
              "type": "integer"
            },
            "post": {
              "type": "integer"
            },
            "total": {
              "type": "integer"
            }
          },
          "required": [
            "post",
            "comment",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "did",
            "type": "string"
          },
          "board": {
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "board",
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "dev.jazco.boards.getKarma",
  "lexicon": 1
}
```
