community.gifthood.graph.getFollows
Enumerate the accounts that the given account follows, newest-first. Each row is a medium profileView (identity + the viewer's per-row follow-state). Public; a block in either direction between the viewer and the subject returns Unavailable.
Details · query
| Kind | query |
|---|---|
| Authority | graph.gifthood.community |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Enumerate the accounts that the given account follows, newest-first. Each row is a medium profileView (identity + the viewer's per-row follow-state). Public; a block in either direction between the viewer and the subject returns Unavailable.",
"errors": [
{
"description": "A block exists in either direction between the viewer and the subject account; the follow list is not available.",
"name": "Unavailable"
},
{
"description": "The author hides their content from logged-out viewers; sign in to view.",
"name": "NotAvailableToPublic"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "Opaque cursor for the next page; absent at the end.",
"type": "string"
},
"follows": {
"description": "The accounts the subject follows, newest-first.",
"items": {
"ref": "community.gifthood.actor.defs#profileView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"follows"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "DID of the subject account whose follows to list.",
"format": "did",
"type": "string"
},
"cursor": {
"description": "Opaque keyset cursor from a previous page. Absent for the first page.",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum rows per page.",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"id": "community.gifthood.graph.getFollows",
"lexicon": 1
}