# social.smallbury.notification.list

> Published by [lexicon.pds.smallbury.social](https://lexicon.garden/identity/did:plc:wnagcp6h73nxmvmwid2xxukx)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.notification.list)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.notification.list/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.notification.list/examples)

## Definitions

### `social.smallbury.notification.list`

**Type**: `query`

Notifications for the authenticated viewer (newest first). Includes read items; AppView may drop items older than 30 days.

#### Parameters

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

#### Output

**Encoding**: `application/json`

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

### `social.smallbury.notification.list#notificationView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes |  |
| `kind` | `string` | Yes |  |
| `actor` | `ref` → `social.smallbury.defs#actorView` | Yes |  |
| `readAt` | `string` (datetime) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `updatedAt` | `string` (datetime) | Yes |  |
| `replyCount` | `integer` | Yes |  |
| `isMutualTrust` | `boolean` | Yes |  |
| `reactionCount` | `integer` | Yes |  |
| `subjectPostUri` | `string` | No |  |

## Raw Schema

```json
{
  "id": "social.smallbury.notification.list",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "notifications"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "notifications": {
              "type": "array",
              "items": {
                "ref": "#notificationView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "Notifications for the authenticated viewer (newest first). Includes read items; AppView may drop items older than 30 days."
    },
    "notificationView": {
      "type": "object",
      "required": [
        "id",
        "kind",
        "actor",
        "reactionCount",
        "replyCount",
        "readAt",
        "createdAt",
        "updatedAt",
        "isMutualTrust"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "enum": [
            "post_engagement",
            "follow",
            "trust"
          ],
          "type": "string"
        },
        "actor": {
          "ref": "social.smallbury.defs#actorView",
          "type": "ref"
        },
        "readAt": {
          "type": "string",
          "format": "datetime"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "updatedAt": {
          "type": "string",
          "format": "datetime"
        },
        "replyCount": {
          "type": "integer",
          "minimum": 0
        },
        "isMutualTrust": {
          "type": "boolean"
        },
        "reactionCount": {
          "type": "integer",
          "minimum": 0
        },
        "subjectPostUri": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
