{ "lexicon": 1, "id": "sh.weaver.graph.getActorSubscriptions", "defs": { "main": { "type": "query", "description": "Get notebooks an actor is subscribed to (accepted subscriptions only).", "parameters": { "type": "params", "required": ["actor"], "properties": { "actor": { "type": "string", "format": "at-identifier" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, "cursor": { "type": "string" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["subscriptions"], "properties": { "subscriptions": { "type": "array", "items": { "type": "object", "required": ["notebook", "subscribedAt"], "properties": { "notebook": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" }, "subscribedAt": { "type": "string", "format": "datetime" }, "hasUpdates": { "type": "boolean", "description": "True if notebook has new content since last visit." }, "newEntryCount": { "type": "integer", "description": "Number of new entries since last visit." } } } }, "cursor": { "type": "string" } } } } } } }