rozod 6.7.1 → 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/LICENSE +1 -1
- package/README.md +75 -451
- 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 +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- 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 +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- 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 +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- 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 +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- 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/metricsv1.d.ts +88 -88
- 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 +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- 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 +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- 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(),
|
|
@@ -117,6 +109,13 @@ const Roblox_Groups_Client_CreateBlockedKeywordsResponse = z.object({
|
|
|
117
109
|
hadModeratedKeywords: z.boolean(),
|
|
118
110
|
hadDuplicateKeywords: z.boolean(),
|
|
119
111
|
});
|
|
112
|
+
const Roblox_Groups_Api_CommunityFeatureFreezeStatus = z.object({
|
|
113
|
+
feature: z.string(),
|
|
114
|
+
isDisabled: z.boolean(),
|
|
115
|
+
});
|
|
116
|
+
const Roblox_Groups_Api_GetCommunityFeatureFreezesResponse = z.object({
|
|
117
|
+
features: z.array(Roblox_Groups_Api_CommunityFeatureFreezeStatus),
|
|
118
|
+
});
|
|
120
119
|
const Roblox_Groups_Api_GroupConfigurationDetailsResponse = z.object({
|
|
121
120
|
groupId: z.number().int(),
|
|
122
121
|
emblemId: z.number().int(),
|
|
@@ -136,10 +135,12 @@ const Roblox_Groups_Client_GetGroupEmoteSetsResponse = z.object({
|
|
|
136
135
|
});
|
|
137
136
|
const Roblox_Groups_Api_GroupFeatureResponse = z.object({
|
|
138
137
|
feature: z.enum([
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
'Payouts',
|
|
139
|
+
'ContentUpload',
|
|
140
|
+
'GroupOwnershipTransfer',
|
|
141
|
+
'GameOwnershipTransfer',
|
|
142
|
+
'ForumRead',
|
|
143
|
+
'ForumWrite',
|
|
143
144
|
]),
|
|
144
145
|
isFeatureBlocked: z.boolean(),
|
|
145
146
|
expiration: z.string().datetime({ offset: true }),
|
|
@@ -161,12 +162,11 @@ const Roblox_Groups_Api_GroupJoinRequestResponse = z.object({
|
|
|
161
162
|
requester: Roblox_Groups_Api_Models_Response_UserModel,
|
|
162
163
|
created: z.string().datetime({ offset: true }),
|
|
163
164
|
});
|
|
164
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_ =
|
|
165
|
-
z.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
});
|
|
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
|
+
});
|
|
170
170
|
const Roblox_Groups_Api_MembersRequest = z.object({
|
|
171
171
|
UserIds: z.array(z.number()),
|
|
172
172
|
});
|
|
@@ -221,8 +221,7 @@ const Roblox_Groups_Api_GroupOpenCloudPermissionsModel = z.object({
|
|
|
221
221
|
const Roblox_Groups_Api_GroupPermissionsModel = z.object({
|
|
222
222
|
groupPostsPermissions: Roblox_Groups_Api_GroupPostsPermissionsModel,
|
|
223
223
|
groupForumsPermissions: Roblox_Groups_Api_GroupForumsPermissionsModel,
|
|
224
|
-
groupContentModerationPermissions:
|
|
225
|
-
Roblox_Groups_Api_GroupContentModerationPermissionsModel,
|
|
224
|
+
groupContentModerationPermissions: Roblox_Groups_Api_GroupContentModerationPermissionsModel,
|
|
226
225
|
groupMembershipPermissions: Roblox_Groups_Api_GroupMembershipPermissionsModel,
|
|
227
226
|
groupManagementPermissions: Roblox_Groups_Api_GroupManagementPermissionsModel,
|
|
228
227
|
groupEconomyPermissions: Roblox_Groups_Api_GroupEconomyPermissionsModel,
|
|
@@ -234,11 +233,11 @@ const Roblox_Groups_Api_GroupChannelPermissionsModel = z.object({
|
|
|
234
233
|
});
|
|
235
234
|
const Roblox_Groups_Api_GroupNotificationPreferenceData = z.object({
|
|
236
235
|
type: z.enum([
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
236
|
+
'AnnouncementCreatedNotification',
|
|
237
|
+
'ForumPostCreatedNotification',
|
|
238
|
+
'ForumCommentCreatedNotification',
|
|
239
|
+
'ForumCommentReplyCreatedNotification',
|
|
240
|
+
'ForumSubscriberNotification',
|
|
242
241
|
]),
|
|
243
242
|
enabled: z.boolean(),
|
|
244
243
|
name: z.string(),
|
|
@@ -256,22 +255,20 @@ const Roblox_Groups_Api_GroupMembershipMetadataResponse = z.object({
|
|
|
256
255
|
areEnemiesAllowed: z.boolean(),
|
|
257
256
|
canConfigure: z.boolean(),
|
|
258
257
|
isNotificationsEnabled: z.boolean(),
|
|
259
|
-
notificationPreferences: z.array(
|
|
260
|
-
Roblox_Groups_Api_GroupNotificationPreferenceData
|
|
261
|
-
),
|
|
258
|
+
notificationPreferences: z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
262
259
|
isBannedFromGroup: z.boolean(),
|
|
263
260
|
canViewMemberList: z.boolean(),
|
|
261
|
+
isOwner: z.boolean(),
|
|
262
|
+
});
|
|
263
|
+
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = z.object({
|
|
264
|
+
name: z.string(),
|
|
265
|
+
created: z.string().datetime({ offset: true }),
|
|
264
266
|
});
|
|
265
|
-
const Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem = z.object(
|
|
266
|
-
{ name: z.string(), created: z.string().datetime({ offset: true }) }
|
|
267
|
-
);
|
|
268
267
|
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_ =
|
|
269
268
|
z.object({
|
|
270
269
|
previousPageCursor: z.string(),
|
|
271
270
|
nextPageCursor: z.string(),
|
|
272
|
-
data: z.array(
|
|
273
|
-
Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem
|
|
274
|
-
),
|
|
271
|
+
data: z.array(Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem),
|
|
275
272
|
});
|
|
276
273
|
const Roblox_Groups_Api_GroupPayoutRestrictionResponse = z.object({
|
|
277
274
|
canUseRecurringPayout: z.boolean(),
|
|
@@ -281,24 +278,30 @@ const Roblox_Groups_Api_GroupPayoutResponse = z.object({
|
|
|
281
278
|
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
282
279
|
percentage: z.number().int(),
|
|
283
280
|
});
|
|
284
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ =
|
|
285
|
-
|
|
281
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_ = z.object({
|
|
282
|
+
data: z.array(Roblox_Groups_Api_GroupPayoutResponse),
|
|
283
|
+
});
|
|
286
284
|
const Roblox_Groups_Api_PayoutRecipientRequest = z.object({
|
|
287
285
|
recipientId: z.number().int(),
|
|
288
|
-
recipientType: z.enum([
|
|
286
|
+
recipientType: z.enum(['User', 'Group']),
|
|
287
|
+
amount: z.number().int(),
|
|
288
|
+
});
|
|
289
|
+
const Roblox_Groups_Api_WatermarkContributionRequest = z.object({
|
|
290
|
+
balanceKey: z.enum(['Standard', 'O18Boosted']),
|
|
289
291
|
amount: z.number().int(),
|
|
290
292
|
});
|
|
291
293
|
const Roblox_Groups_Api_PayoutRequest = z.object({
|
|
292
|
-
PayoutType: z.enum([
|
|
294
|
+
PayoutType: z.enum(['FixedAmount', 'Percentage']),
|
|
293
295
|
Recipients: z.array(Roblox_Groups_Api_PayoutRecipientRequest),
|
|
294
296
|
IdempotencyKey: z.string(),
|
|
297
|
+
WatermarkContributions: z.array(Roblox_Groups_Api_WatermarkContributionRequest),
|
|
295
298
|
});
|
|
296
299
|
const Roblox_Groups_Api_OneTimePayoutResponse = z.object({
|
|
297
|
-
status: z.enum([
|
|
300
|
+
status: z.enum(['NotHeld', 'Held']),
|
|
298
301
|
});
|
|
299
302
|
const Roblox_Groups_Api_GroupRelationshipsResponse = z.object({
|
|
300
303
|
groupId: z.number().int(),
|
|
301
|
-
relationshipType: z.enum([
|
|
304
|
+
relationshipType: z.enum(['Allies', 'Enemies']),
|
|
302
305
|
totalGroupCount: z.number().int(),
|
|
303
306
|
relatedGroups: z.array(Roblox_Groups_Api_GroupDetailResponse),
|
|
304
307
|
nextRowIndex: z.number().int(),
|
|
@@ -318,14 +321,14 @@ const Roblox_Groups_Api_GroupPermissionsResponse = z.object({
|
|
|
318
321
|
const Roblox_Groups_Api_UpdatePermissionsRequest = z.object({
|
|
319
322
|
permissions: z.object({}),
|
|
320
323
|
});
|
|
321
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_ =
|
|
322
|
-
z.
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
+
});
|
|
329
332
|
const Roblox_Groups_Api_GroupSettingsResponse = z.object({
|
|
330
333
|
isApprovalRequired: z.boolean(),
|
|
331
334
|
isBuildersClubRequired: z.boolean(),
|
|
@@ -333,12 +336,7 @@ const Roblox_Groups_Api_GroupSettingsResponse = z.object({
|
|
|
333
336
|
areGroupFundsVisible: z.boolean(),
|
|
334
337
|
areGroupGamesVisible: z.boolean(),
|
|
335
338
|
isGroupNameChangeEnabled: z.boolean(),
|
|
336
|
-
verificationLevel: z.union([
|
|
337
|
-
z.literal(0),
|
|
338
|
-
z.literal(1),
|
|
339
|
-
z.literal(2),
|
|
340
|
-
z.literal(3),
|
|
341
|
-
]),
|
|
339
|
+
verificationLevel: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
342
340
|
accountTenureRequirement: z.union([
|
|
343
341
|
z.literal(0),
|
|
344
342
|
z.literal(1),
|
|
@@ -356,12 +354,7 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
|
|
|
356
354
|
areEnemiesAllowed: z.boolean(),
|
|
357
355
|
areGroupFundsVisible: z.boolean(),
|
|
358
356
|
areGroupGamesVisible: z.boolean(),
|
|
359
|
-
verificationLevel: z.union([
|
|
360
|
-
z.literal(0),
|
|
361
|
-
z.literal(1),
|
|
362
|
-
z.literal(2),
|
|
363
|
-
z.literal(3),
|
|
364
|
-
]),
|
|
357
|
+
verificationLevel: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
365
358
|
accountTenureRequirement: z.union([
|
|
366
359
|
z.literal(0),
|
|
367
360
|
z.literal(1),
|
|
@@ -376,27 +369,22 @@ const Roblox_Groups_Api_UpdateGroupSettingsRequest = z.object({
|
|
|
376
369
|
const Roblox_Groups_Api_SocialLinkResponse = z.object({
|
|
377
370
|
id: z.number().int(),
|
|
378
371
|
type: z.enum([
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
372
|
+
'Facebook',
|
|
373
|
+
'Twitter',
|
|
374
|
+
'YouTube',
|
|
375
|
+
'Twitch',
|
|
376
|
+
'GooglePlus',
|
|
377
|
+
'Discord',
|
|
378
|
+
'RobloxGroup',
|
|
379
|
+
'Amazon',
|
|
380
|
+
'Guilded',
|
|
388
381
|
]),
|
|
389
382
|
url: z.string(),
|
|
390
383
|
title: z.string(),
|
|
391
384
|
});
|
|
392
385
|
const Roblox_Groups_Api_GetSocialLinkResponse = z.object({
|
|
393
386
|
data: z.array(Roblox_Groups_Api_SocialLinkResponse),
|
|
394
|
-
socialLinksVerificationStatus: z.union([
|
|
395
|
-
z.literal(0),
|
|
396
|
-
z.literal(1),
|
|
397
|
-
z.literal(2),
|
|
398
|
-
z.literal(3),
|
|
399
|
-
]),
|
|
387
|
+
socialLinksVerificationStatus: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
|
|
400
388
|
});
|
|
401
389
|
const Roblox_Groups_Api_SocialLinkRequest = z.object({
|
|
402
390
|
type: z.union([
|
|
@@ -413,12 +401,11 @@ const Roblox_Groups_Api_SocialLinkRequest = z.object({
|
|
|
413
401
|
url: z.string(),
|
|
414
402
|
title: z.string(),
|
|
415
403
|
});
|
|
416
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_ =
|
|
417
|
-
z.
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
});
|
|
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
|
+
});
|
|
422
409
|
const Roblox_Groups_Api_JoinGroupRequest = z.object({
|
|
423
410
|
sessionId: z.string(),
|
|
424
411
|
redemptionToken: z.string(),
|
|
@@ -434,12 +421,11 @@ const Roblox_Groups_Api_Models_Response_GroupWallPostModel = z.object({
|
|
|
434
421
|
created: z.string().datetime({ offset: true }),
|
|
435
422
|
updated: z.string().datetime({ offset: true }),
|
|
436
423
|
});
|
|
437
|
-
const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_ =
|
|
438
|
-
z.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
});
|
|
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
|
+
});
|
|
443
429
|
const Roblox_Groups_Api_CreateWallPostRequest = z.object({
|
|
444
430
|
body: z.string(),
|
|
445
431
|
captchaId: z.string(),
|
|
@@ -474,11 +460,9 @@ const Roblox_Groups_Api_GroupNameChangeConfigurationResponse = z.object({
|
|
|
474
460
|
});
|
|
475
461
|
const Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse = z.object({
|
|
476
462
|
groupConfiguration: Roblox_Groups_Api_GroupConfigurationResponse,
|
|
477
|
-
recurringPayoutsConfiguration:
|
|
478
|
-
Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
463
|
+
recurringPayoutsConfiguration: Roblox_Groups_Api_RecurringPayoutsConfigurationResponse,
|
|
479
464
|
roleConfiguration: Roblox_Groups_Api_RoleConfigurationResponse,
|
|
480
|
-
groupNameChangeConfiguration:
|
|
481
|
-
Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
465
|
+
groupNameChangeConfiguration: Roblox_Groups_Api_GroupNameChangeConfigurationResponse,
|
|
482
466
|
isPremiumPayoutsEnabled: z.boolean(),
|
|
483
467
|
isDefaultEmblemPolicyEnabled: z.boolean(),
|
|
484
468
|
});
|
|
@@ -518,8 +502,9 @@ const Roblox_Web_Responses_Groups_GroupBasicResponse = z.object({
|
|
|
518
502
|
memberCount: z.number().int(),
|
|
519
503
|
hasVerifiedBadge: z.boolean(),
|
|
520
504
|
});
|
|
521
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ =
|
|
522
|
-
|
|
505
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_ = z.object({
|
|
506
|
+
data: z.array(Roblox_Web_Responses_Groups_GroupBasicResponse),
|
|
507
|
+
});
|
|
523
508
|
const Roblox_Groups_Api_GroupSearchMetadataResponse = z.object({
|
|
524
509
|
SuggestedGroupKeywords: z.array(z.string()),
|
|
525
510
|
ShowFriendsGroupsSort: z.boolean(),
|
|
@@ -533,46 +518,48 @@ const Roblox_Groups_Api_GroupRoleDetailResponse = z.object({
|
|
|
533
518
|
memberCount: z.number().int(),
|
|
534
519
|
isBase: z.boolean(),
|
|
535
520
|
color: z.enum([
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
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',
|
|
553
538
|
]),
|
|
554
539
|
});
|
|
555
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_ =
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
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
|
+
});
|
|
559
546
|
const Roblox_Groups_Api_GroupMembershipDetailResponse = z.object({
|
|
560
547
|
group: Roblox_Groups_Api_GroupDetailResponse,
|
|
561
548
|
role: Roblox_Groups_Api_GroupRoleResponse,
|
|
562
549
|
isPrimaryGroup: z.boolean(),
|
|
563
550
|
isNotificationsEnabled: z.boolean(),
|
|
564
|
-
notificationPreferences: z.array(
|
|
565
|
-
Roblox_Groups_Api_GroupNotificationPreferenceData
|
|
566
|
-
),
|
|
551
|
+
notificationPreferences: z.array(Roblox_Groups_Api_GroupNotificationPreferenceData),
|
|
567
552
|
});
|
|
568
553
|
const Roblox_Groups_Api_UserGroupMembershipResponse = z.object({
|
|
569
554
|
user: Roblox_Groups_Api_Models_Response_UserModel,
|
|
570
555
|
groups: z.array(Roblox_Groups_Api_GroupMembershipDetailResponse),
|
|
571
556
|
});
|
|
572
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_ =
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
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
|
+
});
|
|
576
563
|
const Roblox_Groups_Api_ChangeOwnerRequest = z.object({
|
|
577
564
|
userId: z.number().int(),
|
|
578
565
|
});
|
|
@@ -589,14 +576,16 @@ const groups_create_body = z.object({
|
|
|
589
576
|
buildersClubMembersOnly: z.boolean(),
|
|
590
577
|
Files: z.instanceof(File),
|
|
591
578
|
});
|
|
592
|
-
const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_ =
|
|
593
|
-
|
|
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
|
+
});
|
|
594
584
|
const Roblox_Web_Responses_Groups_GroupResponseV2 = z.object({
|
|
595
585
|
id: z.number().int(),
|
|
596
586
|
name: z.string(),
|
|
597
587
|
description: z.string(),
|
|
598
|
-
owner:
|
|
599
|
-
Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
588
|
+
owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Web_Responses_Groups_GroupOwnerType_,
|
|
600
589
|
memberCount: z.number().int(),
|
|
601
590
|
created: z.string().datetime({ offset: true }),
|
|
602
591
|
hasVerifiedBadge: z.boolean(),
|
|
@@ -631,11 +620,11 @@ const Roblox_Groups_Api_UpdateGroupNameResponse = z.object({
|
|
|
631
620
|
const Roblox_Groups_Api_UpdateGroupNotificationPreferenceRequest = z.object({
|
|
632
621
|
notificationsEnabled: z.boolean(),
|
|
633
622
|
type: z.enum([
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
623
|
+
'AnnouncementCreatedNotification',
|
|
624
|
+
'ForumPostCreatedNotification',
|
|
625
|
+
'ForumCommentCreatedNotification',
|
|
626
|
+
'ForumCommentReplyCreatedNotification',
|
|
627
|
+
'ForumSubscriberNotification',
|
|
639
628
|
]),
|
|
640
629
|
});
|
|
641
630
|
const Roblox_Groups_Api_Models_Request_UpdateRoleSetRequest = z.object({
|
|
@@ -658,13 +647,13 @@ const groups_icon_body = z.object({ Files: z.instanceof(File) });
|
|
|
658
647
|
* @param groupId The group Id.
|
|
659
648
|
*/
|
|
660
649
|
export const getFeaturedContentEvent = endpoint({
|
|
661
|
-
method:
|
|
662
|
-
path:
|
|
663
|
-
baseUrl:
|
|
664
|
-
requestFormat:
|
|
650
|
+
method: 'GET',
|
|
651
|
+
path: '/v1/featured-content/event',
|
|
652
|
+
baseUrl: 'https://groups.roblox.com',
|
|
653
|
+
requestFormat: 'json',
|
|
665
654
|
serializationMethod: {
|
|
666
655
|
groupId: {
|
|
667
|
-
style:
|
|
656
|
+
style: 'form',
|
|
668
657
|
explode: true,
|
|
669
658
|
},
|
|
670
659
|
},
|
|
@@ -681,17 +670,17 @@ export const getFeaturedContentEvent = endpoint({
|
|
|
681
670
|
* @param eventId The event Id.
|
|
682
671
|
*/
|
|
683
672
|
export const postFeaturedContentEvent = endpoint({
|
|
684
|
-
method:
|
|
685
|
-
path:
|
|
686
|
-
baseUrl:
|
|
687
|
-
requestFormat:
|
|
673
|
+
method: 'POST',
|
|
674
|
+
path: '/v1/featured-content/event',
|
|
675
|
+
baseUrl: 'https://groups.roblox.com',
|
|
676
|
+
requestFormat: 'json',
|
|
688
677
|
serializationMethod: {
|
|
689
678
|
groupId: {
|
|
690
|
-
style:
|
|
679
|
+
style: 'form',
|
|
691
680
|
explode: true,
|
|
692
681
|
},
|
|
693
682
|
eventId: {
|
|
694
|
-
style:
|
|
683
|
+
style: 'form',
|
|
695
684
|
explode: true,
|
|
696
685
|
},
|
|
697
686
|
},
|
|
@@ -715,17 +704,17 @@ export const postFeaturedContentEvent = endpoint({
|
|
|
715
704
|
* @param eventId The event Id.
|
|
716
705
|
*/
|
|
717
706
|
export const deleteFeaturedContentEvent = endpoint({
|
|
718
|
-
method:
|
|
719
|
-
path:
|
|
720
|
-
baseUrl:
|
|
721
|
-
requestFormat:
|
|
707
|
+
method: 'DELETE',
|
|
708
|
+
path: '/v1/featured-content/event',
|
|
709
|
+
baseUrl: 'https://groups.roblox.com',
|
|
710
|
+
requestFormat: 'json',
|
|
722
711
|
serializationMethod: {
|
|
723
712
|
groupId: {
|
|
724
|
-
style:
|
|
713
|
+
style: 'form',
|
|
725
714
|
explode: true,
|
|
726
715
|
},
|
|
727
716
|
eventId: {
|
|
728
|
-
style:
|
|
717
|
+
style: 'form',
|
|
729
718
|
explode: true,
|
|
730
719
|
},
|
|
731
720
|
},
|
|
@@ -748,13 +737,13 @@ export const deleteFeaturedContentEvent = endpoint({
|
|
|
748
737
|
* @param groupId The group Id.
|
|
749
738
|
*/
|
|
750
739
|
export const getGroupsGroupid = endpoint({
|
|
751
|
-
method:
|
|
752
|
-
path:
|
|
753
|
-
baseUrl:
|
|
754
|
-
requestFormat:
|
|
740
|
+
method: 'GET',
|
|
741
|
+
path: '/v1/groups/:groupId',
|
|
742
|
+
baseUrl: 'https://groups.roblox.com',
|
|
743
|
+
requestFormat: 'json',
|
|
755
744
|
serializationMethod: {
|
|
756
745
|
groupId: {
|
|
757
|
-
style:
|
|
746
|
+
style: 'simple',
|
|
758
747
|
},
|
|
759
748
|
},
|
|
760
749
|
parameters: {
|
|
@@ -779,32 +768,32 @@ export const getGroupsGroupid = endpoint({
|
|
|
779
768
|
* @param sortOrder The order the results are sorted in.
|
|
780
769
|
*/
|
|
781
770
|
export const getGroupsGroupidAuditLog = endpoint({
|
|
782
|
-
method:
|
|
783
|
-
path:
|
|
784
|
-
baseUrl:
|
|
785
|
-
requestFormat:
|
|
771
|
+
method: 'GET',
|
|
772
|
+
path: '/v1/groups/:groupId/audit-log',
|
|
773
|
+
baseUrl: 'https://groups.roblox.com',
|
|
774
|
+
requestFormat: 'json',
|
|
786
775
|
serializationMethod: {
|
|
787
776
|
groupId: {
|
|
788
|
-
style:
|
|
777
|
+
style: 'simple',
|
|
789
778
|
},
|
|
790
779
|
actionType: {
|
|
791
|
-
style:
|
|
780
|
+
style: 'form',
|
|
792
781
|
explode: true,
|
|
793
782
|
},
|
|
794
783
|
userId: {
|
|
795
|
-
style:
|
|
784
|
+
style: 'form',
|
|
796
785
|
explode: true,
|
|
797
786
|
},
|
|
798
787
|
limit: {
|
|
799
|
-
style:
|
|
788
|
+
style: 'form',
|
|
800
789
|
explode: true,
|
|
801
790
|
},
|
|
802
791
|
cursor: {
|
|
803
|
-
style:
|
|
792
|
+
style: 'form',
|
|
804
793
|
explode: true,
|
|
805
794
|
},
|
|
806
795
|
sortOrder: {
|
|
807
|
-
style:
|
|
796
|
+
style: 'form',
|
|
808
797
|
explode: true,
|
|
809
798
|
},
|
|
810
799
|
},
|
|
@@ -812,78 +801,80 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
812
801
|
groupId: z.number().int(),
|
|
813
802
|
actionType: z
|
|
814
803
|
.enum([
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
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
|
-
|
|
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',
|
|
887
878
|
])
|
|
888
879
|
.optional(),
|
|
889
880
|
userId: z.number().int().optional(),
|
|
@@ -892,10 +883,9 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
892
883
|
.optional()
|
|
893
884
|
.default(10),
|
|
894
885
|
cursor: z.string().optional(),
|
|
895
|
-
sortOrder: z.enum([
|
|
886
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
896
887
|
},
|
|
897
|
-
response:
|
|
898
|
-
Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
888
|
+
response: Roblox_Groups_Api_GroupAuditLogPageResponse_Roblox_Groups_Api_Models_Response_GroupAuditLogResponseItem_,
|
|
899
889
|
errors: [
|
|
900
890
|
{
|
|
901
891
|
status: 400,
|
|
@@ -921,24 +911,24 @@ export const getGroupsGroupidAuditLog = endpoint({
|
|
|
921
911
|
* @param sortOrder The order the results are sorted in.
|
|
922
912
|
*/
|
|
923
913
|
export const getGroupsGroupidBans = endpoint({
|
|
924
|
-
method:
|
|
925
|
-
path:
|
|
926
|
-
baseUrl:
|
|
927
|
-
requestFormat:
|
|
914
|
+
method: 'GET',
|
|
915
|
+
path: '/v1/groups/:groupId/bans',
|
|
916
|
+
baseUrl: 'https://groups.roblox.com',
|
|
917
|
+
requestFormat: 'json',
|
|
928
918
|
serializationMethod: {
|
|
929
919
|
groupId: {
|
|
930
|
-
style:
|
|
920
|
+
style: 'simple',
|
|
931
921
|
},
|
|
932
922
|
limit: {
|
|
933
|
-
style:
|
|
923
|
+
style: 'form',
|
|
934
924
|
explode: true,
|
|
935
925
|
},
|
|
936
926
|
cursor: {
|
|
937
|
-
style:
|
|
927
|
+
style: 'form',
|
|
938
928
|
explode: true,
|
|
939
929
|
},
|
|
940
930
|
sortOrder: {
|
|
941
|
-
style:
|
|
931
|
+
style: 'form',
|
|
942
932
|
explode: true,
|
|
943
933
|
},
|
|
944
934
|
},
|
|
@@ -949,10 +939,9 @@ export const getGroupsGroupidBans = endpoint({
|
|
|
949
939
|
.optional()
|
|
950
940
|
.default(10),
|
|
951
941
|
cursor: z.string().optional(),
|
|
952
|
-
sortOrder: z.enum([
|
|
942
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
953
943
|
},
|
|
954
|
-
response:
|
|
955
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_,
|
|
944
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupBanMemberResponse_,
|
|
956
945
|
errors: [
|
|
957
946
|
{
|
|
958
947
|
status: 401,
|
|
@@ -979,16 +968,16 @@ export const getGroupsGroupidBans = endpoint({
|
|
|
979
968
|
* @param userId The user Id.
|
|
980
969
|
*/
|
|
981
970
|
export const getGroupsGroupidBansUserid = endpoint({
|
|
982
|
-
method:
|
|
983
|
-
path:
|
|
984
|
-
baseUrl:
|
|
985
|
-
requestFormat:
|
|
971
|
+
method: 'GET',
|
|
972
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
973
|
+
baseUrl: 'https://groups.roblox.com',
|
|
974
|
+
requestFormat: 'json',
|
|
986
975
|
serializationMethod: {
|
|
987
976
|
groupId: {
|
|
988
|
-
style:
|
|
977
|
+
style: 'simple',
|
|
989
978
|
},
|
|
990
979
|
userId: {
|
|
991
|
-
style:
|
|
980
|
+
style: 'simple',
|
|
992
981
|
},
|
|
993
982
|
},
|
|
994
983
|
parameters: {
|
|
@@ -1023,16 +1012,16 @@ export const getGroupsGroupidBansUserid = endpoint({
|
|
|
1023
1012
|
* @param userId The Id of the user being banned.
|
|
1024
1013
|
*/
|
|
1025
1014
|
export const postGroupsGroupidBansUserid = endpoint({
|
|
1026
|
-
method:
|
|
1027
|
-
path:
|
|
1028
|
-
baseUrl:
|
|
1029
|
-
requestFormat:
|
|
1015
|
+
method: 'POST',
|
|
1016
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
1017
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1018
|
+
requestFormat: 'json',
|
|
1030
1019
|
serializationMethod: {
|
|
1031
1020
|
groupId: {
|
|
1032
|
-
style:
|
|
1021
|
+
style: 'simple',
|
|
1033
1022
|
},
|
|
1034
1023
|
userId: {
|
|
1035
|
-
style:
|
|
1024
|
+
style: 'simple',
|
|
1036
1025
|
},
|
|
1037
1026
|
},
|
|
1038
1027
|
parameters: {
|
|
@@ -1075,16 +1064,16 @@ export const postGroupsGroupidBansUserid = endpoint({
|
|
|
1075
1064
|
* @param userId The Id of the user being unbanned.
|
|
1076
1065
|
*/
|
|
1077
1066
|
export const deleteGroupsGroupidBansUserid = endpoint({
|
|
1078
|
-
method:
|
|
1079
|
-
path:
|
|
1080
|
-
baseUrl:
|
|
1081
|
-
requestFormat:
|
|
1067
|
+
method: 'DELETE',
|
|
1068
|
+
path: '/v1/groups/:groupId/bans/:userId',
|
|
1069
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1070
|
+
requestFormat: 'json',
|
|
1082
1071
|
serializationMethod: {
|
|
1083
1072
|
groupId: {
|
|
1084
|
-
style:
|
|
1073
|
+
style: 'simple',
|
|
1085
1074
|
},
|
|
1086
1075
|
userId: {
|
|
1087
|
-
style:
|
|
1076
|
+
style: 'simple',
|
|
1088
1077
|
},
|
|
1089
1078
|
},
|
|
1090
1079
|
parameters: {
|
|
@@ -1125,24 +1114,24 @@ export const deleteGroupsGroupidBansUserid = endpoint({
|
|
|
1125
1114
|
* @param sortOrder The order the results are sorted in.
|
|
1126
1115
|
*/
|
|
1127
1116
|
export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
1128
|
-
method:
|
|
1129
|
-
path:
|
|
1130
|
-
baseUrl:
|
|
1131
|
-
requestFormat:
|
|
1117
|
+
method: 'GET',
|
|
1118
|
+
path: '/v1/groups/:groupId/blocked-keywords',
|
|
1119
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1120
|
+
requestFormat: 'json',
|
|
1132
1121
|
serializationMethod: {
|
|
1133
1122
|
groupId: {
|
|
1134
|
-
style:
|
|
1123
|
+
style: 'simple',
|
|
1135
1124
|
},
|
|
1136
1125
|
limit: {
|
|
1137
|
-
style:
|
|
1126
|
+
style: 'form',
|
|
1138
1127
|
explode: true,
|
|
1139
1128
|
},
|
|
1140
1129
|
cursor: {
|
|
1141
|
-
style:
|
|
1130
|
+
style: 'form',
|
|
1142
1131
|
explode: true,
|
|
1143
1132
|
},
|
|
1144
1133
|
sortOrder: {
|
|
1145
|
-
style:
|
|
1134
|
+
style: 'form',
|
|
1146
1135
|
explode: true,
|
|
1147
1136
|
},
|
|
1148
1137
|
},
|
|
@@ -1153,10 +1142,9 @@ export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1153
1142
|
.optional()
|
|
1154
1143
|
.default(10),
|
|
1155
1144
|
cursor: z.string().optional(),
|
|
1156
|
-
sortOrder: z.enum([
|
|
1145
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1157
1146
|
},
|
|
1158
|
-
response:
|
|
1159
|
-
Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_,
|
|
1147
|
+
response: Roblox_Groups_Api_BlockedKeywordPageResponse_Roblox_Groups_Client_BlockedKeywordModel_,
|
|
1160
1148
|
errors: [
|
|
1161
1149
|
{
|
|
1162
1150
|
status: 400,
|
|
@@ -1185,14 +1173,14 @@ export const getGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1185
1173
|
* @param groupId
|
|
1186
1174
|
*/
|
|
1187
1175
|
export const postGroupsGroupidBlockedKeywords = endpoint({
|
|
1188
|
-
method:
|
|
1189
|
-
path:
|
|
1190
|
-
baseUrl:
|
|
1191
|
-
requestFormat:
|
|
1176
|
+
method: 'POST',
|
|
1177
|
+
path: '/v1/groups/:groupId/blocked-keywords',
|
|
1178
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1179
|
+
requestFormat: 'json',
|
|
1192
1180
|
serializationMethod: {
|
|
1193
1181
|
body: {},
|
|
1194
1182
|
groupId: {
|
|
1195
|
-
style:
|
|
1183
|
+
style: 'simple',
|
|
1196
1184
|
},
|
|
1197
1185
|
},
|
|
1198
1186
|
parameters: {
|
|
@@ -1236,16 +1224,16 @@ export const postGroupsGroupidBlockedKeywords = endpoint({
|
|
|
1236
1224
|
* @param keywordId
|
|
1237
1225
|
*/
|
|
1238
1226
|
export const deleteGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
1239
|
-
method:
|
|
1240
|
-
path:
|
|
1241
|
-
baseUrl:
|
|
1242
|
-
requestFormat:
|
|
1227
|
+
method: 'DELETE',
|
|
1228
|
+
path: '/v1/groups/:groupId/blocked-keywords/:keywordId',
|
|
1229
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1230
|
+
requestFormat: 'json',
|
|
1243
1231
|
serializationMethod: {
|
|
1244
1232
|
groupId: {
|
|
1245
|
-
style:
|
|
1233
|
+
style: 'simple',
|
|
1246
1234
|
},
|
|
1247
1235
|
keywordId: {
|
|
1248
|
-
style:
|
|
1236
|
+
style: 'simple',
|
|
1249
1237
|
},
|
|
1250
1238
|
},
|
|
1251
1239
|
parameters: {
|
|
@@ -1288,17 +1276,17 @@ export const deleteGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
|
1288
1276
|
* @param keywordId
|
|
1289
1277
|
*/
|
|
1290
1278
|
export const patchGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
1291
|
-
method:
|
|
1292
|
-
path:
|
|
1293
|
-
baseUrl:
|
|
1294
|
-
requestFormat:
|
|
1279
|
+
method: 'PATCH',
|
|
1280
|
+
path: '/v1/groups/:groupId/blocked-keywords/:keywordId',
|
|
1281
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1282
|
+
requestFormat: 'json',
|
|
1295
1283
|
serializationMethod: {
|
|
1296
1284
|
body: {},
|
|
1297
1285
|
groupId: {
|
|
1298
|
-
style:
|
|
1286
|
+
style: 'simple',
|
|
1299
1287
|
},
|
|
1300
1288
|
keywordId: {
|
|
1301
|
-
style:
|
|
1289
|
+
style: 'simple',
|
|
1302
1290
|
},
|
|
1303
1291
|
},
|
|
1304
1292
|
parameters: {
|
|
@@ -1347,14 +1335,14 @@ export const patchGroupsGroupidBlockedKeywordsKeywordid = endpoint({
|
|
|
1347
1335
|
* @param groupId The group Id.
|
|
1348
1336
|
*/
|
|
1349
1337
|
export const postGroupsGroupidChangeOwner = endpoint({
|
|
1350
|
-
method:
|
|
1351
|
-
path:
|
|
1352
|
-
baseUrl:
|
|
1353
|
-
requestFormat:
|
|
1338
|
+
method: 'POST',
|
|
1339
|
+
path: '/v1/groups/:groupId/change-owner',
|
|
1340
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1341
|
+
requestFormat: 'json',
|
|
1354
1342
|
serializationMethod: {
|
|
1355
1343
|
body: {},
|
|
1356
1344
|
groupId: {
|
|
1357
|
-
style:
|
|
1345
|
+
style: 'simple',
|
|
1358
1346
|
},
|
|
1359
1347
|
},
|
|
1360
1348
|
parameters: {
|
|
@@ -1388,13 +1376,13 @@ export const postGroupsGroupidChangeOwner = endpoint({
|
|
|
1388
1376
|
* @param groupId The group Id.
|
|
1389
1377
|
*/
|
|
1390
1378
|
export const postGroupsGroupidClaimOwnership = endpoint({
|
|
1391
|
-
method:
|
|
1392
|
-
path:
|
|
1393
|
-
baseUrl:
|
|
1394
|
-
requestFormat:
|
|
1379
|
+
method: 'POST',
|
|
1380
|
+
path: '/v1/groups/:groupId/claim-ownership',
|
|
1381
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1382
|
+
requestFormat: 'json',
|
|
1395
1383
|
serializationMethod: {
|
|
1396
1384
|
groupId: {
|
|
1397
|
-
style:
|
|
1385
|
+
style: 'simple',
|
|
1398
1386
|
},
|
|
1399
1387
|
},
|
|
1400
1388
|
parameters: {
|
|
@@ -1423,19 +1411,40 @@ export const postGroupsGroupidClaimOwnership = endpoint({
|
|
|
1423
1411
|
},
|
|
1424
1412
|
],
|
|
1425
1413
|
});
|
|
1414
|
+
/**
|
|
1415
|
+
* @api GET https://groups.roblox.com/v1/groups/:groupId/community-feature-freezes
|
|
1416
|
+
* @summary Gets the freeze status of the community features for a group.
|
|
1417
|
+
* @param groupId
|
|
1418
|
+
*/
|
|
1419
|
+
export const getGroupsGroupidCommunityFeatureFreezes = endpoint({
|
|
1420
|
+
method: 'GET',
|
|
1421
|
+
path: '/v1/groups/:groupId/community-feature-freezes',
|
|
1422
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1423
|
+
requestFormat: 'json',
|
|
1424
|
+
serializationMethod: {
|
|
1425
|
+
groupId: {
|
|
1426
|
+
style: 'simple',
|
|
1427
|
+
},
|
|
1428
|
+
},
|
|
1429
|
+
parameters: {
|
|
1430
|
+
groupId: z.number().int(),
|
|
1431
|
+
},
|
|
1432
|
+
response: Roblox_Groups_Api_GetCommunityFeatureFreezesResponse,
|
|
1433
|
+
errors: [],
|
|
1434
|
+
});
|
|
1426
1435
|
/**
|
|
1427
1436
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/configuration
|
|
1428
1437
|
* @summary Gets group configuration information
|
|
1429
1438
|
* @param groupId The group Id.
|
|
1430
1439
|
*/
|
|
1431
1440
|
export const getGroupsGroupidConfiguration = endpoint({
|
|
1432
|
-
method:
|
|
1433
|
-
path:
|
|
1434
|
-
baseUrl:
|
|
1435
|
-
requestFormat:
|
|
1441
|
+
method: 'GET',
|
|
1442
|
+
path: '/v1/groups/:groupId/configuration',
|
|
1443
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1444
|
+
requestFormat: 'json',
|
|
1436
1445
|
serializationMethod: {
|
|
1437
1446
|
groupId: {
|
|
1438
|
-
style:
|
|
1447
|
+
style: 'simple',
|
|
1439
1448
|
},
|
|
1440
1449
|
},
|
|
1441
1450
|
parameters: {
|
|
@@ -1466,14 +1475,14 @@ export const getGroupsGroupidConfiguration = endpoint({
|
|
|
1466
1475
|
* @param groupId The id of the group the user is in.
|
|
1467
1476
|
*/
|
|
1468
1477
|
export const patchGroupsGroupidDescription = endpoint({
|
|
1469
|
-
method:
|
|
1470
|
-
path:
|
|
1471
|
-
baseUrl:
|
|
1472
|
-
requestFormat:
|
|
1478
|
+
method: 'PATCH',
|
|
1479
|
+
path: '/v1/groups/:groupId/description',
|
|
1480
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1481
|
+
requestFormat: 'json',
|
|
1473
1482
|
serializationMethod: {
|
|
1474
1483
|
body: {},
|
|
1475
1484
|
groupId: {
|
|
1476
|
-
style:
|
|
1485
|
+
style: 'simple',
|
|
1477
1486
|
},
|
|
1478
1487
|
},
|
|
1479
1488
|
parameters: {
|
|
@@ -1505,13 +1514,13 @@ export const patchGroupsGroupidDescription = endpoint({
|
|
|
1505
1514
|
* @param groupId
|
|
1506
1515
|
*/
|
|
1507
1516
|
export const getGroupsGroupidEmotes = endpoint({
|
|
1508
|
-
method:
|
|
1509
|
-
path:
|
|
1510
|
-
baseUrl:
|
|
1511
|
-
requestFormat:
|
|
1517
|
+
method: 'GET',
|
|
1518
|
+
path: '/v1/groups/:groupId/emotes',
|
|
1519
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1520
|
+
requestFormat: 'json',
|
|
1512
1521
|
serializationMethod: {
|
|
1513
1522
|
groupId: {
|
|
1514
|
-
style:
|
|
1523
|
+
style: 'simple',
|
|
1515
1524
|
},
|
|
1516
1525
|
},
|
|
1517
1526
|
parameters: {
|
|
@@ -1526,13 +1535,13 @@ export const getGroupsGroupidEmotes = endpoint({
|
|
|
1526
1535
|
* @param groupId
|
|
1527
1536
|
*/
|
|
1528
1537
|
export const getGroupsGroupidFeatures = endpoint({
|
|
1529
|
-
method:
|
|
1530
|
-
path:
|
|
1531
|
-
baseUrl:
|
|
1532
|
-
requestFormat:
|
|
1538
|
+
method: 'GET',
|
|
1539
|
+
path: '/v1/groups/:groupId/features',
|
|
1540
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1541
|
+
requestFormat: 'json',
|
|
1533
1542
|
serializationMethod: {
|
|
1534
1543
|
groupId: {
|
|
1535
|
-
style:
|
|
1544
|
+
style: 'simple',
|
|
1536
1545
|
},
|
|
1537
1546
|
},
|
|
1538
1547
|
parameters: {
|
|
@@ -1563,14 +1572,14 @@ Currently only removes active freezes for features set to Roblox.Groups.Api.Feat
|
|
|
1563
1572
|
* @param groupId
|
|
1564
1573
|
*/
|
|
1565
1574
|
export const patchGroupsGroupidFeatures = endpoint({
|
|
1566
|
-
method:
|
|
1567
|
-
path:
|
|
1568
|
-
baseUrl:
|
|
1569
|
-
requestFormat:
|
|
1575
|
+
method: 'PATCH',
|
|
1576
|
+
path: '/v1/groups/:groupId/features',
|
|
1577
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1578
|
+
requestFormat: 'json',
|
|
1570
1579
|
serializationMethod: {
|
|
1571
1580
|
body: {},
|
|
1572
1581
|
groupId: {
|
|
1573
|
-
style:
|
|
1582
|
+
style: 'simple',
|
|
1574
1583
|
},
|
|
1575
1584
|
},
|
|
1576
1585
|
parameters: {
|
|
@@ -1602,13 +1611,13 @@ Used to display a banner on Creator Hub/Studio to inform group members that some
|
|
|
1602
1611
|
* @param groupId
|
|
1603
1612
|
*/
|
|
1604
1613
|
export const getGroupsGroupidFeaturesStatus = endpoint({
|
|
1605
|
-
method:
|
|
1606
|
-
path:
|
|
1607
|
-
baseUrl:
|
|
1608
|
-
requestFormat:
|
|
1614
|
+
method: 'GET',
|
|
1615
|
+
path: '/v1/groups/:groupId/features/status',
|
|
1616
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1617
|
+
requestFormat: 'json',
|
|
1609
1618
|
serializationMethod: {
|
|
1610
1619
|
groupId: {
|
|
1611
|
-
style:
|
|
1620
|
+
style: 'simple',
|
|
1612
1621
|
},
|
|
1613
1622
|
},
|
|
1614
1623
|
parameters: {
|
|
@@ -1640,24 +1649,24 @@ export const getGroupsGroupidFeaturesStatus = endpoint({
|
|
|
1640
1649
|
* @param sortOrder The order the results are sorted in.
|
|
1641
1650
|
*/
|
|
1642
1651
|
export const getGroupsGroupidJoinRequests = endpoint({
|
|
1643
|
-
method:
|
|
1644
|
-
path:
|
|
1645
|
-
baseUrl:
|
|
1646
|
-
requestFormat:
|
|
1652
|
+
method: 'GET',
|
|
1653
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1654
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1655
|
+
requestFormat: 'json',
|
|
1647
1656
|
serializationMethod: {
|
|
1648
1657
|
groupId: {
|
|
1649
|
-
style:
|
|
1658
|
+
style: 'simple',
|
|
1650
1659
|
},
|
|
1651
1660
|
limit: {
|
|
1652
|
-
style:
|
|
1661
|
+
style: 'form',
|
|
1653
1662
|
explode: true,
|
|
1654
1663
|
},
|
|
1655
1664
|
cursor: {
|
|
1656
|
-
style:
|
|
1665
|
+
style: 'form',
|
|
1657
1666
|
explode: true,
|
|
1658
1667
|
},
|
|
1659
1668
|
sortOrder: {
|
|
1660
|
-
style:
|
|
1669
|
+
style: 'form',
|
|
1661
1670
|
explode: true,
|
|
1662
1671
|
},
|
|
1663
1672
|
},
|
|
@@ -1668,10 +1677,9 @@ export const getGroupsGroupidJoinRequests = endpoint({
|
|
|
1668
1677
|
.optional()
|
|
1669
1678
|
.default(10),
|
|
1670
1679
|
cursor: z.string().optional(),
|
|
1671
|
-
sortOrder: z.enum([
|
|
1680
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
1672
1681
|
},
|
|
1673
|
-
response:
|
|
1674
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
1682
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_GroupJoinRequestResponse_,
|
|
1675
1683
|
errors: [
|
|
1676
1684
|
{
|
|
1677
1685
|
status: 400,
|
|
@@ -1695,14 +1703,14 @@ export const getGroupsGroupidJoinRequests = endpoint({
|
|
|
1695
1703
|
* @param groupId The group id.
|
|
1696
1704
|
*/
|
|
1697
1705
|
export const postGroupsGroupidJoinRequests = endpoint({
|
|
1698
|
-
method:
|
|
1699
|
-
path:
|
|
1700
|
-
baseUrl:
|
|
1701
|
-
requestFormat:
|
|
1706
|
+
method: 'POST',
|
|
1707
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1708
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1709
|
+
requestFormat: 'json',
|
|
1702
1710
|
serializationMethod: {
|
|
1703
1711
|
body: {},
|
|
1704
1712
|
groupId: {
|
|
1705
|
-
style:
|
|
1713
|
+
style: 'simple',
|
|
1706
1714
|
},
|
|
1707
1715
|
},
|
|
1708
1716
|
parameters: {
|
|
@@ -1744,14 +1752,14 @@ export const postGroupsGroupidJoinRequests = endpoint({
|
|
|
1744
1752
|
* @param groupId The group id.
|
|
1745
1753
|
*/
|
|
1746
1754
|
export const deleteGroupsGroupidJoinRequests = endpoint({
|
|
1747
|
-
method:
|
|
1748
|
-
path:
|
|
1749
|
-
baseUrl:
|
|
1750
|
-
requestFormat:
|
|
1755
|
+
method: 'DELETE',
|
|
1756
|
+
path: '/v1/groups/:groupId/join-requests',
|
|
1757
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1758
|
+
requestFormat: 'json',
|
|
1751
1759
|
serializationMethod: {
|
|
1752
1760
|
body: {},
|
|
1753
1761
|
groupId: {
|
|
1754
|
-
style:
|
|
1762
|
+
style: 'simple',
|
|
1755
1763
|
},
|
|
1756
1764
|
},
|
|
1757
1765
|
parameters: {
|
|
@@ -1782,16 +1790,16 @@ export const deleteGroupsGroupidJoinRequests = endpoint({
|
|
|
1782
1790
|
* @param userId The user Id.
|
|
1783
1791
|
*/
|
|
1784
1792
|
export const getGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1785
|
-
method:
|
|
1786
|
-
path:
|
|
1787
|
-
baseUrl:
|
|
1788
|
-
requestFormat:
|
|
1793
|
+
method: 'GET',
|
|
1794
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1795
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1796
|
+
requestFormat: 'json',
|
|
1789
1797
|
serializationMethod: {
|
|
1790
1798
|
groupId: {
|
|
1791
|
-
style:
|
|
1799
|
+
style: 'simple',
|
|
1792
1800
|
},
|
|
1793
1801
|
userId: {
|
|
1794
|
-
style:
|
|
1802
|
+
style: 'simple',
|
|
1795
1803
|
},
|
|
1796
1804
|
},
|
|
1797
1805
|
parameters: {
|
|
@@ -1821,16 +1829,16 @@ export const getGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1821
1829
|
* @param userId The user Id.
|
|
1822
1830
|
*/
|
|
1823
1831
|
export const postGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1824
|
-
method:
|
|
1825
|
-
path:
|
|
1826
|
-
baseUrl:
|
|
1827
|
-
requestFormat:
|
|
1832
|
+
method: 'POST',
|
|
1833
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1834
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1835
|
+
requestFormat: 'json',
|
|
1828
1836
|
serializationMethod: {
|
|
1829
1837
|
groupId: {
|
|
1830
|
-
style:
|
|
1838
|
+
style: 'simple',
|
|
1831
1839
|
},
|
|
1832
1840
|
userId: {
|
|
1833
|
-
style:
|
|
1841
|
+
style: 'simple',
|
|
1834
1842
|
},
|
|
1835
1843
|
},
|
|
1836
1844
|
parameters: {
|
|
@@ -1868,16 +1876,16 @@ export const postGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1868
1876
|
* @param userId The user Id.
|
|
1869
1877
|
*/
|
|
1870
1878
|
export const deleteGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
1871
|
-
method:
|
|
1872
|
-
path:
|
|
1873
|
-
baseUrl:
|
|
1874
|
-
requestFormat:
|
|
1879
|
+
method: 'DELETE',
|
|
1880
|
+
path: '/v1/groups/:groupId/join-requests/users/:userId',
|
|
1881
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1882
|
+
requestFormat: 'json',
|
|
1875
1883
|
serializationMethod: {
|
|
1876
1884
|
groupId: {
|
|
1877
|
-
style:
|
|
1885
|
+
style: 'simple',
|
|
1878
1886
|
},
|
|
1879
1887
|
userId: {
|
|
1880
|
-
style:
|
|
1888
|
+
style: 'simple',
|
|
1881
1889
|
},
|
|
1882
1890
|
},
|
|
1883
1891
|
parameters: {
|
|
@@ -1909,16 +1917,16 @@ export const deleteGroupsGroupidJoinRequestsUsersUserid = endpoint({
|
|
|
1909
1917
|
* @param includeNotificationPreferences
|
|
1910
1918
|
*/
|
|
1911
1919
|
export const getGroupsGroupidMembership = endpoint({
|
|
1912
|
-
method:
|
|
1913
|
-
path:
|
|
1914
|
-
baseUrl:
|
|
1915
|
-
requestFormat:
|
|
1920
|
+
method: 'GET',
|
|
1921
|
+
path: '/v1/groups/:groupId/membership',
|
|
1922
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1923
|
+
requestFormat: 'json',
|
|
1916
1924
|
serializationMethod: {
|
|
1917
1925
|
groupId: {
|
|
1918
|
-
style:
|
|
1926
|
+
style: 'simple',
|
|
1919
1927
|
},
|
|
1920
1928
|
includeNotificationPreferences: {
|
|
1921
|
-
style:
|
|
1929
|
+
style: 'form',
|
|
1922
1930
|
explode: true,
|
|
1923
1931
|
},
|
|
1924
1932
|
},
|
|
@@ -1942,14 +1950,14 @@ export const getGroupsGroupidMembership = endpoint({
|
|
|
1942
1950
|
* @description This endpoint will charge Robux for the group rename.
|
|
1943
1951
|
*/
|
|
1944
1952
|
export const patchGroupsGroupidName = endpoint({
|
|
1945
|
-
method:
|
|
1946
|
-
path:
|
|
1947
|
-
baseUrl:
|
|
1948
|
-
requestFormat:
|
|
1953
|
+
method: 'PATCH',
|
|
1954
|
+
path: '/v1/groups/:groupId/name',
|
|
1955
|
+
baseUrl: 'https://groups.roblox.com',
|
|
1956
|
+
requestFormat: 'json',
|
|
1949
1957
|
serializationMethod: {
|
|
1950
1958
|
body: {},
|
|
1951
1959
|
groupId: {
|
|
1952
|
-
style:
|
|
1960
|
+
style: 'simple',
|
|
1953
1961
|
},
|
|
1954
1962
|
},
|
|
1955
1963
|
parameters: {
|
|
@@ -2002,24 +2010,24 @@ export const patchGroupsGroupidName = endpoint({
|
|
|
2002
2010
|
* @param sortOrder The order the results are sorted in.
|
|
2003
2011
|
*/
|
|
2004
2012
|
export const getGroupsGroupidNameHistory = endpoint({
|
|
2005
|
-
method:
|
|
2006
|
-
path:
|
|
2007
|
-
baseUrl:
|
|
2008
|
-
requestFormat:
|
|
2013
|
+
method: 'GET',
|
|
2014
|
+
path: '/v1/groups/:groupId/name-history',
|
|
2015
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2016
|
+
requestFormat: 'json',
|
|
2009
2017
|
serializationMethod: {
|
|
2010
2018
|
groupId: {
|
|
2011
|
-
style:
|
|
2019
|
+
style: 'simple',
|
|
2012
2020
|
},
|
|
2013
2021
|
limit: {
|
|
2014
|
-
style:
|
|
2022
|
+
style: 'form',
|
|
2015
2023
|
explode: true,
|
|
2016
2024
|
},
|
|
2017
2025
|
cursor: {
|
|
2018
|
-
style:
|
|
2026
|
+
style: 'form',
|
|
2019
2027
|
explode: true,
|
|
2020
2028
|
},
|
|
2021
2029
|
sortOrder: {
|
|
2022
|
-
style:
|
|
2030
|
+
style: 'form',
|
|
2023
2031
|
explode: true,
|
|
2024
2032
|
},
|
|
2025
2033
|
},
|
|
@@ -2030,10 +2038,9 @@ export const getGroupsGroupidNameHistory = endpoint({
|
|
|
2030
2038
|
.optional()
|
|
2031
2039
|
.default(10),
|
|
2032
2040
|
cursor: z.string().optional(),
|
|
2033
|
-
sortOrder: z.enum([
|
|
2041
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
2034
2042
|
},
|
|
2035
|
-
response:
|
|
2036
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
2043
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupNameHistoryResponseItem_,
|
|
2037
2044
|
errors: [
|
|
2038
2045
|
{
|
|
2039
2046
|
status: 400,
|
|
@@ -2052,14 +2059,14 @@ export const getGroupsGroupidNameHistory = endpoint({
|
|
|
2052
2059
|
* @param groupId The id of the group the user is in.
|
|
2053
2060
|
*/
|
|
2054
2061
|
export const patchGroupsGroupidNotificationPreference = endpoint({
|
|
2055
|
-
method:
|
|
2056
|
-
path:
|
|
2057
|
-
baseUrl:
|
|
2058
|
-
requestFormat:
|
|
2062
|
+
method: 'PATCH',
|
|
2063
|
+
path: '/v1/groups/:groupId/notification-preference',
|
|
2064
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2065
|
+
requestFormat: 'json',
|
|
2059
2066
|
serializationMethod: {
|
|
2060
2067
|
body: {},
|
|
2061
2068
|
groupId: {
|
|
2062
|
-
style:
|
|
2069
|
+
style: 'simple',
|
|
2063
2070
|
},
|
|
2064
2071
|
},
|
|
2065
2072
|
parameters: {
|
|
@@ -2088,13 +2095,13 @@ export const patchGroupsGroupidNotificationPreference = endpoint({
|
|
|
2088
2095
|
* @param groupId The group id.
|
|
2089
2096
|
*/
|
|
2090
2097
|
export const getGroupsGroupidPayoutRestriction = endpoint({
|
|
2091
|
-
method:
|
|
2092
|
-
path:
|
|
2093
|
-
baseUrl:
|
|
2094
|
-
requestFormat:
|
|
2098
|
+
method: 'GET',
|
|
2099
|
+
path: '/v1/groups/:groupId/payout-restriction',
|
|
2100
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2101
|
+
requestFormat: 'json',
|
|
2095
2102
|
serializationMethod: {
|
|
2096
2103
|
groupId: {
|
|
2097
|
-
style:
|
|
2104
|
+
style: 'simple',
|
|
2098
2105
|
},
|
|
2099
2106
|
},
|
|
2100
2107
|
parameters: {
|
|
@@ -2122,20 +2129,19 @@ export const getGroupsGroupidPayoutRestriction = endpoint({
|
|
|
2122
2129
|
* @param groupId The group id.
|
|
2123
2130
|
*/
|
|
2124
2131
|
export const getGroupsGroupidPayouts = endpoint({
|
|
2125
|
-
method:
|
|
2126
|
-
path:
|
|
2127
|
-
baseUrl:
|
|
2128
|
-
requestFormat:
|
|
2132
|
+
method: 'GET',
|
|
2133
|
+
path: '/v1/groups/:groupId/payouts',
|
|
2134
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2135
|
+
requestFormat: 'json',
|
|
2129
2136
|
serializationMethod: {
|
|
2130
2137
|
groupId: {
|
|
2131
|
-
style:
|
|
2138
|
+
style: 'simple',
|
|
2132
2139
|
},
|
|
2133
2140
|
},
|
|
2134
2141
|
parameters: {
|
|
2135
2142
|
groupId: z.number().int(),
|
|
2136
2143
|
},
|
|
2137
|
-
response:
|
|
2138
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
2144
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPayoutResponse_,
|
|
2139
2145
|
errors: [
|
|
2140
2146
|
{
|
|
2141
2147
|
status: 400,
|
|
@@ -2158,14 +2164,14 @@ export const getGroupsGroupidPayouts = endpoint({
|
|
|
2158
2164
|
* @param groupId The group Id.
|
|
2159
2165
|
*/
|
|
2160
2166
|
export const postGroupsGroupidPayouts = endpoint({
|
|
2161
|
-
method:
|
|
2162
|
-
path:
|
|
2163
|
-
baseUrl:
|
|
2164
|
-
requestFormat:
|
|
2167
|
+
method: 'POST',
|
|
2168
|
+
path: '/v1/groups/:groupId/payouts',
|
|
2169
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2170
|
+
requestFormat: 'json',
|
|
2165
2171
|
serializationMethod: {
|
|
2166
2172
|
body: {},
|
|
2167
2173
|
groupId: {
|
|
2168
|
-
style:
|
|
2174
|
+
style: 'simple',
|
|
2169
2175
|
},
|
|
2170
2176
|
},
|
|
2171
2177
|
parameters: {
|
|
@@ -2191,7 +2197,8 @@ export const postGroupsGroupidPayouts = endpoint({
|
|
|
2191
2197
|
description: `0: Token Validation Failed
|
|
2192
2198
|
23: Insufficient permissions to complete the request.
|
|
2193
2199
|
28: Group has paid out too recently. Please wait and try again.
|
|
2194
|
-
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification
|
|
2200
|
+
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
|
|
2201
|
+
52: Group has paid out to this recipient too many times recently. Please try again later.`,
|
|
2195
2202
|
},
|
|
2196
2203
|
{
|
|
2197
2204
|
status: 503,
|
|
@@ -2208,14 +2215,14 @@ export const postGroupsGroupidPayouts = endpoint({
|
|
|
2208
2215
|
If a recipient in the request is not a valid member in the group they will not be added to the recurring payouts.
|
|
2209
2216
|
*/
|
|
2210
2217
|
export const postGroupsGroupidPayoutsRecurring = endpoint({
|
|
2211
|
-
method:
|
|
2212
|
-
path:
|
|
2213
|
-
baseUrl:
|
|
2214
|
-
requestFormat:
|
|
2218
|
+
method: 'POST',
|
|
2219
|
+
path: '/v1/groups/:groupId/payouts/recurring',
|
|
2220
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2221
|
+
requestFormat: 'json',
|
|
2215
2222
|
serializationMethod: {
|
|
2216
2223
|
body: {},
|
|
2217
2224
|
groupId: {
|
|
2218
|
-
style:
|
|
2225
|
+
style: 'simple',
|
|
2219
2226
|
},
|
|
2220
2227
|
},
|
|
2221
2228
|
parameters: {
|
|
@@ -2258,23 +2265,23 @@ export const postGroupsGroupidPayoutsRecurring = endpoint({
|
|
|
2258
2265
|
* @param MaxRows The maximum number of rows for the page request, should be at least 1.
|
|
2259
2266
|
*/
|
|
2260
2267
|
export const getGroupsGroupidRelationshipsGrouprelationshiptype = endpoint({
|
|
2261
|
-
method:
|
|
2262
|
-
path:
|
|
2263
|
-
baseUrl:
|
|
2264
|
-
requestFormat:
|
|
2268
|
+
method: 'GET',
|
|
2269
|
+
path: '/v1/groups/:groupId/relationships/:groupRelationshipType',
|
|
2270
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2271
|
+
requestFormat: 'json',
|
|
2265
2272
|
serializationMethod: {
|
|
2266
2273
|
groupId: {
|
|
2267
|
-
style:
|
|
2274
|
+
style: 'simple',
|
|
2268
2275
|
},
|
|
2269
2276
|
groupRelationshipType: {
|
|
2270
|
-
style:
|
|
2277
|
+
style: 'simple',
|
|
2271
2278
|
},
|
|
2272
2279
|
StartRowIndex: {
|
|
2273
|
-
style:
|
|
2280
|
+
style: 'form',
|
|
2274
2281
|
explode: true,
|
|
2275
2282
|
},
|
|
2276
2283
|
MaxRows: {
|
|
2277
|
-
style:
|
|
2284
|
+
style: 'form',
|
|
2278
2285
|
explode: true,
|
|
2279
2286
|
},
|
|
2280
2287
|
},
|
|
@@ -2301,52 +2308,51 @@ export const getGroupsGroupidRelationshipsGrouprelationshiptype = endpoint({
|
|
|
2301
2308
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2302
2309
|
* @param relatedGroupId The id of the group you want to create a relationship with.
|
|
2303
2310
|
*/
|
|
2304
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
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.
|
|
2331
2337
|
2: Invalid group.
|
|
2332
2338
|
3: Target group is invalid or does not exist.
|
|
2333
2339
|
4: Your group cannot establish a relationship with itself.`,
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
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
|
|
2342
2348
|
5: Your group does not allow enemy declarations.
|
|
2343
2349
|
6: Other group does not allow enemy declarations.
|
|
2344
2350
|
7: Your group already has a relationship with the target group.
|
|
2345
2351
|
8: You are blocked from communicating with this user.
|
|
2346
2352
|
9: Insufficient permissions.`,
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2353
|
+
},
|
|
2354
|
+
],
|
|
2355
|
+
});
|
|
2350
2356
|
/**
|
|
2351
2357
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId
|
|
2352
2358
|
* @summary Deletes a group relationship.
|
|
@@ -2354,47 +2360,46 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
|
2354
2360
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2355
2361
|
* @param relatedGroupId The id of the group you want to delete the relationship with.
|
|
2356
2362
|
*/
|
|
2357
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid =
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
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.
|
|
2384
2389
|
3: Target group is invalid or does not exist.
|
|
2385
2390
|
11: Relationship does not exist.`,
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
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
|
|
2394
2399
|
8: You are blocked from communicating with this user.`,
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2400
|
+
},
|
|
2401
|
+
],
|
|
2402
|
+
});
|
|
2398
2403
|
/**
|
|
2399
2404
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2400
2405
|
* @summary Gets a group's relationship requests
|
|
@@ -2403,52 +2408,51 @@ export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid
|
|
|
2403
2408
|
* @param StartRowIndex The start index of the page request
|
|
2404
2409
|
* @param MaxRows The maximum number of rows for the page request, should be at least 1.
|
|
2405
2410
|
*/
|
|
2406
|
-
export const getGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
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.
|
|
2439
2443
|
4: Group relationship type or request type is invalid.
|
|
2440
2444
|
8: Invalid or missing pagination parameters`,
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
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
|
+
});
|
|
2452
2456
|
/**
|
|
2453
2457
|
* @api POST https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2454
2458
|
* @summary Batch accepts group affiliate requests
|
|
@@ -2456,38 +2460,37 @@ export const getGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2456
2460
|
* @param groupId The group id.
|
|
2457
2461
|
* @param groupRelationshipType The type of group relationship being made
|
|
2458
2462
|
*/
|
|
2459
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
});
|
|
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
|
+
});
|
|
2491
2494
|
/**
|
|
2492
2495
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests
|
|
2493
2496
|
* @summary Batch declines group affiliate requests
|
|
@@ -2495,38 +2498,37 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2495
2498
|
* @param groupId The group id.
|
|
2496
2499
|
* @param groupRelationshipType The type of group relationship being made
|
|
2497
2500
|
*/
|
|
2498
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
2499
|
-
|
|
2500
|
-
|
|
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
|
-
});
|
|
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
|
+
});
|
|
2530
2532
|
/**
|
|
2531
2533
|
* @api POST https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
|
|
2532
2534
|
* @summary Accepts a group relationship request.
|
|
@@ -2534,48 +2536,47 @@ export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests =
|
|
|
2534
2536
|
* @param groupRelationshipType The group relationship type, enemies or allies, only allies are supported.
|
|
2535
2537
|
* @param relatedGroupId The id of the group you want to accept the relationship request with.
|
|
2536
2538
|
*/
|
|
2537
|
-
export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid =
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
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.
|
|
2564
2565
|
2: Invalid group.
|
|
2565
2566
|
3: Target group is invalid or does not exist.
|
|
2566
2567
|
10: Relationship request does not exist.`,
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
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
|
|
2575
2576
|
9: Insufficient permissions.`,
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2577
|
+
},
|
|
2578
|
+
],
|
|
2579
|
+
});
|
|
2579
2580
|
/**
|
|
2580
2581
|
* @api DELETE https://groups.roblox.com/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId
|
|
2581
2582
|
* @summary Declines a group relationship request.
|
|
@@ -2583,61 +2584,60 @@ export const postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedg
|
|
|
2583
2584
|
* @param groupRelationshipType The group relationship type, enemies or allies.
|
|
2584
2585
|
* @param relatedGroupId The id of the group you want to accept the relationship request with.
|
|
2585
2586
|
*/
|
|
2586
|
-
export const deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid =
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
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.
|
|
2613
2613
|
2: Invalid group.
|
|
2614
2614
|
3: Target group is invalid or does not exist.
|
|
2615
2615
|
10: Relationship request does not exist.`,
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
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
|
|
2624
2624
|
9: Insufficient permissions.`,
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2625
|
+
},
|
|
2626
|
+
],
|
|
2627
|
+
});
|
|
2628
2628
|
/**
|
|
2629
2629
|
* @api GET https://groups.roblox.com/v1/groups/:groupId/roles
|
|
2630
2630
|
* @summary Gets a list of the rolesets in a group.
|
|
2631
2631
|
* @param groupId The group id.
|
|
2632
2632
|
*/
|
|
2633
2633
|
export const getGroupsGroupidRoles = endpoint({
|
|
2634
|
-
method:
|
|
2635
|
-
path:
|
|
2636
|
-
baseUrl:
|
|
2637
|
-
requestFormat:
|
|
2634
|
+
method: 'GET',
|
|
2635
|
+
path: '/v1/groups/:groupId/roles',
|
|
2636
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2637
|
+
requestFormat: 'json',
|
|
2638
2638
|
serializationMethod: {
|
|
2639
2639
|
groupId: {
|
|
2640
|
-
style:
|
|
2640
|
+
style: 'simple',
|
|
2641
2641
|
},
|
|
2642
2642
|
},
|
|
2643
2643
|
parameters: {
|
|
@@ -2658,16 +2658,16 @@ export const getGroupsGroupidRoles = endpoint({
|
|
|
2658
2658
|
* @param roleSetId The group's role set id.
|
|
2659
2659
|
*/
|
|
2660
2660
|
export const getGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
2661
|
-
method:
|
|
2662
|
-
path:
|
|
2663
|
-
baseUrl:
|
|
2664
|
-
requestFormat:
|
|
2661
|
+
method: 'GET',
|
|
2662
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
2663
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2664
|
+
requestFormat: 'json',
|
|
2665
2665
|
serializationMethod: {
|
|
2666
2666
|
groupId: {
|
|
2667
|
-
style:
|
|
2667
|
+
style: 'simple',
|
|
2668
2668
|
},
|
|
2669
2669
|
roleSetId: {
|
|
2670
|
-
style:
|
|
2670
|
+
style: 'simple',
|
|
2671
2671
|
},
|
|
2672
2672
|
},
|
|
2673
2673
|
parameters: {
|
|
@@ -2699,17 +2699,17 @@ export const getGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
|
2699
2699
|
* @param roleSetId The roleset's id.
|
|
2700
2700
|
*/
|
|
2701
2701
|
export const patchGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
2702
|
-
method:
|
|
2703
|
-
path:
|
|
2704
|
-
baseUrl:
|
|
2705
|
-
requestFormat:
|
|
2702
|
+
method: 'PATCH',
|
|
2703
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/permissions',
|
|
2704
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2705
|
+
requestFormat: 'json',
|
|
2706
2706
|
serializationMethod: {
|
|
2707
2707
|
body: {},
|
|
2708
2708
|
groupId: {
|
|
2709
|
-
style:
|
|
2709
|
+
style: 'simple',
|
|
2710
2710
|
},
|
|
2711
2711
|
roleSetId: {
|
|
2712
|
-
style:
|
|
2712
|
+
style: 'simple',
|
|
2713
2713
|
},
|
|
2714
2714
|
},
|
|
2715
2715
|
parameters: {
|
|
@@ -2746,27 +2746,27 @@ export const patchGroupsGroupidRolesRolesetidPermissions = endpoint({
|
|
|
2746
2746
|
* @param sortOrder The order the results are sorted in.
|
|
2747
2747
|
*/
|
|
2748
2748
|
export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
2749
|
-
method:
|
|
2750
|
-
path:
|
|
2751
|
-
baseUrl:
|
|
2752
|
-
requestFormat:
|
|
2749
|
+
method: 'GET',
|
|
2750
|
+
path: '/v1/groups/:groupId/roles/:roleSetId/users',
|
|
2751
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2752
|
+
requestFormat: 'json',
|
|
2753
2753
|
serializationMethod: {
|
|
2754
2754
|
groupId: {
|
|
2755
|
-
style:
|
|
2755
|
+
style: 'simple',
|
|
2756
2756
|
},
|
|
2757
2757
|
roleSetId: {
|
|
2758
|
-
style:
|
|
2758
|
+
style: 'simple',
|
|
2759
2759
|
},
|
|
2760
2760
|
limit: {
|
|
2761
|
-
style:
|
|
2761
|
+
style: 'form',
|
|
2762
2762
|
explode: true,
|
|
2763
2763
|
},
|
|
2764
2764
|
cursor: {
|
|
2765
|
-
style:
|
|
2765
|
+
style: 'form',
|
|
2766
2766
|
explode: true,
|
|
2767
2767
|
},
|
|
2768
2768
|
sortOrder: {
|
|
2769
|
-
style:
|
|
2769
|
+
style: 'form',
|
|
2770
2770
|
explode: true,
|
|
2771
2771
|
},
|
|
2772
2772
|
},
|
|
@@ -2778,10 +2778,9 @@ export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
|
2778
2778
|
.optional()
|
|
2779
2779
|
.default(10),
|
|
2780
2780
|
cursor: z.string().optional(),
|
|
2781
|
-
sortOrder: z.enum([
|
|
2781
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
2782
2782
|
},
|
|
2783
|
-
response:
|
|
2784
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
2783
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_UserModel_,
|
|
2785
2784
|
errors: [
|
|
2786
2785
|
{
|
|
2787
2786
|
status: 400,
|
|
@@ -2801,13 +2800,13 @@ export const getGroupsGroupidRolesRolesetidUsers = endpoint({
|
|
|
2801
2800
|
* @param groupId The group id.
|
|
2802
2801
|
*/
|
|
2803
2802
|
export const getGroupsGroupidRolesGuestPermissions = endpoint({
|
|
2804
|
-
method:
|
|
2805
|
-
path:
|
|
2806
|
-
baseUrl:
|
|
2807
|
-
requestFormat:
|
|
2803
|
+
method: 'GET',
|
|
2804
|
+
path: '/v1/groups/:groupId/roles/guest/permissions',
|
|
2805
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2806
|
+
requestFormat: 'json',
|
|
2808
2807
|
serializationMethod: {
|
|
2809
2808
|
groupId: {
|
|
2810
|
-
style:
|
|
2809
|
+
style: 'simple',
|
|
2811
2810
|
},
|
|
2812
2811
|
},
|
|
2813
2812
|
parameters: {
|
|
@@ -2827,20 +2826,19 @@ export const getGroupsGroupidRolesGuestPermissions = endpoint({
|
|
|
2827
2826
|
* @param groupId The group id.
|
|
2828
2827
|
*/
|
|
2829
2828
|
export const getGroupsGroupidRolesPermissions = endpoint({
|
|
2830
|
-
method:
|
|
2831
|
-
path:
|
|
2832
|
-
baseUrl:
|
|
2833
|
-
requestFormat:
|
|
2829
|
+
method: 'GET',
|
|
2830
|
+
path: '/v1/groups/:groupId/roles/permissions',
|
|
2831
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2832
|
+
requestFormat: 'json',
|
|
2834
2833
|
serializationMethod: {
|
|
2835
2834
|
groupId: {
|
|
2836
|
-
style:
|
|
2835
|
+
style: 'simple',
|
|
2837
2836
|
},
|
|
2838
2837
|
},
|
|
2839
2838
|
parameters: {
|
|
2840
2839
|
groupId: z.number().int(),
|
|
2841
2840
|
},
|
|
2842
|
-
response:
|
|
2843
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
2841
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupPermissionsResponse_,
|
|
2844
2842
|
errors: [
|
|
2845
2843
|
{
|
|
2846
2844
|
status: 401,
|
|
@@ -2855,16 +2853,16 @@ export const getGroupsGroupidRolesPermissions = endpoint({
|
|
|
2855
2853
|
* @param rolesetId The roleset Id.
|
|
2856
2854
|
*/
|
|
2857
2855
|
export const deleteGroupsGroupidRolesetsRolesetid = endpoint({
|
|
2858
|
-
method:
|
|
2859
|
-
path:
|
|
2860
|
-
baseUrl:
|
|
2861
|
-
requestFormat:
|
|
2856
|
+
method: 'DELETE',
|
|
2857
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
2858
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2859
|
+
requestFormat: 'json',
|
|
2862
2860
|
serializationMethod: {
|
|
2863
2861
|
groupId: {
|
|
2864
|
-
style:
|
|
2862
|
+
style: 'simple',
|
|
2865
2863
|
},
|
|
2866
2864
|
rolesetId: {
|
|
2867
|
-
style:
|
|
2865
|
+
style: 'simple',
|
|
2868
2866
|
},
|
|
2869
2867
|
},
|
|
2870
2868
|
parameters: {
|
|
@@ -2900,17 +2898,17 @@ export const deleteGroupsGroupidRolesetsRolesetid = endpoint({
|
|
|
2900
2898
|
* @param rolesetId The roleset Id.
|
|
2901
2899
|
*/
|
|
2902
2900
|
export const patchGroupsGroupidRolesetsRolesetid = endpoint({
|
|
2903
|
-
method:
|
|
2904
|
-
path:
|
|
2905
|
-
baseUrl:
|
|
2906
|
-
requestFormat:
|
|
2901
|
+
method: 'PATCH',
|
|
2902
|
+
path: '/v1/groups/:groupId/rolesets/:rolesetId',
|
|
2903
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2904
|
+
requestFormat: 'json',
|
|
2907
2905
|
serializationMethod: {
|
|
2908
2906
|
body: {},
|
|
2909
2907
|
groupId: {
|
|
2910
|
-
style:
|
|
2908
|
+
style: 'simple',
|
|
2911
2909
|
},
|
|
2912
2910
|
rolesetId: {
|
|
2913
|
-
style:
|
|
2911
|
+
style: 'simple',
|
|
2914
2912
|
},
|
|
2915
2913
|
},
|
|
2916
2914
|
parameters: {
|
|
@@ -2950,14 +2948,14 @@ export const patchGroupsGroupidRolesetsRolesetid = endpoint({
|
|
|
2950
2948
|
* @param groupId The group Id.
|
|
2951
2949
|
*/
|
|
2952
2950
|
export const postGroupsGroupidRolesetsCreate = endpoint({
|
|
2953
|
-
method:
|
|
2954
|
-
path:
|
|
2955
|
-
baseUrl:
|
|
2956
|
-
requestFormat:
|
|
2951
|
+
method: 'POST',
|
|
2952
|
+
path: '/v1/groups/:groupId/rolesets/create',
|
|
2953
|
+
baseUrl: 'https://groups.roblox.com',
|
|
2954
|
+
requestFormat: 'json',
|
|
2957
2955
|
serializationMethod: {
|
|
2958
2956
|
body: {},
|
|
2959
2957
|
groupId: {
|
|
2960
|
-
style:
|
|
2958
|
+
style: 'simple',
|
|
2961
2959
|
},
|
|
2962
2960
|
},
|
|
2963
2961
|
parameters: {
|
|
@@ -2997,13 +2995,13 @@ export const postGroupsGroupidRolesetsCreate = endpoint({
|
|
|
2997
2995
|
* @param groupId The id of the group the user is in.
|
|
2998
2996
|
*/
|
|
2999
2997
|
export const getGroupsGroupidSettings = endpoint({
|
|
3000
|
-
method:
|
|
3001
|
-
path:
|
|
3002
|
-
baseUrl:
|
|
3003
|
-
requestFormat:
|
|
2998
|
+
method: 'GET',
|
|
2999
|
+
path: '/v1/groups/:groupId/settings',
|
|
3000
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3001
|
+
requestFormat: 'json',
|
|
3004
3002
|
serializationMethod: {
|
|
3005
3003
|
groupId: {
|
|
3006
|
-
style:
|
|
3004
|
+
style: 'simple',
|
|
3007
3005
|
},
|
|
3008
3006
|
},
|
|
3009
3007
|
parameters: {
|
|
@@ -3032,14 +3030,14 @@ export const getGroupsGroupidSettings = endpoint({
|
|
|
3032
3030
|
* @param groupId The id of the group the user is in.
|
|
3033
3031
|
*/
|
|
3034
3032
|
export const patchGroupsGroupidSettings = endpoint({
|
|
3035
|
-
method:
|
|
3036
|
-
path:
|
|
3037
|
-
baseUrl:
|
|
3038
|
-
requestFormat:
|
|
3033
|
+
method: 'PATCH',
|
|
3034
|
+
path: '/v1/groups/:groupId/settings',
|
|
3035
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3036
|
+
requestFormat: 'json',
|
|
3039
3037
|
serializationMethod: {
|
|
3040
3038
|
body: {},
|
|
3041
3039
|
groupId: {
|
|
3042
|
-
style:
|
|
3040
|
+
style: 'simple',
|
|
3043
3041
|
},
|
|
3044
3042
|
},
|
|
3045
3043
|
parameters: {
|
|
@@ -3073,13 +3071,13 @@ export const patchGroupsGroupidSettings = endpoint({
|
|
|
3073
3071
|
* @param groupId The Id of the game
|
|
3074
3072
|
*/
|
|
3075
3073
|
export const getGroupsGroupidSocialLinks = endpoint({
|
|
3076
|
-
method:
|
|
3077
|
-
path:
|
|
3078
|
-
baseUrl:
|
|
3079
|
-
requestFormat:
|
|
3074
|
+
method: 'GET',
|
|
3075
|
+
path: '/v1/groups/:groupId/social-links',
|
|
3076
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3077
|
+
requestFormat: 'json',
|
|
3080
3078
|
serializationMethod: {
|
|
3081
3079
|
groupId: {
|
|
3082
|
-
style:
|
|
3080
|
+
style: 'simple',
|
|
3083
3081
|
},
|
|
3084
3082
|
},
|
|
3085
3083
|
parameters: {
|
|
@@ -3112,14 +3110,14 @@ export const getGroupsGroupidSocialLinks = endpoint({
|
|
|
3112
3110
|
* @param groupId The id of the group
|
|
3113
3111
|
*/
|
|
3114
3112
|
export const postGroupsGroupidSocialLinks = endpoint({
|
|
3115
|
-
method:
|
|
3116
|
-
path:
|
|
3117
|
-
baseUrl:
|
|
3118
|
-
requestFormat:
|
|
3113
|
+
method: 'POST',
|
|
3114
|
+
path: '/v1/groups/:groupId/social-links',
|
|
3115
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3116
|
+
requestFormat: 'json',
|
|
3119
3117
|
serializationMethod: {
|
|
3120
3118
|
body: {},
|
|
3121
3119
|
groupId: {
|
|
3122
|
-
style:
|
|
3120
|
+
style: 'simple',
|
|
3123
3121
|
},
|
|
3124
3122
|
},
|
|
3125
3123
|
parameters: {
|
|
@@ -3163,16 +3161,16 @@ export const postGroupsGroupidSocialLinks = endpoint({
|
|
|
3163
3161
|
* @param socialLinkId The id of the social link
|
|
3164
3162
|
*/
|
|
3165
3163
|
export const deleteGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
3166
|
-
method:
|
|
3167
|
-
path:
|
|
3168
|
-
baseUrl:
|
|
3169
|
-
requestFormat:
|
|
3164
|
+
method: 'DELETE',
|
|
3165
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
3166
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3167
|
+
requestFormat: 'json',
|
|
3170
3168
|
serializationMethod: {
|
|
3171
3169
|
groupId: {
|
|
3172
|
-
style:
|
|
3170
|
+
style: 'simple',
|
|
3173
3171
|
},
|
|
3174
3172
|
socialLinkId: {
|
|
3175
|
-
style:
|
|
3173
|
+
style: 'simple',
|
|
3176
3174
|
},
|
|
3177
3175
|
},
|
|
3178
3176
|
parameters: {
|
|
@@ -3211,17 +3209,17 @@ export const deleteGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
|
3211
3209
|
* @param socialLinkId The id of the social link being updated
|
|
3212
3210
|
*/
|
|
3213
3211
|
export const patchGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
3214
|
-
method:
|
|
3215
|
-
path:
|
|
3216
|
-
baseUrl:
|
|
3217
|
-
requestFormat:
|
|
3212
|
+
method: 'PATCH',
|
|
3213
|
+
path: '/v1/groups/:groupId/social-links/:socialLinkId',
|
|
3214
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3215
|
+
requestFormat: 'json',
|
|
3218
3216
|
serializationMethod: {
|
|
3219
3217
|
body: {},
|
|
3220
3218
|
groupId: {
|
|
3221
|
-
style:
|
|
3219
|
+
style: 'simple',
|
|
3222
3220
|
},
|
|
3223
3221
|
socialLinkId: {
|
|
3224
|
-
style:
|
|
3222
|
+
style: 'simple',
|
|
3225
3223
|
},
|
|
3226
3224
|
},
|
|
3227
3225
|
parameters: {
|
|
@@ -3271,14 +3269,14 @@ export const patchGroupsGroupidSocialLinksSociallinkid = endpoint({
|
|
|
3271
3269
|
* @param groupId The group Id.
|
|
3272
3270
|
*/
|
|
3273
3271
|
export const patchGroupsGroupidStatus = endpoint({
|
|
3274
|
-
method:
|
|
3275
|
-
path:
|
|
3276
|
-
baseUrl:
|
|
3277
|
-
requestFormat:
|
|
3272
|
+
method: 'PATCH',
|
|
3273
|
+
path: '/v1/groups/:groupId/status',
|
|
3274
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3275
|
+
requestFormat: 'json',
|
|
3278
3276
|
serializationMethod: {
|
|
3279
3277
|
body: {},
|
|
3280
3278
|
groupId: {
|
|
3281
|
-
style:
|
|
3279
|
+
style: 'simple',
|
|
3282
3280
|
},
|
|
3283
3281
|
},
|
|
3284
3282
|
parameters: {
|
|
@@ -3313,24 +3311,24 @@ export const patchGroupsGroupidStatus = endpoint({
|
|
|
3313
3311
|
* @param sortOrder The order the results are sorted in.
|
|
3314
3312
|
*/
|
|
3315
3313
|
export const getGroupsGroupidUsers = endpoint({
|
|
3316
|
-
method:
|
|
3317
|
-
path:
|
|
3318
|
-
baseUrl:
|
|
3319
|
-
requestFormat:
|
|
3314
|
+
method: 'GET',
|
|
3315
|
+
path: '/v1/groups/:groupId/users',
|
|
3316
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3317
|
+
requestFormat: 'json',
|
|
3320
3318
|
serializationMethod: {
|
|
3321
3319
|
groupId: {
|
|
3322
|
-
style:
|
|
3320
|
+
style: 'simple',
|
|
3323
3321
|
},
|
|
3324
3322
|
limit: {
|
|
3325
|
-
style:
|
|
3323
|
+
style: 'form',
|
|
3326
3324
|
explode: true,
|
|
3327
3325
|
},
|
|
3328
3326
|
cursor: {
|
|
3329
|
-
style:
|
|
3327
|
+
style: 'form',
|
|
3330
3328
|
explode: true,
|
|
3331
3329
|
},
|
|
3332
3330
|
sortOrder: {
|
|
3333
|
-
style:
|
|
3331
|
+
style: 'form',
|
|
3334
3332
|
explode: true,
|
|
3335
3333
|
},
|
|
3336
3334
|
},
|
|
@@ -3341,10 +3339,9 @@ export const getGroupsGroupidUsers = endpoint({
|
|
|
3341
3339
|
.optional()
|
|
3342
3340
|
.default(10),
|
|
3343
3341
|
cursor: z.string().optional(),
|
|
3344
|
-
sortOrder: z.enum([
|
|
3342
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
3345
3343
|
},
|
|
3346
|
-
response:
|
|
3347
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
3344
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_UserGroupRoleResponse_,
|
|
3348
3345
|
errors: [
|
|
3349
3346
|
{
|
|
3350
3347
|
status: 400,
|
|
@@ -3367,30 +3364,30 @@ export const getGroupsGroupidUsers = endpoint({
|
|
|
3367
3364
|
* @param Roblox-Session-Id The player's current session Id.
|
|
3368
3365
|
*/
|
|
3369
3366
|
export const postGroupsGroupidUsers = endpoint({
|
|
3370
|
-
method:
|
|
3371
|
-
path:
|
|
3372
|
-
baseUrl:
|
|
3373
|
-
requestFormat:
|
|
3367
|
+
method: 'POST',
|
|
3368
|
+
path: '/v1/groups/:groupId/users',
|
|
3369
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3370
|
+
requestFormat: 'json',
|
|
3374
3371
|
serializationMethod: {
|
|
3375
3372
|
body: {},
|
|
3376
3373
|
groupId: {
|
|
3377
|
-
style:
|
|
3374
|
+
style: 'simple',
|
|
3378
3375
|
},
|
|
3379
|
-
|
|
3380
|
-
style:
|
|
3376
|
+
'Roblox-Place-Id': {
|
|
3377
|
+
style: 'simple',
|
|
3381
3378
|
},
|
|
3382
|
-
|
|
3383
|
-
style:
|
|
3379
|
+
'Roblox-Game-Id': {
|
|
3380
|
+
style: 'simple',
|
|
3384
3381
|
},
|
|
3385
|
-
|
|
3386
|
-
style:
|
|
3382
|
+
'Roblox-Session-Id': {
|
|
3383
|
+
style: 'simple',
|
|
3387
3384
|
},
|
|
3388
3385
|
},
|
|
3389
3386
|
parameters: {
|
|
3390
3387
|
groupId: z.number().int(),
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3388
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
3389
|
+
'Roblox-Game-Id': z.string().optional(),
|
|
3390
|
+
'Roblox-Session-Id': z.string().optional(),
|
|
3394
3391
|
},
|
|
3395
3392
|
body: Roblox_Groups_Api_JoinGroupRequest,
|
|
3396
3393
|
response: z.object({}),
|
|
@@ -3434,16 +3431,16 @@ export const postGroupsGroupidUsers = endpoint({
|
|
|
3434
3431
|
* @param userId The Id of the user being removed.
|
|
3435
3432
|
*/
|
|
3436
3433
|
export const deleteGroupsGroupidUsersUserid = endpoint({
|
|
3437
|
-
method:
|
|
3438
|
-
path:
|
|
3439
|
-
baseUrl:
|
|
3440
|
-
requestFormat:
|
|
3434
|
+
method: 'DELETE',
|
|
3435
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
3436
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3437
|
+
requestFormat: 'json',
|
|
3441
3438
|
serializationMethod: {
|
|
3442
3439
|
groupId: {
|
|
3443
|
-
style:
|
|
3440
|
+
style: 'simple',
|
|
3444
3441
|
},
|
|
3445
3442
|
userId: {
|
|
3446
|
-
style:
|
|
3443
|
+
style: 'simple',
|
|
3447
3444
|
},
|
|
3448
3445
|
},
|
|
3449
3446
|
parameters: {
|
|
@@ -3481,17 +3478,17 @@ export const deleteGroupsGroupidUsersUserid = endpoint({
|
|
|
3481
3478
|
* @param userId The id of the user being updated.
|
|
3482
3479
|
*/
|
|
3483
3480
|
export const patchGroupsGroupidUsersUserid = endpoint({
|
|
3484
|
-
method:
|
|
3485
|
-
path:
|
|
3486
|
-
baseUrl:
|
|
3487
|
-
requestFormat:
|
|
3481
|
+
method: 'PATCH',
|
|
3482
|
+
path: '/v1/groups/:groupId/users/:userId',
|
|
3483
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3484
|
+
requestFormat: 'json',
|
|
3488
3485
|
serializationMethod: {
|
|
3489
3486
|
body: {},
|
|
3490
3487
|
groupId: {
|
|
3491
|
-
style:
|
|
3488
|
+
style: 'simple',
|
|
3492
3489
|
},
|
|
3493
3490
|
userId: {
|
|
3494
|
-
style:
|
|
3491
|
+
style: 'simple',
|
|
3495
3492
|
},
|
|
3496
3493
|
},
|
|
3497
3494
|
parameters: {
|
|
@@ -3531,16 +3528,16 @@ export const patchGroupsGroupidUsersUserid = endpoint({
|
|
|
3531
3528
|
* @param userId The user id.
|
|
3532
3529
|
*/
|
|
3533
3530
|
export const getGroupsGroupidUsersUseridPermissions = endpoint({
|
|
3534
|
-
method:
|
|
3535
|
-
path:
|
|
3536
|
-
baseUrl:
|
|
3537
|
-
requestFormat:
|
|
3531
|
+
method: 'GET',
|
|
3532
|
+
path: '/v1/groups/:groupId/users/:userId/permissions',
|
|
3533
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3534
|
+
requestFormat: 'json',
|
|
3538
3535
|
serializationMethod: {
|
|
3539
3536
|
groupId: {
|
|
3540
|
-
style:
|
|
3537
|
+
style: 'simple',
|
|
3541
3538
|
},
|
|
3542
3539
|
userId: {
|
|
3543
|
-
style:
|
|
3540
|
+
style: 'simple',
|
|
3544
3541
|
},
|
|
3545
3542
|
},
|
|
3546
3543
|
parameters: {
|
|
@@ -3572,24 +3569,24 @@ export const getGroupsGroupidUsersUseridPermissions = endpoint({
|
|
|
3572
3569
|
* @param sortOrder Sorted by group wall post Id
|
|
3573
3570
|
*/
|
|
3574
3571
|
export const getGroupsGroupidWallPosts = endpoint({
|
|
3575
|
-
method:
|
|
3576
|
-
path:
|
|
3577
|
-
baseUrl:
|
|
3578
|
-
requestFormat:
|
|
3572
|
+
method: 'GET',
|
|
3573
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
3574
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3575
|
+
requestFormat: 'json',
|
|
3579
3576
|
serializationMethod: {
|
|
3580
3577
|
groupId: {
|
|
3581
|
-
style:
|
|
3578
|
+
style: 'simple',
|
|
3582
3579
|
},
|
|
3583
3580
|
limit: {
|
|
3584
|
-
style:
|
|
3581
|
+
style: 'form',
|
|
3585
3582
|
explode: true,
|
|
3586
3583
|
},
|
|
3587
3584
|
cursor: {
|
|
3588
|
-
style:
|
|
3585
|
+
style: 'form',
|
|
3589
3586
|
explode: true,
|
|
3590
3587
|
},
|
|
3591
3588
|
sortOrder: {
|
|
3592
|
-
style:
|
|
3589
|
+
style: 'form',
|
|
3593
3590
|
explode: true,
|
|
3594
3591
|
},
|
|
3595
3592
|
},
|
|
@@ -3600,10 +3597,9 @@ export const getGroupsGroupidWallPosts = endpoint({
|
|
|
3600
3597
|
.optional()
|
|
3601
3598
|
.default(10),
|
|
3602
3599
|
cursor: z.string().optional(),
|
|
3603
|
-
sortOrder: z.enum([
|
|
3600
|
+
sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
|
|
3604
3601
|
},
|
|
3605
|
-
response:
|
|
3606
|
-
Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
3602
|
+
response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Groups_Api_Models_Response_GroupWallPostModel_,
|
|
3607
3603
|
errors: [
|
|
3608
3604
|
{
|
|
3609
3605
|
status: 400,
|
|
@@ -3622,14 +3618,14 @@ export const getGroupsGroupidWallPosts = endpoint({
|
|
|
3622
3618
|
* @param groupId The group id.
|
|
3623
3619
|
*/
|
|
3624
3620
|
export const postGroupsGroupidWallPosts = endpoint({
|
|
3625
|
-
method:
|
|
3626
|
-
path:
|
|
3627
|
-
baseUrl:
|
|
3628
|
-
requestFormat:
|
|
3621
|
+
method: 'POST',
|
|
3622
|
+
path: '/v1/groups/:groupId/wall/posts',
|
|
3623
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3624
|
+
requestFormat: 'json',
|
|
3629
3625
|
serializationMethod: {
|
|
3630
3626
|
body: {},
|
|
3631
3627
|
groupId: {
|
|
3632
|
-
style:
|
|
3628
|
+
style: 'simple',
|
|
3633
3629
|
},
|
|
3634
3630
|
},
|
|
3635
3631
|
parameters: {
|
|
@@ -3670,16 +3666,16 @@ export const postGroupsGroupidWallPosts = endpoint({
|
|
|
3670
3666
|
* @param postId The group wall post id.
|
|
3671
3667
|
*/
|
|
3672
3668
|
export const deleteGroupsGroupidWallPostsPostid = endpoint({
|
|
3673
|
-
method:
|
|
3674
|
-
path:
|
|
3675
|
-
baseUrl:
|
|
3676
|
-
requestFormat:
|
|
3669
|
+
method: 'DELETE',
|
|
3670
|
+
path: '/v1/groups/:groupId/wall/posts/:postId',
|
|
3671
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3672
|
+
requestFormat: 'json',
|
|
3677
3673
|
serializationMethod: {
|
|
3678
3674
|
groupId: {
|
|
3679
|
-
style:
|
|
3675
|
+
style: 'simple',
|
|
3680
3676
|
},
|
|
3681
3677
|
postId: {
|
|
3682
|
-
style:
|
|
3678
|
+
style: 'simple',
|
|
3683
3679
|
},
|
|
3684
3680
|
},
|
|
3685
3681
|
parameters: {
|
|
@@ -3710,13 +3706,13 @@ export const deleteGroupsGroupidWallPostsPostid = endpoint({
|
|
|
3710
3706
|
* @param groupId The group id.
|
|
3711
3707
|
*/
|
|
3712
3708
|
export const postGroupsGroupidWallSubscribe = endpoint({
|
|
3713
|
-
method:
|
|
3714
|
-
path:
|
|
3715
|
-
baseUrl:
|
|
3716
|
-
requestFormat:
|
|
3709
|
+
method: 'POST',
|
|
3710
|
+
path: '/v1/groups/:groupId/wall/subscribe',
|
|
3711
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3712
|
+
requestFormat: 'json',
|
|
3717
3713
|
serializationMethod: {
|
|
3718
3714
|
groupId: {
|
|
3719
|
-
style:
|
|
3715
|
+
style: 'simple',
|
|
3720
3716
|
},
|
|
3721
3717
|
},
|
|
3722
3718
|
parameters: {
|
|
@@ -3746,16 +3742,16 @@ export const postGroupsGroupidWallSubscribe = endpoint({
|
|
|
3746
3742
|
* @param userId The user id.
|
|
3747
3743
|
*/
|
|
3748
3744
|
export const deleteGroupsGroupidWallUsersUseridPosts = endpoint({
|
|
3749
|
-
method:
|
|
3750
|
-
path:
|
|
3751
|
-
baseUrl:
|
|
3752
|
-
requestFormat:
|
|
3745
|
+
method: 'DELETE',
|
|
3746
|
+
path: '/v1/groups/:groupId/wall/users/:userId/posts',
|
|
3747
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3748
|
+
requestFormat: 'json',
|
|
3753
3749
|
serializationMethod: {
|
|
3754
3750
|
groupId: {
|
|
3755
|
-
style:
|
|
3751
|
+
style: 'simple',
|
|
3756
3752
|
},
|
|
3757
3753
|
userId: {
|
|
3758
|
-
style:
|
|
3754
|
+
style: 'simple',
|
|
3759
3755
|
},
|
|
3760
3756
|
},
|
|
3761
3757
|
parameters: {
|
|
@@ -3785,10 +3781,10 @@ export const deleteGroupsGroupidWallUsersUseridPosts = endpoint({
|
|
|
3785
3781
|
* @summary Gets Group configuration contextual information
|
|
3786
3782
|
*/
|
|
3787
3783
|
export const getGroupsConfigurationMetadata = endpoint({
|
|
3788
|
-
method:
|
|
3789
|
-
path:
|
|
3790
|
-
baseUrl:
|
|
3791
|
-
requestFormat:
|
|
3784
|
+
method: 'GET',
|
|
3785
|
+
path: '/v1/groups/configuration/metadata',
|
|
3786
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3787
|
+
requestFormat: 'json',
|
|
3792
3788
|
response: Roblox_Groups_Api_GroupConfigurationDisplayOptionsResponse,
|
|
3793
3789
|
errors: [],
|
|
3794
3790
|
});
|
|
@@ -3801,10 +3797,10 @@ Accepts "icon" and "coverPhoto" in Files object. Defaults to first file if "icon
|
|
|
3801
3797
|
Http status code 413 is thrown when the group icon file size is too large.
|
|
3802
3798
|
*/
|
|
3803
3799
|
export const postGroupsCreate = endpoint({
|
|
3804
|
-
method:
|
|
3805
|
-
path:
|
|
3806
|
-
baseUrl:
|
|
3807
|
-
requestFormat:
|
|
3800
|
+
method: 'POST',
|
|
3801
|
+
path: '/v1/groups/create',
|
|
3802
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3803
|
+
requestFormat: 'form-data',
|
|
3808
3804
|
serializationMethod: {
|
|
3809
3805
|
body: {},
|
|
3810
3806
|
},
|
|
@@ -3859,14 +3855,14 @@ export const postGroupsCreate = endpoint({
|
|
|
3859
3855
|
* @param groupId The group Id.
|
|
3860
3856
|
*/
|
|
3861
3857
|
export const patchGroupsIcon = endpoint({
|
|
3862
|
-
method:
|
|
3863
|
-
path:
|
|
3864
|
-
baseUrl:
|
|
3865
|
-
requestFormat:
|
|
3858
|
+
method: 'PATCH',
|
|
3859
|
+
path: '/v1/groups/icon',
|
|
3860
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3861
|
+
requestFormat: 'form-data',
|
|
3866
3862
|
serializationMethod: {
|
|
3867
3863
|
body: {},
|
|
3868
3864
|
groupId: {
|
|
3869
|
-
style:
|
|
3865
|
+
style: 'form',
|
|
3870
3866
|
explode: true,
|
|
3871
3867
|
},
|
|
3872
3868
|
},
|
|
@@ -3906,10 +3902,10 @@ Current number of groups a user is a member of.
|
|
|
3906
3902
|
Whether to show/hide certain features based on device type.
|
|
3907
3903
|
*/
|
|
3908
3904
|
export const getGroupsMetadata = endpoint({
|
|
3909
|
-
method:
|
|
3910
|
-
path:
|
|
3911
|
-
baseUrl:
|
|
3912
|
-
requestFormat:
|
|
3905
|
+
method: 'GET',
|
|
3906
|
+
path: '/v1/groups/metadata',
|
|
3907
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3908
|
+
requestFormat: 'json',
|
|
3913
3909
|
response: Roblox_Groups_Api_GroupsDisplayOptionsResponse,
|
|
3914
3910
|
errors: [],
|
|
3915
3911
|
});
|
|
@@ -3919,10 +3915,10 @@ export const getGroupsMetadata = endpoint({
|
|
|
3919
3915
|
* @param body
|
|
3920
3916
|
*/
|
|
3921
3917
|
export const postGroupsPolicies = endpoint({
|
|
3922
|
-
method:
|
|
3923
|
-
path:
|
|
3924
|
-
baseUrl:
|
|
3925
|
-
requestFormat:
|
|
3918
|
+
method: 'POST',
|
|
3919
|
+
path: '/v1/groups/policies',
|
|
3920
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3921
|
+
requestFormat: 'json',
|
|
3926
3922
|
serializationMethod: {
|
|
3927
3923
|
body: {},
|
|
3928
3924
|
},
|
|
@@ -3954,25 +3950,25 @@ export const postGroupsPolicies = endpoint({
|
|
|
3954
3950
|
* @param cursor The paging cursor for the previous or next page.
|
|
3955
3951
|
*/
|
|
3956
3952
|
export const getGroupsSearch = endpoint({
|
|
3957
|
-
method:
|
|
3958
|
-
path:
|
|
3959
|
-
baseUrl:
|
|
3960
|
-
requestFormat:
|
|
3953
|
+
method: 'GET',
|
|
3954
|
+
path: '/v1/groups/search',
|
|
3955
|
+
baseUrl: 'https://groups.roblox.com',
|
|
3956
|
+
requestFormat: 'json',
|
|
3961
3957
|
serializationMethod: {
|
|
3962
3958
|
keyword: {
|
|
3963
|
-
style:
|
|
3959
|
+
style: 'form',
|
|
3964
3960
|
explode: true,
|
|
3965
3961
|
},
|
|
3966
3962
|
prioritizeExactMatch: {
|
|
3967
|
-
style:
|
|
3963
|
+
style: 'form',
|
|
3968
3964
|
explode: true,
|
|
3969
3965
|
},
|
|
3970
3966
|
limit: {
|
|
3971
|
-
style:
|
|
3967
|
+
style: 'form',
|
|
3972
3968
|
explode: true,
|
|
3973
3969
|
},
|
|
3974
3970
|
cursor: {
|
|
3975
|
-
style:
|
|
3971
|
+
style: 'form',
|
|
3976
3972
|
explode: true,
|
|
3977
3973
|
},
|
|
3978
3974
|
},
|
|
@@ -4002,21 +3998,20 @@ export const getGroupsSearch = endpoint({
|
|
|
4002
3998
|
* @description Should only be used for direct lookups where a user is inputting a group name, shouldn't be used for search pages.
|
|
4003
3999
|
*/
|
|
4004
4000
|
export const getGroupsSearchLookup = endpoint({
|
|
4005
|
-
method:
|
|
4006
|
-
path:
|
|
4007
|
-
baseUrl:
|
|
4008
|
-
requestFormat:
|
|
4001
|
+
method: 'GET',
|
|
4002
|
+
path: '/v1/groups/search/lookup',
|
|
4003
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4004
|
+
requestFormat: 'json',
|
|
4009
4005
|
serializationMethod: {
|
|
4010
4006
|
groupName: {
|
|
4011
|
-
style:
|
|
4007
|
+
style: 'form',
|
|
4012
4008
|
explode: true,
|
|
4013
4009
|
},
|
|
4014
4010
|
},
|
|
4015
4011
|
parameters: {
|
|
4016
4012
|
groupName: z.string(),
|
|
4017
4013
|
},
|
|
4018
|
-
response:
|
|
4019
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
4014
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Groups_GroupBasicResponse_,
|
|
4020
4015
|
errors: [
|
|
4021
4016
|
{
|
|
4022
4017
|
status: 400,
|
|
@@ -4031,10 +4026,10 @@ export const getGroupsSearchLookup = endpoint({
|
|
|
4031
4026
|
we will use coco to return different suggested groups based upon that user's request context
|
|
4032
4027
|
*/
|
|
4033
4028
|
export const getGroupsSearchMetadata = endpoint({
|
|
4034
|
-
method:
|
|
4035
|
-
path:
|
|
4036
|
-
baseUrl:
|
|
4037
|
-
requestFormat:
|
|
4029
|
+
method: 'GET',
|
|
4030
|
+
path: '/v1/groups/search/metadata',
|
|
4031
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4032
|
+
requestFormat: 'json',
|
|
4038
4033
|
response: Roblox_Groups_Api_GroupSearchMetadataResponse,
|
|
4039
4034
|
errors: [
|
|
4040
4035
|
{
|
|
@@ -4049,20 +4044,19 @@ export const getGroupsSearchMetadata = endpoint({
|
|
|
4049
4044
|
* @param ids A list of role ids
|
|
4050
4045
|
*/
|
|
4051
4046
|
export const getRoles = endpoint({
|
|
4052
|
-
method:
|
|
4053
|
-
path:
|
|
4054
|
-
baseUrl:
|
|
4055
|
-
requestFormat:
|
|
4047
|
+
method: 'GET',
|
|
4048
|
+
path: '/v1/roles',
|
|
4049
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4050
|
+
requestFormat: 'json',
|
|
4056
4051
|
serializationMethod: {
|
|
4057
4052
|
ids: {
|
|
4058
|
-
style:
|
|
4053
|
+
style: 'form',
|
|
4059
4054
|
},
|
|
4060
4055
|
},
|
|
4061
4056
|
parameters: {
|
|
4062
4057
|
ids: z.array(z.number()),
|
|
4063
4058
|
},
|
|
4064
|
-
response:
|
|
4065
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
4059
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupRoleDetailResponse_,
|
|
4066
4060
|
errors: [
|
|
4067
4061
|
{
|
|
4068
4062
|
status: 400,
|
|
@@ -4076,12 +4070,11 @@ export const getRoles = endpoint({
|
|
|
4076
4070
|
* @summary Gets groups that the authenticated user has requested to join
|
|
4077
4071
|
*/
|
|
4078
4072
|
export const getUserGroupsPending = endpoint({
|
|
4079
|
-
method:
|
|
4080
|
-
path:
|
|
4081
|
-
baseUrl:
|
|
4082
|
-
requestFormat:
|
|
4083
|
-
response:
|
|
4084
|
-
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_,
|
|
4085
4078
|
errors: [
|
|
4086
4079
|
{
|
|
4087
4080
|
status: 401,
|
|
@@ -4095,10 +4088,10 @@ export const getUserGroupsPending = endpoint({
|
|
|
4095
4088
|
* @param body The request body containing the group id.
|
|
4096
4089
|
*/
|
|
4097
4090
|
export const postUserGroupsPrimary = endpoint({
|
|
4098
|
-
method:
|
|
4099
|
-
path:
|
|
4100
|
-
baseUrl:
|
|
4101
|
-
requestFormat:
|
|
4091
|
+
method: 'POST',
|
|
4092
|
+
path: '/v1/user/groups/primary',
|
|
4093
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4094
|
+
requestFormat: 'json',
|
|
4102
4095
|
serializationMethod: {
|
|
4103
4096
|
body: {},
|
|
4104
4097
|
},
|
|
@@ -4126,10 +4119,10 @@ export const postUserGroupsPrimary = endpoint({
|
|
|
4126
4119
|
* @summary Removes the authenticated user's primary group
|
|
4127
4120
|
*/
|
|
4128
4121
|
export const deleteUserGroupsPrimary = endpoint({
|
|
4129
|
-
method:
|
|
4130
|
-
path:
|
|
4131
|
-
baseUrl:
|
|
4132
|
-
requestFormat:
|
|
4122
|
+
method: 'DELETE',
|
|
4123
|
+
path: '/v1/user/groups/primary',
|
|
4124
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4125
|
+
requestFormat: 'json',
|
|
4133
4126
|
response: z.object({}),
|
|
4134
4127
|
errors: [
|
|
4135
4128
|
{
|
|
@@ -4148,20 +4141,19 @@ export const deleteUserGroupsPrimary = endpoint({
|
|
|
4148
4141
|
* @param userId The user id.
|
|
4149
4142
|
*/
|
|
4150
4143
|
export const getUsersUseridFriendsGroupsRoles = endpoint({
|
|
4151
|
-
method:
|
|
4152
|
-
path:
|
|
4153
|
-
baseUrl:
|
|
4154
|
-
requestFormat:
|
|
4144
|
+
method: 'GET',
|
|
4145
|
+
path: '/v1/users/:userId/friends/groups/roles',
|
|
4146
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4147
|
+
requestFormat: 'json',
|
|
4155
4148
|
serializationMethod: {
|
|
4156
4149
|
userId: {
|
|
4157
|
-
style:
|
|
4150
|
+
style: 'simple',
|
|
4158
4151
|
},
|
|
4159
4152
|
},
|
|
4160
4153
|
parameters: {
|
|
4161
4154
|
userId: z.number().int(),
|
|
4162
4155
|
},
|
|
4163
|
-
response:
|
|
4164
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
4156
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_UserGroupMembershipResponse_,
|
|
4165
4157
|
errors: [
|
|
4166
4158
|
{
|
|
4167
4159
|
status: 400,
|
|
@@ -4179,13 +4171,13 @@ export const getUsersUseridFriendsGroupsRoles = endpoint({
|
|
|
4179
4171
|
* @param userId The user id.
|
|
4180
4172
|
*/
|
|
4181
4173
|
export const getUsersUseridGroupsPrimaryRole = endpoint({
|
|
4182
|
-
method:
|
|
4183
|
-
path:
|
|
4184
|
-
baseUrl:
|
|
4185
|
-
requestFormat:
|
|
4174
|
+
method: 'GET',
|
|
4175
|
+
path: '/v1/users/:userId/groups/primary/role',
|
|
4176
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4177
|
+
requestFormat: 'json',
|
|
4186
4178
|
serializationMethod: {
|
|
4187
4179
|
userId: {
|
|
4188
|
-
style:
|
|
4180
|
+
style: 'simple',
|
|
4189
4181
|
},
|
|
4190
4182
|
},
|
|
4191
4183
|
parameters: {
|
|
@@ -4208,24 +4200,24 @@ export const getUsersUseridGroupsPrimaryRole = endpoint({
|
|
|
4208
4200
|
* @param discoveryType
|
|
4209
4201
|
*/
|
|
4210
4202
|
export const getUsersUseridGroupsRoles = endpoint({
|
|
4211
|
-
method:
|
|
4212
|
-
path:
|
|
4213
|
-
baseUrl:
|
|
4214
|
-
requestFormat:
|
|
4203
|
+
method: 'GET',
|
|
4204
|
+
path: '/v1/users/:userId/groups/roles',
|
|
4205
|
+
baseUrl: 'https://groups.roblox.com',
|
|
4206
|
+
requestFormat: 'json',
|
|
4215
4207
|
serializationMethod: {
|
|
4216
4208
|
userId: {
|
|
4217
|
-
style:
|
|
4209
|
+
style: 'simple',
|
|
4218
4210
|
},
|
|
4219
4211
|
includeLocked: {
|
|
4220
|
-
style:
|
|
4212
|
+
style: 'form',
|
|
4221
4213
|
explode: true,
|
|
4222
4214
|
},
|
|
4223
4215
|
includeNotificationPreferences: {
|
|
4224
|
-
style:
|
|
4216
|
+
style: 'form',
|
|
4225
4217
|
explode: true,
|
|
4226
4218
|
},
|
|
4227
4219
|
discoveryType: {
|
|
4228
|
-
style:
|
|
4220
|
+
style: 'form',
|
|
4229
4221
|
explode: true,
|
|
4230
4222
|
},
|
|
4231
4223
|
},
|
|
@@ -4235,8 +4227,7 @@ export const getUsersUseridGroupsRoles = endpoint({
|
|
|
4235
4227
|
includeNotificationPreferences: z.boolean().optional(),
|
|
4236
4228
|
discoveryType: z.union([z.literal(0), z.literal(1)]).optional(),
|
|
4237
4229
|
},
|
|
4238
|
-
response:
|
|
4239
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
4230
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Groups_Api_GroupMembershipDetailResponse_,
|
|
4240
4231
|
errors: [
|
|
4241
4232
|
{
|
|
4242
4233
|
status: 400,
|