rozod 6.8.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +56 -1
- package/lib/index.js +159 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Groups_Client_GroupFeaturedContentResponse = z.object({
|
|
5
5
|
groupId: z.number().int(),
|
|
@@ -7,13 +7,7 @@ const Roblox_Groups_Client_GroupFeaturedContentResponse = z.object({
|
|
|
7
7
|
contentId: z.string(),
|
|
8
8
|
});
|
|
9
9
|
const Roblox_Groups_Api_Models_Response_UserModel = z.object({
|
|
10
|
-
buildersClubMembershipType: z.union([
|
|
11
|
-
z.literal(0),
|
|
12
|
-
z.literal(1),
|
|
13
|
-
z.literal(2),
|
|
14
|
-
z.literal(3),
|
|
15
|
-
z.literal(4),
|
|
16
|
-
]),
|
|
10
|
+
buildersClubMembershipType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
|
|
17
11
|
hasVerifiedBadge: z.boolean(),
|
|
18
12
|
userId: z.number().int(),
|
|
19
13
|
username: z.string(),
|
|
@@ -46,23 +40,23 @@ const Roblox_Groups_Api_GroupRoleResponse = z.object({
|
|
|
46
40
|
memberCount: z.number().int(),
|
|
47
41
|
isBase: z.boolean(),
|
|
48
42
|
color: z.enum([
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
43
|
+
'Invalid',
|
|
44
|
+
'Blue',
|
|
45
|
+
'Green',
|
|
46
|
+
'Purple',
|
|
47
|
+
'Yellow',
|
|
48
|
+
'Orange',
|
|
49
|
+
'Red',
|
|
50
|
+
'Magenta',
|
|
51
|
+
'Teal',
|
|
52
|
+
'Turquoise',
|
|
53
|
+
'Rust',
|
|
54
|
+
'Pistachio',
|
|
55
|
+
'Midnight',
|
|
56
|
+
'Lavender',
|
|
57
|
+
'Pink',
|
|
58
|
+
'Crimson',
|
|
59
|
+
'Plum',
|
|
66
60
|
]),
|
|
67
61
|
});
|
|
68
62
|
const Roblox_Groups_Api_UserGroupRoleResponse = z.object({
|
|
@@ -86,12 +80,11 @@ const Roblox_Groups_Api_GroupBanMemberResponse = z.object({
|
|
|
86
80
|
actingUser: Roblox_Groups_Api_UserGroupRoleResponse,
|
|
87
81
|
created: z.string().datetime({ offset: true }),
|
|
88
82
|
});
|
|
89
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_ =
|
|
90
|
-
z.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
});
|
|
83
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_ = z.object({
|
|
84
|
+
previousPageCursor: z.string(),
|
|
85
|
+
nextPageCursor: z.string(),
|
|
86
|
+
data: z.array(Roblox_Groups_Api_GroupBanMemberResponse),
|
|
87
|
+
});
|
|
95
88
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
96
89
|
const Roblox_Groups_Client_BlockedKeywordModel = z.object({
|
|
97
90
|
id: z.string(),
|
|
@@ -101,13 +94,12 @@ const Roblox_Groups_Client_BlockedKeywordModel = z.object({
|
|
|
101
94
|
createdAt: z.string().datetime({ offset: true }),
|
|
102
95
|
updatedAt: z.string().datetime({ offset: true }),
|
|
103
96
|
});
|
|
104
|
-
const Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_ =
|
|
105
|
-
z.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
});
|
|
97
|
+
const Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_ = z.object({
|
|
98
|
+
totalActiveKeywordsCount: z.number().int(),
|
|
99
|
+
previousPageCursor: z.string(),
|
|
100
|
+
nextPageCursor: z.string(),
|
|
101
|
+
data: z.array(Roblox_Groups_Client_BlockedKeywordModel),
|
|
102
|
+
});
|
|
111
103
|
const Roblox_Groups_Api_CreateBlockedKeywordsRequest = z.object({
|
|
112
104
|
keywords: z.string(),
|
|
113
105
|
isPrivate: z.boolean(),
|
|
@@ -143,12 +135,12 @@ const Roblox_Groups_Client_GetGroupEmoteSetsResponse = z.object({
|
|
|
143
135
|
});
|
|
144
136
|
const Roblox_Groups_Api_GroupFeatureResponse = z.object({
|
|
145
137
|
feature: z.enum([
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
138
|
+
'Payouts',
|
|
139
|
+
'ContentUpload',
|
|
140
|
+
'GroupOwnershipTransfer',
|
|
141
|
+
'GameOwnershipTransfer',
|
|
142
|
+
'ForumRead',
|
|
143
|
+
'ForumWrite',
|
|
152
144
|
]),
|
|
153
145
|
isFeatureBlocked: z.boolean(),
|
|
154
146
|
expiration: z.string().datetime({ offset: true }),
|
|
@@ -170,12 +162,11 @@ const Roblox_Groups_Api_GroupJoinRequestResponse = z.object({
|
|
|
170
162
|
requester: Roblox_Groups_Api_Models_Response_UserModel,
|
|
171
163
|
created: z.string().datetime({ offset: true }),
|
|
172
164
|
});
|
|
173
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ =
|
|
174
|
-
z.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
});
|
|
165
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ = z.object({
|
|
166
|
+
previousPageCursor: z.string(),
|
|
167
|
+
nextPageCursor: z.string(),
|
|
168
|
+
data: z.array(Roblox_Groups_Api_GroupJoinRequestResponse),
|
|
169
|
+
});
|
|
179
170
|
const Roblox_Groups_Api_MembersRequest = z.object({
|
|
180
171
|
UserIds: z.array(z.number()),
|
|
181
172
|
});
|
|
@@ -230,8 +221,7 @@ const Roblox_Groups_Api_GroupOpenCloudPermissionsModel = z.object({
|
|
|
230
221
|
const Roblox_Groups_Api_GroupPermissionsModel = z.object({
|
|
231
222
|
groupPostsPermissions: Roblox_Groups_Api_GroupPostsPermissionsModel,
|
|
232
223
|
groupForumsPermissions: Roblox_Groups_Api_GroupForumsPermissionsModel,
|
|
233
|
-
groupContentModerationPermissions:
|
|
234
|
-
Roblox_Groups_Api_GroupContentModerationPermissionsModel,
|
|
224
|
+
groupContentModerationPermissions: Roblox_Groups_Api_GroupContentModerationPermissionsModel,
|
|
235
225
|
groupMembershipPermissions: Roblox_Groups_Api_GroupMembershipPermissionsModel,
|
|
236
226
|
groupManagementPermissions: Roblox_Groups_Api_GroupManagementPermissionsModel,
|
|
237
227
|
groupEconomyPermissions: Roblox_Groups_Api_GroupEconomyPermissionsModel,
|
|
@@ -243,11 +233,11 @@ const Roblox_Groups_Api_GroupChannelPermissionsModel = z.object({
|
|
|
243
233
|
});
|
|
244
234
|
const Roblox_Groups_Api_GroupNotificationPreferenceData = z.object({
|
|
245
235
|
type: z.enum([
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
236
|
+
'AnnouncementCreatedNotification',
|
|
237
|
+
'ForumPostCreatedNotification',
|
|
238
|
+
'ForumCommentCreatedNotification',
|
|
239
|
+
'ForumCommentReplyCreatedNotification',
|
|
240
|
+
'ForumSubscriberNotification',
|
|
251
241
|
]),
|
|
252
242
|
enabled: z.boolean(),
|
|
253
243
|
name: z.string(),
|
|
@@ -265,23 +255,20 @@ const Roblox_Groups_Api_GroupMembershipMetadataResponse = z.object({
|
|
|
265
255
|
areEnemiesAllowed: z.boolean(),
|
|
266
256
|
canConfigure: z.boolean(),
|
|
267
257
|
isNotificationsEnabled: z.boolean(),
|
|
268
|
-
notificationPreferences: z.array(
|
|
269
|
-
Roblox_Groups_Api_GroupNotificationPreferenceData
|
|
270
|
-
),
|
|
258
|
+
notificationPreferences: z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
271
259
|
isBannedFromGroup: z.boolean(),
|
|
272
260
|
canViewMemberList: z.boolean(),
|
|
273
261
|
isOwner: z.boolean(),
|
|
274
262
|
});
|
|
275
|
-
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = z.object(
|
|
276
|
-
|
|
277
|
-
)
|
|
263
|
+
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = z.object({
|
|
264
|
+
name: z.string(),
|
|
265
|
+
created: z.string().datetime({ offset: true }),
|
|
266
|
+
});
|
|
278
267
|
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_ =
|
|
279
268
|
z.object({
|
|
280
269
|
previousPageCursor: z.string(),
|
|
281
270
|
nextPageCursor: z.string(),
|
|
282
|
-
data: z.array(
|
|
283
|
-
Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem
|
|
284
|
-
),
|
|
271
|
+
data: z.array(Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem),
|
|
285
272
|
});
|
|
286
273
|
const Roblox_Groups_Api_GroupPayoutRestrictionResponse = z.object({
|
|
287
274
|
canUseRecurringPayout: z.boolean(),
|
|
@@ -291,31 +278,30 @@ const Roblox_Groups_Api_GroupPayoutResponse = z.object({
|
|
|
291
278
|
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
292
279
|
percentage: z.number().int(),
|
|
293
280
|
});
|
|
294
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ =
|
|
295
|
-
|
|
281
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ = z.object({
|
|
282
|
+
data: z.array(Roblox_Groups_Api_GroupPayoutResponse),
|
|
283
|
+
});
|
|
296
284
|
const Roblox_Groups_Api_PayoutRecipientRequest = z.object({
|
|
297
285
|
recipientId: z.number().int(),
|
|
298
|
-
recipientType: z.enum([
|
|
286
|
+
recipientType: z.enum(['User', 'Group']),
|
|
299
287
|
amount: z.number().int(),
|
|
300
288
|
});
|
|
301
289
|
const Roblox_Groups_Api_WatermarkContributionRequest = z.object({
|
|
302
|
-
balanceKey: z.enum([
|
|
290
|
+
balanceKey: z.enum(['Standard', 'O18Boosted']),
|
|
303
291
|
amount: z.number().int(),
|
|
304
292
|
});
|
|
305
293
|
const Roblox_Groups_Api_PayoutRequest = z.object({
|
|
306
|
-
PayoutType: z.enum([
|
|
294
|
+
PayoutType: z.enum(['FixedAmount', 'Percentage']),
|
|
307
295
|
Recipients: z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
308
296
|
IdempotencyKey: z.string(),
|
|
309
|
-
WatermarkContributions: z.array(
|
|
310
|
-
Roblox_Groups_Api_WatermarkContributionRequest
|
|
311
|
-
),
|
|
297
|
+
WatermarkContributions: z.array(Roblox_Groups_Api_WatermarkContributionRequest),
|
|
312
298
|
});
|
|
313
299
|
const Roblox_Groups_Api_OneTimePayoutResponse = z.object({
|
|
314
|
-
status: z.enum([
|
|
300
|
+
status: z.enum(['NotHeld', 'Held']),
|
|
315
301
|
});
|
|
316
302
|
const Roblox_Groups_Api_GroupRelationshipsResponse = z.object({
|
|
317
303
|
groupId: z.number().int(),
|
|
318
|
-
relationshipType: z.enum([
|
|
304
|
+
relationshipType: z.enum(['Allies', 'Enemies']),
|
|
319
305
|
totalGroupCount: z.number().int(),
|
|
320
306
|
relatedGroups: z.array(Roblox_Groups_Api_GroupDetailResponse),
|
|
321
307
|
nextRowIndex: z.number().int(),
|
|
@@ -335,14 +321,14 @@ const Roblox_Groups_Api_GroupPermissionsResponse = z.object({
|
|
|
335
321
|
const Roblox_Groups_Api_UpdatePermissionsRequest = z.object({
|
|
336
322
|
permissions: z.object({}),
|
|
337
323
|
});
|
|
338
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ =
|
|
339
|
-
z.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
324
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ = z.object({
|
|
325
|
+
previousPageCursor: z.string(),
|
|
326
|
+
nextPageCursor: z.string(),
|
|
327
|
+
data: z.array(Roblox_Groups_Api_Models_Response_UserModel),
|
|
328
|
+
});
|
|
329
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_ = z.object({
|
|
330
|
+
data: z.array(Roblox_Groups_Api_GroupPermissionsResponse),
|
|
331
|
+
});
|
|
346
332
|
const Roblox_Groups_Api_GroupSettingsResponse = z.object({
|
|
347
333
|
isApprovalRequired: z.boolean(),
|
|
348
334
|
isBuildersClubRequired: z.boolean(),
|
|
@@ -350,12 +336,7 @@ const Roblox_Groups_Api_GroupSettingsResponse = z.object({
|
|
|
350
336
|
areGroupFundsVisible: z.boolean(),
|
|
351
337
|
areGroupGamesVisible: z.boolean(),
|
|
352
338
|
isGroupNameChangeEnabled: z.boolean(),
|
|
353
|
-
verificationLevel: z.union([
|
|
354
|
-
z.literal(0),
|
|
355
|
-
z.literal(1),
|
|
356
|
-
z.literal(2),
|
|
357
|
-
z.literal(3),
|
|
358
|
-
]),
|
|
339
|
+
verificationLevel: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
359
340
|
accountTenureRequirement: z.union([
|
|
360
341
|
z.literal(0),
|
|
361
342
|
z.literal(1),
|
|
@@ -373,12 +354,7 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
|
|
|
373
354
|
areEnemiesAllowed: z.boolean(),
|
|
374
355
|
areGroupFundsVisible: z.boolean(),
|
|
375
356
|
areGroupGamesVisible: z.boolean(),
|
|
376
|
-
verificationLevel: z.union([
|
|
377
|
-
z.literal(0),
|
|
378
|
-
z.literal(1),
|
|
379
|
-
z.literal(2),
|
|
380
|
-
z.literal(3),
|
|
381
|
-
]),
|
|
357
|
+
verificationLevel: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
382
358
|
accountTenureRequirement: z.union([
|
|
383
359
|
z.literal(0),
|
|
384
360
|
z.literal(1),
|
|
@@ -393,27 +369,22 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
|
|
|
393
369
|
const Roblox_Groups_Api_SocialLinkResponse = z.object({
|
|
394
370
|
id: z.number().int(),
|
|
395
371
|
type: z.enum([
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
372
|
+
'Facebook',
|
|
373
|
+
'Twitter',
|
|
374
|
+
'YouTube',
|
|
375
|
+
'Twitch',
|
|
376
|
+
'GooglePlus',
|
|
377
|
+
'Discord',
|
|
378
|
+
'RobloxGroup',
|
|
379
|
+
'Amazon',
|
|
380
|
+
'Guilded',
|
|
405
381
|
]),
|
|
406
382
|
url: z.string(),
|
|
407
383
|
title: z.string(),
|
|
408
384
|
});
|
|
409
385
|
const Roblox_Groups_Api_GetSocialLinkResponse = z.object({
|
|
410
386
|
data: z.array(Roblox_Groups_Api_SocialLinkResponse),
|
|
411
|
-
socialLinksVerificationStatus: z.union([
|
|
412
|
-
z.literal(0),
|
|
413
|
-
z.literal(1),
|
|
414
|
-
z.literal(2),
|
|
415
|
-
z.literal(3),
|
|
416
|
-
]),
|
|
387
|
+
socialLinksVerificationStatus: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
417
388
|
});
|
|
418
389
|
const Roblox_Groups_Api_SocialLinkRequest = z.object({
|
|
419
390
|
type: z.union([
|
|
@@ -430,12 +401,11 @@ const Roblox_Groups_Api_SocialLinkRequest = z.object({
|
|
|
430
401
|
url: z.string(),
|
|
431
402
|
title: z.string(),
|
|
432
403
|
});
|
|
433
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ =
|
|
434
|
-
z.
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
});
|
|
404
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ = z.object({
|
|
405
|
+
previousPageCursor: z.string(),
|
|
406
|
+
nextPageCursor: z.string(),
|
|
407
|
+
data: z.array(Roblox_Groups_Api_UserGroupRoleResponse),
|
|
408
|
+
});
|
|
439
409
|
const Roblox_Groups_Api_JoinGroupRequest = z.object({
|
|
440
410
|
sessionId: z.string(),
|
|
441
411
|
redemptionToken: z.string(),
|
|
@@ -451,12 +421,11 @@ const Roblox_Groups_Api_Models_Response_GroupWallPostModel = z.object({
|
|
|
451
421
|
created: z.string().datetime({ offset: true }),
|
|
452
422
|
updated: z.string().datetime({ offset: true }),
|
|
453
423
|
});
|
|
454
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ =
|
|
455
|
-
z.
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
});
|
|
424
|
+
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ = z.object({
|
|
425
|
+
previousPageCursor: z.string(),
|
|
426
|
+
nextPageCursor: z.string(),
|
|
427
|
+
data: z.array(Roblox_Groups_Api_Models_Response_GroupWallPostModel),
|
|
428
|
+
});
|
|
460
429
|
const Roblox_Groups_Api_CreateWallPostRequest = z.object({
|
|
461
430
|
body: z.string(),
|
|
462
431
|
captchaId: z.string(),
|
|
@@ -491,11 +460,9 @@ const Roblox_Groups_Api_GroupNameChangeConfigurationResponse = z.object({
|
|
|
491
460
|
});
|
|
492
461
|
const Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = z.object({
|
|
493
462
|
groupConfiguration: Roblox_Groups_Api_GroupConfigurationResponse,
|
|
494
|
-
recurringPayoutsConfiguration:
|
|
495
|
-
Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
463
|
+
recurringPayoutsConfiguration: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
496
464
|
roleConfiguration: Roblox_Groups_Api_RoleConfigurationResponse,
|
|
497
|
-
groupNameChangeConfiguration:
|
|
498
|
-
Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
465
|
+
groupNameChangeConfiguration: Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
499
466
|
isPremiumPayoutsEnabled: z.boolean(),
|
|
500
467
|
isDefaultEmblemPolicyEnabled: z.boolean(),
|
|
501
468
|
});
|
|
@@ -535,8 +502,9 @@ const Roblox_Web_Responses_Groups_GroupBasicResponse = z.object({
|
|
|
535
502
|
memberCount: z.number().int(),
|
|
536
503
|
hasVerifiedBadge: z.boolean(),
|
|
537
504
|
});
|
|
538
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ =
|
|
539
|
-
|
|
505
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ = z.object({
|
|
506
|
+
data: z.array(Roblox_Web_Responses_Groups_GroupBasicResponse),
|
|
507
|
+
});
|
|
540
508
|
const Roblox_Groups_Api_GroupSearchMetadataResponse = z.object({
|
|
541
509
|
SuggestedGroupKeywords: z.array(z.string()),
|
|
542
510
|
ShowFriendsGroupsSort: z.boolean(),
|
|
@@ -550,46 +518,48 @@ const Roblox_Groups_Api_GroupRoleDetailResponse = z.object({
|
|
|
550
518
|
memberCount: z.number().int(),
|
|
551
519
|
isBase: z.boolean(),
|
|
552
520
|
color: z.enum([
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
521
|
+
'Invalid',
|
|
522
|
+
'Blue',
|
|
523
|
+
'Green',
|
|
524
|
+
'Purple',
|
|
525
|
+
'Yellow',
|
|
526
|
+
'Orange',
|
|
527
|
+
'Red',
|
|
528
|
+
'Magenta',
|
|
529
|
+
'Teal',
|
|
530
|
+
'Turquoise',
|
|
531
|
+
'Rust',
|
|
532
|
+
'Pistachio',
|
|
533
|
+
'Midnight',
|
|
534
|
+
'Lavender',
|
|
535
|
+
'Pink',
|
|
536
|
+
'Crimson',
|
|
537
|
+
'Plum',
|
|
570
538
|
]),
|
|
571
539
|
});
|
|
572
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ =
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
540
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ = z.object({
|
|
541
|
+
data: z.array(Roblox_Groups_Api_GroupRoleDetailResponse),
|
|
542
|
+
});
|
|
543
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_ = z.object({
|
|
544
|
+
data: z.array(Roblox_Groups_Api_GroupDetailResponse),
|
|
545
|
+
});
|
|
576
546
|
const Roblox_Groups_Api_GroupMembershipDetailResponse = z.object({
|
|
577
547
|
group: Roblox_Groups_Api_GroupDetailResponse,
|
|
578
548
|
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
579
549
|
isPrimaryGroup: z.boolean(),
|
|
580
550
|
isNotificationsEnabled: z.boolean(),
|
|
581
|
-
notificationPreferences: z.array(
|
|
582
|
-
Roblox_Groups_Api_GroupNotificationPreferenceData
|
|
583
|
-
),
|
|
551
|
+
notificationPreferences: z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
584
552
|
});
|
|
585
553
|
const Roblox_Groups_Api_UserGroupMembershipResponse = z.object({
|
|
586
554
|
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
587
555
|
groups: z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
|
|
588
556
|
});
|
|
589
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ =
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
557
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ = z.object({
|
|
558
|
+
data: z.array(Roblox_Groups_Api_UserGroupMembershipResponse),
|
|
559
|
+
});
|
|
560
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_ = z.object({
|
|
561
|
+
data: z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
|
|
562
|
+
});
|
|
593
563
|
const Roblox_Groups_Api_ChangeOwnerRequest = z.object({
|
|
594
564
|
userId: z.number().int(),
|
|
595
565
|
});
|
|
@@ -606,14 +576,16 @@ const groups_create_body = z.object({
|
|
|
606
576
|
buildersClubMembersOnly: z.boolean(),
|
|
607
577
|
Files: z.instanceof(File),
|
|
608
578
|
});
|
|
609
|
-
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ =
|
|
610
|
-
|
|
579
|
+
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ = z.object({
|
|
580
|
+
id: z.number().int(),
|
|
581
|
+
type: z.literal('User'),
|
|
582
|
+
name: z.string(),
|
|
583
|
+
});
|
|
611
584
|
const Roblox_Web_Responses_Groups_GroupResponseV2 = z.object({
|
|
612
585
|
id: z.number().int(),
|
|
613
586
|
name: z.string(),
|
|
614
587
|
description: z.string(),
|
|
615
|
-
owner:
|
|
616
|
-
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
588
|
+
owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
617
589
|
memberCount: z.number().int(),
|
|
618
590
|
created: z.string().datetime({ offset: true }),
|
|
619
591
|
hasVerifiedBadge: z.boolean(),
|
|
@@ -648,11 +620,11 @@ const Roblox_Groups_Api_UpdateGroupNameResponse = z.object({
|
|
|
648
620
|
const Roblox_Groups_Api_UpdateGroupNotificationPreferenceRequest = z.object({
|
|
649
621
|
notificationsEnabled: z.boolean(),
|
|
650
622
|
type: z.enum([
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
623
|
+
'AnnouncementCreatedNotification',
|
|
624
|
+
'ForumPostCreatedNotification',
|
|
625
|
+
'ForumCommentCreatedNotification',
|
|
626
|
+
'ForumCommentReplyCreatedNotification',
|
|
627
|
+
'ForumSubscriberNotification',
|
|
656
628
|
]),
|
|
657
629
|
});
|
|
658
630
|
const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = z.object({
|
|
@@ -675,13 +647,13 @@ const groups_icon_body = z.object({ Files: z.instanceof(File) });
|
|
|
675
647
|
* @param groupId The group Id.
|
|
676
648
|
*/
|
|
677
649
|
export const getFeaturedContentEvent = endpoint({
|
|
678
|
-
method:
|
|
679
|
-
path:
|
|
680
|
-
baseUrl:
|
|
681
|
-
requestFormat:
|
|
650
|
+
method: 'GET',
|
|
651
|
+
path: '/v1/featured-content/event',
|
|
652
|
+
baseUrl: 'https://groups.roblox.com',
|
|
653
|
+
requestFormat: 'json',
|
|
682
654
|
serializationMethod: {
|
|
683
655
|
groupId: {
|
|
684
|
-
style:
|
|
656
|
+
style: 'form',
|
|
685
657
|
explode: true,
|
|
686
658
|
},
|
|
687
659
|
},
|
|
@@ -698,17 +670,17 @@ export const getFeaturedContentEvent = endpoint({
|
|
|
698
670
|
* @param eventId The event Id.
|
|
699
671
|
*/
|
|
700
672
|
export const postFeaturedContentEvent = endpoint({
|
|
701
|
-
method:
|
|
702
|
-
path:
|
|
703
|
-
baseUrl:
|
|
704
|
-
requestFormat:
|
|
673
|
+
method: 'POST',
|
|
674
|
+
path: '/v1/featured-content/event',
|
|
675
|
+
baseUrl: 'https://groups.roblox.com',
|
|
676
|
+
requestFormat: 'json',
|
|
705
677
|
serializationMethod: {
|
|
706
678
|
groupId: {
|
|
707
|
-
style:
|
|
679
|
+
style: 'form',
|
|
708
680
|
explode: true,
|
|
709
681
|
},
|
|
710
682
|
eventId: {
|
|
711
|
-
style:
|
|
683
|
+
style: 'form',
|
|
712
684
|
explode: true,
|
|
713
685
|
},
|
|
714
686
|
},
|
|
@@ -732,17 +704,17 @@ export const postFeaturedContentEvent = endpoint({
|
|
|
732
704
|
* @param eventId The event Id.
|
|
733
705
|
*/
|
|
734
706
|
export const deleteFeaturedContentEvent = endpoint({
|
|
735
|
-
method:
|
|
736
|
-
path:
|
|
737
|
-
baseUrl:
|
|
738
|
-
requestFormat:
|
|
707
|
+
method: 'DELETE',
|
|
708
|
+
path: '/v1/featured-content/event',
|
|
709
|
+
baseUrl: 'https://groups.roblox.com',
|
|
710
|
+
requestFormat: 'json',
|
|
739
711
|
serializationMethod: {
|
|
740
712
|
groupId: {
|
|
741
|
-
style:
|
|
713
|
+
style: 'form',
|
|
742
714
|
explode: true,
|
|
743
715
|
},
|
|
744
716
|
eventId: {
|
|
745
|
-
style:
|
|
717
|
+
style: 'form',
|
|
746
718
|
explode: true,
|
|
747
719
|
},
|
|
748
720
|
},
|
|
@@ -765,13 +737,13 @@ export const deleteFeaturedContentEvent = endpoint({
|
|
|
765
737
|
* @param groupId The group Id.
|
|
766
738
|
*/
|
|
767
739
|
export const getGroupsGroupid = endpoint({
|
|
768
|
-
method:
|
|
769
|
-
path:
|
|
770
|
-
baseUrl:
|
|
771
|
-
requestFormat:
|
|
740
|
+
method: 'GET',
|
|
741
|
+
path: '/v1/groups/:groupId',
|
|
742
|
+
baseUrl: 'https://groups.roblox.com',
|
|
743
|
+
requestFormat: 'json',
|
|
772
744
|
serializationMethod: {
|
|
773
745
|
groupId: {
|
|
774
|
-
style:
|
|
746
|
+
style: 'simple',
|
|
775
747
|
},
|
|
776
748
|
},
|
|
777
749
|
parameters: {
|
|
@@ -796,32 +768,32 @@ export const getGroupsGroupid = endpoint({
|
|
|
796
768
|
* @param sortOrder The order the results are sorted in.
|
|
797
769
|
*/
|
|
798
770
|
export const getGroupsGroupidAuditLog = endpoint({
|
|
799
|
-
method:
|
|
800
|
-
path:
|
|
801
|
-
baseUrl:
|
|
802
|
-
requestFormat:
|
|
771
|
+
method: 'GET',
|
|
772
|
+
path: '/v1/groups/:groupId/audit-log',
|
|
773
|
+
baseUrl: 'https://groups.roblox.com',
|
|
774
|
+
requestFormat: 'json',
|
|
803
775
|
serializationMethod: {
|
|
804
776
|
groupId: {
|
|
805
|
-
style:
|
|
777
|
+
style: 'simple',
|
|
806
778
|
},
|
|
807
779
|
actionType: {
|
|
808
|
-
style:
|
|
780
|
+
style: 'form',
|
|
809
781
|
explode: true,
|
|
810
782
|
},
|
|
811
783
|
userId: {
|
|
812
|
-
style:
|
|
784
|
+
style: 'form',
|
|
813
785
|
explode: true,
|
|
814
786
|
},
|
|
815
787
|
limit: {
|
|
816
|
-
style:
|
|
788
|
+
style: 'form',
|
|
817
789
|
explode: true,
|
|
818
790
|
},
|
|
819
791
|
cursor: {
|
|
820
|
-
style:
|
|
792
|
+
style: 'form',
|
|
821
793
|
explode: true,
|
|
822
794
|
},
|
|
823
795
|
sortOrder: {
|
|
824
|
-
style:
|
|
796
|
+
style: 'form',
|
|
825
797
|
explode: true,
|
|
826
798
|
},
|
|
827
799
|
},
|
|
@@ -829,80 +801,80 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
829
801
|
groupId: z.number().int(),
|
|
830
802
|
actionType: z
|
|
831
803
|
.enum([
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
804
|
+
'DeletePost',
|
|
805
|
+
'RemoveMember',
|
|
806
|
+
'AcceptJoinRequest',
|
|
807
|
+
'DeclineJoinRequest',
|
|
808
|
+
'PostStatus',
|
|
809
|
+
'ChangeRank',
|
|
810
|
+
'BuyAd',
|
|
811
|
+
'SendAllyRequest',
|
|
812
|
+
'CreateEnemy',
|
|
813
|
+
'AcceptAllyRequest',
|
|
814
|
+
'DeclineAllyRequest',
|
|
815
|
+
'DeleteAlly',
|
|
816
|
+
'DeleteEnemy',
|
|
817
|
+
'AddGroupPlace',
|
|
818
|
+
'RemoveGroupPlace',
|
|
819
|
+
'CreateItems',
|
|
820
|
+
'ConfigureItems',
|
|
821
|
+
'SpendGroupFunds',
|
|
822
|
+
'ChangeOwner',
|
|
823
|
+
'Delete',
|
|
824
|
+
'AdjustCurrencyAmounts',
|
|
825
|
+
'Abandon',
|
|
826
|
+
'Claim',
|
|
827
|
+
'Rename',
|
|
828
|
+
'ChangeDescription',
|
|
829
|
+
'InviteToClan',
|
|
830
|
+
'KickFromClan',
|
|
831
|
+
'CancelClanInvite',
|
|
832
|
+
'BuyClan',
|
|
833
|
+
'CreateGroupAsset',
|
|
834
|
+
'UpdateGroupAsset',
|
|
835
|
+
'ConfigureGroupAsset',
|
|
836
|
+
'RevertGroupAsset',
|
|
837
|
+
'CreateGroupDeveloperProduct',
|
|
838
|
+
'ConfigureGroupGame',
|
|
839
|
+
'CreateGroupDeveloperSubscriptionProduct',
|
|
840
|
+
'Lock',
|
|
841
|
+
'Unlock',
|
|
842
|
+
'CreateGamePass',
|
|
843
|
+
'CreateBadge',
|
|
844
|
+
'ConfigureBadge',
|
|
845
|
+
'SavePlace',
|
|
846
|
+
'PublishPlace',
|
|
847
|
+
'UpdateRolesetRank',
|
|
848
|
+
'UpdateRolesetData',
|
|
849
|
+
'BanMember',
|
|
850
|
+
'UnbanMember',
|
|
851
|
+
'CreateForumCategory',
|
|
852
|
+
'UpdateForumCategory',
|
|
853
|
+
'ArchiveForumCategory',
|
|
854
|
+
'DeleteForumCategory',
|
|
855
|
+
'DeleteForumPost',
|
|
856
|
+
'DeleteForumComment',
|
|
857
|
+
'PinForumPost',
|
|
858
|
+
'UnpinForumPost',
|
|
859
|
+
'LockForumPost',
|
|
860
|
+
'UnlockForumPost',
|
|
861
|
+
'CreateRoleset',
|
|
862
|
+
'DeleteRoleset',
|
|
863
|
+
'CreateCommerceProduct',
|
|
864
|
+
'SetCommerceProductActive',
|
|
865
|
+
'ArchiveCommerceProduct',
|
|
866
|
+
'AcceptCommerceProductBundlingFee',
|
|
867
|
+
'SetCommerceProductInactive',
|
|
868
|
+
'ConnectMerchant',
|
|
869
|
+
'DisconnectMerchant',
|
|
870
|
+
'JoinGroup',
|
|
871
|
+
'LeaveGroup',
|
|
872
|
+
'UpdateGroupIcon',
|
|
873
|
+
'UpdateGroupCoverPhoto',
|
|
874
|
+
'AssignRole',
|
|
875
|
+
'UnassignRole',
|
|
876
|
+
'PublishAnnouncement',
|
|
877
|
+
'DeleteAnnouncement',
|
|
906
878
|
])
|
|
907
879
|
.optional(),
|
|
908
880
|
userId: z.number().int().optional(),
|
|
@@ -911,10 +883,9 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
911
883
|
.optional()
|
|
912
884
|
.default(10),
|
|
913
885
|
cursor: z.string().optional(),
|
|
914
|
-
sortOrder: z.enum([
|
|
886
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
915
887
|
},
|
|
916
|
-
response:
|
|
917
|
-
Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
888
|
+
response: Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
918
889
|
errors: [
|
|
919
890
|
{
|
|
920
891
|
status: 400,
|
|
@@ -940,24 +911,24 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
940
911
|
* @param sortOrder The order the results are sorted in.
|
|
941
912
|
*/
|
|
942
913
|
export const getGroupsGroupidBans = endpoint({
|
|
943
|
-
method:
|
|
944
|
-
path:
|
|
945
|
-
baseUrl:
|
|
946
|
-
requestFormat:
|
|
914
|
+
method: 'GET',
|
|
915
|
+
path: '/v1/groups/:groupId/bans',
|
|
916
|
+
baseUrl: 'https://groups.roblox.com',
|
|
917
|
+
requestFormat: 'json',
|
|
947
918
|
serializationMethod: {
|
|
948
919
|
groupId: {
|
|
949
|
-
style:
|
|
920
|
+
style: 'simple',
|
|
950
921
|
},
|
|
951
922
|
limit: {
|
|
952
|
-
style:
|
|
923
|
+
style: 'form',
|
|
953
924
|
explode: true,
|
|
954
925
|
},
|
|
955
926
|
cursor: {
|
|
956
|
-
style:
|
|
927
|
+
style: 'form',
|
|
957
928
|
explode: true,
|
|
958
929
|
},
|
|
959
930
|
sortOrder: {
|
|
960
|
-
style:
|
|
931
|
+
style: 'form',
|
|
961
932
|
explode: true,
|
|
962
933
|
},
|
|
963
934
|
},
|
|
@@ -968,10 +939,9 @@ export const getGroupsGroupidBans = endpoint({
|
|
|
968
939
|
.optional()
|
|
969
940
|
.default(10),
|
|
970
941
|
cursor: z.string().optional(),
|
|
971
|
-
sortOrder: z.enum([
|
|
942
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
972
943
|
},
|
|
973
|
-
response:
|
|
974
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_,
|
|
944
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_,
|
|
975
945
|
errors: [
|
|
976
946
|
{
|
|
977
947
|
status: 401,
|
|
@@ -998,16 +968,16 @@ export const getGroupsGroupidBans = endpoint({
|
|
|
998
968
|
* @param userId The user Id.
|
|
999
969
|
*/
|
|
1000
970
|
export const getGroupsGroupidBansUserid = endpoint({
|
|
1001
|
-
method:
|
|
1002
|
-
path:
|
|
1003
|
-
baseUrl:
|
|
1004
|
-
requestFormat:
|
|
971
|
+
method: 'GET',
|
|
972
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
973
|
+
baseUrl: 'https://groups.roblox.com',
|
|
974
|
+
requestFormat: 'json',
|
|
1005
975
|
serializationMethod: {
|
|
1006
976
|
groupId: {
|
|
1007
|
-
style:
|
|
977
|
+
style: 'simple',
|
|
1008
978
|
},
|
|
1009
979
|
userId: {
|
|
1010
|
-
style:
|
|
980
|
+
style: 'simple',
|
|
1011
981
|
},
|
|
1012
982
|
},
|
|
1013
983
|
parameters: {
|
|
@@ -1042,16 +1012,16 @@ export const getGroupsGroupidBansUserid = endpoint({
|
|
|
1042
1012
|
* @param userId The Id of the user being banned.
|
|
1043
1013
|
*/
|
|
1044
1014
|
export const postGroupsGroupidBansUserid = endpoint({
|
|
1045
|
-
method:
|
|
1046
|
-
path:
|
|
1047
|
-
baseUrl:
|
|
1048
|
-
requestFormat:
|
|
1015
|
+
method: 'POST',
|
|
1016
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
1017
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1018
|
+
requestFormat: 'json',
|
|
1049
1019
|
serializationMethod: {
|
|
1050
1020
|
groupId: {
|
|
1051
|
-
style:
|
|
1021
|
+
style: 'simple',
|
|
1052
1022
|
},
|
|
1053
1023
|
userId: {
|
|
1054
|
-
style:
|
|
1024
|
+
style: 'simple',
|
|
1055
1025
|
},
|
|
1056
1026
|
},
|
|
1057
1027
|
parameters: {
|
|
@@ -1094,16 +1064,16 @@ export const postGroupsGroupidBansUserid = endpoint({
|
|
|
1094
1064
|
* @param userId The Id of the user being unbanned.
|
|
1095
1065
|
*/
|
|
1096
1066
|
export const deleteGroupsGroupidBansUserid = endpoint({
|
|
1097
|
-
method:
|
|
1098
|
-
path:
|
|
1099
|
-
baseUrl:
|
|
1100
|
-
requestFormat:
|
|
1067
|
+
method: 'DELETE',
|
|
1068
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
1069
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1070
|
+
requestFormat: 'json',
|
|
1101
1071
|
serializationMethod: {
|
|
1102
1072
|
groupId: {
|
|
1103
|
-
style:
|
|
1073
|
+
style: 'simple',
|
|
1104
1074
|
},
|
|
1105
1075
|
userId: {
|
|
1106
|
-
style:
|
|
1076
|
+
style: 'simple',
|
|
1107
1077
|
},
|
|
1108
1078
|
},
|
|
1109
1079
|
parameters: {
|
|
@@ -1144,24 +1114,24 @@ export const deleteGroupsGroupidBansUserid = endpoint({
|
|
|
1144
1114
|
* @param sortOrder The order the results are sorted in.
|
|
1145
1115
|
*/
|
|
1146
1116
|
export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
1147
|
-
method:
|
|
1148
|
-
path:
|
|
1149
|
-
baseUrl:
|
|
1150
|
-
requestFormat:
|
|
1117
|
+
method: 'GET',
|
|
1118
|
+
path: '/v1/groups/:groupId/blocked-keywords',
|
|
1119
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1120
|
+
requestFormat: 'json',
|
|
1151
1121
|
serializationMethod: {
|
|
1152
1122
|
groupId: {
|
|
1153
|
-
style:
|
|
1123
|
+
style: 'simple',
|
|
1154
1124
|
},
|
|
1155
1125
|
limit: {
|
|
1156
|
-
style:
|
|
1126
|
+
style: 'form',
|
|
1157
1127
|
explode: true,
|
|
1158
1128
|
},
|
|
1159
1129
|
cursor: {
|
|
1160
|
-
style:
|
|
1130
|
+
style: 'form',
|
|
1161
1131
|
explode: true,
|
|
1162
1132
|
},
|
|
1163
1133
|
sortOrder: {
|
|
1164
|
-
style:
|
|
1134
|
+
style: 'form',
|
|
1165
1135
|
explode: true,
|
|
1166
1136
|
},
|
|
1167
1137
|
},
|
|
@@ -1172,10 +1142,9 @@ export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1172
1142
|
.optional()
|
|
1173
1143
|
.default(10),
|
|
1174
1144
|
cursor: z.string().optional(),
|
|
1175
|
-
sortOrder: z.enum([
|
|
1145
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1176
1146
|
},
|
|
1177
|
-
response:
|
|
1178
|
-
Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_,
|
|
1147
|
+
response: Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_,
|
|
1179
1148
|
errors: [
|
|
1180
1149
|
{
|
|
1181
1150
|
status: 400,
|
|
@@ -1204,14 +1173,14 @@ export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1204
1173
|
* @param groupId
|
|
1205
1174
|
*/
|
|
1206
1175
|
export const postGroupsGroupidBlockedKeywords = endpoint({
|
|
1207
|
-
method:
|
|
1208
|
-
path:
|
|
1209
|
-
baseUrl:
|
|
1210
|
-
requestFormat:
|
|
1176
|
+
method: 'POST',
|
|
1177
|
+
path: '/v1/groups/:groupId/blocked-keywords',
|
|
1178
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1179
|
+
requestFormat: 'json',
|
|
1211
1180
|
serializationMethod: {
|
|
1212
1181
|
body: {},
|
|
1213
1182
|
groupId: {
|
|
1214
|
-
style:
|
|
1183
|
+
style: 'simple',
|
|
1215
1184
|
},
|
|
1216
1185
|
},
|
|
1217
1186
|
parameters: {
|
|
@@ -1255,16 +1224,16 @@ export const postGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1255
1224
|
* @param keywordId
|
|
1256
1225
|
*/
|
|
1257
1226
|
export const deleteGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
1258
|
-
method:
|
|
1259
|
-
path:
|
|
1260
|
-
baseUrl:
|
|
1261
|
-
requestFormat:
|
|
1227
|
+
method: 'DELETE',
|
|
1228
|
+
path: '/v1/groups/:groupId/blocked-keywords/:keywordId',
|
|
1229
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1230
|
+
requestFormat: 'json',
|
|
1262
1231
|
serializationMethod: {
|
|
1263
1232
|
groupId: {
|
|
1264
|
-
style:
|
|
1233
|
+
style: 'simple',
|
|
1265
1234
|
},
|
|
1266
1235
|
keywordId: {
|
|
1267
|
-
style:
|
|
1236
|
+
style: 'simple',
|
|
1268
1237
|
},
|
|
1269
1238
|
},
|
|
1270
1239
|
parameters: {
|
|
@@ -1307,17 +1276,17 @@ export const deleteGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
|
1307
1276
|
* @param keywordId
|
|
1308
1277
|
*/
|
|
1309
1278
|
export const patchGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
1310
|
-
method:
|
|
1311
|
-
path:
|
|
1312
|
-
baseUrl:
|
|
1313
|
-
requestFormat:
|
|
1279
|
+
method: 'PATCH',
|
|
1280
|
+
path: '/v1/groups/:groupId/blocked-keywords/:keywordId',
|
|
1281
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1282
|
+
requestFormat: 'json',
|
|
1314
1283
|
serializationMethod: {
|
|
1315
1284
|
body: {},
|
|
1316
1285
|
groupId: {
|
|
1317
|
-
style:
|
|
1286
|
+
style: 'simple',
|
|
1318
1287
|
},
|
|
1319
1288
|
keywordId: {
|
|
1320
|
-
style:
|
|
1289
|
+
style: 'simple',
|
|
1321
1290
|
},
|
|
1322
1291
|
},
|
|
1323
1292
|
parameters: {
|
|
@@ -1366,14 +1335,14 @@ export const patchGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
|
1366
1335
|
* @param groupId The group Id.
|
|
1367
1336
|
*/
|
|
1368
1337
|
export const postGroupsGroupidChangeOwner = endpoint({
|
|
1369
|
-
method:
|
|
1370
|
-
path:
|
|
1371
|
-
baseUrl:
|
|
1372
|
-
requestFormat:
|
|
1338
|
+
method: 'POST',
|
|
1339
|
+
path: '/v1/groups/:groupId/change-owner',
|
|
1340
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1341
|
+
requestFormat: 'json',
|
|
1373
1342
|
serializationMethod: {
|
|
1374
1343
|
body: {},
|
|
1375
1344
|
groupId: {
|
|
1376
|
-
style:
|
|
1345
|
+
style: 'simple',
|
|
1377
1346
|
},
|
|
1378
1347
|
},
|
|
1379
1348
|
parameters: {
|
|
@@ -1407,13 +1376,13 @@ export const postGroupsGroupidChangeOwner = endpoint({
|
|
|
1407
1376
|
* @param groupId The group Id.
|
|
1408
1377
|
*/
|
|
1409
1378
|
export const postGroupsGroupidClaimOwnership = endpoint({
|
|
1410
|
-
method:
|
|
1411
|
-
path:
|
|
1412
|
-
baseUrl:
|
|
1413
|
-
requestFormat:
|
|
1379
|
+
method: 'POST',
|
|
1380
|
+
path: '/v1/groups/:groupId/claim-ownership',
|
|
1381
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1382
|
+
requestFormat: 'json',
|
|
1414
1383
|
serializationMethod: {
|
|
1415
1384
|
groupId: {
|
|
1416
|
-
style:
|
|
1385
|
+
style: 'simple',
|
|
1417
1386
|
},
|
|
1418
1387
|
},
|
|
1419
1388
|
parameters: {
|
|
@@ -1448,13 +1417,13 @@ export const postGroupsGroupidClaimOwnership = endpoint({
|
|
|
1448
1417
|
* @param groupId
|
|
1449
1418
|
*/
|
|
1450
1419
|
export const getGroupsGroupidCommunityFeatureFreezes = endpoint({
|
|
1451
|
-
method:
|
|
1452
|
-
path:
|
|
1453
|
-
baseUrl:
|
|
1454
|
-
requestFormat:
|
|
1420
|
+
method: 'GET',
|
|
1421
|
+
path: '/v1/groups/:groupId/community-feature-freezes',
|
|
1422
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1423
|
+
requestFormat: 'json',
|
|
1455
1424
|
serializationMethod: {
|
|
1456
1425
|
groupId: {
|
|
1457
|
-
style:
|
|
1426
|
+
style: 'simple',
|
|
1458
1427
|
},
|
|
1459
1428
|
},
|
|
1460
1429
|
parameters: {
|
|
@@ -1469,13 +1438,13 @@ export const getGroupsGroupidCommunityFeatureFreezes = endpoint({
|
|
|
1469
1438
|
* @param groupId The group Id.
|
|
1470
1439
|
*/
|
|
1471
1440
|
export const getGroupsGroupidConfiguration = endpoint({
|
|
1472
|
-
method:
|
|
1473
|
-
path:
|
|
1474
|
-
baseUrl:
|
|
1475
|
-
requestFormat:
|
|
1441
|
+
method: 'GET',
|
|
1442
|
+
path: '/v1/groups/:groupId/configuration',
|
|
1443
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1444
|
+
requestFormat: 'json',
|
|
1476
1445
|
serializationMethod: {
|
|
1477
1446
|
groupId: {
|
|
1478
|
-
style:
|
|
1447
|
+
style: 'simple',
|
|
1479
1448
|
},
|
|
1480
1449
|
},
|
|
1481
1450
|
parameters: {
|
|
@@ -1506,14 +1475,14 @@ export const getGroupsGroupidConfiguration = endpoint({
|
|
|
1506
1475
|
* @param groupId The id of the group the user is in.
|
|
1507
1476
|
*/
|
|
1508
1477
|
export const patchGroupsGroupidDescription = endpoint({
|
|
1509
|
-
method:
|
|
1510
|
-
path:
|
|
1511
|
-
baseUrl:
|
|
1512
|
-
requestFormat:
|
|
1478
|
+
method: 'PATCH',
|
|
1479
|
+
path: '/v1/groups/:groupId/description',
|
|
1480
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1481
|
+
requestFormat: 'json',
|
|
1513
1482
|
serializationMethod: {
|
|
1514
1483
|
body: {},
|
|
1515
1484
|
groupId: {
|
|
1516
|
-
style:
|
|
1485
|
+
style: 'simple',
|
|
1517
1486
|
},
|
|
1518
1487
|
},
|
|
1519
1488
|
parameters: {
|
|
@@ -1545,13 +1514,13 @@ export const patchGroupsGroupidDescription = endpoint({
|
|
|
1545
1514
|
* @param groupId
|
|
1546
1515
|
*/
|
|
1547
1516
|
export const getGroupsGroupidEmotes = endpoint({
|
|
1548
|
-
method:
|
|
1549
|
-
path:
|
|
1550
|
-
baseUrl:
|
|
1551
|
-
requestFormat:
|
|
1517
|
+
method: 'GET',
|
|
1518
|
+
path: '/v1/groups/:groupId/emotes',
|
|
1519
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1520
|
+
requestFormat: 'json',
|
|
1552
1521
|
serializationMethod: {
|
|
1553
1522
|
groupId: {
|
|
1554
|
-
style:
|
|
1523
|
+
style: 'simple',
|
|
1555
1524
|
},
|
|
1556
1525
|
},
|
|
1557
1526
|
parameters: {
|
|
@@ -1566,13 +1535,13 @@ export const getGroupsGroupidEmotes = endpoint({
|
|
|
1566
1535
|
* @param groupId
|
|
1567
1536
|
*/
|
|
1568
1537
|
export const getGroupsGroupidFeatures = endpoint({
|
|
1569
|
-
method:
|
|
1570
|
-
path:
|
|
1571
|
-
baseUrl:
|
|
1572
|
-
requestFormat:
|
|
1538
|
+
method: 'GET',
|
|
1539
|
+
path: '/v1/groups/:groupId/features',
|
|
1540
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1541
|
+
requestFormat: 'json',
|
|
1573
1542
|
serializationMethod: {
|
|
1574
1543
|
groupId: {
|
|
1575
|
-
style:
|
|
1544
|
+
style: 'simple',
|
|
1576
1545
|
},
|
|
1577
1546
|
},
|
|
1578
1547
|
parameters: {
|
|
@@ -1603,14 +1572,14 @@ Currently only removes active freezes for features set to Roblox.Groups.Api.Feat
|
|
|
1603
1572
|
* @param groupId
|
|
1604
1573
|
*/
|
|
1605
1574
|
export const patchGroupsGroupidFeatures = endpoint({
|
|
1606
|
-
method:
|
|
1607
|
-
path:
|
|
1608
|
-
baseUrl:
|
|
1609
|
-
requestFormat:
|
|
1575
|
+
method: 'PATCH',
|
|
1576
|
+
path: '/v1/groups/:groupId/features',
|
|
1577
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1578
|
+
requestFormat: 'json',
|
|
1610
1579
|
serializationMethod: {
|
|
1611
1580
|
body: {},
|
|
1612
1581
|
groupId: {
|
|
1613
|
-
style:
|
|
1582
|
+
style: 'simple',
|
|
1614
1583
|
},
|
|
1615
1584
|
},
|
|
1616
1585
|
parameters: {
|
|
@@ -1642,13 +1611,13 @@ Used to display a banner on Creator Hub/Studio to inform group members that some
|
|
|
1642
1611
|
* @param groupId
|
|
1643
1612
|
*/
|
|
1644
1613
|
export const getGroupsGroupidFeaturesStatus = endpoint({
|
|
1645
|
-
method:
|
|
1646
|
-
path:
|
|
1647
|
-
baseUrl:
|
|
1648
|
-
requestFormat:
|
|
1614
|
+
method: 'GET',
|
|
1615
|
+
path: '/v1/groups/:groupId/features/status',
|
|
1616
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1617
|
+
requestFormat: 'json',
|
|
1649
1618
|
serializationMethod: {
|
|
1650
1619
|
groupId: {
|
|
1651
|
-
style:
|
|
1620
|
+
style: 'simple',
|
|
1652
1621
|
},
|
|
1653
1622
|
},
|
|
1654
1623
|
parameters: {
|
|
@@ -1680,24 +1649,24 @@ export const getGroupsGroupidFeaturesStatus = endpoint({
|
|
|
1680
1649
|
* @param sortOrder The order the results are sorted in.
|
|
1681
1650
|
*/
|
|
1682
1651
|
export const getGroupsGroupidJoinRequests = endpoint({
|
|
1683
|
-
method:
|
|
1684
|
-
path:
|
|
1685
|
-
baseUrl:
|
|
1686
|
-
requestFormat:
|
|
1652
|
+
method: 'GET',
|
|
1653
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1654
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1655
|
+
requestFormat: 'json',
|
|
1687
1656
|
serializationMethod: {
|
|
1688
1657
|
groupId: {
|
|
1689
|
-
style:
|
|
1658
|
+
style: 'simple',
|
|
1690
1659
|
},
|
|
1691
1660
|
limit: {
|
|
1692
|
-
style:
|
|
1661
|
+
style: 'form',
|
|
1693
1662
|
explode: true,
|
|
1694
1663
|
},
|
|
1695
1664
|
cursor: {
|
|
1696
|
-
style:
|
|
1665
|
+
style: 'form',
|
|
1697
1666
|
explode: true,
|
|
1698
1667
|
},
|
|
1699
1668
|
sortOrder: {
|
|
1700
|
-
style:
|
|
1669
|
+
style: 'form',
|
|
1701
1670
|
explode: true,
|
|
1702
1671
|
},
|
|
1703
1672
|
},
|
|
@@ -1708,10 +1677,9 @@ export const getGroupsGroupidJoinRequests = endpoint({
|
|
|
1708
1677
|
.optional()
|
|
1709
1678
|
.default(10),
|
|
1710
1679
|
cursor: z.string().optional(),
|
|
1711
|
-
sortOrder: z.enum([
|
|
1680
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1712
1681
|
},
|
|
1713
|
-
response:
|
|
1714
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
1682
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
1715
1683
|
errors: [
|
|
1716
1684
|
{
|
|
1717
1685
|
status: 400,
|
|
@@ -1735,14 +1703,14 @@ export const getGroupsGroupidJoinRequests = endpoint({
|
|
|
1735
1703
|
* @param groupId The group id.
|
|
1736
1704
|
*/
|
|
1737
1705
|
export const postGroupsGroupidJoinRequests = endpoint({
|
|
1738
|
-
method:
|
|
1739
|
-
path:
|
|
1740
|
-
baseUrl:
|
|
1741
|
-
requestFormat:
|
|
1706
|
+
method: 'POST',
|
|
1707
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1708
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1709
|
+
requestFormat: 'json',
|
|
1742
1710
|
serializationMethod: {
|
|
1743
1711
|
body: {},
|
|
1744
1712
|
groupId: {
|
|
1745
|
-
style:
|
|
1713
|
+
style: 'simple',
|
|
1746
1714
|
},
|
|
1747
1715
|
},
|
|
1748
1716
|
parameters: {
|
|
@@ -1784,14 +1752,14 @@ export const postGroupsGroupidJoinRequests = endpoint({
|
|
|
1784
1752
|
* @param groupId The group id.
|
|
1785
1753
|
*/
|
|
1786
1754
|
export const deleteGroupsGroupidJoinRequests = endpoint({
|
|
1787
|
-
method:
|
|
1788
|
-
path:
|
|
1789
|
-
baseUrl:
|
|
1790
|
-
requestFormat:
|
|
1755
|
+
method: 'DELETE',
|
|
1756
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1757
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1758
|
+
requestFormat: 'json',
|
|
1791
1759
|
serializationMethod: {
|
|
1792
1760
|
body: {},
|
|
1793
1761
|
groupId: {
|
|
1794
|
-
style:
|
|
1762
|
+
style: 'simple',
|
|
1795
1763
|
},
|
|
1796
1764
|
},
|
|
1797
1765
|
parameters: {
|
|
@@ -1822,16 +1790,16 @@ export const deleteGroupsGroupidJoinRequests = endpoint({
|
|
|
1822
1790
|
* @param userId The user Id.
|
|
1823
1791
|
*/
|
|
1824
1792
|
export const getGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1825
|
-
method:
|
|
1826
|
-
path:
|
|
1827
|
-
baseUrl:
|
|
1828
|
-
requestFormat:
|
|
1793
|
+
method: 'GET',
|
|
1794
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1795
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1796
|
+
requestFormat: 'json',
|
|
1829
1797
|
serializationMethod: {
|
|
1830
1798
|
groupId: {
|
|
1831
|
-
style:
|
|
1799
|
+
style: 'simple',
|
|
1832
1800
|
},
|
|
1833
1801
|
userId: {
|
|
1834
|
-
style:
|
|
1802
|
+
style: 'simple',
|
|
1835
1803
|
},
|
|
1836
1804
|
},
|
|
1837
1805
|
parameters: {
|
|
@@ -1861,16 +1829,16 @@ export const getGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1861
1829
|
* @param userId The user Id.
|
|
1862
1830
|
*/
|
|
1863
1831
|
export const postGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1864
|
-
method:
|
|
1865
|
-
path:
|
|
1866
|
-
baseUrl:
|
|
1867
|
-
requestFormat:
|
|
1832
|
+
method: 'POST',
|
|
1833
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1834
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1835
|
+
requestFormat: 'json',
|
|
1868
1836
|
serializationMethod: {
|
|
1869
1837
|
groupId: {
|
|
1870
|
-
style:
|
|
1838
|
+
style: 'simple',
|
|
1871
1839
|
},
|
|
1872
1840
|
userId: {
|
|
1873
|
-
style:
|
|
1841
|
+
style: 'simple',
|
|
1874
1842
|
},
|
|
1875
1843
|
},
|
|
1876
1844
|
parameters: {
|
|
@@ -1908,16 +1876,16 @@ export const postGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1908
1876
|
* @param userId The user Id.
|
|
1909
1877
|
*/
|
|
1910
1878
|
export const deleteGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1911
|
-
method:
|
|
1912
|
-
path:
|
|
1913
|
-
baseUrl:
|
|
1914
|
-
requestFormat:
|
|
1879
|
+
method: 'DELETE',
|
|
1880
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1881
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1882
|
+
requestFormat: 'json',
|
|
1915
1883
|
serializationMethod: {
|
|
1916
1884
|
groupId: {
|
|
1917
|
-
style:
|
|
1885
|
+
style: 'simple',
|
|
1918
1886
|
},
|
|
1919
1887
|
userId: {
|
|
1920
|
-
style:
|
|
1888
|
+
style: 'simple',
|
|
1921
1889
|
},
|
|
1922
1890
|
},
|
|
1923
1891
|
parameters: {
|
|
@@ -1949,16 +1917,16 @@ export const deleteGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1949
1917
|
* @param includeNotificationPreferences
|
|
1950
1918
|
*/
|
|
1951
1919
|
export const getGroupsGroupidMembership = endpoint({
|
|
1952
|
-
method:
|
|
1953
|
-
path:
|
|
1954
|
-
baseUrl:
|
|
1955
|
-
requestFormat:
|
|
1920
|
+
method: 'GET',
|
|
1921
|
+
path: '/v1/groups/:groupId/membership',
|
|
1922
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1923
|
+
requestFormat: 'json',
|
|
1956
1924
|
serializationMethod: {
|
|
1957
1925
|
groupId: {
|
|
1958
|
-
style:
|
|
1926
|
+
style: 'simple',
|
|
1959
1927
|
},
|
|
1960
1928
|
includeNotificationPreferences: {
|
|
1961
|
-
style:
|
|
1929
|
+
style: 'form',
|
|
1962
1930
|
explode: true,
|
|
1963
1931
|
},
|
|
1964
1932
|
},
|
|
@@ -1982,14 +1950,14 @@ export const getGroupsGroupidMembership = endpoint({
|
|
|
1982
1950
|
* @description This endpoint will charge Robux for the group rename.
|
|
1983
1951
|
*/
|
|
1984
1952
|
export const patchGroupsGroupidName = endpoint({
|
|
1985
|
-
method:
|
|
1986
|
-
path:
|
|
1987
|
-
baseUrl:
|
|
1988
|
-
requestFormat:
|
|
1953
|
+
method: 'PATCH',
|
|
1954
|
+
path: '/v1/groups/:groupId/name',
|
|
1955
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1956
|
+
requestFormat: 'json',
|
|
1989
1957
|
serializationMethod: {
|
|
1990
1958
|
body: {},
|
|
1991
1959
|
groupId: {
|
|
1992
|
-
style:
|
|
1960
|
+
style: 'simple',
|
|
1993
1961
|
},
|
|
1994
1962
|
},
|
|
1995
1963
|
parameters: {
|
|
@@ -2042,24 +2010,24 @@ export const patchGroupsGroupidName = endpoint({
|
|
|
2042
2010
|
* @param sortOrder The order the results are sorted in.
|
|
2043
2011
|
*/
|
|
2044
2012
|
export const getGroupsGroupidNameHistory = endpoint({
|
|
2045
|
-
method:
|
|
2046
|
-
path:
|
|
2047
|
-
baseUrl:
|
|
2048
|
-
requestFormat:
|
|
2013
|
+
method: 'GET',
|
|
2014
|
+
path: '/v1/groups/:groupId/name-history',
|
|
2015
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2016
|
+
requestFormat: 'json',
|
|
2049
2017
|
serializationMethod: {
|
|
2050
2018
|
groupId: {
|
|
2051
|
-
style:
|
|
2019
|
+
style: 'simple',
|
|
2052
2020
|
},
|
|
2053
2021
|
limit: {
|
|
2054
|
-
style:
|
|
2022
|
+
style: 'form',
|
|
2055
2023
|
explode: true,
|
|
2056
2024
|
},
|
|
2057
2025
|
cursor: {
|
|
2058
|
-
style:
|
|
2026
|
+
style: 'form',
|
|
2059
2027
|
explode: true,
|
|
2060
2028
|
},
|
|
2061
2029
|
sortOrder: {
|
|
2062
|
-
style:
|
|
2030
|
+
style: 'form',
|
|
2063
2031
|
explode: true,
|
|
2064
2032
|
},
|
|
2065
2033
|
},
|
|
@@ -2070,10 +2038,9 @@ export const getGroupsGroupidNameHistory = endpoint({
|
|
|
2070
2038
|
.optional()
|
|
2071
2039
|
.default(10),
|
|
2072
2040
|
cursor: z.string().optional(),
|
|
2073
|
-
sortOrder: z.enum([
|
|
2041
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
2074
2042
|
},
|
|
2075
|
-
response:
|
|
2076
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
2043
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
2077
2044
|
errors: [
|
|
2078
2045
|
{
|
|
2079
2046
|
status: 400,
|
|
@@ -2092,14 +2059,14 @@ export const getGroupsGroupidNameHistory = endpoint({
|
|
|
2092
2059
|
* @param groupId The id of the group the user is in.
|
|
2093
2060
|
*/
|
|
2094
2061
|
export const patchGroupsGroupidNotificationPreference = endpoint({
|
|
2095
|
-
method:
|
|
2096
|
-
path:
|
|
2097
|
-
baseUrl:
|
|
2098
|
-
requestFormat:
|
|
2062
|
+
method: 'PATCH',
|
|
2063
|
+
path: '/v1/groups/:groupId/notification-preference',
|
|
2064
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2065
|
+
requestFormat: 'json',
|
|
2099
2066
|
serializationMethod: {
|
|
2100
2067
|
body: {},
|
|
2101
2068
|
groupId: {
|
|
2102
|
-
style:
|
|
2069
|
+
style: 'simple',
|
|
2103
2070
|
},
|
|
2104
2071
|
},
|
|
2105
2072
|
parameters: {
|
|
@@ -2128,13 +2095,13 @@ export const patchGroupsGroupidNotificationPreference = endpoint({
|
|
|
2128
2095
|
* @param groupId The group id.
|
|
2129
2096
|
*/
|
|
2130
2097
|
export const getGroupsGroupidPayoutRestriction = endpoint({
|
|
2131
|
-
method:
|
|
2132
|
-
path:
|
|
2133
|
-
baseUrl:
|
|
2134
|
-
requestFormat:
|
|
2098
|
+
method: 'GET',
|
|
2099
|
+
path: '/v1/groups/:groupId/payout-restriction',
|
|
2100
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2101
|
+
requestFormat: 'json',
|
|
2135
2102
|
serializationMethod: {
|
|
2136
2103
|
groupId: {
|
|
2137
|
-
style:
|
|
2104
|
+
style: 'simple',
|
|
2138
2105
|
},
|
|
2139
2106
|
},
|
|
2140
2107
|
parameters: {
|
|
@@ -2162,20 +2129,19 @@ export const getGroupsGroupidPayoutRestriction = endpoint({
|
|
|
2162
2129
|
* @param groupId The group id.
|
|
2163
2130
|
*/
|
|
2164
2131
|
export const getGroupsGroupidPayouts = endpoint({
|
|
2165
|
-
method:
|
|
2166
|
-
path:
|
|
2167
|
-
baseUrl:
|
|
2168
|
-
requestFormat:
|
|
2132
|
+
method: 'GET',
|
|
2133
|
+
path: '/v1/groups/:groupId/payouts',
|
|
2134
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2135
|
+
requestFormat: 'json',
|
|
2169
2136
|
serializationMethod: {
|
|
2170
2137
|
groupId: {
|
|
2171
|
-
style:
|
|
2138
|
+
style: 'simple',
|
|
2172
2139
|
},
|
|
2173
2140
|
},
|
|
2174
2141
|
parameters: {
|
|
2175
2142
|
groupId: z.number().int(),
|
|
2176
2143
|
},
|
|
2177
|
-
response:
|
|
2178
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
2144
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
2179
2145
|
errors: [
|
|
2180
2146
|
{
|
|
2181
2147
|
status: 400,
|
|
@@ -2198,14 +2164,14 @@ export const getGroupsGroupidPayouts = endpoint({
|
|
|
2198
2164
|
* @param groupId The group Id.
|
|
2199
2165
|
*/
|
|
2200
2166
|
export const postGroupsGroupidPayouts = endpoint({
|
|
2201
|
-
method:
|
|
2202
|
-
path:
|
|
2203
|
-
baseUrl:
|
|
2204
|
-
requestFormat:
|
|
2167
|
+
method: 'POST',
|
|
2168
|
+
path: '/v1/groups/:groupId/payouts',
|
|
2169
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2170
|
+
requestFormat: 'json',
|
|
2205
2171
|
serializationMethod: {
|
|
2206
2172
|
body: {},
|
|
2207
2173
|
groupId: {
|
|
2208
|
-
style:
|
|
2174
|
+
style: 'simple',
|
|
2209
2175
|
},
|
|
2210
2176
|
},
|
|
2211
2177
|
parameters: {
|
|
@@ -2249,14 +2215,14 @@ export const postGroupsGroupidPayouts = endpoint({
|
|
|
2249
2215
|
If a recipient in the request is not a valid member in the group they will not be added to the recurring payouts.
|
|
2250
2216
|
*/
|
|
2251
2217
|
export const postGroupsGroupidPayoutsRecurring = endpoint({
|
|
2252
|
-
method:
|
|
2253
|
-
path:
|
|
2254
|
-
baseUrl:
|
|
2255
|
-
requestFormat:
|
|
2218
|
+
method: 'POST',
|
|
2219
|
+
path: '/v1/groups/:groupId/payouts/recurring',
|
|
2220
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2221
|
+
requestFormat: 'json',
|
|
2256
2222
|
serializationMethod: {
|
|
2257
2223
|
body: {},
|
|
2258
2224
|
groupId: {
|
|
2259
|
-
style:
|
|
2225
|
+
style: 'simple',
|
|
2260
2226
|
},
|
|
2261
2227
|
},
|
|
2262
2228
|
parameters: {
|
|
@@ -2299,23 +2265,23 @@ export const postGroupsGroupidPayoutsRecurring = endpoint({
|
|
|
2299
2265
|
* @param MaxRows The maximum number of rows for the page request, should be at least 1.
|
|
2300
2266
|
*/
|
|
2301
2267
|
export const getGroupsGroupidRelationshipsGrouprelationshiptype = endpoint({
|
|
2302
|
-
method:
|
|
2303
|
-
path:
|
|
2304
|
-
baseUrl:
|
|
2305
|
-
requestFormat:
|
|
2268
|
+
method: 'GET',
|
|
2269
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType',
|
|
2270
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2271
|
+
requestFormat: 'json',
|
|
2306
2272
|
serializationMethod: {
|
|
2307
2273
|
groupId: {
|
|
2308
|
-
style:
|
|
2274
|
+
style: 'simple',
|
|
2309
2275
|
},
|
|
2310
2276
|
groupRelationshipType: {
|
|
2311
|
-
style:
|
|
2277
|
+
style: 'simple',
|
|
2312
2278
|
},
|
|
2313
2279
|
StartRowIndex: {
|
|
2314
|
-
style:
|
|
2280
|
+
style: 'form',
|
|
2315
2281
|
explode: true,
|
|
2316
2282
|
},
|
|
2317
2283
|
MaxRows: {
|
|
2318
|
-
style:
|
|
2284
|
+
style: 'form',
|
|
2319
2285
|
explode: true,
|
|
2320
2286
|
},
|
|
2321
2287
|
},
|
|
@@ -2342,52 +2308,51 @@ export const getGroupsGroupidRelationshipsGrouprelationshiptype = endpoint({
|
|
|
2342
2308
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2343
2309
|
* @param relatedGroupId The id of the group you want to create a relationship with.
|
|
2344
2310
|
*/
|
|
2345
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
description: `1: Group relationship type or request type is invalid.
|
|
2311
|
+
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = endpoint({
|
|
2312
|
+
method: 'POST',
|
|
2313
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
|
|
2314
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2315
|
+
requestFormat: 'json',
|
|
2316
|
+
serializationMethod: {
|
|
2317
|
+
groupId: {
|
|
2318
|
+
style: 'simple',
|
|
2319
|
+
},
|
|
2320
|
+
groupRelationshipType: {
|
|
2321
|
+
style: 'simple',
|
|
2322
|
+
},
|
|
2323
|
+
relatedGroupId: {
|
|
2324
|
+
style: 'simple',
|
|
2325
|
+
},
|
|
2326
|
+
},
|
|
2327
|
+
parameters: {
|
|
2328
|
+
groupId: z.number().int(),
|
|
2329
|
+
groupRelationshipType: z.string(),
|
|
2330
|
+
relatedGroupId: z.number().int(),
|
|
2331
|
+
},
|
|
2332
|
+
response: z.object({}),
|
|
2333
|
+
errors: [
|
|
2334
|
+
{
|
|
2335
|
+
status: 400,
|
|
2336
|
+
description: `1: Group relationship type or request type is invalid.
|
|
2372
2337
|
2: Invalid group.
|
|
2373
2338
|
3: Target group is invalid or does not exist.
|
|
2374
2339
|
4: Your group cannot establish a relationship with itself.`,
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
status: 401,
|
|
2343
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
status: 403,
|
|
2347
|
+
description: `0: Token Validation Failed
|
|
2383
2348
|
5: Your group does not allow enemy declarations.
|
|
2384
2349
|
6: Other group does not allow enemy declarations.
|
|
2385
2350
|
7: Your group already has a relationship with the target group.
|
|
2386
2351
|
8: You are blocked from communicating with this user.
|
|
2387
2352
|
9: Insufficient permissions.`,
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2353
|
+
},
|
|
2354
|
+
],
|
|
2355
|
+
});
|
|
2391
2356
|
/**
|
|
2392
2357
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
|
|
2393
2358
|
* @summary Deletes a group relationship.
|
|
@@ -2395,47 +2360,46 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
|
2395
2360
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2396
2361
|
* @param relatedGroupId The id of the group you want to delete the relationship with.
|
|
2397
2362
|
*/
|
|
2398
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
description: `2: Invalid group.
|
|
2363
|
+
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid = endpoint({
|
|
2364
|
+
method: 'DELETE',
|
|
2365
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId',
|
|
2366
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2367
|
+
requestFormat: 'json',
|
|
2368
|
+
serializationMethod: {
|
|
2369
|
+
groupId: {
|
|
2370
|
+
style: 'simple',
|
|
2371
|
+
},
|
|
2372
|
+
groupRelationshipType: {
|
|
2373
|
+
style: 'simple',
|
|
2374
|
+
},
|
|
2375
|
+
relatedGroupId: {
|
|
2376
|
+
style: 'simple',
|
|
2377
|
+
},
|
|
2378
|
+
},
|
|
2379
|
+
parameters: {
|
|
2380
|
+
groupId: z.number().int(),
|
|
2381
|
+
groupRelationshipType: z.string(),
|
|
2382
|
+
relatedGroupId: z.number().int(),
|
|
2383
|
+
},
|
|
2384
|
+
response: z.object({}),
|
|
2385
|
+
errors: [
|
|
2386
|
+
{
|
|
2387
|
+
status: 400,
|
|
2388
|
+
description: `2: Invalid group.
|
|
2425
2389
|
3: Target group is invalid or does not exist.
|
|
2426
2390
|
11: Relationship does not exist.`,
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2391
|
+
},
|
|
2392
|
+
{
|
|
2393
|
+
status: 401,
|
|
2394
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
status: 403,
|
|
2398
|
+
description: `0: Token Validation Failed
|
|
2435
2399
|
8: You are blocked from communicating with this user.`,
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2400
|
+
},
|
|
2401
|
+
],
|
|
2402
|
+
});
|
|
2439
2403
|
/**
|
|
2440
2404
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2441
2405
|
* @summary Gets a group's relationship requests
|
|
@@ -2444,52 +2408,51 @@ export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid
|
|
|
2444
2408
|
* @param StartRowIndex The start index of the page request
|
|
2445
2409
|
* @param MaxRows The maximum number of rows for the page request, should be at least 1.
|
|
2446
2410
|
*/
|
|
2447
|
-
export const getGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
description: `1: Group is invalid or does not exist.
|
|
2411
|
+
export const getGroupsGroupidRelationshipsGrouprelationshiptypeRequests = endpoint({
|
|
2412
|
+
method: 'GET',
|
|
2413
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
2414
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2415
|
+
requestFormat: 'json',
|
|
2416
|
+
serializationMethod: {
|
|
2417
|
+
groupId: {
|
|
2418
|
+
style: 'simple',
|
|
2419
|
+
},
|
|
2420
|
+
groupRelationshipType: {
|
|
2421
|
+
style: 'simple',
|
|
2422
|
+
},
|
|
2423
|
+
StartRowIndex: {
|
|
2424
|
+
style: 'form',
|
|
2425
|
+
explode: true,
|
|
2426
|
+
},
|
|
2427
|
+
MaxRows: {
|
|
2428
|
+
style: 'form',
|
|
2429
|
+
explode: true,
|
|
2430
|
+
},
|
|
2431
|
+
},
|
|
2432
|
+
parameters: {
|
|
2433
|
+
groupId: z.number().int(),
|
|
2434
|
+
groupRelationshipType: z.string(),
|
|
2435
|
+
StartRowIndex: z.number().int(),
|
|
2436
|
+
MaxRows: z.number().int(),
|
|
2437
|
+
},
|
|
2438
|
+
response: Roblox_Groups_Api_GroupRelationshipsResponse,
|
|
2439
|
+
errors: [
|
|
2440
|
+
{
|
|
2441
|
+
status: 400,
|
|
2442
|
+
description: `1: Group is invalid or does not exist.
|
|
2480
2443
|
4: Group relationship type or request type is invalid.
|
|
2481
2444
|
8: Invalid or missing pagination parameters`,
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
status: 401,
|
|
2448
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
status: 403,
|
|
2452
|
+
description: `5: You don't have permission to manage this group's relationships.`,
|
|
2453
|
+
},
|
|
2454
|
+
],
|
|
2455
|
+
});
|
|
2493
2456
|
/**
|
|
2494
2457
|
* @api POST https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2495
2458
|
* @summary Batch accepts group affiliate requests
|
|
@@ -2497,38 +2460,37 @@ export const getGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2497
2460
|
* @param groupId The group id.
|
|
2498
2461
|
* @param groupRelationshipType The type of group relationship being made
|
|
2499
2462
|
*/
|
|
2500
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
});
|
|
2463
|
+
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequests = endpoint({
|
|
2464
|
+
method: 'POST',
|
|
2465
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
2466
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2467
|
+
requestFormat: 'json',
|
|
2468
|
+
serializationMethod: {
|
|
2469
|
+
body: {},
|
|
2470
|
+
groupId: {
|
|
2471
|
+
style: 'simple',
|
|
2472
|
+
},
|
|
2473
|
+
groupRelationshipType: {
|
|
2474
|
+
style: 'simple',
|
|
2475
|
+
},
|
|
2476
|
+
},
|
|
2477
|
+
parameters: {
|
|
2478
|
+
groupId: z.number().int(),
|
|
2479
|
+
groupRelationshipType: z.string(),
|
|
2480
|
+
},
|
|
2481
|
+
body: Roblox_Groups_Api_RelationshipsRequest,
|
|
2482
|
+
response: z.object({}),
|
|
2483
|
+
errors: [
|
|
2484
|
+
{
|
|
2485
|
+
status: 401,
|
|
2486
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
status: 403,
|
|
2490
|
+
description: `0: Token Validation Failed`,
|
|
2491
|
+
},
|
|
2492
|
+
],
|
|
2493
|
+
});
|
|
2532
2494
|
/**
|
|
2533
2495
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2534
2496
|
* @summary Batch declines group affiliate requests
|
|
@@ -2536,38 +2498,37 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2536
2498
|
* @param groupId The group id.
|
|
2537
2499
|
* @param groupRelationshipType The type of group relationship being made
|
|
2538
2500
|
*/
|
|
2539
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
});
|
|
2501
|
+
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests = endpoint({
|
|
2502
|
+
method: 'DELETE',
|
|
2503
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests',
|
|
2504
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2505
|
+
requestFormat: 'json',
|
|
2506
|
+
serializationMethod: {
|
|
2507
|
+
body: {},
|
|
2508
|
+
groupId: {
|
|
2509
|
+
style: 'simple',
|
|
2510
|
+
},
|
|
2511
|
+
groupRelationshipType: {
|
|
2512
|
+
style: 'simple',
|
|
2513
|
+
},
|
|
2514
|
+
},
|
|
2515
|
+
parameters: {
|
|
2516
|
+
groupId: z.number().int(),
|
|
2517
|
+
groupRelationshipType: z.string(),
|
|
2518
|
+
},
|
|
2519
|
+
body: Roblox_Groups_Api_RelationshipsRequest,
|
|
2520
|
+
response: z.object({}),
|
|
2521
|
+
errors: [
|
|
2522
|
+
{
|
|
2523
|
+
status: 401,
|
|
2524
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
status: 403,
|
|
2528
|
+
description: `0: Token Validation Failed`,
|
|
2529
|
+
},
|
|
2530
|
+
],
|
|
2531
|
+
});
|
|
2571
2532
|
/**
|
|
2572
2533
|
* @api POST https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
|
|
2573
2534
|
* @summary Accepts a group relationship request.
|
|
@@ -2575,48 +2536,47 @@ export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2575
2536
|
* @param groupRelationshipType The group relationship type, enemies or allies, only allies are supported.
|
|
2576
2537
|
* @param relatedGroupId The id of the group you want to accept the relationship request with.
|
|
2577
2538
|
*/
|
|
2578
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid =
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
description: `1: Group relationship type or request type is invalid.
|
|
2539
|
+
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = endpoint({
|
|
2540
|
+
method: 'POST',
|
|
2541
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
|
|
2542
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2543
|
+
requestFormat: 'json',
|
|
2544
|
+
serializationMethod: {
|
|
2545
|
+
groupId: {
|
|
2546
|
+
style: 'simple',
|
|
2547
|
+
},
|
|
2548
|
+
groupRelationshipType: {
|
|
2549
|
+
style: 'simple',
|
|
2550
|
+
},
|
|
2551
|
+
relatedGroupId: {
|
|
2552
|
+
style: 'simple',
|
|
2553
|
+
},
|
|
2554
|
+
},
|
|
2555
|
+
parameters: {
|
|
2556
|
+
groupId: z.number().int(),
|
|
2557
|
+
groupRelationshipType: z.string(),
|
|
2558
|
+
relatedGroupId: z.number().int(),
|
|
2559
|
+
},
|
|
2560
|
+
response: z.object({}),
|
|
2561
|
+
errors: [
|
|
2562
|
+
{
|
|
2563
|
+
status: 400,
|
|
2564
|
+
description: `1: Group relationship type or request type is invalid.
|
|
2605
2565
|
2: Invalid group.
|
|
2606
2566
|
3: Target group is invalid or does not exist.
|
|
2607
2567
|
10: Relationship request does not exist.`,
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
status: 401,
|
|
2571
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2572
|
+
},
|
|
2573
|
+
{
|
|
2574
|
+
status: 403,
|
|
2575
|
+
description: `0: Token Validation Failed
|
|
2616
2576
|
9: Insufficient permissions.`,
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2577
|
+
},
|
|
2578
|
+
],
|
|
2579
|
+
});
|
|
2620
2580
|
/**
|
|
2621
2581
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
|
|
2622
2582
|
* @summary Declines a group relationship request.
|
|
@@ -2624,61 +2584,60 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedg
|
|
|
2624
2584
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2625
2585
|
* @param relatedGroupId The id of the group you want to accept the relationship request with.
|
|
2626
2586
|
*/
|
|
2627
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid =
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
description: `1: Group relationship type or request type is invalid.
|
|
2587
|
+
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid = endpoint({
|
|
2588
|
+
method: 'DELETE',
|
|
2589
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId',
|
|
2590
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2591
|
+
requestFormat: 'json',
|
|
2592
|
+
serializationMethod: {
|
|
2593
|
+
groupId: {
|
|
2594
|
+
style: 'simple',
|
|
2595
|
+
},
|
|
2596
|
+
groupRelationshipType: {
|
|
2597
|
+
style: 'simple',
|
|
2598
|
+
},
|
|
2599
|
+
relatedGroupId: {
|
|
2600
|
+
style: 'simple',
|
|
2601
|
+
},
|
|
2602
|
+
},
|
|
2603
|
+
parameters: {
|
|
2604
|
+
groupId: z.number().int(),
|
|
2605
|
+
groupRelationshipType: z.string(),
|
|
2606
|
+
relatedGroupId: z.number().int(),
|
|
2607
|
+
},
|
|
2608
|
+
response: z.object({}),
|
|
2609
|
+
errors: [
|
|
2610
|
+
{
|
|
2611
|
+
status: 400,
|
|
2612
|
+
description: `1: Group relationship type or request type is invalid.
|
|
2654
2613
|
2: Invalid group.
|
|
2655
2614
|
3: Target group is invalid or does not exist.
|
|
2656
2615
|
10: Relationship request does not exist.`,
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2616
|
+
},
|
|
2617
|
+
{
|
|
2618
|
+
status: 401,
|
|
2619
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
status: 403,
|
|
2623
|
+
description: `0: Token Validation Failed
|
|
2665
2624
|
9: Insufficient permissions.`,
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2625
|
+
},
|
|
2626
|
+
],
|
|
2627
|
+
});
|
|
2669
2628
|
/**
|
|
2670
2629
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/roles
|
|
2671
2630
|
* @summary Gets a list of the rolesets in a group.
|
|
2672
2631
|
* @param groupId The group id.
|
|
2673
2632
|
*/
|
|
2674
2633
|
export const getGroupsGroupidRoles = endpoint({
|
|
2675
|
-
method:
|
|
2676
|
-
path:
|
|
2677
|
-
baseUrl:
|
|
2678
|
-
requestFormat:
|
|
2634
|
+
method: 'GET',
|
|
2635
|
+
path: '/v1/groups/:groupId/roles',
|
|
2636
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2637
|
+
requestFormat: 'json',
|
|
2679
2638
|
serializationMethod: {
|
|
2680
2639
|
groupId: {
|
|
2681
|
-
style:
|
|
2640
|
+
style: 'simple',
|
|
2682
2641
|
},
|
|
2683
2642
|
},
|
|
2684
2643
|
parameters: {
|
|
@@ -2699,16 +2658,16 @@ export const getGroupsGroupidRoles = endpoint({
|
|
|
2699
2658
|
* @param roleSetId The group's role set id.
|
|
2700
2659
|
*/
|
|
2701
2660
|
export const getGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
2702
|
-
method:
|
|
2703
|
-
path:
|
|
2704
|
-
baseUrl:
|
|
2705
|
-
requestFormat:
|
|
2661
|
+
method: 'GET',
|
|
2662
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
2663
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2664
|
+
requestFormat: 'json',
|
|
2706
2665
|
serializationMethod: {
|
|
2707
2666
|
groupId: {
|
|
2708
|
-
style:
|
|
2667
|
+
style: 'simple',
|
|
2709
2668
|
},
|
|
2710
2669
|
roleSetId: {
|
|
2711
|
-
style:
|
|
2670
|
+
style: 'simple',
|
|
2712
2671
|
},
|
|
2713
2672
|
},
|
|
2714
2673
|
parameters: {
|
|
@@ -2740,17 +2699,17 @@ export const getGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
|
2740
2699
|
* @param roleSetId The roleset's id.
|
|
2741
2700
|
*/
|
|
2742
2701
|
export const patchGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
2743
|
-
method:
|
|
2744
|
-
path:
|
|
2745
|
-
baseUrl:
|
|
2746
|
-
requestFormat:
|
|
2702
|
+
method: 'PATCH',
|
|
2703
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
2704
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2705
|
+
requestFormat: 'json',
|
|
2747
2706
|
serializationMethod: {
|
|
2748
2707
|
body: {},
|
|
2749
2708
|
groupId: {
|
|
2750
|
-
style:
|
|
2709
|
+
style: 'simple',
|
|
2751
2710
|
},
|
|
2752
2711
|
roleSetId: {
|
|
2753
|
-
style:
|
|
2712
|
+
style: 'simple',
|
|
2754
2713
|
},
|
|
2755
2714
|
},
|
|
2756
2715
|
parameters: {
|
|
@@ -2787,27 +2746,27 @@ export const patchGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
|
2787
2746
|
* @param sortOrder The order the results are sorted in.
|
|
2788
2747
|
*/
|
|
2789
2748
|
export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
2790
|
-
method:
|
|
2791
|
-
path:
|
|
2792
|
-
baseUrl:
|
|
2793
|
-
requestFormat:
|
|
2749
|
+
method: 'GET',
|
|
2750
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/users',
|
|
2751
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2752
|
+
requestFormat: 'json',
|
|
2794
2753
|
serializationMethod: {
|
|
2795
2754
|
groupId: {
|
|
2796
|
-
style:
|
|
2755
|
+
style: 'simple',
|
|
2797
2756
|
},
|
|
2798
2757
|
roleSetId: {
|
|
2799
|
-
style:
|
|
2758
|
+
style: 'simple',
|
|
2800
2759
|
},
|
|
2801
2760
|
limit: {
|
|
2802
|
-
style:
|
|
2761
|
+
style: 'form',
|
|
2803
2762
|
explode: true,
|
|
2804
2763
|
},
|
|
2805
2764
|
cursor: {
|
|
2806
|
-
style:
|
|
2765
|
+
style: 'form',
|
|
2807
2766
|
explode: true,
|
|
2808
2767
|
},
|
|
2809
2768
|
sortOrder: {
|
|
2810
|
-
style:
|
|
2769
|
+
style: 'form',
|
|
2811
2770
|
explode: true,
|
|
2812
2771
|
},
|
|
2813
2772
|
},
|
|
@@ -2819,10 +2778,9 @@ export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
|
2819
2778
|
.optional()
|
|
2820
2779
|
.default(10),
|
|
2821
2780
|
cursor: z.string().optional(),
|
|
2822
|
-
sortOrder: z.enum([
|
|
2781
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
2823
2782
|
},
|
|
2824
|
-
response:
|
|
2825
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
2783
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
2826
2784
|
errors: [
|
|
2827
2785
|
{
|
|
2828
2786
|
status: 400,
|
|
@@ -2842,13 +2800,13 @@ export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
|
2842
2800
|
* @param groupId The group id.
|
|
2843
2801
|
*/
|
|
2844
2802
|
export const getGroupsGroupidRolesGuestPermissions = endpoint({
|
|
2845
|
-
method:
|
|
2846
|
-
path:
|
|
2847
|
-
baseUrl:
|
|
2848
|
-
requestFormat:
|
|
2803
|
+
method: 'GET',
|
|
2804
|
+
path: '/v1/groups/:groupId/roles/guest/permissions',
|
|
2805
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2806
|
+
requestFormat: 'json',
|
|
2849
2807
|
serializationMethod: {
|
|
2850
2808
|
groupId: {
|
|
2851
|
-
style:
|
|
2809
|
+
style: 'simple',
|
|
2852
2810
|
},
|
|
2853
2811
|
},
|
|
2854
2812
|
parameters: {
|
|
@@ -2868,20 +2826,19 @@ export const getGroupsGroupidRolesGuestPermissions = endpoint({
|
|
|
2868
2826
|
* @param groupId The group id.
|
|
2869
2827
|
*/
|
|
2870
2828
|
export const getGroupsGroupidRolesPermissions = endpoint({
|
|
2871
|
-
method:
|
|
2872
|
-
path:
|
|
2873
|
-
baseUrl:
|
|
2874
|
-
requestFormat:
|
|
2829
|
+
method: 'GET',
|
|
2830
|
+
path: '/v1/groups/:groupId/roles/permissions',
|
|
2831
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2832
|
+
requestFormat: 'json',
|
|
2875
2833
|
serializationMethod: {
|
|
2876
2834
|
groupId: {
|
|
2877
|
-
style:
|
|
2835
|
+
style: 'simple',
|
|
2878
2836
|
},
|
|
2879
2837
|
},
|
|
2880
2838
|
parameters: {
|
|
2881
2839
|
groupId: z.number().int(),
|
|
2882
2840
|
},
|
|
2883
|
-
response:
|
|
2884
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
2841
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
2885
2842
|
errors: [
|
|
2886
2843
|
{
|
|
2887
2844
|
status: 401,
|
|
@@ -2896,16 +2853,16 @@ export const getGroupsGroupidRolesPermissions = endpoint({
|
|
|
2896
2853
|
* @param rolesetId The roleset Id.
|
|
2897
2854
|
*/
|
|
2898
2855
|
export const deleteGroupsGroupidRolesetsRolesetid = endpoint({
|
|
2899
|
-
method:
|
|
2900
|
-
path:
|
|
2901
|
-
baseUrl:
|
|
2902
|
-
requestFormat:
|
|
2856
|
+
method: 'DELETE',
|
|
2857
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
2858
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2859
|
+
requestFormat: 'json',
|
|
2903
2860
|
serializationMethod: {
|
|
2904
2861
|
groupId: {
|
|
2905
|
-
style:
|
|
2862
|
+
style: 'simple',
|
|
2906
2863
|
},
|
|
2907
2864
|
rolesetId: {
|
|
2908
|
-
style:
|
|
2865
|
+
style: 'simple',
|
|
2909
2866
|
},
|
|
2910
2867
|
},
|
|
2911
2868
|
parameters: {
|
|
@@ -2941,17 +2898,17 @@ export const deleteGroupsGroupidRolesetsRolesetid = endpoint({
|
|
|
2941
2898
|
* @param rolesetId The roleset Id.
|
|
2942
2899
|
*/
|
|
2943
2900
|
export const patchGroupsGroupidRolesetsRolesetid = endpoint({
|
|
2944
|
-
method:
|
|
2945
|
-
path:
|
|
2946
|
-
baseUrl:
|
|
2947
|
-
requestFormat:
|
|
2901
|
+
method: 'PATCH',
|
|
2902
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
2903
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2904
|
+
requestFormat: 'json',
|
|
2948
2905
|
serializationMethod: {
|
|
2949
2906
|
body: {},
|
|
2950
2907
|
groupId: {
|
|
2951
|
-
style:
|
|
2908
|
+
style: 'simple',
|
|
2952
2909
|
},
|
|
2953
2910
|
rolesetId: {
|
|
2954
|
-
style:
|
|
2911
|
+
style: 'simple',
|
|
2955
2912
|
},
|
|
2956
2913
|
},
|
|
2957
2914
|
parameters: {
|
|
@@ -2991,14 +2948,14 @@ export const patchGroupsGroupidRolesetsRolesetid = endpoint({
|
|
|
2991
2948
|
* @param groupId The group Id.
|
|
2992
2949
|
*/
|
|
2993
2950
|
export const postGroupsGroupidRolesetsCreate = endpoint({
|
|
2994
|
-
method:
|
|
2995
|
-
path:
|
|
2996
|
-
baseUrl:
|
|
2997
|
-
requestFormat:
|
|
2951
|
+
method: 'POST',
|
|
2952
|
+
path: '/v1/groups/:groupId/rolesets/create',
|
|
2953
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2954
|
+
requestFormat: 'json',
|
|
2998
2955
|
serializationMethod: {
|
|
2999
2956
|
body: {},
|
|
3000
2957
|
groupId: {
|
|
3001
|
-
style:
|
|
2958
|
+
style: 'simple',
|
|
3002
2959
|
},
|
|
3003
2960
|
},
|
|
3004
2961
|
parameters: {
|
|
@@ -3038,13 +2995,13 @@ export const postGroupsGroupidRolesetsCreate = endpoint({
|
|
|
3038
2995
|
* @param groupId The id of the group the user is in.
|
|
3039
2996
|
*/
|
|
3040
2997
|
export const getGroupsGroupidSettings = endpoint({
|
|
3041
|
-
method:
|
|
3042
|
-
path:
|
|
3043
|
-
baseUrl:
|
|
3044
|
-
requestFormat:
|
|
2998
|
+
method: 'GET',
|
|
2999
|
+
path: '/v1/groups/:groupId/settings',
|
|
3000
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3001
|
+
requestFormat: 'json',
|
|
3045
3002
|
serializationMethod: {
|
|
3046
3003
|
groupId: {
|
|
3047
|
-
style:
|
|
3004
|
+
style: 'simple',
|
|
3048
3005
|
},
|
|
3049
3006
|
},
|
|
3050
3007
|
parameters: {
|
|
@@ -3073,14 +3030,14 @@ export const getGroupsGroupidSettings = endpoint({
|
|
|
3073
3030
|
* @param groupId The id of the group the user is in.
|
|
3074
3031
|
*/
|
|
3075
3032
|
export const patchGroupsGroupidSettings = endpoint({
|
|
3076
|
-
method:
|
|
3077
|
-
path:
|
|
3078
|
-
baseUrl:
|
|
3079
|
-
requestFormat:
|
|
3033
|
+
method: 'PATCH',
|
|
3034
|
+
path: '/v1/groups/:groupId/settings',
|
|
3035
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3036
|
+
requestFormat: 'json',
|
|
3080
3037
|
serializationMethod: {
|
|
3081
3038
|
body: {},
|
|
3082
3039
|
groupId: {
|
|
3083
|
-
style:
|
|
3040
|
+
style: 'simple',
|
|
3084
3041
|
},
|
|
3085
3042
|
},
|
|
3086
3043
|
parameters: {
|
|
@@ -3114,13 +3071,13 @@ export const patchGroupsGroupidSettings = endpoint({
|
|
|
3114
3071
|
* @param groupId The Id of the game
|
|
3115
3072
|
*/
|
|
3116
3073
|
export const getGroupsGroupidSocialLinks = endpoint({
|
|
3117
|
-
method:
|
|
3118
|
-
path:
|
|
3119
|
-
baseUrl:
|
|
3120
|
-
requestFormat:
|
|
3074
|
+
method: 'GET',
|
|
3075
|
+
path: '/v1/groups/:groupId/social-links',
|
|
3076
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3077
|
+
requestFormat: 'json',
|
|
3121
3078
|
serializationMethod: {
|
|
3122
3079
|
groupId: {
|
|
3123
|
-
style:
|
|
3080
|
+
style: 'simple',
|
|
3124
3081
|
},
|
|
3125
3082
|
},
|
|
3126
3083
|
parameters: {
|
|
@@ -3153,14 +3110,14 @@ export const getGroupsGroupidSocialLinks = endpoint({
|
|
|
3153
3110
|
* @param groupId The id of the group
|
|
3154
3111
|
*/
|
|
3155
3112
|
export const postGroupsGroupidSocialLinks = endpoint({
|
|
3156
|
-
method:
|
|
3157
|
-
path:
|
|
3158
|
-
baseUrl:
|
|
3159
|
-
requestFormat:
|
|
3113
|
+
method: 'POST',
|
|
3114
|
+
path: '/v1/groups/:groupId/social-links',
|
|
3115
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3116
|
+
requestFormat: 'json',
|
|
3160
3117
|
serializationMethod: {
|
|
3161
3118
|
body: {},
|
|
3162
3119
|
groupId: {
|
|
3163
|
-
style:
|
|
3120
|
+
style: 'simple',
|
|
3164
3121
|
},
|
|
3165
3122
|
},
|
|
3166
3123
|
parameters: {
|
|
@@ -3204,16 +3161,16 @@ export const postGroupsGroupidSocialLinks = endpoint({
|
|
|
3204
3161
|
* @param socialLinkId The id of the social link
|
|
3205
3162
|
*/
|
|
3206
3163
|
export const deleteGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
3207
|
-
method:
|
|
3208
|
-
path:
|
|
3209
|
-
baseUrl:
|
|
3210
|
-
requestFormat:
|
|
3164
|
+
method: 'DELETE',
|
|
3165
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
3166
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3167
|
+
requestFormat: 'json',
|
|
3211
3168
|
serializationMethod: {
|
|
3212
3169
|
groupId: {
|
|
3213
|
-
style:
|
|
3170
|
+
style: 'simple',
|
|
3214
3171
|
},
|
|
3215
3172
|
socialLinkId: {
|
|
3216
|
-
style:
|
|
3173
|
+
style: 'simple',
|
|
3217
3174
|
},
|
|
3218
3175
|
},
|
|
3219
3176
|
parameters: {
|
|
@@ -3252,17 +3209,17 @@ export const deleteGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
|
3252
3209
|
* @param socialLinkId The id of the social link being updated
|
|
3253
3210
|
*/
|
|
3254
3211
|
export const patchGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
3255
|
-
method:
|
|
3256
|
-
path:
|
|
3257
|
-
baseUrl:
|
|
3258
|
-
requestFormat:
|
|
3212
|
+
method: 'PATCH',
|
|
3213
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
3214
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3215
|
+
requestFormat: 'json',
|
|
3259
3216
|
serializationMethod: {
|
|
3260
3217
|
body: {},
|
|
3261
3218
|
groupId: {
|
|
3262
|
-
style:
|
|
3219
|
+
style: 'simple',
|
|
3263
3220
|
},
|
|
3264
3221
|
socialLinkId: {
|
|
3265
|
-
style:
|
|
3222
|
+
style: 'simple',
|
|
3266
3223
|
},
|
|
3267
3224
|
},
|
|
3268
3225
|
parameters: {
|
|
@@ -3312,14 +3269,14 @@ export const patchGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
|
3312
3269
|
* @param groupId The group Id.
|
|
3313
3270
|
*/
|
|
3314
3271
|
export const patchGroupsGroupidStatus = endpoint({
|
|
3315
|
-
method:
|
|
3316
|
-
path:
|
|
3317
|
-
baseUrl:
|
|
3318
|
-
requestFormat:
|
|
3272
|
+
method: 'PATCH',
|
|
3273
|
+
path: '/v1/groups/:groupId/status',
|
|
3274
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3275
|
+
requestFormat: 'json',
|
|
3319
3276
|
serializationMethod: {
|
|
3320
3277
|
body: {},
|
|
3321
3278
|
groupId: {
|
|
3322
|
-
style:
|
|
3279
|
+
style: 'simple',
|
|
3323
3280
|
},
|
|
3324
3281
|
},
|
|
3325
3282
|
parameters: {
|
|
@@ -3354,24 +3311,24 @@ export const patchGroupsGroupidStatus = endpoint({
|
|
|
3354
3311
|
* @param sortOrder The order the results are sorted in.
|
|
3355
3312
|
*/
|
|
3356
3313
|
export const getGroupsGroupidUsers = endpoint({
|
|
3357
|
-
method:
|
|
3358
|
-
path:
|
|
3359
|
-
baseUrl:
|
|
3360
|
-
requestFormat:
|
|
3314
|
+
method: 'GET',
|
|
3315
|
+
path: '/v1/groups/:groupId/users',
|
|
3316
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3317
|
+
requestFormat: 'json',
|
|
3361
3318
|
serializationMethod: {
|
|
3362
3319
|
groupId: {
|
|
3363
|
-
style:
|
|
3320
|
+
style: 'simple',
|
|
3364
3321
|
},
|
|
3365
3322
|
limit: {
|
|
3366
|
-
style:
|
|
3323
|
+
style: 'form',
|
|
3367
3324
|
explode: true,
|
|
3368
3325
|
},
|
|
3369
3326
|
cursor: {
|
|
3370
|
-
style:
|
|
3327
|
+
style: 'form',
|
|
3371
3328
|
explode: true,
|
|
3372
3329
|
},
|
|
3373
3330
|
sortOrder: {
|
|
3374
|
-
style:
|
|
3331
|
+
style: 'form',
|
|
3375
3332
|
explode: true,
|
|
3376
3333
|
},
|
|
3377
3334
|
},
|
|
@@ -3382,10 +3339,9 @@ export const getGroupsGroupidUsers = endpoint({
|
|
|
3382
3339
|
.optional()
|
|
3383
3340
|
.default(10),
|
|
3384
3341
|
cursor: z.string().optional(),
|
|
3385
|
-
sortOrder: z.enum([
|
|
3342
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
3386
3343
|
},
|
|
3387
|
-
response:
|
|
3388
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
3344
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
3389
3345
|
errors: [
|
|
3390
3346
|
{
|
|
3391
3347
|
status: 400,
|
|
@@ -3408,30 +3364,30 @@ export const getGroupsGroupidUsers = endpoint({
|
|
|
3408
3364
|
* @param Roblox-Session-Id The player's current session Id.
|
|
3409
3365
|
*/
|
|
3410
3366
|
export const postGroupsGroupidUsers = endpoint({
|
|
3411
|
-
method:
|
|
3412
|
-
path:
|
|
3413
|
-
baseUrl:
|
|
3414
|
-
requestFormat:
|
|
3367
|
+
method: 'POST',
|
|
3368
|
+
path: '/v1/groups/:groupId/users',
|
|
3369
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3370
|
+
requestFormat: 'json',
|
|
3415
3371
|
serializationMethod: {
|
|
3416
3372
|
body: {},
|
|
3417
3373
|
groupId: {
|
|
3418
|
-
style:
|
|
3374
|
+
style: 'simple',
|
|
3419
3375
|
},
|
|
3420
|
-
|
|
3421
|
-
style:
|
|
3376
|
+
'Roblox-Place-Id': {
|
|
3377
|
+
style: 'simple',
|
|
3422
3378
|
},
|
|
3423
|
-
|
|
3424
|
-
style:
|
|
3379
|
+
'Roblox-Game-Id': {
|
|
3380
|
+
style: 'simple',
|
|
3425
3381
|
},
|
|
3426
|
-
|
|
3427
|
-
style:
|
|
3382
|
+
'Roblox-Session-Id': {
|
|
3383
|
+
style: 'simple',
|
|
3428
3384
|
},
|
|
3429
3385
|
},
|
|
3430
3386
|
parameters: {
|
|
3431
3387
|
groupId: z.number().int(),
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3388
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
3389
|
+
'Roblox-Game-Id': z.string().optional(),
|
|
3390
|
+
'Roblox-Session-Id': z.string().optional(),
|
|
3435
3391
|
},
|
|
3436
3392
|
body: Roblox_Groups_Api_JoinGroupRequest,
|
|
3437
3393
|
response: z.object({}),
|
|
@@ -3475,16 +3431,16 @@ export const postGroupsGroupidUsers = endpoint({
|
|
|
3475
3431
|
* @param userId The Id of the user being removed.
|
|
3476
3432
|
*/
|
|
3477
3433
|
export const deleteGroupsGroupidUsersUserid = endpoint({
|
|
3478
|
-
method:
|
|
3479
|
-
path:
|
|
3480
|
-
baseUrl:
|
|
3481
|
-
requestFormat:
|
|
3434
|
+
method: 'DELETE',
|
|
3435
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
3436
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3437
|
+
requestFormat: 'json',
|
|
3482
3438
|
serializationMethod: {
|
|
3483
3439
|
groupId: {
|
|
3484
|
-
style:
|
|
3440
|
+
style: 'simple',
|
|
3485
3441
|
},
|
|
3486
3442
|
userId: {
|
|
3487
|
-
style:
|
|
3443
|
+
style: 'simple',
|
|
3488
3444
|
},
|
|
3489
3445
|
},
|
|
3490
3446
|
parameters: {
|
|
@@ -3522,17 +3478,17 @@ export const deleteGroupsGroupidUsersUserid = endpoint({
|
|
|
3522
3478
|
* @param userId The id of the user being updated.
|
|
3523
3479
|
*/
|
|
3524
3480
|
export const patchGroupsGroupidUsersUserid = endpoint({
|
|
3525
|
-
method:
|
|
3526
|
-
path:
|
|
3527
|
-
baseUrl:
|
|
3528
|
-
requestFormat:
|
|
3481
|
+
method: 'PATCH',
|
|
3482
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
3483
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3484
|
+
requestFormat: 'json',
|
|
3529
3485
|
serializationMethod: {
|
|
3530
3486
|
body: {},
|
|
3531
3487
|
groupId: {
|
|
3532
|
-
style:
|
|
3488
|
+
style: 'simple',
|
|
3533
3489
|
},
|
|
3534
3490
|
userId: {
|
|
3535
|
-
style:
|
|
3491
|
+
style: 'simple',
|
|
3536
3492
|
},
|
|
3537
3493
|
},
|
|
3538
3494
|
parameters: {
|
|
@@ -3572,16 +3528,16 @@ export const patchGroupsGroupidUsersUserid = endpoint({
|
|
|
3572
3528
|
* @param userId The user id.
|
|
3573
3529
|
*/
|
|
3574
3530
|
export const getGroupsGroupidUsersUseridPermissions = endpoint({
|
|
3575
|
-
method:
|
|
3576
|
-
path:
|
|
3577
|
-
baseUrl:
|
|
3578
|
-
requestFormat:
|
|
3531
|
+
method: 'GET',
|
|
3532
|
+
path: '/v1/groups/:groupId/users/:userId/permissions',
|
|
3533
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3534
|
+
requestFormat: 'json',
|
|
3579
3535
|
serializationMethod: {
|
|
3580
3536
|
groupId: {
|
|
3581
|
-
style:
|
|
3537
|
+
style: 'simple',
|
|
3582
3538
|
},
|
|
3583
3539
|
userId: {
|
|
3584
|
-
style:
|
|
3540
|
+
style: 'simple',
|
|
3585
3541
|
},
|
|
3586
3542
|
},
|
|
3587
3543
|
parameters: {
|
|
@@ -3613,24 +3569,24 @@ export const getGroupsGroupidUsersUseridPermissions = endpoint({
|
|
|
3613
3569
|
* @param sortOrder Sorted by group wall post Id
|
|
3614
3570
|
*/
|
|
3615
3571
|
export const getGroupsGroupidWallPosts = endpoint({
|
|
3616
|
-
method:
|
|
3617
|
-
path:
|
|
3618
|
-
baseUrl:
|
|
3619
|
-
requestFormat:
|
|
3572
|
+
method: 'GET',
|
|
3573
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
3574
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3575
|
+
requestFormat: 'json',
|
|
3620
3576
|
serializationMethod: {
|
|
3621
3577
|
groupId: {
|
|
3622
|
-
style:
|
|
3578
|
+
style: 'simple',
|
|
3623
3579
|
},
|
|
3624
3580
|
limit: {
|
|
3625
|
-
style:
|
|
3581
|
+
style: 'form',
|
|
3626
3582
|
explode: true,
|
|
3627
3583
|
},
|
|
3628
3584
|
cursor: {
|
|
3629
|
-
style:
|
|
3585
|
+
style: 'form',
|
|
3630
3586
|
explode: true,
|
|
3631
3587
|
},
|
|
3632
3588
|
sortOrder: {
|
|
3633
|
-
style:
|
|
3589
|
+
style: 'form',
|
|
3634
3590
|
explode: true,
|
|
3635
3591
|
},
|
|
3636
3592
|
},
|
|
@@ -3641,10 +3597,9 @@ export const getGroupsGroupidWallPosts = endpoint({
|
|
|
3641
3597
|
.optional()
|
|
3642
3598
|
.default(10),
|
|
3643
3599
|
cursor: z.string().optional(),
|
|
3644
|
-
sortOrder: z.enum([
|
|
3600
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
3645
3601
|
},
|
|
3646
|
-
response:
|
|
3647
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
3602
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
3648
3603
|
errors: [
|
|
3649
3604
|
{
|
|
3650
3605
|
status: 400,
|
|
@@ -3663,14 +3618,14 @@ export const getGroupsGroupidWallPosts = endpoint({
|
|
|
3663
3618
|
* @param groupId The group id.
|
|
3664
3619
|
*/
|
|
3665
3620
|
export const postGroupsGroupidWallPosts = endpoint({
|
|
3666
|
-
method:
|
|
3667
|
-
path:
|
|
3668
|
-
baseUrl:
|
|
3669
|
-
requestFormat:
|
|
3621
|
+
method: 'POST',
|
|
3622
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
3623
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3624
|
+
requestFormat: 'json',
|
|
3670
3625
|
serializationMethod: {
|
|
3671
3626
|
body: {},
|
|
3672
3627
|
groupId: {
|
|
3673
|
-
style:
|
|
3628
|
+
style: 'simple',
|
|
3674
3629
|
},
|
|
3675
3630
|
},
|
|
3676
3631
|
parameters: {
|
|
@@ -3711,16 +3666,16 @@ export const postGroupsGroupidWallPosts = endpoint({
|
|
|
3711
3666
|
* @param postId The group wall post id.
|
|
3712
3667
|
*/
|
|
3713
3668
|
export const deleteGroupsGroupidWallPostsPostid = endpoint({
|
|
3714
|
-
method:
|
|
3715
|
-
path:
|
|
3716
|
-
baseUrl:
|
|
3717
|
-
requestFormat:
|
|
3669
|
+
method: 'DELETE',
|
|
3670
|
+
path: '/v1/groups/:groupId/wall/posts/:postId',
|
|
3671
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3672
|
+
requestFormat: 'json',
|
|
3718
3673
|
serializationMethod: {
|
|
3719
3674
|
groupId: {
|
|
3720
|
-
style:
|
|
3675
|
+
style: 'simple',
|
|
3721
3676
|
},
|
|
3722
3677
|
postId: {
|
|
3723
|
-
style:
|
|
3678
|
+
style: 'simple',
|
|
3724
3679
|
},
|
|
3725
3680
|
},
|
|
3726
3681
|
parameters: {
|
|
@@ -3751,13 +3706,13 @@ export const deleteGroupsGroupidWallPostsPostid = endpoint({
|
|
|
3751
3706
|
* @param groupId The group id.
|
|
3752
3707
|
*/
|
|
3753
3708
|
export const postGroupsGroupidWallSubscribe = endpoint({
|
|
3754
|
-
method:
|
|
3755
|
-
path:
|
|
3756
|
-
baseUrl:
|
|
3757
|
-
requestFormat:
|
|
3709
|
+
method: 'POST',
|
|
3710
|
+
path: '/v1/groups/:groupId/wall/subscribe',
|
|
3711
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3712
|
+
requestFormat: 'json',
|
|
3758
3713
|
serializationMethod: {
|
|
3759
3714
|
groupId: {
|
|
3760
|
-
style:
|
|
3715
|
+
style: 'simple',
|
|
3761
3716
|
},
|
|
3762
3717
|
},
|
|
3763
3718
|
parameters: {
|
|
@@ -3787,16 +3742,16 @@ export const postGroupsGroupidWallSubscribe = endpoint({
|
|
|
3787
3742
|
* @param userId The user id.
|
|
3788
3743
|
*/
|
|
3789
3744
|
export const deleteGroupsGroupidWallUsersUseridPosts = endpoint({
|
|
3790
|
-
method:
|
|
3791
|
-
path:
|
|
3792
|
-
baseUrl:
|
|
3793
|
-
requestFormat:
|
|
3745
|
+
method: 'DELETE',
|
|
3746
|
+
path: '/v1/groups/:groupId/wall/users/:userId/posts',
|
|
3747
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3748
|
+
requestFormat: 'json',
|
|
3794
3749
|
serializationMethod: {
|
|
3795
3750
|
groupId: {
|
|
3796
|
-
style:
|
|
3751
|
+
style: 'simple',
|
|
3797
3752
|
},
|
|
3798
3753
|
userId: {
|
|
3799
|
-
style:
|
|
3754
|
+
style: 'simple',
|
|
3800
3755
|
},
|
|
3801
3756
|
},
|
|
3802
3757
|
parameters: {
|
|
@@ -3826,10 +3781,10 @@ export const deleteGroupsGroupidWallUsersUseridPosts = endpoint({
|
|
|
3826
3781
|
* @summary Gets Group configuration contextual information
|
|
3827
3782
|
*/
|
|
3828
3783
|
export const getGroupsConfigurationMetadata = endpoint({
|
|
3829
|
-
method:
|
|
3830
|
-
path:
|
|
3831
|
-
baseUrl:
|
|
3832
|
-
requestFormat:
|
|
3784
|
+
method: 'GET',
|
|
3785
|
+
path: '/v1/groups/configuration/metadata',
|
|
3786
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3787
|
+
requestFormat: 'json',
|
|
3833
3788
|
response: Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
|
|
3834
3789
|
errors: [],
|
|
3835
3790
|
});
|
|
@@ -3842,10 +3797,10 @@ Accepts "icon" and "coverPhoto" in Files object. Defaults to first file if "icon
|
|
|
3842
3797
|
Http status code 413 is thrown when the group icon file size is too large.
|
|
3843
3798
|
*/
|
|
3844
3799
|
export const postGroupsCreate = endpoint({
|
|
3845
|
-
method:
|
|
3846
|
-
path:
|
|
3847
|
-
baseUrl:
|
|
3848
|
-
requestFormat:
|
|
3800
|
+
method: 'POST',
|
|
3801
|
+
path: '/v1/groups/create',
|
|
3802
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3803
|
+
requestFormat: 'form-data',
|
|
3849
3804
|
serializationMethod: {
|
|
3850
3805
|
body: {},
|
|
3851
3806
|
},
|
|
@@ -3900,14 +3855,14 @@ export const postGroupsCreate = endpoint({
|
|
|
3900
3855
|
* @param groupId The group Id.
|
|
3901
3856
|
*/
|
|
3902
3857
|
export const patchGroupsIcon = endpoint({
|
|
3903
|
-
method:
|
|
3904
|
-
path:
|
|
3905
|
-
baseUrl:
|
|
3906
|
-
requestFormat:
|
|
3858
|
+
method: 'PATCH',
|
|
3859
|
+
path: '/v1/groups/icon',
|
|
3860
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3861
|
+
requestFormat: 'form-data',
|
|
3907
3862
|
serializationMethod: {
|
|
3908
3863
|
body: {},
|
|
3909
3864
|
groupId: {
|
|
3910
|
-
style:
|
|
3865
|
+
style: 'form',
|
|
3911
3866
|
explode: true,
|
|
3912
3867
|
},
|
|
3913
3868
|
},
|
|
@@ -3947,10 +3902,10 @@ Current number of groups a user is a member of.
|
|
|
3947
3902
|
Whether to show/hide certain features based on device type.
|
|
3948
3903
|
*/
|
|
3949
3904
|
export const getGroupsMetadata = endpoint({
|
|
3950
|
-
method:
|
|
3951
|
-
path:
|
|
3952
|
-
baseUrl:
|
|
3953
|
-
requestFormat:
|
|
3905
|
+
method: 'GET',
|
|
3906
|
+
path: '/v1/groups/metadata',
|
|
3907
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3908
|
+
requestFormat: 'json',
|
|
3954
3909
|
response: Roblox_Groups_Api_GroupsDisplayOptionsResponse,
|
|
3955
3910
|
errors: [],
|
|
3956
3911
|
});
|
|
@@ -3960,10 +3915,10 @@ export const getGroupsMetadata = endpoint({
|
|
|
3960
3915
|
* @param body
|
|
3961
3916
|
*/
|
|
3962
3917
|
export const postGroupsPolicies = endpoint({
|
|
3963
|
-
method:
|
|
3964
|
-
path:
|
|
3965
|
-
baseUrl:
|
|
3966
|
-
requestFormat:
|
|
3918
|
+
method: 'POST',
|
|
3919
|
+
path: '/v1/groups/policies',
|
|
3920
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3921
|
+
requestFormat: 'json',
|
|
3967
3922
|
serializationMethod: {
|
|
3968
3923
|
body: {},
|
|
3969
3924
|
},
|
|
@@ -3995,25 +3950,25 @@ export const postGroupsPolicies = endpoint({
|
|
|
3995
3950
|
* @param cursor The paging cursor for the previous or next page.
|
|
3996
3951
|
*/
|
|
3997
3952
|
export const getGroupsSearch = endpoint({
|
|
3998
|
-
method:
|
|
3999
|
-
path:
|
|
4000
|
-
baseUrl:
|
|
4001
|
-
requestFormat:
|
|
3953
|
+
method: 'GET',
|
|
3954
|
+
path: '/v1/groups/search',
|
|
3955
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3956
|
+
requestFormat: 'json',
|
|
4002
3957
|
serializationMethod: {
|
|
4003
3958
|
keyword: {
|
|
4004
|
-
style:
|
|
3959
|
+
style: 'form',
|
|
4005
3960
|
explode: true,
|
|
4006
3961
|
},
|
|
4007
3962
|
prioritizeExactMatch: {
|
|
4008
|
-
style:
|
|
3963
|
+
style: 'form',
|
|
4009
3964
|
explode: true,
|
|
4010
3965
|
},
|
|
4011
3966
|
limit: {
|
|
4012
|
-
style:
|
|
3967
|
+
style: 'form',
|
|
4013
3968
|
explode: true,
|
|
4014
3969
|
},
|
|
4015
3970
|
cursor: {
|
|
4016
|
-
style:
|
|
3971
|
+
style: 'form',
|
|
4017
3972
|
explode: true,
|
|
4018
3973
|
},
|
|
4019
3974
|
},
|
|
@@ -4043,21 +3998,20 @@ export const getGroupsSearch = endpoint({
|
|
|
4043
3998
|
* @description Should only be used for direct lookups where a user is inputting a group name, shouldn't be used for search pages.
|
|
4044
3999
|
*/
|
|
4045
4000
|
export const getGroupsSearchLookup = endpoint({
|
|
4046
|
-
method:
|
|
4047
|
-
path:
|
|
4048
|
-
baseUrl:
|
|
4049
|
-
requestFormat:
|
|
4001
|
+
method: 'GET',
|
|
4002
|
+
path: '/v1/groups/search/lookup',
|
|
4003
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4004
|
+
requestFormat: 'json',
|
|
4050
4005
|
serializationMethod: {
|
|
4051
4006
|
groupName: {
|
|
4052
|
-
style:
|
|
4007
|
+
style: 'form',
|
|
4053
4008
|
explode: true,
|
|
4054
4009
|
},
|
|
4055
4010
|
},
|
|
4056
4011
|
parameters: {
|
|
4057
4012
|
groupName: z.string(),
|
|
4058
4013
|
},
|
|
4059
|
-
response:
|
|
4060
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
4014
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
4061
4015
|
errors: [
|
|
4062
4016
|
{
|
|
4063
4017
|
status: 400,
|
|
@@ -4072,10 +4026,10 @@ export const getGroupsSearchLookup = endpoint({
|
|
|
4072
4026
|
we will use coco to return different suggested groups based upon that user's request context
|
|
4073
4027
|
*/
|
|
4074
4028
|
export const getGroupsSearchMetadata = endpoint({
|
|
4075
|
-
method:
|
|
4076
|
-
path:
|
|
4077
|
-
baseUrl:
|
|
4078
|
-
requestFormat:
|
|
4029
|
+
method: 'GET',
|
|
4030
|
+
path: '/v1/groups/search/metadata',
|
|
4031
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4032
|
+
requestFormat: 'json',
|
|
4079
4033
|
response: Roblox_Groups_Api_GroupSearchMetadataResponse,
|
|
4080
4034
|
errors: [
|
|
4081
4035
|
{
|
|
@@ -4090,20 +4044,19 @@ export const getGroupsSearchMetadata = endpoint({
|
|
|
4090
4044
|
* @param ids A list of role ids
|
|
4091
4045
|
*/
|
|
4092
4046
|
export const getRoles = endpoint({
|
|
4093
|
-
method:
|
|
4094
|
-
path:
|
|
4095
|
-
baseUrl:
|
|
4096
|
-
requestFormat:
|
|
4047
|
+
method: 'GET',
|
|
4048
|
+
path: '/v1/roles',
|
|
4049
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4050
|
+
requestFormat: 'json',
|
|
4097
4051
|
serializationMethod: {
|
|
4098
4052
|
ids: {
|
|
4099
|
-
style:
|
|
4053
|
+
style: 'form',
|
|
4100
4054
|
},
|
|
4101
4055
|
},
|
|
4102
4056
|
parameters: {
|
|
4103
4057
|
ids: z.array(z.number()),
|
|
4104
4058
|
},
|
|
4105
|
-
response:
|
|
4106
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
4059
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
4107
4060
|
errors: [
|
|
4108
4061
|
{
|
|
4109
4062
|
status: 400,
|
|
@@ -4117,12 +4070,11 @@ export const getRoles = endpoint({
|
|
|
4117
4070
|
* @summary Gets groups that the authenticated user has requested to join
|
|
4118
4071
|
*/
|
|
4119
4072
|
export const getUserGroupsPending = endpoint({
|
|
4120
|
-
method:
|
|
4121
|
-
path:
|
|
4122
|
-
baseUrl:
|
|
4123
|
-
requestFormat:
|
|
4124
|
-
response:
|
|
4125
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
|
|
4073
|
+
method: 'GET',
|
|
4074
|
+
path: '/v1/user/groups/pending',
|
|
4075
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4076
|
+
requestFormat: 'json',
|
|
4077
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupDetailResponse_,
|
|
4126
4078
|
errors: [
|
|
4127
4079
|
{
|
|
4128
4080
|
status: 401,
|
|
@@ -4136,10 +4088,10 @@ export const getUserGroupsPending = endpoint({
|
|
|
4136
4088
|
* @param body The request body containing the group id.
|
|
4137
4089
|
*/
|
|
4138
4090
|
export const postUserGroupsPrimary = endpoint({
|
|
4139
|
-
method:
|
|
4140
|
-
path:
|
|
4141
|
-
baseUrl:
|
|
4142
|
-
requestFormat:
|
|
4091
|
+
method: 'POST',
|
|
4092
|
+
path: '/v1/user/groups/primary',
|
|
4093
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4094
|
+
requestFormat: 'json',
|
|
4143
4095
|
serializationMethod: {
|
|
4144
4096
|
body: {},
|
|
4145
4097
|
},
|
|
@@ -4167,10 +4119,10 @@ export const postUserGroupsPrimary = endpoint({
|
|
|
4167
4119
|
* @summary Removes the authenticated user's primary group
|
|
4168
4120
|
*/
|
|
4169
4121
|
export const deleteUserGroupsPrimary = endpoint({
|
|
4170
|
-
method:
|
|
4171
|
-
path:
|
|
4172
|
-
baseUrl:
|
|
4173
|
-
requestFormat:
|
|
4122
|
+
method: 'DELETE',
|
|
4123
|
+
path: '/v1/user/groups/primary',
|
|
4124
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4125
|
+
requestFormat: 'json',
|
|
4174
4126
|
response: z.object({}),
|
|
4175
4127
|
errors: [
|
|
4176
4128
|
{
|
|
@@ -4189,20 +4141,19 @@ export const deleteUserGroupsPrimary = endpoint({
|
|
|
4189
4141
|
* @param userId The user id.
|
|
4190
4142
|
*/
|
|
4191
4143
|
export const getUsersUseridFriendsGroupsRoles = endpoint({
|
|
4192
|
-
method:
|
|
4193
|
-
path:
|
|
4194
|
-
baseUrl:
|
|
4195
|
-
requestFormat:
|
|
4144
|
+
method: 'GET',
|
|
4145
|
+
path: '/v1/users/:userId/friends/groups/roles',
|
|
4146
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4147
|
+
requestFormat: 'json',
|
|
4196
4148
|
serializationMethod: {
|
|
4197
4149
|
userId: {
|
|
4198
|
-
style:
|
|
4150
|
+
style: 'simple',
|
|
4199
4151
|
},
|
|
4200
4152
|
},
|
|
4201
4153
|
parameters: {
|
|
4202
4154
|
userId: z.number().int(),
|
|
4203
4155
|
},
|
|
4204
|
-
response:
|
|
4205
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
4156
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
4206
4157
|
errors: [
|
|
4207
4158
|
{
|
|
4208
4159
|
status: 400,
|
|
@@ -4220,13 +4171,13 @@ export const getUsersUseridFriendsGroupsRoles = endpoint({
|
|
|
4220
4171
|
* @param userId The user id.
|
|
4221
4172
|
*/
|
|
4222
4173
|
export const getUsersUseridGroupsPrimaryRole = endpoint({
|
|
4223
|
-
method:
|
|
4224
|
-
path:
|
|
4225
|
-
baseUrl:
|
|
4226
|
-
requestFormat:
|
|
4174
|
+
method: 'GET',
|
|
4175
|
+
path: '/v1/users/:userId/groups/primary/role',
|
|
4176
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4177
|
+
requestFormat: 'json',
|
|
4227
4178
|
serializationMethod: {
|
|
4228
4179
|
userId: {
|
|
4229
|
-
style:
|
|
4180
|
+
style: 'simple',
|
|
4230
4181
|
},
|
|
4231
4182
|
},
|
|
4232
4183
|
parameters: {
|
|
@@ -4249,24 +4200,24 @@ export const getUsersUseridGroupsPrimaryRole = endpoint({
|
|
|
4249
4200
|
* @param discoveryType
|
|
4250
4201
|
*/
|
|
4251
4202
|
export const getUsersUseridGroupsRoles = endpoint({
|
|
4252
|
-
method:
|
|
4253
|
-
path:
|
|
4254
|
-
baseUrl:
|
|
4255
|
-
requestFormat:
|
|
4203
|
+
method: 'GET',
|
|
4204
|
+
path: '/v1/users/:userId/groups/roles',
|
|
4205
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4206
|
+
requestFormat: 'json',
|
|
4256
4207
|
serializationMethod: {
|
|
4257
4208
|
userId: {
|
|
4258
|
-
style:
|
|
4209
|
+
style: 'simple',
|
|
4259
4210
|
},
|
|
4260
4211
|
includeLocked: {
|
|
4261
|
-
style:
|
|
4212
|
+
style: 'form',
|
|
4262
4213
|
explode: true,
|
|
4263
4214
|
},
|
|
4264
4215
|
includeNotificationPreferences: {
|
|
4265
|
-
style:
|
|
4216
|
+
style: 'form',
|
|
4266
4217
|
explode: true,
|
|
4267
4218
|
},
|
|
4268
4219
|
discoveryType: {
|
|
4269
|
-
style:
|
|
4220
|
+
style: 'form',
|
|
4270
4221
|
explode: true,
|
|
4271
4222
|
},
|
|
4272
4223
|
},
|
|
@@ -4276,8 +4227,7 @@ export const getUsersUseridGroupsRoles = endpoint({
|
|
|
4276
4227
|
includeNotificationPreferences: z.boolean().optional(),
|
|
4277
4228
|
discoveryType: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
4278
4229
|
},
|
|
4279
|
-
response:
|
|
4280
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
4230
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
4281
4231
|
errors: [
|
|
4282
4232
|
{
|
|
4283
4233
|
status: 400,
|