full diff

social.colibri.beta.bridge.postMessage

colibri.social +5 −0
From
bafyreifd3f6bydntkicpngswxqhtpgv2x5gyirmoq54jouzg2iwowyavmu indexed 2026-09-25 08:21 UTC View this version
To
bafyreib6yy3k7tvydxdgvb4n2x6wc3tvijnyvq3z5dgdn7uanwkfxtj5ya indexed 2026-11-06 07:30 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.bridge.postMessage:input.parentUri" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.bridge.postMessage:input", tgt: "social.colibri.beta.bridge.postMessage:input.parentUri", kind: "prop", name: Some("parentUri") }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.colibri.beta.bridge.postMessage:input.parentUri" }

Notes

  • Non-breaking: AddedEdge { src: "social.colibri.beta.bridge.postMessage:input", tgt: "social.colibri.beta.bridge.postMessage:input.parentUri", kind: "prop", name: Some("parentUri") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Posts a message from someone on another service into a linked channel. The community writes the message, attributed to that person.",
66 "errors": [
77 {
88 "description": "The request is missing, malformed, or unverifiable service auth.",
99 "name": "AuthRequired"
1010 },
1111 {
1212 "description": "No community exists at the given DID.",
1313 "name": "CommunityNotFound"
1414 },
1515 {
1616 "description": "The community has no bridge registration with that id.",
1717 "name": "RegistrationNotFound"
1818 },
1919 {
2020 "description": "The caller is not the bridge this registration belongs to.",
2121 "name": "Forbidden"
2222 },
2323 {
2424 "description": "An admin has paused this registration.",
2525 "name": "RegistrationDisabled"
2626 },
2727 {
2828 "description": "The channel is not linked to this registration.",
2929 "name": "ChannelNotLinked"
3030 },
3131 {
3232 "description": "The bridge sent too many requests. Retry after the interval in the response headers.",
3333 "name": "RateLimited"
3434 },
3535 {
3636 "description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",
3737 "name": "CredentialsUnavailable"
3838 }
3939 ],
4040 "input": {
4141 "encoding": "application/json",
4242 "schema": {
4343 "properties": {
4444 "attachments": {
4545 "description": "Files attached to the message.",
4646 "items": {
4747 "description": "A file uploaded earlier with uploadBlob.",
4848 "ref": "social.colibri.beta.message#attachment",
4949 "type": "ref"
5050 },
5151 "maxLength": 10,
5252 "type": "array"
5353 },
5454 "author": {
5555 "description": "Who sent the message.",
5656 "ref": "social.colibri.beta.bridge.defs#remoteAuthor",
5757 "type": "ref"
5858 },
5959 "channel": {
6060 "description": "The linked channel or thread the record lives in.",
6161 "format": "space-ref",
6262 "type": "string"
6363 },
6464 "community": {
6565 "description": "The community the registration belongs to.",
6666 "format": "did",
6767 "type": "string"
6868 },
6969 "createdAt": {
7070 "description": "When the message was sent on the other service. Defaults to now.",
7171 "format": "datetime",
7272 "type": "string"
7373 },
7474 "facets": {
7575 "description": "Annotations over ranges of the text.",
7676 "items": {
7777 "description": "An annotation.",
7878 "ref": "social.colibri.beta.richtext.facet",
7979 "type": "ref"
8080 },
8181 "type": "array"
8282 },
8383 "forward": {
8484 "description": "Content forwarded from another Colibri message.",
8585 "ref": "social.colibri.beta.message#forward",
8686 "type": "ref"
8787 },
8888 "parent": {
8989 "description": "The message this one replies to.",
9090 "ref": "social.colibri.beta.defs#recordRef",
9191 "type": "ref"
9292 },
93 "parentUri": {
94 "description": "The message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.",
95 "format": "at-uri",
96 "type": "string"
97 },
9398 "registration": {
9499 "description": "Record key of the registration.",
95100 "format": "tid",
96101 "type": "string"
97102 },
98103 "remoteMessage": {
99104 "description": "The message's id on the other service.",
100105 "maxLength": 256,
101106 "type": "string"
102107 },
103108 "text": {
104109 "description": "The message body.",
105110 "maxLength": 2048,
106111 "type": "string"
107112 }
108113 },
109114 "required": [
110115 "community",
111116 "registration",
112117 "channel",
113118 "author",
114119 "text"
115120 ],
116121 "type": "object"
117122 }
118123 },
119124 "output": {
120125 "encoding": "application/json",
121126 "schema": {
122127 "properties": {
123128 "rkey": {
124129 "description": "Record key of the record the community wrote.",
125130 "format": "record-key",
126131 "type": "string"
127132 }
128133 },
129134 "required": [
130135 "rkey"
131136 ],
132137 "type": "object"
133138 }
134139 },
135140 "type": "procedure"
136141 }
137142 },
138143 "id": "social.colibri.beta.bridge.postMessage",
139144 "lexicon": 1
140145}

Compare other versions