at main 36 lines 1.0 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.notification.getSubscriptionUpdates", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get new/updated content from notebooks the user subscribes to.", 8 "parameters": { 9 "type": "params", 10 "properties": { 11 "since": { 12 "type": "string", 13 "format": "datetime", 14 "description": "Only show updates since this timestamp." 15 }, 16 "limit": { "type": "integer", "minimum": 1, "maximum": 50, "default": 20 }, 17 "cursor": { "type": "string" } 18 } 19 }, 20 "output": { 21 "encoding": "application/json", 22 "schema": { 23 "type": "object", 24 "required": ["updates"], 25 "properties": { 26 "updates": { 27 "type": "array", 28 "items": { "type": "ref", "ref": "sh.weaver.notification.defs#subscriptionUpdateView" } 29 }, 30 "cursor": { "type": "string" } 31 } 32 } 33 } 34 } 35 } 36}