town.muni.arbiter.createArbiter
Schema Diff
+7 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "town.muni.arbiter.createArbiter:output" }
- AddedEdge AddedEdge { src: "town.muni.arbiter.createArbiter", tgt: "town.muni.arbiter.createArbiter:output", kind: "prop", name: Some("output") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "town.muni.arbiter.createArbiter:output" }
Additional Notes
- Non-breaking: AddedEdge { src: "town.muni.arbiter.createArbiter", tgt: "town.muni.arbiter.createArbiter:output", kind: "prop", name: Some("output") }
1
1
{
2
2
"id": "town.muni.arbiter.createArbiter",
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
"config"
12
12
],
13
13
"properties": {
14
14
"config": {
15
15
"refs": [],
16
16
"type": "union",
17
17
"description": "A configuration object for the arbiter.\n\nDifferent servers will support different config lexicons. The NSID of\nthe config lexicon determines what kind of arbiter it is. Different\nkinds of arbiters may have totally different mechanisms for determining\naccess."
18
18
},
19
19
"arbiterDid": {
20
20
"type": "string",
21
21
"format": "did",
22
22
"description": "The DID of the arbiter.\n\nDifferent servers may have different policies regarding who is allowed\nto create an arbiter for what DIDs.\n\nThe DID will not be created by this procedure: it must be created\nseparately and have its #space_host service pointed to this server."
23
23
}
24
24
}
25
25
},
26
26
"encoding": "application/json"
27
27
},
28
28
"errors": [
29
29
{
30
30
"name": "ErrArbiterAlreadyExists",
31
31
"description": "The specified DID already has an arbiter for it on this server."
32
32
},
33
33
{
34
34
"name": "ErrPermissionDenied",
35
35
"description": "The requesting user is not allowed to make the request."
36
36
},
37
37
{
38
38
"name": "ErrUnsupportedConfigLexicon",
39
39
"description": "The config lexicon provided is not supported by this server. Different servers\nmay support different config lexicons."
40
40
},
41
41
{
42
42
"name": "ErrInvalidConfig",
43
43
"description": "The config provided is invalid for some reason other than it being an unsupported\nlexicon."
44
44
}
45
45
],
46
+
"output": {
47
+
"schema": {
48
+
"refs": [],
49
+
"type": "union"
50
+
},
51
+
"encoding": "application/json"
52
+
},
46
53
"description": "Create a new arbiter.\n\nThe return type is an open union that will contain a `$type` key and may be\ndifferent depending on the server and/or the provided config `$type`."
47
54
}
48
55
},
49
56
"$type": "com.atproto.lexicon.schema",
50
57
"lexicon": 1
51
58
}