blog.brookie.atprotify.getPreferences
Get a registered device's notification preferences for the authenticated account. Requires service auth bound to this method.
Details · query
| Kind | query |
|---|---|
| Authority | atprotify.brookie.blog |
| Commit rev | 3n2s2in22rc2b |
| Indexed |
Showing version bafyreickxxtwwon5osi23ba3tzd7cmcohsvaubrjlnl6glvw2kbvpcnsy4. Show the latest
Query
query · GETOutput
application/jsonschema
refErrors
NotFound
The device isn't registered for this account.
#preferences
objectProperties
chat
stringWhat the relay holds for the account's direct messages: no grant, unread counts only, or previews (sender and text).
knownValues: none | counts | previews
#subscription
objectSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.
-
Get notification-related preferences for an account. Requires auth.
-
Get notification-related preferences for an account. Requires auth.
-
Get notification preferences for the authenticated account.
-
Returns the authenticated user's notification level, defaulting to 'all' when they haven't set one.