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
Kindquery
Authoritylsky.dummy.cafe
Indexed
cid bafyreicvrhrdkjxo35db343k5ml3evm57ug5zej2yakshblcne5bcynlaq

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.handleNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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
}