com.bad-example.repo.getUriRecord
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID for this exact version of the record",
"format": "cid",
"type": "string"
},
"uri": {
"description": "at-uri for this record",
"format": "at-uri",
"type": "string"
},
"value": {
"description": "the record itself",
"type": "unknown"
}
},
"required": [
"uri",
"value"
],
"type": "object"
}
},
"parameters": {
"properties": {
"at_uri": {
"description": "the at-uri of the record (identifier can be a DID or handle)",
"format": "at-uri",
"type": "string"
},
"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.",
"format": "cid",
"type": "string"
}
},
"required": [
"at_uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "com.bad-example.repo.getUriRecord",
"lexicon": 1
}
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
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get a single record from a repository by at-uri
-
Get a single record from a repository. Does not require auth.
-
Hydrate a single record by URI. Returns the record if viewer has boundary access.
-
Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.
-
Get details about a record.