com.atproto.sync.listRepos
GET/com.atproto.sync.listRepos
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
limit integer
Possible values: >= 1
and <= 1000
Default value: 500
cursor string
Responses
- 200
- 400
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
cursor string
repos
object[]
required
did didrequired
head cidrequired
Current repo commit CID
rev stringrequired
active boolean
status string
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
error stringrequired
Possible values: [InvalidRequest
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Loading...