com.atproto.sync.getBlocks
GET/xrpc/com.atproto.sync.getBlocks
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 from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.
Request
Query Parameters
did didrequired
The DID of the repo.
cids cid[]required
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
, BlockNotFound
, 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...