app.thesocialwire.appview.exportReadState
Export legacy read state in stable boundary, unread, read order. Supply expectedLegacyRevision on every continuation; any concurrent legacy mutation invalidates the export. No source data is deleted.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | appview.thesocialwire.app |
| Commit rev | 3n2ums642xe2h |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Export legacy read state in stable boundary, unread, read order. Supply expectedLegacyRevision on every continuation; any concurrent legacy mutation invalidates the export. No source data is deleted.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "Conflict"
},
{
"name": "UpstreamUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 4096,
"type": "string"
},
"expectedLegacyRevision": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"limit": {
"default": 100,
"maximum": 500,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"maxLength": 4096,
"type": "string"
},
"legacyRevision": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"rows": {
"items": {
"properties": {
"actedAt": {
"format": "datetime",
"maxLength": 2048,
"type": "string"
},
"boundary": {
"ref": "app.thesocialwire.readStateDefs#boundary",
"type": "ref"
},
"kind": {
"enum": [
"boundary",
"unread",
"read"
],
"maxLength": 8,
"type": "string"
},
"subjectUri": {
"maxLength": 2048,
"type": "string"
}
},
"required": [
"kind",
"actedAt"
],
"type": "object"
},
"maxLength": 500,
"type": "array"
}
},
"required": [
"legacyRevision",
"rows"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.thesocialwire.appview.exportReadState",
"lexicon": 1
}