~ knotless Search/
↑↓ move↵ open⇧↵ all results

grain.social/grain

photography-focused photo sharing platform

grain.social
1 collaborator
0
2
28 lines · 610 B Raw History
{
  "lexicon": 1,
  "id": "dev.hatk.putPreference",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Set a single preference by key.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["key", "value"],
          "properties": {
            "key": { "type": "string" },
            "value": { "type": "unknown" }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {}
        }
      }
    }
  }
}