social.colibri.community.suppressMessageEmbeds

Suppresses link previews on a message within a community by writing a suppressEmbeds moderation record. Does not touch the author's own suppression, which only the author may change.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 not from the namespace authority
Details · procedure
Kindprocedure
Authoritycommunity.colibri.social
Indexed

Procedure

procedure · POST

Parameters

query string

community

requiredstring · at-uri

embeds

requiredarray

URLs whose previews should be suppressed.

itemsstring · uri

message

requiredstring · at-uri

Output

application/json

message

requiredstring · at-uri

Errors

AppViewNotAuthorized

The acting account has not published this AppView as authorized to act for it.

AuthRequired

Missing, malformed, or unverifiable service auth.

CommunityCredentialsUnrecoverable

The AppView cannot write to the community's repo and could not repair its own access.

Forbidden

The caller lacks the permission this method requires.

InvalidRequest

A parameter or body field was missing or malformed.

NotCommunityHub

This AppView does not administer the community; the hub field names the one that does.

PdsUnavailable

The PDS this operation needs is unreachable or is not a PDS.

UpstreamFailure

A service outside this AppView failed.

Similar lexicons

semantic match

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

  • social.colibri.community.unsuppressMessageEmbeds

    procedure not from the namespace authority

    Restores link previews a moderator previously suppressed. Cannot restore previews the author suppressed themselves.

  • social.colibri.community.blockMessage

    procedure not from the namespace authority

    Hides (moderates) a message within a community.

  • Hides a Colibri member's message after a moderator removed its copy on the other service. The community applies a hidden label to the message. Works only when an admin has turned on moderation mirroring for the registration.

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