computer.localnetwork.directory.getFollowStatus
How many accounts follow a project or a profile, and whether one of them does.
Details · query
| Kind | query |
|---|---|
| Authority | directory.localnetwork.computer |
| Commit rev | 3n2kad2d2k42k |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "How many accounts follow a project or a profile, and whether one of them does.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"followers": {
"minimum": 0,
"type": "integer"
},
"follows": {
"description": "The actor's computer.localnetwork.follow records of the subject, oldest first. Usually one, but nothing stops an account writing two.",
"items": {
"format": "at-uri",
"type": "string"
},
"type": "array"
}
},
"required": [
"followers",
"follows"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "The account to look up a follow for.",
"format": "did",
"type": "string"
},
"subject": {
"description": "The project or profile record followed.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"subject"
],
"type": "params"
},
"type": "query"
}
},
"id": "computer.localnetwork.directory.getFollowStatus",
"lexicon": 1
}