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
Key | Datatype | Required | Description |
---|---|---|---|
repo | string | (Required) The handle or DID of the repo. | |
collection | string | (Required) The NSID of the record collection. | |
rkey | string | (Required) The Record Key. | |
cid | string | The CID of the version of the record. If not specified, then return the most recent version. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"uri":"\u003cat-uri\u003e","value":{},"cid":"\u003ccid\u003e"}