dev.knotless.getActorRepos
Every repository an account's PDS holds, newest first, as its dev.knotless.repo records say now rather than as an appview has indexed them. No authentication needed; asked as the account itself, with a service token or the pages' session cookie, its private repositories are listed too, and the answer is that account's alone.
Details · query
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Every repository an account's PDS holds, newest first, as its dev.knotless.repo records say now rather than as an appview has indexed them. No authentication needed; asked as the account itself, with a service token or the pages' session cookie, its private repositories are listed too, and the answer is that account's alone.",
"errors": [
{
"description": "No account by that DID or handle, or its PDS cannot be reached.",
"name": "ProfileNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"repos": {
"items": {
"ref": "dev.knotless.defs#repoView",
"type": "ref"
},
"type": "array"
},
"shared": {
"description": "Asked as the account itself: the private repositories of other accounts it was proven a member of on this server, newest first, each private. Left out otherwise, or when there are none.",
"items": {
"ref": "dev.knotless.defs#repoView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"repos"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "The account, by DID or handle.",
"format": "at-identifier",
"type": "string"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"description": "The repositories an account holds, read from its PDS.",
"id": "dev.knotless.getActorRepos",
"lexicon": 1
}