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
Kindprocedure
Authorityknotless.dev
Indexed

Showing version bafyreiax6o6vb5h56mjna6odaop7o5tayf4bzp2kxtdi6e2z2ab54jr4gy. Show the latest

Procedure

procedure · POST

Input

application/json

preferences

requiredarray

The preferences to set, at most one of each kind.

  • maxLength: 32

Output

application/json

Errors

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 match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.