social.grain.admin.applyLabel

Apply a label as this server's labeler. Requires an admin session.

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · procedure
Kindprocedure
Authorityadmin.grain.social
Commit rev3n2mx2lbpz6bg
Indexed

Procedure

procedure · POST

Input

application/json

uri

requiredstring · uri

An account's bare DID, or a record's at:// URI.

val

requiredstring
  • maxLength: 128

Output

application/json

Similar lexicons

semantic match

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

  • Negate a label this server's labeler applied. Requires an admin session.

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

  • Add a label to an account.

  • Add a label to a post.

  • 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.