# app.zeens.notification.updateSeen

> Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.notification.updateSeen)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.notification.updateSeen/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.notification.updateSeen/examples)

## Definitions

### `app.zeens.notification.updateSeen`

**Type**: `query`

Update the recipient's notification seenAt cursor. Everything older than this timestamp is considered read. Modelled as a query because our AppView has no user OAuth session and the write is internal bookkeeping (not a PDS record).

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `recipient` | `string` (did) | Yes |  |
| `seenAt` | `string` (datetime) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `seenAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update the recipient's notification seenAt cursor. Everything older than this timestamp is considered read. Modelled as a query because our AppView has no user OAuth session and the write is internal bookkeeping (not a PDS record).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seenAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "recipient": {
            "format": "did",
            "type": "string"
          },
          "seenAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "recipient",
          "seenAt"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.zeens.notification.updateSeen",
  "lexicon": 1
}
```
