60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "com.atproto.sync.listReposByCollection",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "Enumerates all the DIDs which have records with the given collection NSID.",
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": ["collection"],
|
|
"properties": {
|
|
"collection": {
|
|
"type": "string",
|
|
"format": "nsid"
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.",
|
|
"minimum": 1,
|
|
"maximum": 2000,
|
|
"default": 500
|
|
},
|
|
"cursor": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"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"],
|
|
"properties": {
|
|
"did": {
|
|
"type": "string",
|
|
"format": "did"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|