rozod 6.8.0 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +56 -1
- package/lib/index.js +159 -3
- package/package.json +2 -2
|
@@ -1,31 +1,55 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
|
+
const Roblox_Web_Responses_Thumbnails_ThumbnailResponse = z.object({
|
|
5
|
+
targetId: z.number().int(),
|
|
6
|
+
state: z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
|
|
7
|
+
imageUrl: z.string(),
|
|
8
|
+
version: z.string(),
|
|
9
|
+
});
|
|
10
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_ = z.object({
|
|
11
|
+
data: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
|
|
12
|
+
});
|
|
13
|
+
const Roblox_Web_WebAPI_Models_ApiErrorModel = z.object({
|
|
14
|
+
code: z.number().int(),
|
|
15
|
+
message: z.string(),
|
|
16
|
+
userFacingMessage: z.string(),
|
|
17
|
+
field: z.string(),
|
|
18
|
+
fieldData: z.object({}),
|
|
19
|
+
});
|
|
20
|
+
const Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse = z.object({
|
|
21
|
+
universeId: z.number().int(),
|
|
22
|
+
error: Roblox_Web_WebAPI_Models_ApiErrorModel,
|
|
23
|
+
thumbnails: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailResponse),
|
|
24
|
+
});
|
|
25
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_ = z.object({
|
|
26
|
+
data: z.array(Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse),
|
|
27
|
+
});
|
|
4
28
|
const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
|
|
5
29
|
requestId: z.string(),
|
|
6
30
|
targetId: z.number().int(),
|
|
7
31
|
token: z.string(),
|
|
8
32
|
alias: z.string(),
|
|
9
33
|
type: z.enum([
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
'Avatar',
|
|
35
|
+
'AvatarHeadShot',
|
|
36
|
+
'GameIcon',
|
|
37
|
+
'BadgeIcon',
|
|
38
|
+
'GameThumbnail',
|
|
39
|
+
'GamePass',
|
|
40
|
+
'Asset',
|
|
41
|
+
'BundleThumbnail',
|
|
42
|
+
'Outfit',
|
|
43
|
+
'GroupIcon',
|
|
44
|
+
'DeveloperProduct',
|
|
45
|
+
'AvatarBust',
|
|
46
|
+
'AutoGeneratedAsset',
|
|
47
|
+
'PlaceIcon',
|
|
48
|
+
'AutoGeneratedGameIcon',
|
|
49
|
+
'ForceAutoGeneratedGameIcon',
|
|
50
|
+
'Look',
|
|
51
|
+
'CreatorContextAsset',
|
|
52
|
+
'Screenshot',
|
|
29
53
|
]),
|
|
30
54
|
size: z.string(),
|
|
31
55
|
format: z.string(),
|
|
@@ -34,6 +58,18 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
|
|
|
34
58
|
headShape: z.string(),
|
|
35
59
|
includeBackground: z.boolean(),
|
|
36
60
|
});
|
|
61
|
+
const Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse = z.object({
|
|
62
|
+
requestId: z.string(),
|
|
63
|
+
errorCode: z.number().int(),
|
|
64
|
+
errorMessage: z.string(),
|
|
65
|
+
targetId: z.number().int(),
|
|
66
|
+
state: z.enum(['Error', 'Completed', 'InReview', 'Pending', 'Blocked', 'TemporarilyUnavailable']),
|
|
67
|
+
imageUrl: z.string(),
|
|
68
|
+
version: z.string(),
|
|
69
|
+
});
|
|
70
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_ = z.object({
|
|
71
|
+
data: z.array(Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse),
|
|
72
|
+
});
|
|
37
73
|
|
|
38
74
|
/**
|
|
39
75
|
* @api GET https://thumbnails.roblox.com/v1/asset-thumbnail-animated
|
|
@@ -42,24 +78,24 @@ const Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest = z.object({
|
|
|
42
78
|
* @param Roblox-Place-Id (optional) placeid
|
|
43
79
|
*/
|
|
44
80
|
export const getAssetThumbnailAnimated = endpoint({
|
|
45
|
-
method:
|
|
46
|
-
path:
|
|
47
|
-
baseUrl:
|
|
48
|
-
requestFormat:
|
|
81
|
+
method: 'GET',
|
|
82
|
+
path: '/v1/asset-thumbnail-animated',
|
|
83
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
84
|
+
requestFormat: 'json',
|
|
49
85
|
serializationMethod: {
|
|
50
86
|
assetId: {
|
|
51
|
-
style:
|
|
87
|
+
style: 'form',
|
|
52
88
|
explode: true,
|
|
53
89
|
},
|
|
54
|
-
|
|
55
|
-
style:
|
|
90
|
+
'Roblox-Place-Id': {
|
|
91
|
+
style: 'simple',
|
|
56
92
|
},
|
|
57
93
|
},
|
|
58
94
|
parameters: {
|
|
59
95
|
assetId: z.number().int(),
|
|
60
|
-
|
|
96
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
61
97
|
},
|
|
62
|
-
response:
|
|
98
|
+
response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
|
|
63
99
|
errors: [
|
|
64
100
|
{
|
|
65
101
|
status: 400,
|
|
@@ -78,85 +114,80 @@ export const getAssetThumbnailAnimated = endpoint({
|
|
|
78
114
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
79
115
|
*/
|
|
80
116
|
export const getAssets = endpoint({
|
|
81
|
-
method:
|
|
82
|
-
path:
|
|
83
|
-
baseUrl:
|
|
84
|
-
requestFormat:
|
|
117
|
+
method: 'GET',
|
|
118
|
+
path: '/v1/assets',
|
|
119
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
120
|
+
requestFormat: 'json',
|
|
85
121
|
serializationMethod: {
|
|
86
122
|
assetIds: {
|
|
87
|
-
style:
|
|
123
|
+
style: 'form',
|
|
88
124
|
},
|
|
89
|
-
|
|
90
|
-
style:
|
|
125
|
+
'Roblox-Place-Id': {
|
|
126
|
+
style: 'simple',
|
|
91
127
|
},
|
|
92
128
|
returnPolicy: {
|
|
93
|
-
style:
|
|
129
|
+
style: 'form',
|
|
94
130
|
explode: true,
|
|
95
131
|
},
|
|
96
132
|
size: {
|
|
97
|
-
style:
|
|
133
|
+
style: 'form',
|
|
98
134
|
explode: true,
|
|
99
135
|
},
|
|
100
136
|
format: {
|
|
101
|
-
style:
|
|
137
|
+
style: 'form',
|
|
102
138
|
explode: true,
|
|
103
139
|
},
|
|
104
140
|
isCircular: {
|
|
105
|
-
style:
|
|
141
|
+
style: 'form',
|
|
106
142
|
explode: true,
|
|
107
143
|
},
|
|
108
144
|
},
|
|
109
145
|
parameters: {
|
|
110
146
|
assetIds: z.array(z.number()),
|
|
111
|
-
|
|
147
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
112
148
|
returnPolicy: z
|
|
113
|
-
.enum([
|
|
114
|
-
"PlaceHolder",
|
|
115
|
-
"ForcePlaceHolder",
|
|
116
|
-
"AutoGenerated",
|
|
117
|
-
"ForceAutoGenerated",
|
|
118
|
-
])
|
|
149
|
+
.enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
|
|
119
150
|
.optional()
|
|
120
|
-
.default(
|
|
151
|
+
.default('PlaceHolder'),
|
|
121
152
|
size: z
|
|
122
153
|
.enum([
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
154
|
+
'30x30',
|
|
155
|
+
'42x42',
|
|
156
|
+
'50x50',
|
|
157
|
+
'60x62',
|
|
158
|
+
'75x75',
|
|
159
|
+
'110x110',
|
|
160
|
+
'140x140',
|
|
161
|
+
'150x150',
|
|
162
|
+
'160x100',
|
|
163
|
+
'160x600',
|
|
164
|
+
'250x250',
|
|
165
|
+
'256x144',
|
|
166
|
+
'300x250',
|
|
167
|
+
'304x166',
|
|
168
|
+
'384x216',
|
|
169
|
+
'396x216',
|
|
170
|
+
'420x420',
|
|
171
|
+
'480x270',
|
|
172
|
+
'512x512',
|
|
173
|
+
'576x324',
|
|
174
|
+
'700x700',
|
|
175
|
+
'728x90',
|
|
176
|
+
'768x432',
|
|
177
|
+
'1200x80',
|
|
178
|
+
'330x110',
|
|
179
|
+
'660x220',
|
|
180
|
+
'1320x440',
|
|
181
|
+
'720x228',
|
|
182
|
+
'1440x456',
|
|
183
|
+
'930x480',
|
|
153
184
|
])
|
|
154
185
|
.optional()
|
|
155
|
-
.default(
|
|
156
|
-
format: z.enum([
|
|
186
|
+
.default('30x30'),
|
|
187
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
157
188
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
158
189
|
},
|
|
159
|
-
response:
|
|
190
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
160
191
|
errors: [
|
|
161
192
|
{
|
|
162
193
|
status: 400,
|
|
@@ -181,29 +212,29 @@ export const getAssets = endpoint({
|
|
|
181
212
|
* @param Roblox-Place-Id (optional) placeid
|
|
182
213
|
*/
|
|
183
214
|
export const getAssetsThumbnail3d = endpoint({
|
|
184
|
-
method:
|
|
185
|
-
path:
|
|
186
|
-
baseUrl:
|
|
187
|
-
requestFormat:
|
|
215
|
+
method: 'GET',
|
|
216
|
+
path: '/v1/assets-thumbnail-3d',
|
|
217
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
218
|
+
requestFormat: 'json',
|
|
188
219
|
serializationMethod: {
|
|
189
220
|
assetId: {
|
|
190
|
-
style:
|
|
221
|
+
style: 'form',
|
|
191
222
|
explode: true,
|
|
192
223
|
},
|
|
193
224
|
useGltf: {
|
|
194
|
-
style:
|
|
225
|
+
style: 'form',
|
|
195
226
|
explode: true,
|
|
196
227
|
},
|
|
197
|
-
|
|
198
|
-
style:
|
|
228
|
+
'Roblox-Place-Id': {
|
|
229
|
+
style: 'simple',
|
|
199
230
|
},
|
|
200
231
|
},
|
|
201
232
|
parameters: {
|
|
202
233
|
assetId: z.number().int(),
|
|
203
234
|
useGltf: z.boolean().optional(),
|
|
204
|
-
|
|
235
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
205
236
|
},
|
|
206
|
-
response:
|
|
237
|
+
response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
|
|
207
238
|
errors: [
|
|
208
239
|
{
|
|
209
240
|
status: 400,
|
|
@@ -220,34 +251,34 @@ export const getAssetsThumbnail3d = endpoint({
|
|
|
220
251
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
221
252
|
*/
|
|
222
253
|
export const getBadgesIcons = endpoint({
|
|
223
|
-
method:
|
|
224
|
-
path:
|
|
225
|
-
baseUrl:
|
|
226
|
-
requestFormat:
|
|
254
|
+
method: 'GET',
|
|
255
|
+
path: '/v1/badges/icons',
|
|
256
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
257
|
+
requestFormat: 'json',
|
|
227
258
|
serializationMethod: {
|
|
228
259
|
badgeIds: {
|
|
229
|
-
style:
|
|
260
|
+
style: 'form',
|
|
230
261
|
},
|
|
231
262
|
size: {
|
|
232
|
-
style:
|
|
263
|
+
style: 'form',
|
|
233
264
|
explode: true,
|
|
234
265
|
},
|
|
235
266
|
format: {
|
|
236
|
-
style:
|
|
267
|
+
style: 'form',
|
|
237
268
|
explode: true,
|
|
238
269
|
},
|
|
239
270
|
isCircular: {
|
|
240
|
-
style:
|
|
271
|
+
style: 'form',
|
|
241
272
|
explode: true,
|
|
242
273
|
},
|
|
243
274
|
},
|
|
244
275
|
parameters: {
|
|
245
276
|
badgeIds: z.array(z.number()),
|
|
246
|
-
size: z.literal(
|
|
247
|
-
format: z.enum([
|
|
277
|
+
size: z.literal('150x150').optional().default('150x150'),
|
|
278
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
248
279
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
249
280
|
},
|
|
250
|
-
response:
|
|
281
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
251
282
|
errors: [
|
|
252
283
|
{
|
|
253
284
|
status: 400,
|
|
@@ -285,21 +316,21 @@ export const getBadgesIcons = endpoint({
|
|
|
285
316
|
* @param Roblox-Place-Id (optional) placeid
|
|
286
317
|
*/
|
|
287
318
|
export const postBatch = endpoint({
|
|
288
|
-
method:
|
|
289
|
-
path:
|
|
290
|
-
baseUrl:
|
|
291
|
-
requestFormat:
|
|
319
|
+
method: 'POST',
|
|
320
|
+
path: '/v1/batch',
|
|
321
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
322
|
+
requestFormat: 'json',
|
|
292
323
|
serializationMethod: {
|
|
293
324
|
body: {},
|
|
294
|
-
|
|
295
|
-
style:
|
|
325
|
+
'Roblox-Place-Id': {
|
|
326
|
+
style: 'simple',
|
|
296
327
|
},
|
|
297
328
|
},
|
|
298
329
|
parameters: {
|
|
299
|
-
|
|
330
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
300
331
|
},
|
|
301
332
|
body: z.array(Roblox_Thumbnails_Apis_Models_ThumbnailBatchRequest),
|
|
302
|
-
response:
|
|
333
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailBatchResponse_,
|
|
303
334
|
errors: [
|
|
304
335
|
{
|
|
305
336
|
status: 400,
|
|
@@ -324,34 +355,34 @@ export const postBatch = endpoint({
|
|
|
324
355
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
325
356
|
*/
|
|
326
357
|
export const getBundlesThumbnails = endpoint({
|
|
327
|
-
method:
|
|
328
|
-
path:
|
|
329
|
-
baseUrl:
|
|
330
|
-
requestFormat:
|
|
358
|
+
method: 'GET',
|
|
359
|
+
path: '/v1/bundles/thumbnails',
|
|
360
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
361
|
+
requestFormat: 'json',
|
|
331
362
|
serializationMethod: {
|
|
332
363
|
bundleIds: {
|
|
333
|
-
style:
|
|
364
|
+
style: 'form',
|
|
334
365
|
},
|
|
335
366
|
size: {
|
|
336
|
-
style:
|
|
367
|
+
style: 'form',
|
|
337
368
|
explode: true,
|
|
338
369
|
},
|
|
339
370
|
format: {
|
|
340
|
-
style:
|
|
371
|
+
style: 'form',
|
|
341
372
|
explode: true,
|
|
342
373
|
},
|
|
343
374
|
isCircular: {
|
|
344
|
-
style:
|
|
375
|
+
style: 'form',
|
|
345
376
|
explode: true,
|
|
346
377
|
},
|
|
347
378
|
},
|
|
348
379
|
parameters: {
|
|
349
380
|
bundleIds: z.array(z.number()),
|
|
350
|
-
size: z.enum([
|
|
351
|
-
format: z.enum([
|
|
381
|
+
size: z.enum(['150x150', '420x420']).optional().default('150x150'),
|
|
382
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
352
383
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
353
384
|
},
|
|
354
|
-
response:
|
|
385
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
355
386
|
errors: [
|
|
356
387
|
{
|
|
357
388
|
status: 400,
|
|
@@ -372,34 +403,34 @@ export const getBundlesThumbnails = endpoint({
|
|
|
372
403
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
373
404
|
*/
|
|
374
405
|
export const getDeveloperProductsIcons = endpoint({
|
|
375
|
-
method:
|
|
376
|
-
path:
|
|
377
|
-
baseUrl:
|
|
378
|
-
requestFormat:
|
|
406
|
+
method: 'GET',
|
|
407
|
+
path: '/v1/developer-products/icons',
|
|
408
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
409
|
+
requestFormat: 'json',
|
|
379
410
|
serializationMethod: {
|
|
380
411
|
developerProductIds: {
|
|
381
|
-
style:
|
|
412
|
+
style: 'form',
|
|
382
413
|
},
|
|
383
414
|
size: {
|
|
384
|
-
style:
|
|
415
|
+
style: 'form',
|
|
385
416
|
explode: true,
|
|
386
417
|
},
|
|
387
418
|
format: {
|
|
388
|
-
style:
|
|
419
|
+
style: 'form',
|
|
389
420
|
explode: true,
|
|
390
421
|
},
|
|
391
422
|
isCircular: {
|
|
392
|
-
style:
|
|
423
|
+
style: 'form',
|
|
393
424
|
explode: true,
|
|
394
425
|
},
|
|
395
426
|
},
|
|
396
427
|
parameters: {
|
|
397
428
|
developerProductIds: z.array(z.number()),
|
|
398
|
-
size: z.enum([
|
|
399
|
-
format: z.enum([
|
|
429
|
+
size: z.enum(['150x150', '420x420']).optional().default('150x150'),
|
|
430
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
400
431
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
401
432
|
},
|
|
402
|
-
response:
|
|
433
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
403
434
|
errors: [
|
|
404
435
|
{
|
|
405
436
|
status: 400,
|
|
@@ -420,34 +451,34 @@ export const getDeveloperProductsIcons = endpoint({
|
|
|
420
451
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
421
452
|
*/
|
|
422
453
|
export const getGamePasses = endpoint({
|
|
423
|
-
method:
|
|
424
|
-
path:
|
|
425
|
-
baseUrl:
|
|
426
|
-
requestFormat:
|
|
454
|
+
method: 'GET',
|
|
455
|
+
path: '/v1/game-passes',
|
|
456
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
457
|
+
requestFormat: 'json',
|
|
427
458
|
serializationMethod: {
|
|
428
459
|
gamePassIds: {
|
|
429
|
-
style:
|
|
460
|
+
style: 'form',
|
|
430
461
|
},
|
|
431
462
|
size: {
|
|
432
|
-
style:
|
|
463
|
+
style: 'form',
|
|
433
464
|
explode: true,
|
|
434
465
|
},
|
|
435
466
|
format: {
|
|
436
|
-
style:
|
|
467
|
+
style: 'form',
|
|
437
468
|
explode: true,
|
|
438
469
|
},
|
|
439
470
|
isCircular: {
|
|
440
|
-
style:
|
|
471
|
+
style: 'form',
|
|
441
472
|
explode: true,
|
|
442
473
|
},
|
|
443
474
|
},
|
|
444
475
|
parameters: {
|
|
445
476
|
gamePassIds: z.array(z.number()),
|
|
446
|
-
size: z.literal(
|
|
447
|
-
format: z.enum([
|
|
477
|
+
size: z.literal('150x150').optional().default('150x150'),
|
|
478
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
448
479
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
449
480
|
},
|
|
450
|
-
response:
|
|
481
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
451
482
|
errors: [
|
|
452
483
|
{
|
|
453
484
|
status: 400,
|
|
@@ -469,41 +500,38 @@ export const getGamePasses = endpoint({
|
|
|
469
500
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
470
501
|
*/
|
|
471
502
|
export const getGamesUniverseidThumbnails = endpoint({
|
|
472
|
-
method:
|
|
473
|
-
path:
|
|
474
|
-
baseUrl:
|
|
475
|
-
requestFormat:
|
|
503
|
+
method: 'GET',
|
|
504
|
+
path: '/v1/games/:universeId/thumbnails',
|
|
505
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
506
|
+
requestFormat: 'json',
|
|
476
507
|
serializationMethod: {
|
|
477
508
|
universeId: {
|
|
478
|
-
style:
|
|
509
|
+
style: 'simple',
|
|
479
510
|
},
|
|
480
511
|
thumbnailIds: {
|
|
481
|
-
style:
|
|
512
|
+
style: 'form',
|
|
482
513
|
},
|
|
483
514
|
size: {
|
|
484
|
-
style:
|
|
515
|
+
style: 'form',
|
|
485
516
|
explode: true,
|
|
486
517
|
},
|
|
487
518
|
format: {
|
|
488
|
-
style:
|
|
519
|
+
style: 'form',
|
|
489
520
|
explode: true,
|
|
490
521
|
},
|
|
491
522
|
isCircular: {
|
|
492
|
-
style:
|
|
523
|
+
style: 'form',
|
|
493
524
|
explode: true,
|
|
494
525
|
},
|
|
495
526
|
},
|
|
496
527
|
parameters: {
|
|
497
528
|
universeId: z.number().int(),
|
|
498
529
|
thumbnailIds: z.array(z.number()),
|
|
499
|
-
size: z
|
|
500
|
-
|
|
501
|
-
.optional()
|
|
502
|
-
.default("768x432"),
|
|
503
|
-
format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
|
|
530
|
+
size: z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
|
|
531
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
504
532
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
505
533
|
},
|
|
506
|
-
response:
|
|
534
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
507
535
|
errors: [
|
|
508
536
|
{
|
|
509
537
|
status: 400,
|
|
@@ -531,50 +559,42 @@ use the 'targetId' of the objects in the result array.
|
|
|
531
559
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
532
560
|
*/
|
|
533
561
|
export const getGamesIcons = endpoint({
|
|
534
|
-
method:
|
|
535
|
-
path:
|
|
536
|
-
baseUrl:
|
|
537
|
-
requestFormat:
|
|
562
|
+
method: 'GET',
|
|
563
|
+
path: '/v1/games/icons',
|
|
564
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
565
|
+
requestFormat: 'json',
|
|
538
566
|
serializationMethod: {
|
|
539
567
|
universeIds: {
|
|
540
|
-
style:
|
|
568
|
+
style: 'form',
|
|
541
569
|
},
|
|
542
570
|
returnPolicy: {
|
|
543
|
-
style:
|
|
571
|
+
style: 'form',
|
|
544
572
|
explode: true,
|
|
545
573
|
},
|
|
546
574
|
size: {
|
|
547
|
-
style:
|
|
575
|
+
style: 'form',
|
|
548
576
|
explode: true,
|
|
549
577
|
},
|
|
550
578
|
format: {
|
|
551
|
-
style:
|
|
579
|
+
style: 'form',
|
|
552
580
|
explode: true,
|
|
553
581
|
},
|
|
554
582
|
isCircular: {
|
|
555
|
-
style:
|
|
583
|
+
style: 'form',
|
|
556
584
|
explode: true,
|
|
557
585
|
},
|
|
558
586
|
},
|
|
559
587
|
parameters: {
|
|
560
588
|
universeIds: z.array(z.number()),
|
|
561
589
|
returnPolicy: z
|
|
562
|
-
.enum([
|
|
563
|
-
"PlaceHolder",
|
|
564
|
-
"ForcePlaceHolder",
|
|
565
|
-
"AutoGenerated",
|
|
566
|
-
"ForceAutoGenerated",
|
|
567
|
-
])
|
|
590
|
+
.enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
|
|
568
591
|
.optional()
|
|
569
|
-
.default(
|
|
570
|
-
size: z
|
|
571
|
-
|
|
572
|
-
.optional()
|
|
573
|
-
.default("50x50"),
|
|
574
|
-
format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
|
|
592
|
+
.default('PlaceHolder'),
|
|
593
|
+
size: z.enum(['50x50', '128x128', '150x150', '256x256', '420x420', '512x512']).optional().default('50x50'),
|
|
594
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
575
595
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
576
596
|
},
|
|
577
|
-
response:
|
|
597
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
578
598
|
errors: [
|
|
579
599
|
{
|
|
580
600
|
status: 400,
|
|
@@ -602,32 +622,32 @@ export const getGamesIcons = endpoint({
|
|
|
602
622
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
603
623
|
*/
|
|
604
624
|
export const getGamesMultigetThumbnails = endpoint({
|
|
605
|
-
method:
|
|
606
|
-
path:
|
|
607
|
-
baseUrl:
|
|
608
|
-
requestFormat:
|
|
625
|
+
method: 'GET',
|
|
626
|
+
path: '/v1/games/multiget/thumbnails',
|
|
627
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
628
|
+
requestFormat: 'json',
|
|
609
629
|
serializationMethod: {
|
|
610
630
|
universeIds: {
|
|
611
|
-
style:
|
|
631
|
+
style: 'form',
|
|
612
632
|
},
|
|
613
633
|
countPerUniverse: {
|
|
614
|
-
style:
|
|
634
|
+
style: 'form',
|
|
615
635
|
explode: true,
|
|
616
636
|
},
|
|
617
637
|
defaults: {
|
|
618
|
-
style:
|
|
638
|
+
style: 'form',
|
|
619
639
|
explode: true,
|
|
620
640
|
},
|
|
621
641
|
size: {
|
|
622
|
-
style:
|
|
642
|
+
style: 'form',
|
|
623
643
|
explode: true,
|
|
624
644
|
},
|
|
625
645
|
format: {
|
|
626
|
-
style:
|
|
646
|
+
style: 'form',
|
|
627
647
|
explode: true,
|
|
628
648
|
},
|
|
629
649
|
isCircular: {
|
|
630
|
-
style:
|
|
650
|
+
style: 'form',
|
|
631
651
|
explode: true,
|
|
632
652
|
},
|
|
633
653
|
},
|
|
@@ -635,14 +655,11 @@ export const getGamesMultigetThumbnails = endpoint({
|
|
|
635
655
|
universeIds: z.array(z.number()),
|
|
636
656
|
countPerUniverse: z.number().int().optional().default(1),
|
|
637
657
|
defaults: z.boolean().optional().default(true),
|
|
638
|
-
size: z
|
|
639
|
-
|
|
640
|
-
.optional()
|
|
641
|
-
.default("768x432"),
|
|
642
|
-
format: z.enum(["Png", "Jpeg", "Webp"]).optional().default("Png"),
|
|
658
|
+
size: z.enum(['768x432', '576x324', '480x270', '384x216', '256x144']).optional().default('768x432'),
|
|
659
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
643
660
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
644
661
|
},
|
|
645
|
-
response:
|
|
662
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Thumbnails_Api_Models_UniverseThumbnailsResponse_,
|
|
646
663
|
errors: [
|
|
647
664
|
{
|
|
648
665
|
status: 400,
|
|
@@ -663,34 +680,34 @@ export const getGamesMultigetThumbnails = endpoint({
|
|
|
663
680
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
664
681
|
*/
|
|
665
682
|
export const getGroupsIcons = endpoint({
|
|
666
|
-
method:
|
|
667
|
-
path:
|
|
668
|
-
baseUrl:
|
|
669
|
-
requestFormat:
|
|
683
|
+
method: 'GET',
|
|
684
|
+
path: '/v1/groups/icons',
|
|
685
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
686
|
+
requestFormat: 'json',
|
|
670
687
|
serializationMethod: {
|
|
671
688
|
groupIds: {
|
|
672
|
-
style:
|
|
689
|
+
style: 'form',
|
|
673
690
|
},
|
|
674
691
|
size: {
|
|
675
|
-
style:
|
|
692
|
+
style: 'form',
|
|
676
693
|
explode: true,
|
|
677
694
|
},
|
|
678
695
|
format: {
|
|
679
|
-
style:
|
|
696
|
+
style: 'form',
|
|
680
697
|
explode: true,
|
|
681
698
|
},
|
|
682
699
|
isCircular: {
|
|
683
|
-
style:
|
|
700
|
+
style: 'form',
|
|
684
701
|
explode: true,
|
|
685
702
|
},
|
|
686
703
|
},
|
|
687
704
|
parameters: {
|
|
688
705
|
groupIds: z.array(z.number()),
|
|
689
|
-
size: z.enum([
|
|
690
|
-
format: z.enum([
|
|
706
|
+
size: z.enum(['150x150', '420x420']).optional().default('150x150'),
|
|
707
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
691
708
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
692
709
|
},
|
|
693
|
-
response:
|
|
710
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
694
711
|
errors: [
|
|
695
712
|
{
|
|
696
713
|
status: 400,
|
|
@@ -712,50 +729,42 @@ export const getGroupsIcons = endpoint({
|
|
|
712
729
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
713
730
|
*/
|
|
714
731
|
export const getPlacesGameicons = endpoint({
|
|
715
|
-
method:
|
|
716
|
-
path:
|
|
717
|
-
baseUrl:
|
|
718
|
-
requestFormat:
|
|
732
|
+
method: 'GET',
|
|
733
|
+
path: '/v1/places/gameicons',
|
|
734
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
735
|
+
requestFormat: 'json',
|
|
719
736
|
serializationMethod: {
|
|
720
737
|
placeIds: {
|
|
721
|
-
style:
|
|
738
|
+
style: 'form',
|
|
722
739
|
},
|
|
723
740
|
returnPolicy: {
|
|
724
|
-
style:
|
|
741
|
+
style: 'form',
|
|
725
742
|
explode: true,
|
|
726
743
|
},
|
|
727
744
|
size: {
|
|
728
|
-
style:
|
|
745
|
+
style: 'form',
|
|
729
746
|
explode: true,
|
|
730
747
|
},
|
|
731
748
|
format: {
|
|
732
|
-
style:
|
|
749
|
+
style: 'form',
|
|
733
750
|
explode: true,
|
|
734
751
|
},
|
|
735
752
|
isCircular: {
|
|
736
|
-
style:
|
|
753
|
+
style: 'form',
|
|
737
754
|
explode: true,
|
|
738
755
|
},
|
|
739
756
|
},
|
|
740
757
|
parameters: {
|
|
741
758
|
placeIds: z.array(z.number()),
|
|
742
759
|
returnPolicy: z
|
|
743
|
-
.enum([
|
|
744
|
-
"PlaceHolder",
|
|
745
|
-
"ForcePlaceHolder",
|
|
746
|
-
"AutoGenerated",
|
|
747
|
-
"ForceAutoGenerated",
|
|
748
|
-
])
|
|
749
|
-
.optional()
|
|
750
|
-
.default("PlaceHolder"),
|
|
751
|
-
size: z
|
|
752
|
-
.enum(["50x50", "128x128", "150x150", "256x256", "420x420", "512x512"])
|
|
760
|
+
.enum(['PlaceHolder', 'ForcePlaceHolder', 'AutoGenerated', 'ForceAutoGenerated'])
|
|
753
761
|
.optional()
|
|
754
|
-
.default(
|
|
755
|
-
|
|
762
|
+
.default('PlaceHolder'),
|
|
763
|
+
size: z.enum(['50x50', '128x128', '150x150', '256x256', '420x420', '512x512']).optional().default('50x50'),
|
|
764
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
756
765
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
757
766
|
},
|
|
758
|
-
response:
|
|
767
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
759
768
|
errors: [
|
|
760
769
|
{
|
|
761
770
|
status: 400,
|
|
@@ -782,28 +791,28 @@ export const getPlacesGameicons = endpoint({
|
|
|
782
791
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
783
792
|
*/
|
|
784
793
|
export const getUsersAvatar = endpoint({
|
|
785
|
-
method:
|
|
786
|
-
path:
|
|
787
|
-
baseUrl:
|
|
788
|
-
requestFormat:
|
|
794
|
+
method: 'GET',
|
|
795
|
+
path: '/v1/users/avatar',
|
|
796
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
797
|
+
requestFormat: 'json',
|
|
789
798
|
serializationMethod: {
|
|
790
799
|
userIds: {
|
|
791
|
-
style:
|
|
800
|
+
style: 'form',
|
|
792
801
|
},
|
|
793
802
|
includeBackground: {
|
|
794
|
-
style:
|
|
803
|
+
style: 'form',
|
|
795
804
|
explode: true,
|
|
796
805
|
},
|
|
797
806
|
size: {
|
|
798
|
-
style:
|
|
807
|
+
style: 'form',
|
|
799
808
|
explode: true,
|
|
800
809
|
},
|
|
801
810
|
format: {
|
|
802
|
-
style:
|
|
811
|
+
style: 'form',
|
|
803
812
|
explode: true,
|
|
804
813
|
},
|
|
805
814
|
isCircular: {
|
|
806
|
-
style:
|
|
815
|
+
style: 'form',
|
|
807
816
|
explode: true,
|
|
808
817
|
},
|
|
809
818
|
},
|
|
@@ -812,27 +821,27 @@ export const getUsersAvatar = endpoint({
|
|
|
812
821
|
includeBackground: z.boolean().optional(),
|
|
813
822
|
size: z
|
|
814
823
|
.enum([
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
824
|
+
'30x30',
|
|
825
|
+
'48x48',
|
|
826
|
+
'60x60',
|
|
827
|
+
'75x75',
|
|
828
|
+
'100x100',
|
|
829
|
+
'110x110',
|
|
830
|
+
'140x140',
|
|
831
|
+
'150x150',
|
|
832
|
+
'150x200',
|
|
833
|
+
'180x180',
|
|
834
|
+
'250x250',
|
|
835
|
+
'352x352',
|
|
836
|
+
'420x420',
|
|
837
|
+
'720x720',
|
|
829
838
|
])
|
|
830
839
|
.optional()
|
|
831
|
-
.default(
|
|
832
|
-
format: z.enum([
|
|
840
|
+
.default('30x30'),
|
|
841
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
833
842
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
834
843
|
},
|
|
835
|
-
response:
|
|
844
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
836
845
|
errors: [
|
|
837
846
|
{
|
|
838
847
|
status: 400,
|
|
@@ -850,20 +859,20 @@ export const getUsersAvatar = endpoint({
|
|
|
850
859
|
* @param userId user Id for avatar
|
|
851
860
|
*/
|
|
852
861
|
export const getUsersAvatar3d = endpoint({
|
|
853
|
-
method:
|
|
854
|
-
path:
|
|
855
|
-
baseUrl:
|
|
856
|
-
requestFormat:
|
|
862
|
+
method: 'GET',
|
|
863
|
+
path: '/v1/users/avatar-3d',
|
|
864
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
865
|
+
requestFormat: 'json',
|
|
857
866
|
serializationMethod: {
|
|
858
867
|
userId: {
|
|
859
|
-
style:
|
|
868
|
+
style: 'form',
|
|
860
869
|
explode: true,
|
|
861
870
|
},
|
|
862
871
|
},
|
|
863
872
|
parameters: {
|
|
864
873
|
userId: z.number().int(),
|
|
865
874
|
},
|
|
866
|
-
response:
|
|
875
|
+
response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
|
|
867
876
|
errors: [
|
|
868
877
|
{
|
|
869
878
|
status: 400,
|
|
@@ -881,28 +890,28 @@ export const getUsersAvatar3d = endpoint({
|
|
|
881
890
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
882
891
|
*/
|
|
883
892
|
export const getUsersAvatarBust = endpoint({
|
|
884
|
-
method:
|
|
885
|
-
path:
|
|
886
|
-
baseUrl:
|
|
887
|
-
requestFormat:
|
|
893
|
+
method: 'GET',
|
|
894
|
+
path: '/v1/users/avatar-bust',
|
|
895
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
896
|
+
requestFormat: 'json',
|
|
888
897
|
serializationMethod: {
|
|
889
898
|
userIds: {
|
|
890
|
-
style:
|
|
899
|
+
style: 'form',
|
|
891
900
|
},
|
|
892
901
|
includeBackground: {
|
|
893
|
-
style:
|
|
902
|
+
style: 'form',
|
|
894
903
|
explode: true,
|
|
895
904
|
},
|
|
896
905
|
size: {
|
|
897
|
-
style:
|
|
906
|
+
style: 'form',
|
|
898
907
|
explode: true,
|
|
899
908
|
},
|
|
900
909
|
format: {
|
|
901
|
-
style:
|
|
910
|
+
style: 'form',
|
|
902
911
|
explode: true,
|
|
903
912
|
},
|
|
904
913
|
isCircular: {
|
|
905
|
-
style:
|
|
914
|
+
style: 'form',
|
|
906
915
|
explode: true,
|
|
907
916
|
},
|
|
908
917
|
},
|
|
@@ -910,23 +919,13 @@ export const getUsersAvatarBust = endpoint({
|
|
|
910
919
|
userIds: z.array(z.number()),
|
|
911
920
|
includeBackground: z.boolean().optional(),
|
|
912
921
|
size: z
|
|
913
|
-
.enum([
|
|
914
|
-
"48x48",
|
|
915
|
-
"50x50",
|
|
916
|
-
"60x60",
|
|
917
|
-
"75x75",
|
|
918
|
-
"100x100",
|
|
919
|
-
"150x150",
|
|
920
|
-
"180x180",
|
|
921
|
-
"352x352",
|
|
922
|
-
"420x420",
|
|
923
|
-
])
|
|
922
|
+
.enum(['48x48', '50x50', '60x60', '75x75', '100x100', '150x150', '180x180', '352x352', '420x420'])
|
|
924
923
|
.optional()
|
|
925
|
-
.default(
|
|
926
|
-
format: z.enum([
|
|
924
|
+
.default('48x48'),
|
|
925
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
927
926
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
928
927
|
},
|
|
929
|
-
response:
|
|
928
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
930
929
|
errors: [
|
|
931
930
|
{
|
|
932
931
|
status: 400,
|
|
@@ -948,28 +947,28 @@ export const getUsersAvatarBust = endpoint({
|
|
|
948
947
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
949
948
|
*/
|
|
950
949
|
export const getUsersAvatarHeadshot = endpoint({
|
|
951
|
-
method:
|
|
952
|
-
path:
|
|
953
|
-
baseUrl:
|
|
954
|
-
requestFormat:
|
|
950
|
+
method: 'GET',
|
|
951
|
+
path: '/v1/users/avatar-headshot',
|
|
952
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
953
|
+
requestFormat: 'json',
|
|
955
954
|
serializationMethod: {
|
|
956
955
|
userIds: {
|
|
957
|
-
style:
|
|
956
|
+
style: 'form',
|
|
958
957
|
},
|
|
959
958
|
includeBackground: {
|
|
960
|
-
style:
|
|
959
|
+
style: 'form',
|
|
961
960
|
explode: true,
|
|
962
961
|
},
|
|
963
962
|
size: {
|
|
964
|
-
style:
|
|
963
|
+
style: 'form',
|
|
965
964
|
explode: true,
|
|
966
965
|
},
|
|
967
966
|
format: {
|
|
968
|
-
style:
|
|
967
|
+
style: 'form',
|
|
969
968
|
explode: true,
|
|
970
969
|
},
|
|
971
970
|
isCircular: {
|
|
972
|
-
style:
|
|
971
|
+
style: 'form',
|
|
973
972
|
explode: true,
|
|
974
973
|
},
|
|
975
974
|
},
|
|
@@ -978,24 +977,24 @@ export const getUsersAvatarHeadshot = endpoint({
|
|
|
978
977
|
includeBackground: z.boolean().optional(),
|
|
979
978
|
size: z
|
|
980
979
|
.enum([
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
980
|
+
'48x48',
|
|
981
|
+
'50x50',
|
|
982
|
+
'60x60',
|
|
983
|
+
'75x75',
|
|
984
|
+
'100x100',
|
|
985
|
+
'110x110',
|
|
986
|
+
'150x150',
|
|
987
|
+
'180x180',
|
|
988
|
+
'352x352',
|
|
989
|
+
'420x420',
|
|
990
|
+
'720x720',
|
|
992
991
|
])
|
|
993
992
|
.optional()
|
|
994
|
-
.default(
|
|
995
|
-
format: z.enum([
|
|
993
|
+
.default('48x48'),
|
|
994
|
+
format: z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
|
|
996
995
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
997
996
|
},
|
|
998
|
-
response:
|
|
997
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
999
998
|
errors: [
|
|
1000
999
|
{
|
|
1001
1000
|
status: 400,
|
|
@@ -1013,20 +1012,20 @@ export const getUsersAvatarHeadshot = endpoint({
|
|
|
1013
1012
|
* @param outfitId CSV for the userIds to get user outfits
|
|
1014
1013
|
*/
|
|
1015
1014
|
export const getUsersOutfit3d = endpoint({
|
|
1016
|
-
method:
|
|
1017
|
-
path:
|
|
1018
|
-
baseUrl:
|
|
1019
|
-
requestFormat:
|
|
1015
|
+
method: 'GET',
|
|
1016
|
+
path: '/v1/users/outfit-3d',
|
|
1017
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
1018
|
+
requestFormat: 'json',
|
|
1020
1019
|
serializationMethod: {
|
|
1021
1020
|
outfitId: {
|
|
1022
|
-
style:
|
|
1021
|
+
style: 'form',
|
|
1023
1022
|
explode: true,
|
|
1024
1023
|
},
|
|
1025
1024
|
},
|
|
1026
1025
|
parameters: {
|
|
1027
1026
|
outfitId: z.number().int(),
|
|
1028
1027
|
},
|
|
1029
|
-
response:
|
|
1028
|
+
response: Roblox_Web_Responses_Thumbnails_ThumbnailResponse,
|
|
1030
1029
|
errors: [],
|
|
1031
1030
|
});
|
|
1032
1031
|
/**
|
|
@@ -1039,39 +1038,39 @@ export const getUsersOutfit3d = endpoint({
|
|
|
1039
1038
|
* @param isCircular The circle thumbnail output parameter, true or false
|
|
1040
1039
|
*/
|
|
1041
1040
|
export const getUsersOutfits = endpoint({
|
|
1042
|
-
method:
|
|
1043
|
-
path:
|
|
1044
|
-
baseUrl:
|
|
1045
|
-
requestFormat:
|
|
1041
|
+
method: 'GET',
|
|
1042
|
+
path: '/v1/users/outfits',
|
|
1043
|
+
baseUrl: 'https://thumbnails.roblox.com',
|
|
1044
|
+
requestFormat: 'json',
|
|
1046
1045
|
serializationMethod: {
|
|
1047
1046
|
userOutfitIds: {
|
|
1048
|
-
style:
|
|
1047
|
+
style: 'form',
|
|
1049
1048
|
},
|
|
1050
1049
|
includeBackground: {
|
|
1051
|
-
style:
|
|
1050
|
+
style: 'form',
|
|
1052
1051
|
explode: true,
|
|
1053
1052
|
},
|
|
1054
1053
|
size: {
|
|
1055
|
-
style:
|
|
1054
|
+
style: 'form',
|
|
1056
1055
|
explode: true,
|
|
1057
1056
|
},
|
|
1058
1057
|
format: {
|
|
1059
|
-
style:
|
|
1058
|
+
style: 'form',
|
|
1060
1059
|
explode: true,
|
|
1061
1060
|
},
|
|
1062
1061
|
isCircular: {
|
|
1063
|
-
style:
|
|
1062
|
+
style: 'form',
|
|
1064
1063
|
explode: true,
|
|
1065
1064
|
},
|
|
1066
1065
|
},
|
|
1067
1066
|
parameters: {
|
|
1068
1067
|
userOutfitIds: z.array(z.number()),
|
|
1069
1068
|
includeBackground: z.boolean().optional(),
|
|
1070
|
-
size: z.enum([
|
|
1071
|
-
format: z.enum([
|
|
1069
|
+
size: z.enum(['150x150', '420x420']).optional().default('150x150'),
|
|
1070
|
+
format: z.enum(['Png', 'Webp']).optional().default('Png'),
|
|
1072
1071
|
isCircular: z.union([z.literal(true), z.literal(false)]).optional(),
|
|
1073
1072
|
},
|
|
1074
|
-
response:
|
|
1073
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
|
|
1075
1074
|
errors: [
|
|
1076
1075
|
{
|
|
1077
1076
|
status: 400,
|