# fyi.opensocial.updateNotificationsSeen

> Mark some of the caller's Activity read: by id, everything in one place (they've opened it), or all of it.

- Kind: procedure
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.updateNotificationsSeen)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.updateNotificationsSeen/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.updateNotificationsSeen/analytics)

## Procedure (`fyi.opensocial.updateNotificationsSeen`)

Type: procedure · POST

### Input (application/json)

- `all` (boolean)
- `ids` (array)
  - Constraints: maxLength: 100
  - `items` (string)
- `room` (string · at-uri): With space: in a chat, the record its room is about. Without one, the space's own.
- `space` (string · at-uri)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Mark some of the caller's Activity read: by id, everything in one place (they've opened it), or all of it.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "all": {
              "type": "boolean"
            },
            "ids": {
              "items": {
                "type": "string"
              },
              "maxLength": 100,
              "type": "array"
            },
            "room": {
              "description": "With space: in a chat, the record its room is about. Without one, the space's own.",
              "format": "at-uri",
              "type": "string"
            },
            "space": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.updateNotificationsSeen",
  "lexicon": 1
}
```
