{ "lexicon": 1, "id": "dev.knotless.getUnreadCount", "description": "How many of the asking account's notifications it has not seen.", "defs": { "main": { "type": "query", "description": "How many of the notifications dev.knotless.listNotifications gives the asking account are from after it last saw them, counting at most 100. Requires authentication: a service token, or the session cookie the pages' login sets.", "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["count"], "properties": { "count": { "type": "integer", "minimum": 0, "maximum": 100 } } } }, "errors": [{ "name": "AuthenticationRequired", "description": "No account asks." }] } } }