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
const url = 'https://example.com/xrpc/com.atproto.sync.getRepo?did=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/com.atproto.sync.getRepo?did=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”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.
Responses
Section titled “Responses”Success
Media typeapplication/vnd.ipld.car
Bad Request
