fyi.opensocial.refreshRecords

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.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreiheixkjkph6jxkhf35fhdmoeoldxut4kfxw3kjgjvgtunev5bvkeu

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "errors": [
        {
          "name": "NotYours"
        },
        {
          "name": "Unreachable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "uris": {
              "description": "Records in the caller's own repo.",
              "items": {
                "format": "at-uri",
                "type": "string"
              },
              "maxLength": 25,
              "type": "array"
            }
          },
          "required": [
            "uris"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "records": {
              "items": {
                "ref": "#recordView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "recordView": {
      "properties": {
        "cid": {
          "description": "Its CID as it is now; left out once it's gone.",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    }
  },
  "id": "fyi.opensocial.refreshRecords",
  "lexicon": 1
}