{ "lexicon": 1, "id": "dev.knotless.getActorRepos", "description": "The repositories an account holds, read from its PDS.", "defs": { "main": { "type": "query", "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.", "parameters": { "type": "params", "required": ["actor"], "properties": { "actor": { "type": "string", "format": "at-identifier", "description": "The account, by DID or handle." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["repos"], "properties": { "repos": { "type": "array", "items": { "type": "ref", "ref": "dev.knotless.defs#repoView" } }, "shared": { "type": "array", "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": { "type": "ref", "ref": "dev.knotless.defs#repoView" } } } } }, "errors": [{ "name": "ProfileNotFound", "description": "No account by that DID or handle, or its PDS cannot be reached." }] } } }