social.grain.actor.getPreferences

Get the viewer's grain preferences, one of each kind they have set. Requires auth.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · query
Kindquery
Authorityactor.grain.social
Commit rev3n2mx2l6zepbg
Indexed
cid bafyreia2vlyo3bx2ocrimhe65fxixk2zulyejrojnfg4mfu32emabp2bvy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the viewer's grain preferences, one of each kind they have set. Requires auth.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "ref": "social.grain.actor.defs#preferences",
              "type": "ref"
            }
          },
          "required": [
            "preferences"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "social.grain.actor.getPreferences",
  "lexicon": 1
}