# app.thesocialwire.appview.markAllRead

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.markAllRead)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.markAllRead/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.markAllRead/examples)

## Definitions

### `app.thesocialwire.appview.markAllRead`

**Type**: `procedure`

Mark all entries in a scope read in AppView.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `scope` | `ref` → `#scope` | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**
- **UpstreamUnavailable**

### `app.thesocialwire.appview.markAllRead#scope`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes |  |
| `folderRkey` | `string` | No |  |
| `publicationId` | `string` | No |  |

## Raw Schema

```json
{
  "id": "app.thesocialwire.appview.markAllRead",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "scope"
          ],
          "properties": {
            "scope": {
              "ref": "#scope",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "UpstreamUnavailable"
        }
      ],
      "output": {
        "schema": {
          "ref": "app.thesocialwire.defs#jsonObject",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Mark all entries in a scope read in AppView."
    },
    "scope": {
      "type": "object",
      "required": [
        "kind"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "maxLength": 32,
          "knownValues": [
            "publication",
            "folder",
            "subscribed",
            "following"
          ]
        },
        "folderRkey": {
          "type": "string",
          "maxLength": 512
        },
        "publicationId": {
          "type": "string",
          "maxLength": 2048
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
