~ 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
53 lines · 1.1 KB Raw History
{
	"lexicon": 1,
	"id": "social.grain.notification.registerPush",
	"defs": {
		"main": {
			"type": "procedure",
			"description": "Register a device's push token for the viewer, as app.bsky.notification.registerPush does. Requires auth.",
			"input": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"required": [
						"serviceDid",
						"token",
						"platform",
						"appId"
					],
					"properties": {
						"serviceDid": {
							"type": "string",
							"format": "did",
							"description": "The service that sends the pushes: this server's DID."
						},
						"token": {
							"type": "string",
							"maxLength": 4096
						},
						"platform": {
							"type": "string",
							"knownValues": [
								"ios",
								"android",
								"web"
							]
						},
						"appId": {
							"type": "string",
							"maxLength": 256,
							"description": "The app's bundle or package id."
						}
					}
				}
			},
			"output": {
				"encoding": "application/json",
				"schema": {
					"type": "object",
					"properties": {}
				}
			}
		}
	}
}