town.muni.arbiter.createAppPasswordArbiter
Schema Diff
+5 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "town.muni.arbiter.createAppPasswordArbiter",
3
3
"defs": {
4
4
"main": {
5
5
"type": "procedure",
6
6
"input": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"arbiterDid",
11
11
"appPassword"
12
12
],
13
13
"properties": {
14
14
"arbiterDid": {
15
15
"type": "string",
16
16
"format": "did",
17
17
"description": "The DID of the account to import."
18
18
},
19
19
"appPassword": {
20
20
"type": "string",
21
21
"description": "App password for the PDS account."
22
22
}
23
23
}
24
24
},
25
25
"encoding": "application/json"
26
26
},
27
27
"errors": [
28
28
{
29
29
"name": "ErrPermissionDenied",
30
30
"description": "The requesting user is not allowed to import an arbiter."
31
31
},
32
32
{
33
33
"name": "ErrArbiterAlreadyExists",
34
34
"description": "An arbiter for this DID already exists on this server."
35
+
},
36
+
{
37
+
"name": "ErrProvisioningFailed",
38
+
"description": "Login or initial record writes failed."
35
39
}
36
40
],
37
41
"output": {
38
42
"schema": {
39
43
"type": "object",
40
44
"required": [
41
45
"ok"
42
46
],
43
47
"properties": {
44
48
"ok": {
45
49
"type": "boolean"
46
50
}
47
51
}
48
52
},
49
53
"encoding": "application/json"
50
54
},
51
-
"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."
55
+
"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`."
52
56
}
53
57
},
54
58
"$type": "com.atproto.lexicon.schema",
55
59
"lexicon": 1
56
60
}