com.atproto.sync.listRepos
GET/xrpc/com.atproto.sync.listRepos
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.
Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.
Request
Query Parameters
Possible values: >= 1
and <= 1000
Default value: 500
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
repos
object[]
required
Current repo commit CID
Possible values: [takendown
, suspended
, deactivated
]
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.
{
"cursor": "string",
"repos": [
{
"did": "string",
"head": "string",
"rev": "string",
"active": true,
"status": "takendown"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}