Replaces the text of a message the calling bridge posted.
Input
Encoding
application/jsonchannel
stringspace-ref
Required
The linked channel or thread the record lives in.
community
stringdid
Required
The community the registration belongs to.
facets
array
Optional
Annotations over ranges of the new text.
registration
stringtid
Required
Record key of the registration.
rkey
stringrecord-key
Required
Record key of the message.
text
string
Required
The new message body.
maxLength: 2048 bytesOutput
Encoding
application/jsonErrors
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. RecordNotFound
No record exists at the given key in that channel. NotBridged
The target record was not written for this registration. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Replaces the text of a message the calling bridge posted.",
"errors": [
{
"description": "The request is missing, malformed, or unverifiable service auth.",
"name": "AuthRequired"
},
{
"description": "No community exists at the given DID.",
"name": "CommunityNotFound"
},
{
"description": "The community has no bridge registration with that id.",
"name": "RegistrationNotFound"
},
{
"description": "The caller is not the bridge this registration belongs to.",
"name": "Forbidden"
},
{
"description": "An admin has paused this registration.",
"name": "RegistrationDisabled"
},
{
"description": "The channel is not linked to this registration.",
"name": "ChannelNotLinked"
},
{
"description": "The bridge sent too many requests. Retry after the interval in the response headers.",
"name": "RateLimited"
},
{
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
"name": "CredentialsUnavailable"
},
{
"description": "No record exists at the given key in that channel.",
"name": "RecordNotFound"
},
{
"description": "The target record was not written for this registration.",
"name": "NotBridged"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"channel": {
"description": "The linked channel or thread the record lives in.",
"format": "space-ref",
"type": "string"
},
"community": {
"description": "The community the registration belongs to.",
"format": "did",
"type": "string"
},
"facets": {
"description": "Annotations over ranges of the new text.",
"items": {
"description": "An annotation.",
"ref": "social.colibri.beta.richtext.facet",
"type": "ref"
},
"type": "array"
},
"registration": {
"description": "Record key of the registration.",
"format": "tid",
"type": "string"
},
"rkey": {
"description": "Record key of the message.",
"format": "record-key",
"type": "string"
},
"text": {
"description": "The new message body.",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"community",
"registration",
"channel",
"rkey",
"text"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
}