blue.microcosm.repo.getRecordByUri

Get a single record from a repository by at-uri

Repository @microcosm.blue did:plc:lulmyldiq4sb2ikags5sfb25 namespace authority
Details · query
Kindquery
Authorityrepo.microcosm.blue
Indexed

Query

query · GET

Parameters

query string

at_uri

requiredstring · at-uri

The at-uri of the record. The identifier can be a DID or an atproto handle. The collection and rkey segments must be present.

cid

string · cid

The CID of the version of the record. If not specified, then return the most recent version. If specified and a newer version of the record exists, returns 404 not found.

Output

application/json

cid

string · cid

uri

requiredstring · at-uri

value

requiredunknown

Errors

RecordNotFound

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • ergonomic complement to com.atproto.repo.getRecord which accepts an at-uri instead of individual repo/collection/rkey params

  • 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 a single record from a permissioned space. Spec-shaped mirror of com.atproto.space.getRecord (atproto#5187): callable with standard user auth (the caller must be a member of the space) or with a space credential for that space (for syncing services). The record must belong to the requested space; records outside it - including records with no space at all - resolve to RecordNotFound (no existence leak).