{ "lexicon": 1, "id": "com.atproto.sync.listRepos", "defs": { "main": { "type": "query", "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.", "parameters": { "type": "params", "properties": { "cursor": { "type": "string" }, "limit": { "type": "integer", "default": 500, "minimum": 1, "maximum": 1000 } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "repos" ], "properties": { "cursor": { "type": "string" }, "repos": { "type": "array", "items": { "type": "ref", "ref": "#repo" } } } } } }, "repo": { "type": "object", "required": [ "did", "head", "rev" ], "properties": { "active": { "type": "boolean" }, "did": { "type": "string", "format": "did" }, "head": { "type": "string", "description": "Current repo commit CID", "format": "cid" }, "rev": { "type": "string", "format": "tid" }, "status": { "type": "string", "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" ] } } } } }