fyi.opensocial.putRule
Create or update a rule. Requires group.configure. Fields are inlined rather than referencing fyi.opensocial.rule, because a record def cannot be used as an input object — same fix as updateProfile.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe group DID. Every method is served by the group's host and authorized against that group's roles.
order
integerWhere it comes in the list, lowest first. Omitted keeps an existing rule's place and puts a new one last.
minimum: 0
rkey
string · record-keytext
stringmaxLength: 20000maxGraphemes: 2000
maxLength: 1000maxGraphemes: 100
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
fyi.opensocial.rule
recordOne group rule, with a stable URI a moderation action can cite.
-
fyi.opensocial.putRole
procedureCreate or update a role and its grant. Requires group.configure.
-
fyi.opensocial.deleteRule
procedureRemove a rule. Requires group.configure.
-
fyi.opensocial.applyLabel
procedureWrite a label record into the subject's space. Requires label, or takedown for !hide and !takedown.