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.
Details · query
| Kind | query |
|---|---|
| Authority | sync.atproto.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.repo.properties.statusNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"repos": {
"items": {
"ref": "#repo",
"type": "ref"
},
"type": "array"
}
},
"required": [
"repos"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 500,
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
},
"repo": {
"properties": {
"active": {
"type": "boolean"
},
"did": {
"format": "did",
"type": "string"
},
"head": {
"description": "Current repo commit CID",
"format": "cid",
"type": "string"
},
"rev": {
"format": "tid",
"type": "string"
},
"status": {
"description": "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.",
"knownValues": [
"takendown",
"suspended",
"deleted",
"deactivated",
"desynchronized",
"throttled"
],
"type": "string"
}
},
"required": [
"did",
"head",
"rev"
],
"type": "object"
}
},
"id": "com.atproto.sync.listRepos",
"lexicon": 1
}