dev.knotless.setOrgMembership
Schema Diff
+1 -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": "Writes the account's dev.knotless.membership record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
5
+
"description": "Writes the account's dev.knotless.orgAcceptance record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.",
6
6
"errors": [
7
7
{
8
8
"description": "The change was refused: by the organization's gateway, or as the account may not make it.",
9
9
"name": "InvalidRequest"
10
10
},
11
11
{
12
12
"description": "No account is logged in to the pages, or its session has ended.",
13
13
"name": "AuthenticationRequired"
14
14
}
15
15
],
16
16
"input": {
17
17
"encoding": "application/json",
18
18
"schema": {
19
19
"properties": {
20
20
"org": {
21
21
"description": "The organization.",
22
22
"format": "did",
23
23
"type": "string"
24
24
},
25
25
"visibility": {
26
26
"description": "Who may see the membership: anyone, or the organization's members alone.",
27
27
"knownValues": [
28
28
"public",
29
29
"hidden"
30
30
],
31
31
"maxLength": 64,
32
32
"type": "string"
33
33
}
34
34
},
35
35
"required": [
36
36
"org",
37
37
"visibility"
38
38
],
39
39
"type": "object"
40
40
}
41
41
},
42
42
"output": {
43
43
"encoding": "application/json",
44
44
"schema": {
45
45
"properties": {
46
46
"warning": {
47
47
"description": "Set when the change was made only in part, saying what is left.",
48
48
"maxLength": 2000,
49
49
"type": "string"
50
50
}
51
51
},
52
52
"type": "object"
53
53
}
54
54
},
55
55
"type": "procedure"
56
56
}
57
57
},
58
58
"description": "Joins an organization as the account logged in to this appview's pages, or shows or hides that membership, as `knotless org join` does.",
59
59
"id": "dev.knotless.setOrgMembership",
60
60
"lexicon": 1
61
61
}