full diff

social.colibri.beta.bridge.postMessage

colibri.social +3 −3
From
bafyreib6yy3k7tvydxdgvb4n2x6wc3tvijnyvq3z5dgdn7uanwkfxtj5ya indexed 2026-11-06 07:30 UTC View this version
To
bafyreicssn6mnw6ct6vg237fk2bt5cfjp5ehtqilypl35nrfe5mtsy2ymq indexed 2026-11-24 10:57 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Posts a message from someone on another service into a linked channel. The community writes the message, attributed to that person.",
5 "description": "Posts a message from someone on another service into a linked or open 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 {
28 "description": "The channel is not linked to this registration.",
28 "description": "The channel is neither linked nor open 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": {
60 "description": "The linked channel or thread the record lives in.",
60 "description": "The linked or open 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 },
9393 "parentUri": {
9494 "description": "The message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.",
9595 "format": "at-uri",
9696 "type": "string"
9797 },
9898 "registration": {
9999 "description": "Record key of the registration.",
100100 "format": "tid",
101101 "type": "string"
102102 },
103103 "remoteMessage": {
104104 "description": "The message's id on the other service.",
105105 "maxLength": 256,
106106 "type": "string"
107107 },
108108 "text": {
109109 "description": "The message body.",
110110 "maxLength": 2048,
111111 "type": "string"
112112 }
113113 },
114114 "required": [
115115 "community",
116116 "registration",
117117 "channel",
118118 "author",
119119 "text"
120120 ],
121121 "type": "object"
122122 }
123123 },
124124 "output": {
125125 "encoding": "application/json",
126126 "schema": {
127127 "properties": {
128128 "rkey": {
129129 "description": "Record key of the record the community wrote.",
130130 "format": "record-key",
131131 "type": "string"
132132 }
133133 },
134134 "required": [
135135 "rkey"
136136 ],
137137 "type": "object"
138138 }
139139 },
140140 "type": "procedure"
141141 }
142142 },
143143 "id": "social.colibri.beta.bridge.postMessage",
144144 "lexicon": 1
145145}

Compare other versions