atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.server.getSession",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get information about the current auth session. Requires auth.",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "handle",
14 "did"
15 ],
16 "properties": {
17 "active": {
18 "type": "boolean"
19 },
20 "did": {
21 "type": "string",
22 "format": "did"
23 },
24 "didDoc": {
25 "type": "unknown"
26 },
27 "email": {
28 "type": "string"
29 },
30 "emailAuthFactor": {
31 "type": "boolean"
32 },
33 "emailConfirmed": {
34 "type": "boolean"
35 },
36 "handle": {
37 "type": "string",
38 "format": "handle"
39 },
40 "status": {
41 "type": "string",
42 "description": "If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.",
43 "knownValues": [
44 "takendown",
45 "suspended",
46 "deactivated"
47 ]
48 }
49 }
50 }
51 }
52 }
53 }
54}