social.colibri.community.approveMembership
Schema Diff
+20 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Approves a pending membership application, minting the member record.",
6
6
"errors": [
7
7
{
8
+
"description": "The acting account has not published this AppView as authorized to act for it.",
9
+
"name": "AppViewNotAuthorized"
10
+
},
11
+
{
8
12
"description": "Missing, malformed, or unverifiable service auth.",
9
13
"name": "AuthRequired"
10
14
},
11
15
{
16
+
"description": "The AppView cannot write to the community's repo and could not repair its own access.",
17
+
"name": "CommunityCredentialsUnrecoverable"
18
+
},
19
+
{
12
20
"description": "The caller lacks the permission this method requires.",
13
21
"name": "Forbidden"
14
22
},
15
23
{
16
24
"description": "A parameter or body field was missing or malformed.",
17
25
"name": "InvalidRequest"
26
+
},
27
+
{
28
+
"description": "This AppView does not administer the community; the hub field names the one that does.",
29
+
"name": "NotCommunityHub"
30
+
},
31
+
{
32
+
"description": "The PDS this operation needs is unreachable or is not a PDS.",
33
+
"name": "PdsUnavailable"
34
+
},
35
+
{
36
+
"description": "A service outside this AppView failed.",
37
+
"name": "UpstreamFailure"
18
38
}
19
39
],
20
40
"output": {
21
41
"encoding": "application/json",
22
42
"schema": {
23
43
"properties": {
24
44
"community": {
25
45
"format": "at-uri",
26
46
"type": "string"
27
47
},
28
48
"did": {
29
49
"format": "did",
30
50
"type": "string"
31
51
},
32
52
"member": {
33
53
"format": "at-uri",
34
54
"type": "string"
35
55
}
36
56
},
37
57
"required": [
38
58
"did",
39
59
"community"
40
60
],
41
61
"type": "object"
42
62
}
43
63
},
44
64
"parameters": {
45
65
"properties": {
46
66
"membership": {
47
67
"format": "at-uri",
48
68
"type": "string"
49
69
}
50
70
},
51
71
"required": [
52
72
"membership"
53
73
],
54
74
"type": "params"
55
75
},
56
76
"type": "procedure"
57
77
}
58
78
},
59
79
"id": "social.colibri.community.approveMembership",
60
80
"lexicon": 1
61
81
}