fyi.opensocial.getViewer
Who is asking: by the console's session cookie, or their service auth. Nothing, for no one. As knotless's getViewer, for the console to show who is signed in.
Details · query
| Kind | query |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Who is asking: by the console's session cookie, or their service auth. Nothing, for no one. As knotless's getViewer, for the console to show who is signed in.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"actor": {
"description": "Who is asking, with the handle their DID document names and canCreateGroup; absent when no one is.",
"ref": "fyi.opensocial.defs#actorView",
"type": "ref"
}
},
"type": "object"
}
},
"parameters": {
"properties": {},
"type": "params"
},
"type": "query"
}
},
"id": "fyi.opensocial.getViewer",
"lexicon": 1
}