social.colibri.beta.polyfill.getRecord

Reads one record from the requesting user's repo in a space the AppView hosts for them.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authoritypolyfill.beta.colibri.social
Commit rev3n2beo2ii2t22
Indexed
cid bafyreif4eh7atr3kyaap35mit6heuht7tvlo6ceqaymj2swgx4bdtz4h7m

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reads one record from the requesting user's repo in a space the AppView hosts for them.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The arguments are inconsistent or malformed beyond schema validation.",
          "name": "InvalidRequest"
        },
        {
          "description": "No space matches the given space reference.",
          "name": "SpaceNotFound"
        },
        {
          "description": "The caller may not write to or read from this repo in the space.",
          "name": "NotAuthorized"
        },
        {
          "description": "The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.",
          "name": "RepoNotHosted"
        },
        {
          "description": "No record matches.",
          "name": "RecordNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "social.colibri.beta.polyfill.defs#recordView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "description": "The record's collection.",
            "format": "nsid",
            "type": "string"
          },
          "rkey": {
            "description": "The record key.",
            "format": "record-key",
            "type": "string"
          },
          "space": {
            "description": "The space holding the repo.",
            "format": "space-ref",
            "type": "string"
          }
        },
        "required": [
          "space",
          "collection",
          "rkey"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.polyfill.getRecord",
  "lexicon": 1
}