com.bad-example.repo.getUriRecord

bad-example.com

{
  "id": "com.bad-example.repo.getUriRecord",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "value"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "CID for this exact version of the record"
            },
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "at-uri for this record"
            },
            "value": {
              "type": "unknown",
              "description": "the record itself"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "at_uri"
        ],
        "properties": {
          "cid": {
            "type": "string",
            "format": "cid",
            "description": "optional CID of the version of the record. if not specified, return the most recent version. if specified and a newer version exists, returns 404."
          },
          "at_uri": {
            "type": "string",
            "format": "at-uri",
            "description": "the at-uri of the record (identifier can be a DID or handle)"
          }
        }
      },
      "description": "ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against com.bad-example.repo.getUriRecord

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:hdhoaan3xa3jiuq4fg4mefid
CID
bafyreifcfrscieoglneml2mk3grkokeidrgddlvh6jxe543ade4qr6ylie
Indexed At
2026-04-06 20:22 UTC
AT-URI
at://did:plc:hdhoaan3xa3jiuq4fg4mefid/com.atproto.lexicon.schema/com.bad-example.repo.getUriRecord

Lexicon Garden

@