com.atproto.repo.get Record

GET {{baseUrl}}/xrpc/com.atproto.repo.getRecord?repo=<at-identifier>&collection=<nsid>&rkey=<string>&cid=<cid>

This endpoint is part of the atproto PDS repository management APIs. Requests usually require authentication (unlike the `com.atproto.sync.` endpoints), and are made directly to the user's own PDS instance.*

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Get a single record from a repository. Does not require auth.

Request Params

KeyDatatypeRequiredDescription
repostring(Required) The handle or DID of the repo.
collectionstring(Required) The NSID of the record collection.
rkeystring(Required) The Record Key.
cidstringThe CID of the version of the record. If not specified, then return the most recent version.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;uri&quot;:&quot;\u003cat-uri\u003e&quot;,&quot;value&quot;:{},&quot;cid&quot;:&quot;\u003ccid\u003e&quot;}