{ "lexicon": 1, "id": "social.grain.server.getSpaceSupport", "defs": { "main": { "type": "query", "description": "Whether the viewer's PDS serves permissioned spaces (proposal 0016). Answered from a cached probe of community.lexicon.service.describe.", "parameters": { "type": "params", "properties": { "force": { "type": "boolean", "description": "Probe the PDS again rather than answering from cache. For a viewer whose server has just gained spaces and does not want to wait for the cached answer to age out." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "supported", "pds" ], "properties": { "supported": { "type": "boolean", "description": "True when the PDS serves every space method grain needs." }, "pds": { "type": "string", "description": "The PDS endpoint that was probed." }, "checkedAt": { "type": "string", "format": "datetime" }, "missing": { "type": "array", "description": "Space methods grain needs that this PDS does not serve. Empty when supported; the full list when the PDS answers no describe at all.", "items": { "type": "string" } } } } } } } }