atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.server.refreshSession",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "accessJwt",
14 "refreshJwt",
15 "handle",
16 "did"
17 ],
18 "properties": {
19 "accessJwt": {
20 "type": "string"
21 },
22 "active": {
23 "type": "boolean"
24 },
25 "did": {
26 "type": "string",
27 "format": "did"
28 },
29 "didDoc": {
30 "type": "unknown"
31 },
32 "handle": {
33 "type": "string",
34 "format": "handle"
35 },
36 "refreshJwt": {
37 "type": "string"
38 },
39 "status": {
40 "type": "string",
41 "description": "Hosting status of the account. If not specified, then assume 'active'.",
42 "knownValues": [
43 "takendown",
44 "suspended",
45 "deactivated"
46 ]
47 }
48 }
49 }
50 },
51 "errors": [
52 {
53 "name": "AccountTakedown"
54 }
55 ]
56 }
57 }
58}