fyi.opensocial.applyLabel

Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Procedure

procedure · POST

Input

application/json

group

requiredstring · did

The group DID. Every method is served by the group's host and authorized against that group's roles.

rule

string · at-uri

val

requiredstring
  • maxLength: 128

Output

application/json

cid

string · cid

uri

string · at-uri

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Negate a previously applied label. Requires label, or takedown for !hide and !takedown.

  • Applies a label to a record in one of the community's spaces. This is how content is hidden, marked as a spoiler, or has its link previews suppressed. The record itself is untouched, since it lives in its author's own repo, but a `hidden` label stops this AppView serving the record: it is withheld from reads and from the events socket, and replies to it see a deletedMessageView in its place. Moderators holding `label.apply` and the record's own author still see it.

  • A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.

  • Add a label to a post.

  • Add a label to an account.