dev.knotless.putPreferences
Changes the asking account's preferences, as the appview keeps them: each one given takes the place of the one of its kind, and the rest stay. Answers them all, as dev.knotless.getPreferences does. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe preferences to set, at most one of each kind.
maxLength: 32
Output
application/jsonschema
refErrors
InvalidRequest
A kind of preference the appview does not keep, or one not as its kind says: a theme not named as the pages name theirs, or a reason the appview does not give.
AuthenticationRequired
No account asks.
NotFound
This appview keeps no index, so it keeps no preferences.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
The asking account's preferences, of how knotless is shown to it.
-
social.grain.actor.setPreference
procedureSet one of the viewer's grain preferences: the one of its $type they have is replaced by it, or it is added where they have none, and every other kind is left as it is. Answers the whole set after. Requires auth.
-
app.bsky.notification.putPreferences
procedureSet notification-related preferences for an account. Requires auth.
-
social.grain.actor.putPreferences
procedureSet the viewer's grain preferences, replacing all of them, as app.bsky.actor.putPreferences does. Requires auth.
-
so.sprk.notification.putPreferences
procedureSet notification-related preferences for an account. Requires auth.