pub.chive.sync.refreshRecord

Refresh a stale record from PDS

Details · procedure
Kindprocedure
Authoritysync.chive.pub
Indexed

Showing version bafyreig3dxci7osudxfm6hrgvmqei5rdviqzhtnwntupkkf4lnj4cwmr5y. Show the latest

Procedure

procedure · POST

Input

application/json

uri

requiredstring · at-uri

AT-URI of the record to refresh

Output

application/json

error

string

Error message if refresh failed

newCid

string · cid

New CID after refresh

refreshed

requiredboolean

Whether refresh succeeded

uri

requiredstring · at-uri

Errors

NotFound

No description in schema.

AuthenticationRequired

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Index a record from PDS (owner or admin only)

  • Read records of the caller's own again from their own PDS, proved (com.atproto.sync.getRecord: the commit signed by the account's key, the record reached from the tree it signed), and keep each, or its absence, at that commit's revision wherever the index keeps its collection: what a client just wrote or deleted shows at once, rather than when the network brings it, and the network's copy of the same revision or an older one changes nothing. A record of a collection grain does not index, or that

  • Check if indexed data is stale compared to PDS

  • Read records of the caller's own again from their own server, proved (com.atproto.sync.getRecord), and keep them as they are now wherever the host keeps their collection: what a site just wrote or deleted for them shows at once, rather than when the network brings it. A record the host doesn't keep is left alone.