- blog.brookie.atprotify.authFull permission-set
- blog.brookie.atprotify.getPreferences query Get a registered device's notification preferences for the authenticated account. Requires service auth bound to this method.
- blog.brookie.atprotify.listRules query List the notification rules this relay runs, so an app can show a toggle for each. No auth needed.
- blog.brookie.atprotify.registerPush procedure Register a device to receive push notifications for the authenticated account, or update its preferences. Requires service auth bound to this method. Calling it again for the same platform and token updates the registration.
- blog.brookie.atprotify.unregisterPush procedure Stop sending push notifications for an account to a device. Other accounts on the same device are unaffected. Send a service-auth token bound to this method, or no token and the account's did: knowing the device token is proof enough to take it off the relay, so an app can still unregister an account whose session has expired.
- blog.brookie.poll.option record A single answer option for a poll. Lives in the poll author's repo; votes are counted as backlinks to this record's at-uri.
- blog.brookie.poll.question record A poll published in the author's repo. Options are strong refs to blog.brookie.poll.option records created beforehand in the same repo, so the poll pins the exact option content it was published with.
- blog.brookie.poll.vote record A vote for one poll option. Created in the voting authority's repo (not the voter's), which keeps voting anonymous. subject strong-refs the chosen blog.brookie.poll.option record; counting is done via microcosm/constellation backlinks on .subject.uri.
- blog.brookie.vault.document record A document in a vault. The record key is the document's permanent identity; the path is a mutable field, which is what makes a rename a one-field update rather than a delete and recreate.
- blog.brookie.vault.info record What a vault is called. The protocol gives a space no name of its own — a space type declaration names the type, so every vault of this type would read alike — so the name lives here, inside the space, where it travels with it and any client can read it.
- blog.brookie.vault.space space A vault of Markdown documents, presented as files and folders by clients such as Obsidian.