social.graze.midterms.putPreferences
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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | midterms.graze.social |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe 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.
minLength: 1maxLength: 53
'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).
maxLength: 8knownValues: 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
Output
application/jsonThe 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.
maxLength: 53
'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).
maxLength: 8knownValues: 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
Errors
InvalidContent
A value is not a known feed, or appears more than once.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get the authenticated account's preferences for the Graze 2026 midterms feeds. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.
-
social.graze.midterms.deletePreferences
procedureClear the authenticated account's preferences for the Graze 2026 midterms feeds, returning them to the default national feed. Afterwards getPreferences returns an empty content array. Succeeds when nothing is stored. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.