tools.umbrae.private.getRecords

Records by URI, for a viewer who passes their owner's rules. Either form names a private account's record: its at:space URI in the private space, or its public at:// alias. A missing record and one the viewer may not see both come back as notFound. Served by the private account's serving app (the servingApp of its declaration), with atproto service auth (iss the viewer, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.

Details · query
Kindquery
Authorityprivate.umbrae.tools
Commit rev3n3d5ftg3nc2e
Indexed
cid bafyreid4pxvwn7morjkemxqm2zgi3s53pbew3lgpve7u3cgoz54mbhldbm

Checks

Valid
  • unlimited-string defs.main.parameters.properties.uris.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.notFound.properties.uriNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.record.properties.uriNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Records by URI, for a viewer who passes their owner's rules. Either form names a private account's record: its at:space URI in the private space, or its public at:// alias. A missing record and one the viewer may not see both come back as notFound. Served by the private account's serving app (the servingApp of its declaration), with atproto service auth (iss the viewer, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "records": {
              "description": "One per URI asked for, in order.",
              "items": {
                "refs": [
                  "#record",
                  "#notFound"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "items": {
              "type": "string"
            },
            "maxLength": 25,
            "type": "array"
          }
        },
        "required": [
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "notFound": {
      "description": "Missing, or not allowed: the two look the same.",
      "properties": {
        "uri": {
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "record": {
      "description": "A record, raw. The viewer's app or client renders it with its native renderers. Where a record refers to a post the viewer can't see, it shows tools.umbrae.community.defs#unavailablePost.",
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "Where the record lives now: its at:space URI, or its at:// URI for a public one.",
          "type": "string"
        },
        "value": {
          "type": "unknown"
        }
      },
      "required": [
        "uri",
        "cid",
        "author",
        "value"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.private.getRecords",
  "lexicon": 1
}