rsvp.atmo.event.getRecord
Schema Diff
+5 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "rsvp.atmo.event.getRecord",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"uri",
11
11
"did",
12
12
"collection",
13
13
"rkey",
14
14
"time_us"
15
15
],
16
16
"properties": {
17
17
"cid": {
18
18
"type": "string"
19
19
},
20
20
"did": {
21
21
"type": "string",
22
22
"format": "did"
23
23
},
24
24
"uri": {
25
25
"type": "string",
26
26
"format": "at-uri"
27
27
},
28
28
"rkey": {
29
29
"type": "string"
30
30
},
31
31
"rsvps": {
32
32
"ref": "#hydrateRsvps",
33
33
"type": "ref"
34
34
},
35
35
"space": {
36
36
"type": "string",
37
37
"format": "at-uri",
38
38
"description": "Present when the record was read from a permissioned space; its value is the space URI."
39
39
},
40
40
"record": {
41
41
"ref": "community.lexicon.calendar.event#main",
42
42
"type": "ref"
43
43
},
44
44
"time_us": {
45
45
"type": "integer"
46
46
},
47
47
"profiles": {
48
48
"type": "array",
49
49
"items": {
50
50
"ref": "#profileEntry",
51
51
"type": "ref"
52
52
}
53
53
},
54
54
"collection": {
55
55
"type": "string",
56
56
"format": "nsid"
57
57
},
58
58
"rsvpsCount": {
59
59
"type": "integer",
60
60
"description": "Total rsvps count"
61
61
},
62
62
"rsvpsGoingCount": {
63
63
"type": "integer",
64
64
"description": "rsvps count where status = going"
65
65
},
66
66
"rsvpsNotgoingCount": {
67
67
"type": "integer",
68
68
"description": "rsvps count where status = notgoing"
69
69
},
70
70
"rsvpsInterestedCount": {
71
71
"type": "integer",
72
72
"description": "rsvps count where status = interested"
73
73
}
74
74
}
75
75
},
76
76
"encoding": "application/json"
77
77
},
78
78
"parameters": {
79
79
"type": "params",
80
80
"required": [
81
81
"uri"
82
82
],
83
83
"properties": {
84
84
"uri": {
85
85
"type": "string",
86
86
"format": "at-uri",
87
87
"description": "AT URI of the record"
88
88
},
89
89
"profiles": {
90
90
"type": "boolean",
91
91
"description": "Include profile + identity info keyed by DID"
92
92
},
93
93
"spaceUri": {
94
94
"type": "string",
95
95
"format": "at-uri",
96
-
"description": "If set, fetch from this permissioned space (requires service-auth JWT)."
96
+
"description": "If set, fetch from this permissioned space (requires service-auth JWT or a read-grant invite token)."
97
+
},
98
+
"inviteToken": {
99
+
"type": "string",
100
+
"description": "Read-grant invite token for anonymous bearer access. Replaces JWT auth when supplied."
97
101
},
98
102
"hydrateRsvps": {
99
103
"type": "integer",
100
104
"maximum": 50,
101
105
"minimum": 1,
102
106
"description": "Number of rsvps records to embed"
103
107
}
104
108
}
105
109
},
106
110
"description": "Get a single community.lexicon.calendar.event record by AT URI"
107
111
},
108
112
"hydrateRsvps": {
109
113
"type": "object",
110
114
"properties": {
111
115
"going": {
112
116
"type": "array",
113
117
"items": {
114
118
"ref": "#hydrateRsvpsRecord",
115
119
"type": "ref"
116
120
}
117
121
},
118
122
"other": {
119
123
"type": "array",
120
124
"items": {
121
125
"ref": "#hydrateRsvpsRecord",
122
126
"type": "ref"
123
127
}
124
128
},
125
129
"notgoing": {
126
130
"type": "array",
127
131
"items": {
128
132
"ref": "#hydrateRsvpsRecord",
129
133
"type": "ref"
130
134
}
131
135
},
132
136
"interested": {
133
137
"type": "array",
134
138
"items": {
135
139
"ref": "#hydrateRsvpsRecord",
136
140
"type": "ref"
137
141
}
138
142
}
139
143
}
140
144
},
141
145
"profileEntry": {
142
146
"type": "object",
143
147
"required": [
144
148
"did"
145
149
],
146
150
"properties": {
147
151
"cid": {
148
152
"type": "string"
149
153
},
150
154
"did": {
151
155
"type": "string",
152
156
"format": "did"
153
157
},
154
158
"uri": {
155
159
"type": "string",
156
160
"format": "at-uri"
157
161
},
158
162
"rkey": {
159
163
"type": "string"
160
164
},
161
165
"handle": {
162
166
"type": "string"
163
167
},
164
168
"record": {
165
169
"ref": "#appBskyActorProfile",
166
170
"type": "ref"
167
171
},
168
172
"collection": {
169
173
"type": "string",
170
174
"format": "nsid"
171
175
}
172
176
}
173
177
},
174
178
"hydrateRsvpsRecord": {
175
179
"type": "object",
176
180
"required": [
177
181
"uri",
178
182
"did",
179
183
"collection",
180
184
"rkey",
181
185
"time_us"
182
186
],
183
187
"properties": {
184
188
"cid": {
185
189
"type": "string"
186
190
},
187
191
"did": {
188
192
"type": "string",
189
193
"format": "did"
190
194
},
191
195
"uri": {
192
196
"type": "string",
193
197
"format": "at-uri"
194
198
},
195
199
"rkey": {
196
200
"type": "string"
197
201
},
198
202
"space": {
199
203
"type": "string",
200
204
"format": "at-uri",
201
205
"description": "Present when the record was read from a permissioned space."
202
206
},
203
207
"record": {
204
208
"ref": "community.lexicon.calendar.rsvp#main",
205
209
"type": "ref"
206
210
},
207
211
"time_us": {
208
212
"type": "integer"
209
213
},
210
214
"collection": {
211
215
"type": "string",
212
216
"format": "nsid"
213
217
}
214
218
}
215
219
},
216
220
"appBskyActorProfile": {
217
221
"type": "object",
218
222
"properties": {
219
223
"avatar": {
220
224
"type": "blob",
221
225
"accept": [
222
226
"image/png",
223
227
"image/jpeg"
224
228
],
225
229
"maxSize": 1000000,
226
230
"description": "Small image to be displayed next to posts from account. AKA, 'profile picture'"
227
231
},
228
232
"banner": {
229
233
"type": "blob",
230
234
"accept": [
231
235
"image/png",
232
236
"image/jpeg"
233
237
],
234
238
"maxSize": 1000000,
235
239
"description": "Larger horizontal image to display behind profile view."
236
240
},
237
241
"labels": {
238
242
"refs": [
239
243
"com.atproto.label.defs#selfLabels"
240
244
],
241
245
"type": "union",
242
246
"description": "Self-label values, specific to the Bluesky application, on the overall account."
243
247
},
244
248
"website": {
245
249
"type": "string",
246
250
"format": "uri"
247
251
},
248
252
"pronouns": {
249
253
"type": "string",
250
254
"maxLength": 200,
251
255
"description": "Free-form pronouns text.",
252
256
"maxGraphemes": 20
253
257
},
254
258
"createdAt": {
255
259
"type": "string",
256
260
"format": "datetime"
257
261
},
258
262
"pinnedPost": {
259
263
"ref": "com.atproto.repo.strongRef",
260
264
"type": "ref"
261
265
},
262
266
"description": {
263
267
"type": "string",
264
268
"maxLength": 2560,
265
269
"description": "Free-form profile description text.",
266
270
"maxGraphemes": 256
267
271
},
268
272
"displayName": {
269
273
"type": "string",
270
274
"maxLength": 640,
271
275
"maxGraphemes": 64
272
276
},
273
277
"joinedViaStarterPack": {
274
278
"ref": "com.atproto.repo.strongRef",
275
279
"type": "ref"
276
280
}
277
281
}
278
282
}
279
283
},
280
284
"$type": "com.atproto.lexicon.schema",
281
285
"lexicon": 1
282
286
}