dev.knotless.getOrg
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": "The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.membership record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.",
5
+
"description": "The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.orgAcceptance record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.",
6
6
"errors": [
7
7
{
8
8
"description": "No account by that DID or handle.",
9
9
"name": "ProfileNotFound"
10
10
}
11
11
],
12
12
"output": {
13
13
"encoding": "application/json",
14
14
"schema": {
15
15
"properties": {
16
16
"gateway": {
17
17
"description": "The gateway its public dev.knotless.org record names, which members join and leave through, and admins change its members through.",
18
18
"format": "did",
19
19
"type": "string"
20
20
},
21
21
"inside": {
22
22
"description": "Whether the asker sees its invitations and hidden members: it is the organization, or one of its members.",
23
23
"type": "boolean"
24
24
},
25
25
"members": {
26
26
"description": "The first invited first: to an asker inside, every account it invited; to anyone else, its members in public.",
27
27
"items": {
28
28
"ref": "#memberView",
29
29
"type": "ref"
30
30
},
31
31
"type": "array"
32
32
},
33
33
"org": {
34
34
"ref": "dev.knotless.defs#actorView",
35
35
"type": "ref"
36
36
},
37
37
"organization": {
38
38
"description": "Whether the account is an organization: it keeps a public dev.knotless.org record.",
39
39
"type": "boolean"
40
40
}
41
41
},
42
42
"required": [
43
43
"org",
44
44
"organization",
45
45
"inside",
46
46
"members"
47
47
],
48
48
"type": "object"
49
49
}
50
50
},
51
51
"parameters": {
52
52
"properties": {
53
53
"actor": {
54
54
"description": "The organization, by DID or handle.",
55
55
"format": "at-identifier",
56
56
"type": "string"
57
57
}
58
58
},
59
59
"required": [
60
60
"actor"
61
61
],
62
62
"type": "params"
63
63
},
64
64
"type": "query"
65
65
},
66
66
"memberView": {
67
67
"description": "An account an organization invited, and where it stands.",
68
68
"properties": {
69
69
"actor": {
70
70
"ref": "dev.knotless.defs#actorView",
71
71
"type": "ref"
72
72
},
73
73
"expiresAt": {
74
74
"description": "When the invitation lapses, when its record says.",
75
75
"format": "datetime",
76
76
"type": "string"
77
77
},
78
78
"invitedAt": {
79
79
"format": "datetime",
80
80
"type": "string"
81
81
},
82
82
"joinedAt": {
83
83
"description": "When the organization took it in.",
84
84
"format": "datetime",
85
85
"type": "string"
86
86
},
87
87
"role": {
88
88
"description": "What it may do: an admin also invites and removes members.",
89
89
"knownValues": [
90
90
"admin",
91
91
"member"
92
92
],
93
93
"type": "string"
94
94
},
95
95
"standing": {
96
96
"description": "Invited and not yet a member; invited, and the invitation lapsed; a member anyone may see; or a member only the organization's members see.",
97
97
"knownValues": [
98
98
"invited",
99
99
"lapsed",
100
100
"public",
101
101
"hidden"
102
102
],
103
103
"type": "string"
104
104
}
105
105
},
106
106
"required": [
107
107
"actor",
108
108
"role",
109
109
"standing",
110
110
"invitedAt"
111
111
],
112
112
"type": "object"
113
113
}
114
114
},
115
115
"description": "An organization's members on knotless.",
116
116
"id": "dev.knotless.getOrg",
117
117
"lexicon": 1
118
118
}