Skip to content

Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.

GET
/xrpc/com.atproto.sync.getRepo
curl --request GET \
--url 'https://example.com/xrpc/com.atproto.sync.getRepo?did=example'
did
required

The DID of the repo.

string format: did

The DID of the repo.

since

The revision (‘rev’) of the repo to create a diff from.

string format: tid

The revision (‘rev’) of the repo to create a diff from.

Success

Media typeapplication/vnd.ipld.car

Bad Request

Media typeapplication/json
object
error
required
One of:
string
Allowed value: RepoNotFound
message
required
string

Example

{
"error": "RepoNotFound"
}