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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | bridge.beta.colibri.social |
| Indexed |
Showing version bafyreib6yy3k7tvydxdgvb4n2x6wc3tvijnyvq3z5dgdn7uanwkfxtj5ya. Show the latest
Procedure
procedure · POSTInput
application/jsonattachments
arrayFiles attached to the message.
maxLength: 10
A file uploaded earlier with uploadBlob.
Who sent the message.
The linked channel or thread the record lives in.
The community the registration belongs to.
createdAt
string · datetimeWhen the message was sent on the other service. Defaults to now.
facets
arrayAnnotations over ranges of the text.
An annotation.
forward
refContent forwarded from another Colibri message.
parent
refThe message this one replies to.
parentUri
string · at-uriThe message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.
Record key of the registration.
remoteMessage
stringThe message's id on the other service.
maxLength: 256
The message body.
maxLength: 2048
Output
application/jsonRecord 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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Imports earlier messages from someone on another service into a linked channel or a thread beside it, after an admin asked for a history import. The community writes each message at its original time, and clients see them only when they load history.
-
social.colibri.beta.bridge.editMessage
procedureReplaces the text of a message the calling bridge posted.
-
social.colibri.beta.bridge.addReaction
procedureAdds a reaction from someone on another service to a message in a linked channel. The community writes the reaction, attributed to that person.
-
social.colibri.beta.bridge.createThread
procedureOpens a thread beside a linked channel for someone on another service. The community writes the thread, attributed to that person.
-
social.colibri.beta.bridge.deleteMessage
procedureDeletes a message the calling bridge posted.