Skip to main content

com.atproto.repo.getRecord

GET 

/xrpc/com.atproto.repo.getRecord

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

Query Parameters

    repo at-identifierrequired

    The handle or DID of the repo.

    collection nsidrequired

    The NSID of the record collection.

    rkey stringrequired

    The Record Key.

    cid cid

    The CID of the version of the record. If not specified, then return the most recent version.

Responses

OK

Schema

    uri at-urirequired
    cid cid
    value required
Loading...