From
bafyreigwq6qmwokrc42gqqkjudvafbgmpjms5w4n5deuhzbqcd3any5dtm
indexed 2026-09-25 08:21 UTC
View this version
To
bafyreifpyrvfy3wxmlosezjcbsyvjijzen5dkljcsr5r6mnavy7i7g3zp4
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.importMessages#importedMessage.parentUri" }
- AddedEdge AddedEdge { src: "social.colibri.beta.bridge.importMessages#importedMessage", tgt: "social.colibri.beta.bridge.importMessages#importedMessage.parentUri", kind: "prop", name: Some("parentUri") }
Migration guidance
Added
AddedVertex { vertex_id: "social.colibri.beta.bridge.importMessages#importedMessage.parentUri" }
Notes
- Non-breaking: AddedEdge { src: "social.colibri.beta.bridge.importMessages#importedMessage", tgt: "social.colibri.beta.bridge.importMessages#importedMessage.parentUri", kind: "prop", name: Some("parentUri") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"importResult": {55
"description": "Where an imported message was written.",66
"properties": {77
"remoteMessage": {88
"description": "The message's id on the other service.",99
"maxLength": 256,1010
"type": "string"1111
},1212
"rkey": {1313
"description": "Record key of the record the community wrote.",1414
"format": "record-key",1515
"type": "string"1616
}1717
},1818
"required": [1919
"remoteMessage",2020
"rkey"2121
],2222
"type": "object"2323
},2424
"importedMessage": {2525
"description": "A message from the room's earlier history.",2626
"properties": {2727
"attachments": {2828
"description": "Files attached to the message.",2929
"items": {3030
"description": "A file uploaded earlier with uploadBlob.",3131
"ref": "social.colibri.beta.message#attachment",3232
"type": "ref"3333
},3434
"maxLength": 10,3535
"type": "array"3636
},3737
"author": {3838
"description": "Who sent the message.",3939
"ref": "social.colibri.beta.bridge.defs#remoteAuthor",4040
"type": "ref"4141
},4242
"createdAt": {4343
"description": "When the message was sent on the other service.",4444
"format": "datetime",4545
"type": "string"4646
},4747
"facets": {4848
"description": "Annotations over ranges of the text.",4949
"items": {5050
"description": "An annotation.",5151
"ref": "social.colibri.beta.richtext.facet",5252
"type": "ref"5353
},5454
"type": "array"5555
},5656
"forward": {5757
"description": "Content forwarded from another Colibri message.",5858
"ref": "social.colibri.beta.message#forward",5959
"type": "ref"6060
},6161
"parent": {6262
"description": "The message this one replies to.",6363
"ref": "social.colibri.beta.defs#recordRef",6464
"type": "ref"6565
},66
"parentUri": {67
"description": "The message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.",68
"format": "at-uri",69
"type": "string"70
},6671
"remoteMessage": {6772
"description": "The message's id on the other service.",6873
"maxLength": 256,6974
"type": "string"7075
},7176
"text": {7277
"description": "The message body.",7378
"maxLength": 2048,7479
"type": "string"7580
}7681
},7782
"required": [7883
"author",7984
"text",8085
"remoteMessage",8186
"createdAt"8287
],8388
"type": "object"8489
},8590
"main": {8691
"description": "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.",8792
"errors": [8893
{8994
"description": "The request is missing, malformed, or unverifiable service auth.",9095
"name": "AuthRequired"9196
},9297
{9398
"description": "No community exists at the given DID.",9499
"name": "CommunityNotFound"95100
},96101
{97102
"description": "The community has no bridge registration with that id.",98103
"name": "RegistrationNotFound"99104
},100105
{101106
"description": "The caller is not the bridge this registration belongs to.",102107
"name": "Forbidden"103108
},104109
{105110
"description": "An admin has paused this registration.",106111
"name": "RegistrationDisabled"107112
},108113
{109114
"description": "The channel is not linked to this registration.",110115
"name": "ChannelNotLinked"111116
},112117
{113118
"description": "The bridge sent too many requests. Retry after the interval in the response headers.",114119
"name": "RateLimited"115120
},116121
{117122
"description": "The AppView cannot act as the community because its stored credentials are missing or unusable.",118123
"name": "CredentialsUnavailable"119124
},120125
{121126
"description": "No admin has asked for a history import on this channel.",122127
"name": "BackfillNotRequested"123128
},124129
{125130
"description": "A message was sent before the requested range or after the request.",126131
"name": "OutsideBackfillRange"127132
}128133
],129134
"input": {130135
"encoding": "application/json",131136
"schema": {132137
"properties": {133138
"channel": {134139
"description": "The linked channel, or a thread beside it, the messages go into.",135140
"format": "space-ref",136141
"type": "string"137142
},138143
"community": {139144
"description": "The community the registration belongs to.",140145
"format": "did",141146
"type": "string"142147
},143148
"messages": {144149
"description": "The messages, oldest first.",145150
"items": {146151
"description": "A message.",147152
"ref": "#importedMessage",148153
"type": "ref"149154
},150155
"maxLength": 25,151156
"minLength": 1,152157
"type": "array"153158
},154159
"registration": {155160
"description": "Record key of the registration.",156161
"format": "tid",157162
"type": "string"158163
}159164
},160165
"required": [161166
"community",162167
"registration",163168
"channel",164169
"messages"165170
],166171
"type": "object"167172
}168173
},169174
"output": {170175
"encoding": "application/json",171176
"schema": {172177
"properties": {173178
"results": {174179
"description": "One result per message, in input order.",175180
"items": {176181
"description": "A written message.",177182
"ref": "#importResult",178183
"type": "ref"179184
},180185
"type": "array"181186
}182187
},183188
"required": [184189
"results"185190
],186191
"type": "object"187192
}188193
},189194
"type": "procedure"190195
}191196
},192197
"id": "social.colibri.beta.bridge.importMessages",193198
"lexicon": 1194199
}