~ 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
58 lines · 1.4 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.unspecced.getStoryAuthors",
	"defs": {
		"main": {
			"type": "query",
			"description": "Get authors who have active stories (posted within the last 24 hours).",
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"authors"
					],
					"properties": {
						"authors": {
							"type": "array",
							"items": {
								"type": "ref",
								"ref": "social.grain.unspecced.getStoryAuthors#storyAuthor"
							}
						}
					}
				}
			}
		},
		"storyAuthor": {
			"type": "object",
			"required": [
				"profile",
				"storyCount",
				"latestAt"
			],
			"properties": {
				"profile": {
					"type": "ref",
					"ref": "social.grain.actor.defs#profileView"
				},
				"storyCount": {
					"type": "integer"
				},
				"latestAt": {
					"type": "string",
					"format": "datetime"
				},
				"lastViewedAt": {
					"type": "string",
					"format": "datetime",
					"description": "createdAt of the newest of this author's live stories the requesting account has watched. Compare against latestAt to tell whether the viewer is caught up. Only present for an authenticated viewer who has watched at least one."
				},
				"unviewedCount": {
					"type": "integer",
					"description": "How many of this author's live stories the requesting account has not watched. Only present for an authenticated viewer."
				}
			}
		}
	}
}