Skip to content

Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.

GET
/xrpc/com.atproto.sync.listRepos
curl --request GET \
--url 'https://example.com/xrpc/com.atproto.sync.listRepos?limit=500'
limit
integer
default: 500 >= 1 <= 1000
cursor
string

Success

Media typeapplication/json
object
repos
required
Array<object>
object
did
required
string format: did
rev
required
string format: tid
head
required

Current repo commit CID

string format: cid
active
boolean
status

If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.

string
cursor
string

Example generated

{
"repos": [
{
"did": "example",
"rev": "example",
"head": "example",
"active": true,
"status": "example"
}
],
"cursor": "example"
}