cafe.dummy.lsky.getSession
Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context.
Details · query
| Kind | query |
|---|---|
| Authority | lsky.dummy.cafe |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.handleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get the authenticated user's lsky-specific state: profile, onboarding status. The user's DID and handle are resolved from the inter-service auth JWT. This is the first call the app should make after login to hydrate lsky user context.",
"errors": [
{
"description": "No valid inter-service auth JWT was provided.",
"name": "AuthenticationRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"handle": {
"type": "string"
},
"onboarded": {
"type": "boolean"
},
"person": {
"description": "The user's profile, if they have onboarded.",
"ref": "cafe.dummy.lsky.defs#profileView",
"type": "ref"
}
},
"required": [
"did",
"handle",
"onboarded"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "cafe.dummy.lsky.getSession",
"lexicon": 1
}