social.colibri.beta.bridge.postMessage

Posts a message from someone on another service into a linked channel. The community writes the message, attributed to that person.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritybridge.beta.colibri.social
Indexed

Procedure

procedure · POST

Input

application/json

Files attached to the message.

  • maxLength: 10
itemsref

A file uploaded earlier with uploadBlob.

author

requiredref

Who sent the message.

channel

requiredstring · space-ref

The linked channel or thread the record lives in.

community

requiredstring · did

The community the registration belongs to.

createdAt

string · datetime

When the message was sent on the other service. Defaults to now.

facets

array

Annotations over ranges of the text.

itemsref

An annotation.

Content forwarded from another Colibri message.

The message this one replies to.

parentUri

string · at-uri

The message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.

registration

requiredstring · tid

Record key of the registration.

The message's id on the other service.

  • maxLength: 256

text

requiredstring

The message body.

  • maxLength: 2048

Output

application/json

rkey

requiredstring · record-key

Record key of the record the community wrote.

Errors

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

Similar lexicons

semantic match

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