-
Notifications
You must be signed in to change notification settings - Fork 400
/
createAppPassword.json
45 lines (45 loc) · 1.25 KB
/
createAppPassword.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"lexicon": 1,
"id": "com.atproto.server.createAppPassword",
"defs": {
"main": {
"type": "procedure",
"description": "Create an App Password.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"type": "string",
"description": "A short name for the App Password, to help distinguish them."
},
"privileged": {
"type": "boolean",
"description": "If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients."
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "ref",
"ref": "#appPassword"
}
},
"errors": [{ "name": "AccountTakedown" }]
},
"appPassword": {
"type": "object",
"required": ["name", "password", "createdAt"],
"properties": {
"name": { "type": "string" },
"password": { "type": "string" },
"createdAt": { "type": "string", "format": "datetime" },
"privileged": { "type": "boolean" }
}
}
}
}