{ "lexicon": 1, "id": "social.grain.group.listGalleries", "defs": { "main": { "type": "query", "description": "Every gallery in a group's pool, newest first. Assembled at request time from the repos of the members who wrote them — a pool space never reaches a firehose, so none of it is in the index — and readable only by a member the group's host issues a credential to.", "parameters": { "type": "params", "required": [ "group" ], "properties": { "group": { "type": "string", "format": "did" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "space", "galleries" ], "properties": { "space": { "type": "string" }, "galleries": { "type": "array", "items": { "type": "ref", "ref": "social.grain.group.defs#poolGallery" } } } } }, "errors": [ { "name": "NotAuthorized", "description": "The viewer is not a member of this pool." } ] } } }