pub.chive.sync.refreshRecord
Refresh a stale record from PDS
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · procedure
| Kind | procedure |
|---|---|
| Authority | sync.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.errorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Refresh a stale record from PDS",
"errors": [
{
"name": "NotFound"
},
{
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "AT-URI of the record to refresh",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"error": {
"description": "Error message if refresh failed",
"type": "string"
},
"newCid": {
"description": "New CID after refresh",
"format": "cid",
"type": "string"
},
"refreshed": {
"description": "Whether refresh succeeded",
"type": "boolean"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"refreshed"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.sync.refreshRecord",
"lexicon": 1,
"revision": 1
}