# ink.resenha.notification.getUnreadCount

> Likes on one review count once, as the app shows them. The Shop's notifications count only with capabilities shop.

- Kind: query
- Authority: notification.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.getUnreadCount)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.getUnreadCount/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.getUnreadCount/analytics)

## Query (`ink.resenha.notification.getUnreadCount`)

Type: query · GET

### Parameters (query string)

- `capabilities` (array): What the app can show: with shop, the Shop's availability notifications are included.
  - Constraints: maxLength: 10
  - `items` (string)
    - Constraints: maxLength: 64, knownValues: shop

### Output (application/json)

- `count` (integer, required)
  - Constraints: minimum: 0

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Likes on one review count once, as the app shows them. The Shop's notifications count only with capabilities shop.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "capabilities": {
            "description": "What the app can show: with shop, the Shop's availability notifications are included.",
            "items": {
              "knownValues": [
                "shop"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "How many notifications the caller hasn't seen.",
  "id": "ink.resenha.notification.getUnreadCount",
  "lexicon": 1
}
```
