fyi.opensocial.applyLabel

Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown. On the host's own queue, a template, a version of one or a like of one is labelled by the host: !hide leaves it out of where people look for things to add, and unsafe, on a version, sends every tab on it back to the last version that isn't.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreihunwnfmvlhc2px6jl2ecgegurhily3v267g6rextvjpacugjtr3i. Show the latest

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. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.

rule

string · at-uri

val

requiredstring

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.