{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Names the service auth for the host's space change stream, /space-events?group=<did>&token=<service auth for this method>: server-sent events, one per change to a group space the caller may read, each `{ space, rev }` and nothing of what changed. A member who hears one reads again with listSpaceRecords. Not itself an XRPC endpoint.",
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.subscribeSpaces",
  "lexicon": 1
}
