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 |
Query
query · GETParameters
query stringOutput
application/jsonactor
refWho is asking, with the handle their DID document names and canCreateGroup; absent when no one is.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
chat.yakka.getSession
queryWho the caller is signed in as. The session cookie carries an opaque id and nothing else (ADR 0034 §2), so this is how a client learns its own DID — it cannot read one out of the cookie, by design. Answers 200 with `signedIn: false` rather than 401 for an anonymous caller: not being signed in is an ordinary state of the application, not an error in the request.
-
fyi.opensocial.getActor
queryGet a person as a view names them. Requires auth. Answers for the caller themselves, or for anyone the host shows — a member of a group it runs, or someone asking to join one.
-
dev.knotless.getViewer
queryWho is asking this appview, as its pages show it.
-
Return the authenticated viewer's identity along with any opaque flags clients may use to gate UI.