com.atproto.sync.getRecord
GET/xrpc/com.atproto.sync.getRecord
This endpoint is part of the atproto repository synchronization APIs. Requests usually do not require authentication, and can be made to PDS intances or Relay instances.*
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.
Request
Query Parameters
did didrequired
The DID of the repo.
collection nsidrequired
rkey stringrequired
Record Key
Responses
- 200
- 400
- 401
OK
- application/vnd.ipld.car
- Schema
Schema
any
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, RecordNotFound
, RepoNotFound
, RepoTakendown
, RepoSuspended
, RepoDeactivated
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...