# com.suibari.nagi.getCommunityAffirmations

> Published by [suibari.com](https://lexicon.garden/identity/did:plc:uixgxpiqf4i63p6rgpu7ytmx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getCommunityAffirmations)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getCommunityAffirmations/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getCommunityAffirmations/examples)

## Definitions

### `com.suibari.nagi.getCommunityAffirmations`

**Type**: `query`

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `lang` | `string` | Yes |  |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes |  |
| `cursor` | `string` | No |  |
| `hasMore` | `boolean` | Yes |  |
| `botActor` | `unknown` | No |  |

### `com.suibari.nagi.getCommunityAffirmations#view`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `images` | `array` | No |  |
| `summary` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `linkCards` | `array` | No |  |
| `reactions` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "com.suibari.nagi.getCommunityAffirmations",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "items",
            "hasMore"
          ],
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "ref": "#view",
                "type": "ref"
              }
            },
            "cursor": {
              "type": "string"
            },
            "hasMore": {
              "type": "boolean"
            },
            "botActor": {
              "type": "unknown"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "lang"
        ],
        "properties": {
          "lang": {
            "type": "string",
            "knownValues": [
              "ja",
              "en"
            ]
          },
          "limit": {
            "type": "integer",
            "default": 10,
            "maximum": 20,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      }
    },
    "view": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "summary",
        "createdAt",
        "reactions"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "images": {
          "type": "array",
          "items": {
            "type": "unknown"
          }
        },
        "summary": {
          "type": "string",
          "maxLength": 320
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "linkCards": {
          "type": "array",
          "items": {
            "type": "unknown"
          }
        },
        "reactions": {
          "type": "array",
          "items": {
            "type": "unknown"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
