full diff

pub.chive.sync.checkStaleness

From
bafyreifgtwl5medtywn2sjt2i4fo77aq75fm2l7ot3qkb76nc3exwo56ji indexed 2026-06-18 13:14 UTC View this version
To
bafyreifgtwl5medtywn2sjt2i4fo77aq75fm2l7ot3qkb76nc3exwo56ji indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Check if indexed data is stale compared to PDS",
66 "errors": [
77 {
88 "name": "NotFound"
99 }
1010 ],
1111 "output": {
1212 "encoding": "application/json",
1313 "schema": {
1414 "properties": {
1515 "indexedAt": {
1616 "description": "When the record was indexed",
1717 "format": "datetime",
1818 "type": "string"
1919 },
2020 "indexedCid": {
2121 "description": "CID in our index",
2222 "format": "cid",
2323 "type": "string"
2424 },
2525 "isStale": {
2626 "description": "Whether indexed data is stale",
2727 "type": "boolean"
2828 },
2929 "pdsCid": {
3030 "description": "Current CID on PDS",
3131 "format": "cid",
3232 "type": "string"
3333 },
3434 "pdsUrl": {
3535 "description": "Source PDS URL",
3636 "type": "string"
3737 },
3838 "uri": {
3939 "format": "at-uri",
4040 "type": "string"
4141 }
4242 },
4343 "required": [
4444 "uri",
4545 "isStale"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "parameters": {
5151 "properties": {
5252 "uri": {
5353 "description": "AT-URI of the record to check",
5454 "format": "at-uri",
5555 "type": "string"
5656 }
5757 },
5858 "required": [
5959 "uri"
6060 ],
6161 "type": "params"
6262 },
6363 "type": "query"
6464 }
6565 },
6666 "id": "pub.chive.sync.checkStaleness",
6767 "lexicon": 1,
6868 "revision": 1
6969}