town.muni.arbiter.createAppPasswordArbiter
Schema Diff
+5 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Import an existing account as a stewarded arbiter.\n\nThe caller provides an app password proving control of the account.\nThe server stores the credentials, writes the service + recovery records\nfrom the account's session, and brings the arbiter online.",
5
+
"description": "Import an existing account as a stewarded arbiter.\n\nThe caller provides an app password proving control of the account.\nThe server stores the credentials and writes the service + recovery records\nfrom the account's session. No policy is written: the arbiter stays offline\n(fail-closed) until the recovery admin installs the first policy via\n`town.muni.arbiter.resetPolicy`.",
6
6
"errors": [
7
7
{
8
8
"description": "The requesting user is not allowed to import an arbiter.",
9
9
"name": "ErrPermissionDenied"
10
10
},
11
11
{
12
12
"description": "An arbiter for this DID already exists on this server.",
13
13
"name": "ErrArbiterAlreadyExists"
14
+
},
15
+
{
16
+
"description": "Login or initial record writes failed.",
17
+
"name": "ErrProvisioningFailed"
14
18
}
15
19
],
16
20
"input": {
17
21
"encoding": "application/json",
18
22
"schema": {
19
23
"properties": {
20
24
"appPassword": {
21
25
"description": "App password for the PDS account.",
22
26
"type": "string"
23
27
},
24
28
"arbiterDid": {
25
29
"description": "The DID of the account to import.",
26
30
"format": "did",
27
31
"type": "string"
28
32
}
29
33
},
30
34
"required": [
31
35
"arbiterDid",
32
36
"appPassword"
33
37
],
34
38
"type": "object"
35
39
}
36
40
},
37
41
"output": {
38
42
"encoding": "application/json",
39
43
"schema": {
40
44
"properties": {
41
45
"ok": {
42
46
"type": "boolean"
43
47
}
44
48
},
45
49
"required": [
46
50
"ok"
47
51
],
48
52
"type": "object"
49
53
}
50
54
},
51
55
"type": "procedure"
52
56
}
53
57
},
54
58
"id": "town.muni.arbiter.createAppPasswordArbiter",
55
59
"lexicon": 1
56
60
}