social.graze.midterms.putPreferences

lexicons.graze.social

Documentation

Replace the authenticated account's preferences for the Graze 2026 midterms feeds. Returns the preference as stored. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.

main procedure

Replace the authenticated account's preferences for the Graze 2026 midterms feeds. Returns the preference as stored. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.

Input

Encodingapplication/json
content array Required

The reader's chosen feeds, unique. States take turns in the order given; 'national', if included, takes its turn after them. ['national'] alone leaves the feed unchanged. Replaces any stored value.

maxLength: 53 itemsminLength: 1 items

Output

Encodingapplication/json
content array Required

The reader's chosen feeds, unique: state codes in the order they take turns, then 'national' if it is included. Empty when nothing that changes the feed is stored.

Errors

InvalidContent A value is not a known feed, or appears more than once.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Replace the authenticated account's preferences for the Graze 2026 midterms feeds. Returns the preference as stored. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.",
  "errors": [
    {
      "description": "A value is not a known feed, or appears more than once.",
      "name": "InvalidContent"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "content": {
          "description": "The reader's chosen feeds, unique. States take turns in the order given; 'national', if included, takes its turn after them. ['national'] alone leaves the feed unchanged. Replaces any stored value.",
          "items": {
            "description": "'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).",
            "knownValues": [
              "national",
              "ak",
              "al",
              "ar",
              "az",
              "ca",
              "co",
              "ct",
              "dc",
              "de",
              "fl",
              "ga",
              "hi",
              "ia",
              "id",
              "il",
              "in",
              "ks",
              "ky",
              "la",
              "ma",
              "md",
              "me",
              "mi",
              "mn",
              "mo",
              "ms",
              "mt",
              "nc",
              "nd",
              "ne",
              "nh",
              "nj",
              "nm",
              "nv",
              "ny",
              "oh",
              "ok",
              "or",
              "pa",
              "ri",
              "sc",
              "sd",
              "tn",
              "tx",
              "ut",
              "va",
              "vt",
              "wa",
              "wi",
              "wv",
              "wy"
            ],
            "maxLength": 8,
            "type": "string"
          },
          "maxLength": 53,
          "minLength": 1,
          "type": "array"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "content": {
          "description": "The reader's chosen feeds, unique: state codes in the order they take turns, then 'national' if it is included. Empty when nothing that changes the feed is stored.",
          "items": {
            "description": "'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).",
            "knownValues": [
              "national",
              "ak",
              "al",
              "ar",
              "az",
              "ca",
              "co",
              "ct",
              "dc",
              "de",
              "fl",
              "ga",
              "hi",
              "ia",
              "id",
              "il",
              "in",
              "ks",
              "ky",
              "la",
              "ma",
              "md",
              "me",
              "mi",
              "mn",
              "mo",
              "ms",
              "mt",
              "nc",
              "nd",
              "ne",
              "nh",
              "nj",
              "nm",
              "nv",
              "ny",
              "oh",
              "ok",
              "or",
              "pa",
              "ri",
              "sc",
              "sd",
              "tn",
              "tx",
              "ut",
              "va",
              "vt",
              "wa",
              "wi",
              "wv",
              "wy"
            ],
            "maxLength": 8,
            "type": "string"
          },
          "maxLength": 53,
          "type": "array"
        }
      },
      "required": [
        "content"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@