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
Kindprocedure
Authoritysync.chive.pub
Indexed
cid bafyreig3dxci7osudxfm6hrgvmqei5rdviqzhtnwntupkkf4lnj4cwmr5y

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.errorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}