# social.smallbury.notification.markRead

> 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.markRead)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.notification.markRead/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wnagcp6h73nxmvmwid2xxukx/social.smallbury.notification.markRead/examples)

## Definitions

### `social.smallbury.notification.markRead`

**Type**: `procedure`

Mark one or more notifications as read for the authenticated viewer.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `ids` | `array` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `updatedCount` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "social.smallbury.notification.markRead",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "ids"
          ],
          "properties": {
            "ids": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "maxLength": 100,
              "minLength": 1
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "updatedCount"
          ],
          "properties": {
            "updatedCount": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Mark one or more notifications as read for the authenticated viewer."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
