~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
63 lines · 1.3 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.unspecced.listPrivateGalleries",
	"defs": {
		"main": {
			"type": "query",
			"description": "The viewer's own private galleries, read from the spaces their PDS holds. Authors only: a space tells its members nothing about itself, so an account added to someone else's gallery cannot enumerate it and needs the link.",
			"parameters": {
				"type": "params",
				"properties": {
					"limit": {
						"type": "integer",
						"minimum": 1,
						"maximum": 100,
						"default": 50
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"galleries"
					],
					"properties": {
						"galleries": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "#privateGalleryRef"
							}
						}
					}
				}
			}
		},
		"privateGalleryRef": {
			"type": "object",
			"required": [
				"space",
				"skey"
			],
			"properties": {
				"space": {
					"type": "string",
					"description": "Space URI the gallery lives in."
				},
				"skey": {
					"type": "string",
					"description": "Also the gallery record's rkey."
				},
				"title": {
					"type": "string"
				},
				"createdAt": {
					"type": "string",
					"format": "datetime"
				}
			}
		}
	}
}