pub.chive.sync.checkStaleness
Check if indexed data is stale compared to PDS
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | sync.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.pdsUrlNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Check if indexed data is stale compared to PDS",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"indexedAt": {
"description": "When the record was indexed",
"format": "datetime",
"type": "string"
},
"indexedCid": {
"description": "CID in our index",
"format": "cid",
"type": "string"
},
"isStale": {
"description": "Whether indexed data is stale",
"type": "boolean"
},
"pdsCid": {
"description": "Current CID on PDS",
"format": "cid",
"type": "string"
},
"pdsUrl": {
"description": "Source PDS URL",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"isStale"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "AT-URI of the record to check",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.sync.checkStaleness",
"lexicon": 1,
"revision": 1
}