pub.chive.sync.refreshRecord

chive.pub View official

Documentation

Refresh a stale record from PDS

main procedure

Refresh a stale record from PDS

Input

Encodingapplication/json
uri stringat-uri Required

AT-URI of the record to refresh

Output

Encodingapplication/json
error string Optional

Error message if refresh failed

newCid stringcid Optional

New CID after refresh

refreshed boolean Required

Whether refresh succeeded

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Errors

NotFound
AuthenticationRequired
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@