at main 30 lines 712 B view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notification.getUnreadCount", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get count of unread notifications for the authenticated user.", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "seenAt": { 12 "type": "string", 13 "format": "datetime", 14 "description": "Count notifications after this timestamp." 15 } 16 } 17 }, 18 "output": { 19 "encoding": "application/json", 20 "schema": { 21 "type": "object", 22 "required": ["count"], 23 "properties": { 24 "count": { "type": "integer" } 25 } 26 } 27 } 28 } 29 } 30}