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