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,34 +1,34 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_Web_Assets_IAssetItemError = z.object({
|
|
5
5
|
Code: z.number().int(),
|
|
6
6
|
Message: z.string(),
|
|
7
7
|
CustomErrorCode: z.enum([
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
8
|
+
'UnknownError',
|
|
9
|
+
'NoPermissionToAsset',
|
|
10
|
+
'AssetPermissionCheckFailed',
|
|
11
|
+
'NotAuthorizedForAgeRecommendation',
|
|
12
|
+
'AgeRecommendationCheckFailed',
|
|
13
|
+
'InvalidPlaceRequestFromGameServer',
|
|
14
|
+
'BlockedAssetTypeRequestedFromInsertService',
|
|
15
|
+
'BlockedAssetTypeRequestedFromGameServer',
|
|
16
|
+
'AssetTypeMismatch',
|
|
17
|
+
'MissingAssetTypeInRequestHeader',
|
|
18
|
+
'AssetNotTrustedForPlace',
|
|
19
|
+
'NoAuthentication',
|
|
20
|
+
'AssetContentRepresentationBlockedDueToModeration',
|
|
21
|
+
'AssetNotFound',
|
|
22
|
+
'AssetVersionNotFound',
|
|
23
|
+
'AssetContentRepresentationNotFound',
|
|
24
|
+
'BlockedByAgeGeoRestriction',
|
|
25
|
+
'BlockedAssetTypeRequestedFromNonGameServer',
|
|
26
|
+
'AssetPendingReview',
|
|
27
|
+
'NotApprovedForRequestor',
|
|
28
|
+
'NotApprovedByContentCompliance',
|
|
29
|
+
'AssetContentRepresentationGenerating',
|
|
30
|
+
'AssetArchived',
|
|
31
|
+
'AssetUsageNotAllowed',
|
|
32
32
|
]),
|
|
33
33
|
});
|
|
34
34
|
const Roblox_Web_Assets_AssetContentRepresentationSpecifier = z.object({
|
|
@@ -38,7 +38,7 @@ const Roblox_Web_Assets_AssetContentRepresentationSpecifier = z.object({
|
|
|
38
38
|
skipGenerationIfNotExist: z.boolean(),
|
|
39
39
|
});
|
|
40
40
|
const Roblox_AssetDelivery_Api_AssetMetadata = z.object({
|
|
41
|
-
metadataType: z.literal(
|
|
41
|
+
metadataType: z.literal('UncompressedSize'),
|
|
42
42
|
value: z.string(),
|
|
43
43
|
});
|
|
44
44
|
const Roblox_Web_Assets_AssetResponseItemV1 = z.object({
|
|
@@ -47,8 +47,7 @@ const Roblox_Web_Assets_AssetResponseItemV1 = z.object({
|
|
|
47
47
|
requestId: z.string(),
|
|
48
48
|
isArchived: z.boolean(),
|
|
49
49
|
assetTypeId: z.number().int(),
|
|
50
|
-
contentRepresentationSpecifier:
|
|
51
|
-
Roblox_Web_Assets_AssetContentRepresentationSpecifier,
|
|
50
|
+
contentRepresentationSpecifier: Roblox_Web_Assets_AssetContentRepresentationSpecifier,
|
|
52
51
|
assetMetadatas: z.array(Roblox_AssetDelivery_Api_AssetMetadata),
|
|
53
52
|
isRecordable: z.boolean(),
|
|
54
53
|
});
|
|
@@ -70,7 +69,7 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
|
|
|
70
69
|
assetVersionId: z.number().int(),
|
|
71
70
|
modulePlaceId: z.number().int(),
|
|
72
71
|
assetFormat: z.string(),
|
|
73
|
-
|
|
72
|
+
'roblox-assetFormat': z.string(),
|
|
74
73
|
assetResolutionMode: z.string(),
|
|
75
74
|
accessContext: z.string(),
|
|
76
75
|
usageContext: z.number().int(),
|
|
@@ -98,73 +97,73 @@ const Roblox_Web_Assets_BatchAssetRequestItem = z.object({
|
|
|
98
97
|
* @param usageContext
|
|
99
98
|
*/
|
|
100
99
|
export const getAliasAlias = endpoint({
|
|
101
|
-
method:
|
|
102
|
-
path:
|
|
103
|
-
baseUrl:
|
|
104
|
-
requestFormat:
|
|
100
|
+
method: 'GET',
|
|
101
|
+
path: '/v1/alias/:alias',
|
|
102
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
103
|
+
requestFormat: 'json',
|
|
105
104
|
serializationMethod: {
|
|
106
105
|
alias: {
|
|
107
|
-
style:
|
|
106
|
+
style: 'simple',
|
|
108
107
|
},
|
|
109
|
-
|
|
110
|
-
style:
|
|
108
|
+
'Accept-Encoding': {
|
|
109
|
+
style: 'simple',
|
|
111
110
|
},
|
|
112
|
-
|
|
113
|
-
style:
|
|
111
|
+
'Roblox-Place-Id': {
|
|
112
|
+
style: 'simple',
|
|
114
113
|
},
|
|
115
114
|
AssetType: {
|
|
116
|
-
style:
|
|
115
|
+
style: 'simple',
|
|
117
116
|
},
|
|
118
117
|
Accept: {
|
|
119
|
-
style:
|
|
118
|
+
style: 'simple',
|
|
120
119
|
},
|
|
121
120
|
AssetFormat: {
|
|
122
|
-
style:
|
|
121
|
+
style: 'simple',
|
|
123
122
|
},
|
|
124
|
-
|
|
125
|
-
style:
|
|
123
|
+
'Roblox-AssetFormat': {
|
|
124
|
+
style: 'simple',
|
|
126
125
|
},
|
|
127
126
|
skipSigningScripts: {
|
|
128
|
-
style:
|
|
127
|
+
style: 'form',
|
|
129
128
|
explode: true,
|
|
130
129
|
},
|
|
131
130
|
clientInsert: {
|
|
132
|
-
style:
|
|
131
|
+
style: 'form',
|
|
133
132
|
explode: true,
|
|
134
133
|
},
|
|
135
134
|
scriptinsert: {
|
|
136
|
-
style:
|
|
135
|
+
style: 'form',
|
|
137
136
|
explode: true,
|
|
138
137
|
},
|
|
139
138
|
modulePlaceId: {
|
|
140
|
-
style:
|
|
139
|
+
style: 'form',
|
|
141
140
|
explode: true,
|
|
142
141
|
},
|
|
143
142
|
serverplaceid: {
|
|
144
|
-
style:
|
|
143
|
+
style: 'form',
|
|
145
144
|
explode: true,
|
|
146
145
|
},
|
|
147
146
|
expectedAssetType: {
|
|
148
|
-
style:
|
|
147
|
+
style: 'form',
|
|
149
148
|
explode: true,
|
|
150
149
|
},
|
|
151
150
|
accessContext: {
|
|
152
|
-
style:
|
|
151
|
+
style: 'form',
|
|
153
152
|
explode: true,
|
|
154
153
|
},
|
|
155
154
|
usageContext: {
|
|
156
|
-
style:
|
|
155
|
+
style: 'form',
|
|
157
156
|
explode: true,
|
|
158
157
|
},
|
|
159
158
|
},
|
|
160
159
|
parameters: {
|
|
161
160
|
alias: z.string().regex(/^[0-9]+\/.+/),
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
'Accept-Encoding': z.string(),
|
|
162
|
+
'Roblox-Place-Id': z.number().int(),
|
|
164
163
|
AssetType: z.string(),
|
|
165
164
|
Accept: z.string(),
|
|
166
165
|
AssetFormat: z.string(),
|
|
167
|
-
|
|
166
|
+
'Roblox-AssetFormat': z.string(),
|
|
168
167
|
skipSigningScripts: z.boolean().optional(),
|
|
169
168
|
clientInsert: z.number().int().optional(),
|
|
170
169
|
scriptinsert: z.number().int().optional(),
|
|
@@ -208,121 +207,121 @@ export const getAliasAlias = endpoint({
|
|
|
208
207
|
* @param usageContext
|
|
209
208
|
*/
|
|
210
209
|
export const getAsset = endpoint({
|
|
211
|
-
method:
|
|
212
|
-
path:
|
|
213
|
-
baseUrl:
|
|
214
|
-
requestFormat:
|
|
210
|
+
method: 'GET',
|
|
211
|
+
path: '/v1/asset',
|
|
212
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
213
|
+
requestFormat: 'json',
|
|
215
214
|
serializationMethod: {
|
|
216
|
-
|
|
217
|
-
style:
|
|
215
|
+
'Accept-Encoding': {
|
|
216
|
+
style: 'simple',
|
|
218
217
|
},
|
|
219
|
-
|
|
220
|
-
style:
|
|
218
|
+
'Roblox-Place-Id': {
|
|
219
|
+
style: 'simple',
|
|
221
220
|
},
|
|
222
221
|
AssetType: {
|
|
223
|
-
style:
|
|
222
|
+
style: 'simple',
|
|
224
223
|
},
|
|
225
224
|
Accept: {
|
|
226
|
-
style:
|
|
225
|
+
style: 'simple',
|
|
227
226
|
},
|
|
228
227
|
AssetFormat: {
|
|
229
|
-
style:
|
|
228
|
+
style: 'simple',
|
|
230
229
|
},
|
|
231
|
-
|
|
232
|
-
style:
|
|
230
|
+
'Roblox-AssetFormat': {
|
|
231
|
+
style: 'simple',
|
|
233
232
|
},
|
|
234
233
|
id: {
|
|
235
|
-
style:
|
|
234
|
+
style: 'form',
|
|
236
235
|
explode: true,
|
|
237
236
|
},
|
|
238
237
|
userAssetId: {
|
|
239
|
-
style:
|
|
238
|
+
style: 'form',
|
|
240
239
|
explode: true,
|
|
241
240
|
},
|
|
242
241
|
assetVersionId: {
|
|
243
|
-
style:
|
|
242
|
+
style: 'form',
|
|
244
243
|
explode: true,
|
|
245
244
|
},
|
|
246
245
|
version: {
|
|
247
|
-
style:
|
|
246
|
+
style: 'form',
|
|
248
247
|
explode: true,
|
|
249
248
|
},
|
|
250
249
|
universeId: {
|
|
251
|
-
style:
|
|
250
|
+
style: 'form',
|
|
252
251
|
explode: true,
|
|
253
252
|
},
|
|
254
253
|
clientInsert: {
|
|
255
|
-
style:
|
|
254
|
+
style: 'form',
|
|
256
255
|
explode: true,
|
|
257
256
|
},
|
|
258
257
|
scriptinsert: {
|
|
259
|
-
style:
|
|
258
|
+
style: 'form',
|
|
260
259
|
explode: true,
|
|
261
260
|
},
|
|
262
261
|
modulePlaceId: {
|
|
263
|
-
style:
|
|
262
|
+
style: 'form',
|
|
264
263
|
explode: true,
|
|
265
264
|
},
|
|
266
265
|
serverplaceid: {
|
|
267
|
-
style:
|
|
266
|
+
style: 'form',
|
|
268
267
|
explode: true,
|
|
269
268
|
},
|
|
270
269
|
assetName: {
|
|
271
|
-
style:
|
|
270
|
+
style: 'form',
|
|
272
271
|
explode: true,
|
|
273
272
|
},
|
|
274
273
|
hash: {
|
|
275
|
-
style:
|
|
274
|
+
style: 'form',
|
|
276
275
|
explode: true,
|
|
277
276
|
},
|
|
278
277
|
marAssetHash: {
|
|
279
|
-
style:
|
|
278
|
+
style: 'form',
|
|
280
279
|
explode: true,
|
|
281
280
|
},
|
|
282
281
|
marCheckSum: {
|
|
283
|
-
style:
|
|
282
|
+
style: 'form',
|
|
284
283
|
explode: true,
|
|
285
284
|
},
|
|
286
285
|
expectedAssetType: {
|
|
287
|
-
style:
|
|
286
|
+
style: 'form',
|
|
288
287
|
explode: true,
|
|
289
288
|
},
|
|
290
289
|
skipSigningScripts: {
|
|
291
|
-
style:
|
|
290
|
+
style: 'form',
|
|
292
291
|
explode: true,
|
|
293
292
|
},
|
|
294
293
|
permissionContext: {
|
|
295
|
-
style:
|
|
294
|
+
style: 'form',
|
|
296
295
|
explode: true,
|
|
297
296
|
},
|
|
298
297
|
doNotFallbackToBaselineRepresentation: {
|
|
299
|
-
style:
|
|
298
|
+
style: 'form',
|
|
300
299
|
explode: true,
|
|
301
300
|
},
|
|
302
301
|
contentRepresentationPriorityList: {
|
|
303
|
-
style:
|
|
302
|
+
style: 'form',
|
|
304
303
|
explode: true,
|
|
305
304
|
},
|
|
306
305
|
assetResolutionMode: {
|
|
307
|
-
style:
|
|
306
|
+
style: 'form',
|
|
308
307
|
explode: true,
|
|
309
308
|
},
|
|
310
309
|
accessContext: {
|
|
311
|
-
style:
|
|
310
|
+
style: 'form',
|
|
312
311
|
explode: true,
|
|
313
312
|
},
|
|
314
313
|
usageContext: {
|
|
315
|
-
style:
|
|
314
|
+
style: 'form',
|
|
316
315
|
explode: true,
|
|
317
316
|
},
|
|
318
317
|
},
|
|
319
318
|
parameters: {
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
'Accept-Encoding': z.string(),
|
|
320
|
+
'Roblox-Place-Id': z.number().int(),
|
|
322
321
|
AssetType: z.string(),
|
|
323
322
|
Accept: z.string(),
|
|
324
323
|
AssetFormat: z.string(),
|
|
325
|
-
|
|
324
|
+
'Roblox-AssetFormat': z.string(),
|
|
326
325
|
id: z.number().int().optional(),
|
|
327
326
|
userAssetId: z.number().int().optional(),
|
|
328
327
|
assetVersionId: z.number().int().optional(),
|
|
@@ -370,81 +369,81 @@ export const getAsset = endpoint({
|
|
|
370
369
|
* @param usageContext
|
|
371
370
|
*/
|
|
372
371
|
export const getAssetidAssetid = endpoint({
|
|
373
|
-
method:
|
|
374
|
-
path:
|
|
375
|
-
baseUrl:
|
|
376
|
-
requestFormat:
|
|
372
|
+
method: 'GET',
|
|
373
|
+
path: '/v1/assetId/:assetId',
|
|
374
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
375
|
+
requestFormat: 'json',
|
|
377
376
|
serializationMethod: {
|
|
378
377
|
assetId: {
|
|
379
|
-
style:
|
|
378
|
+
style: 'simple',
|
|
380
379
|
},
|
|
381
|
-
|
|
382
|
-
style:
|
|
380
|
+
'Accept-Encoding': {
|
|
381
|
+
style: 'simple',
|
|
383
382
|
},
|
|
384
|
-
|
|
385
|
-
style:
|
|
383
|
+
'Roblox-Place-Id': {
|
|
384
|
+
style: 'simple',
|
|
386
385
|
},
|
|
387
386
|
AssetType: {
|
|
388
|
-
style:
|
|
387
|
+
style: 'simple',
|
|
389
388
|
},
|
|
390
389
|
Accept: {
|
|
391
|
-
style:
|
|
390
|
+
style: 'simple',
|
|
392
391
|
},
|
|
393
392
|
AssetFormat: {
|
|
394
|
-
style:
|
|
393
|
+
style: 'simple',
|
|
395
394
|
},
|
|
396
|
-
|
|
397
|
-
style:
|
|
395
|
+
'Roblox-AssetFormat': {
|
|
396
|
+
style: 'simple',
|
|
398
397
|
},
|
|
399
398
|
skipSigningScripts: {
|
|
400
|
-
style:
|
|
399
|
+
style: 'form',
|
|
401
400
|
explode: true,
|
|
402
401
|
},
|
|
403
402
|
clientInsert: {
|
|
404
|
-
style:
|
|
403
|
+
style: 'form',
|
|
405
404
|
explode: true,
|
|
406
405
|
},
|
|
407
406
|
scriptinsert: {
|
|
408
|
-
style:
|
|
407
|
+
style: 'form',
|
|
409
408
|
explode: true,
|
|
410
409
|
},
|
|
411
410
|
modulePlaceId: {
|
|
412
|
-
style:
|
|
411
|
+
style: 'form',
|
|
413
412
|
explode: true,
|
|
414
413
|
},
|
|
415
414
|
serverplaceid: {
|
|
416
|
-
style:
|
|
415
|
+
style: 'form',
|
|
417
416
|
explode: true,
|
|
418
417
|
},
|
|
419
418
|
expectedAssetType: {
|
|
420
|
-
style:
|
|
419
|
+
style: 'form',
|
|
421
420
|
explode: true,
|
|
422
421
|
},
|
|
423
422
|
doNotFallbackToBaselineRepresentation: {
|
|
424
|
-
style:
|
|
423
|
+
style: 'form',
|
|
425
424
|
explode: true,
|
|
426
425
|
},
|
|
427
426
|
contentRepresentationPriorityList: {
|
|
428
|
-
style:
|
|
427
|
+
style: 'form',
|
|
429
428
|
explode: true,
|
|
430
429
|
},
|
|
431
430
|
accessContext: {
|
|
432
|
-
style:
|
|
431
|
+
style: 'form',
|
|
433
432
|
explode: true,
|
|
434
433
|
},
|
|
435
434
|
usageContext: {
|
|
436
|
-
style:
|
|
435
|
+
style: 'form',
|
|
437
436
|
explode: true,
|
|
438
437
|
},
|
|
439
438
|
},
|
|
440
439
|
parameters: {
|
|
441
440
|
assetId: z.number().int(),
|
|
442
|
-
|
|
443
|
-
|
|
441
|
+
'Accept-Encoding': z.string(),
|
|
442
|
+
'Roblox-Place-Id': z.number().int(),
|
|
444
443
|
AssetType: z.string(),
|
|
445
444
|
Accept: z.string(),
|
|
446
445
|
AssetFormat: z.string(),
|
|
447
|
-
|
|
446
|
+
'Roblox-AssetFormat': z.string(),
|
|
448
447
|
skipSigningScripts: z.boolean().optional(),
|
|
449
448
|
clientInsert: z.number().int().optional(),
|
|
450
449
|
scriptinsert: z.number().int().optional(),
|
|
@@ -482,85 +481,85 @@ export const getAssetidAssetid = endpoint({
|
|
|
482
481
|
* @param usageContext
|
|
483
482
|
*/
|
|
484
483
|
export const getAssetidAssetidVersionVersionnumber = endpoint({
|
|
485
|
-
method:
|
|
486
|
-
path:
|
|
487
|
-
baseUrl:
|
|
488
|
-
requestFormat:
|
|
484
|
+
method: 'GET',
|
|
485
|
+
path: '/v1/assetId/:assetId/version/:versionNumber',
|
|
486
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
487
|
+
requestFormat: 'json',
|
|
489
488
|
serializationMethod: {
|
|
490
489
|
assetId: {
|
|
491
|
-
style:
|
|
490
|
+
style: 'simple',
|
|
492
491
|
},
|
|
493
492
|
versionNumber: {
|
|
494
|
-
style:
|
|
493
|
+
style: 'simple',
|
|
495
494
|
},
|
|
496
|
-
|
|
497
|
-
style:
|
|
495
|
+
'Accept-Encoding': {
|
|
496
|
+
style: 'simple',
|
|
498
497
|
},
|
|
499
|
-
|
|
500
|
-
style:
|
|
498
|
+
'Roblox-Place-Id': {
|
|
499
|
+
style: 'simple',
|
|
501
500
|
},
|
|
502
501
|
AssetType: {
|
|
503
|
-
style:
|
|
502
|
+
style: 'simple',
|
|
504
503
|
},
|
|
505
504
|
Accept: {
|
|
506
|
-
style:
|
|
505
|
+
style: 'simple',
|
|
507
506
|
},
|
|
508
507
|
AssetFormat: {
|
|
509
|
-
style:
|
|
508
|
+
style: 'simple',
|
|
510
509
|
},
|
|
511
|
-
|
|
512
|
-
style:
|
|
510
|
+
'Roblox-AssetFormat': {
|
|
511
|
+
style: 'simple',
|
|
513
512
|
},
|
|
514
513
|
skipSigningScripts: {
|
|
515
|
-
style:
|
|
514
|
+
style: 'form',
|
|
516
515
|
explode: true,
|
|
517
516
|
},
|
|
518
517
|
clientInsert: {
|
|
519
|
-
style:
|
|
518
|
+
style: 'form',
|
|
520
519
|
explode: true,
|
|
521
520
|
},
|
|
522
521
|
scriptinsert: {
|
|
523
|
-
style:
|
|
522
|
+
style: 'form',
|
|
524
523
|
explode: true,
|
|
525
524
|
},
|
|
526
525
|
modulePlaceId: {
|
|
527
|
-
style:
|
|
526
|
+
style: 'form',
|
|
528
527
|
explode: true,
|
|
529
528
|
},
|
|
530
529
|
serverplaceid: {
|
|
531
|
-
style:
|
|
530
|
+
style: 'form',
|
|
532
531
|
explode: true,
|
|
533
532
|
},
|
|
534
533
|
expectedAssetType: {
|
|
535
|
-
style:
|
|
534
|
+
style: 'form',
|
|
536
535
|
explode: true,
|
|
537
536
|
},
|
|
538
537
|
doNotFallbackToBaselineRepresentation: {
|
|
539
|
-
style:
|
|
538
|
+
style: 'form',
|
|
540
539
|
explode: true,
|
|
541
540
|
},
|
|
542
541
|
contentRepresentationPriorityList: {
|
|
543
|
-
style:
|
|
542
|
+
style: 'form',
|
|
544
543
|
explode: true,
|
|
545
544
|
},
|
|
546
545
|
accessContext: {
|
|
547
|
-
style:
|
|
546
|
+
style: 'form',
|
|
548
547
|
explode: true,
|
|
549
548
|
},
|
|
550
549
|
usageContext: {
|
|
551
|
-
style:
|
|
550
|
+
style: 'form',
|
|
552
551
|
explode: true,
|
|
553
552
|
},
|
|
554
553
|
},
|
|
555
554
|
parameters: {
|
|
556
555
|
assetId: z.number().int(),
|
|
557
556
|
versionNumber: z.number().int(),
|
|
558
|
-
|
|
559
|
-
|
|
557
|
+
'Accept-Encoding': z.string(),
|
|
558
|
+
'Roblox-Place-Id': z.number().int(),
|
|
560
559
|
AssetType: z.string(),
|
|
561
560
|
Accept: z.string(),
|
|
562
561
|
AssetFormat: z.string(),
|
|
563
|
-
|
|
562
|
+
'Roblox-AssetFormat': z.string(),
|
|
564
563
|
skipSigningScripts: z.boolean().optional(),
|
|
565
564
|
clientInsert: z.number().int().optional(),
|
|
566
565
|
scriptinsert: z.number().int().optional(),
|
|
@@ -583,26 +582,26 @@ export const getAssetidAssetidVersionVersionnumber = endpoint({
|
|
|
583
582
|
* @param Roblox-Browser-Asset-Request
|
|
584
583
|
*/
|
|
585
584
|
export const postAssetsBatch = endpoint({
|
|
586
|
-
method:
|
|
587
|
-
path:
|
|
588
|
-
baseUrl:
|
|
589
|
-
requestFormat:
|
|
585
|
+
method: 'POST',
|
|
586
|
+
path: '/v1/assets/batch',
|
|
587
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
588
|
+
requestFormat: 'json',
|
|
590
589
|
serializationMethod: {
|
|
591
590
|
body: {},
|
|
592
|
-
|
|
593
|
-
style:
|
|
591
|
+
'Roblox-Place-Id': {
|
|
592
|
+
style: 'simple',
|
|
594
593
|
},
|
|
595
594
|
Accept: {
|
|
596
|
-
style:
|
|
595
|
+
style: 'simple',
|
|
597
596
|
},
|
|
598
|
-
|
|
599
|
-
style:
|
|
597
|
+
'Roblox-Browser-Asset-Request': {
|
|
598
|
+
style: 'simple',
|
|
600
599
|
},
|
|
601
600
|
},
|
|
602
601
|
parameters: {
|
|
603
|
-
|
|
602
|
+
'Roblox-Place-Id': z.number().int(),
|
|
604
603
|
Accept: z.string(),
|
|
605
|
-
|
|
604
|
+
'Roblox-Browser-Asset-Request': z.string(),
|
|
606
605
|
},
|
|
607
606
|
body: z.array(Roblox_Web_Assets_BatchAssetRequestItem),
|
|
608
607
|
response: z.array(Roblox_Web_Assets_AssetResponseItemV1),
|
|
@@ -627,69 +626,69 @@ export const postAssetsBatch = endpoint({
|
|
|
627
626
|
* @param expectedAssetType
|
|
628
627
|
*/
|
|
629
628
|
export const getMarassethashMarassethashMarchecksumMarchecksum = endpoint({
|
|
630
|
-
method:
|
|
631
|
-
path:
|
|
632
|
-
baseUrl:
|
|
633
|
-
requestFormat:
|
|
629
|
+
method: 'GET',
|
|
630
|
+
path: '/v1/marAssetHash/:marAssetHash/marCheckSum/:marCheckSum',
|
|
631
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
632
|
+
requestFormat: 'json',
|
|
634
633
|
serializationMethod: {
|
|
635
634
|
marAssetHash: {
|
|
636
|
-
style:
|
|
635
|
+
style: 'simple',
|
|
637
636
|
},
|
|
638
637
|
marCheckSum: {
|
|
639
|
-
style:
|
|
638
|
+
style: 'simple',
|
|
640
639
|
},
|
|
641
|
-
|
|
642
|
-
style:
|
|
640
|
+
'Accept-Encoding': {
|
|
641
|
+
style: 'simple',
|
|
643
642
|
},
|
|
644
|
-
|
|
645
|
-
style:
|
|
643
|
+
'Roblox-Place-Id': {
|
|
644
|
+
style: 'simple',
|
|
646
645
|
},
|
|
647
646
|
AssetType: {
|
|
648
|
-
style:
|
|
647
|
+
style: 'simple',
|
|
649
648
|
},
|
|
650
649
|
Accept: {
|
|
651
|
-
style:
|
|
650
|
+
style: 'simple',
|
|
652
651
|
},
|
|
653
652
|
AssetFormat: {
|
|
654
|
-
style:
|
|
653
|
+
style: 'simple',
|
|
655
654
|
},
|
|
656
|
-
|
|
657
|
-
style:
|
|
655
|
+
'Roblox-AssetFormat': {
|
|
656
|
+
style: 'simple',
|
|
658
657
|
},
|
|
659
658
|
skipSigningScripts: {
|
|
660
|
-
style:
|
|
659
|
+
style: 'form',
|
|
661
660
|
explode: true,
|
|
662
661
|
},
|
|
663
662
|
clientInsert: {
|
|
664
|
-
style:
|
|
663
|
+
style: 'form',
|
|
665
664
|
explode: true,
|
|
666
665
|
},
|
|
667
666
|
scriptinsert: {
|
|
668
|
-
style:
|
|
667
|
+
style: 'form',
|
|
669
668
|
explode: true,
|
|
670
669
|
},
|
|
671
670
|
modulePlaceId: {
|
|
672
|
-
style:
|
|
671
|
+
style: 'form',
|
|
673
672
|
explode: true,
|
|
674
673
|
},
|
|
675
674
|
serverplaceid: {
|
|
676
|
-
style:
|
|
675
|
+
style: 'form',
|
|
677
676
|
explode: true,
|
|
678
677
|
},
|
|
679
678
|
expectedAssetType: {
|
|
680
|
-
style:
|
|
679
|
+
style: 'form',
|
|
681
680
|
explode: true,
|
|
682
681
|
},
|
|
683
682
|
},
|
|
684
683
|
parameters: {
|
|
685
684
|
marAssetHash: z.string(),
|
|
686
685
|
marCheckSum: z.string(),
|
|
687
|
-
|
|
688
|
-
|
|
686
|
+
'Accept-Encoding': z.string(),
|
|
687
|
+
'Roblox-Place-Id': z.number().int(),
|
|
689
688
|
AssetType: z.string(),
|
|
690
689
|
Accept: z.string(),
|
|
691
690
|
AssetFormat: z.string(),
|
|
692
|
-
|
|
691
|
+
'Roblox-AssetFormat': z.string(),
|
|
693
692
|
skipSigningScripts: z.boolean().optional(),
|
|
694
693
|
clientInsert: z.number().int().optional(),
|
|
695
694
|
scriptinsert: z.number().int().optional(),
|
|
@@ -737,81 +736,81 @@ While you are able to make requests to this endpoint with Cookie authentication
|
|
|
737
736
|
Expect unannounced removal of this second route in the future.
|
|
738
737
|
*/
|
|
739
738
|
export const getOpencloudAssetidAssetid = endpoint({
|
|
740
|
-
method:
|
|
741
|
-
path:
|
|
742
|
-
baseUrl:
|
|
743
|
-
requestFormat:
|
|
739
|
+
method: 'GET',
|
|
740
|
+
path: '/v1/openCloud/assetId/:assetId',
|
|
741
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
742
|
+
requestFormat: 'json',
|
|
744
743
|
serializationMethod: {
|
|
745
744
|
assetId: {
|
|
746
|
-
style:
|
|
745
|
+
style: 'simple',
|
|
747
746
|
},
|
|
748
|
-
|
|
749
|
-
style:
|
|
747
|
+
'Accept-Encoding': {
|
|
748
|
+
style: 'simple',
|
|
750
749
|
},
|
|
751
|
-
|
|
752
|
-
style:
|
|
750
|
+
'Roblox-Place-Id': {
|
|
751
|
+
style: 'simple',
|
|
753
752
|
},
|
|
754
753
|
AssetType: {
|
|
755
|
-
style:
|
|
754
|
+
style: 'simple',
|
|
756
755
|
},
|
|
757
756
|
Accept: {
|
|
758
|
-
style:
|
|
757
|
+
style: 'simple',
|
|
759
758
|
},
|
|
760
759
|
AssetFormat: {
|
|
761
|
-
style:
|
|
760
|
+
style: 'simple',
|
|
762
761
|
},
|
|
763
|
-
|
|
764
|
-
style:
|
|
762
|
+
'Roblox-AssetFormat': {
|
|
763
|
+
style: 'simple',
|
|
765
764
|
},
|
|
766
765
|
skipSigningScripts: {
|
|
767
|
-
style:
|
|
766
|
+
style: 'form',
|
|
768
767
|
explode: true,
|
|
769
768
|
},
|
|
770
769
|
clientInsert: {
|
|
771
|
-
style:
|
|
770
|
+
style: 'form',
|
|
772
771
|
explode: true,
|
|
773
772
|
},
|
|
774
773
|
scriptinsert: {
|
|
775
|
-
style:
|
|
774
|
+
style: 'form',
|
|
776
775
|
explode: true,
|
|
777
776
|
},
|
|
778
777
|
modulePlaceId: {
|
|
779
|
-
style:
|
|
778
|
+
style: 'form',
|
|
780
779
|
explode: true,
|
|
781
780
|
},
|
|
782
781
|
serverplaceid: {
|
|
783
|
-
style:
|
|
782
|
+
style: 'form',
|
|
784
783
|
explode: true,
|
|
785
784
|
},
|
|
786
785
|
expectedAssetType: {
|
|
787
|
-
style:
|
|
786
|
+
style: 'form',
|
|
788
787
|
explode: true,
|
|
789
788
|
},
|
|
790
789
|
doNotFallbackToBaselineRepresentation: {
|
|
791
|
-
style:
|
|
790
|
+
style: 'form',
|
|
792
791
|
explode: true,
|
|
793
792
|
},
|
|
794
793
|
contentRepresentationPriorityList: {
|
|
795
|
-
style:
|
|
794
|
+
style: 'form',
|
|
796
795
|
explode: true,
|
|
797
796
|
},
|
|
798
797
|
accessContext: {
|
|
799
|
-
style:
|
|
798
|
+
style: 'form',
|
|
800
799
|
explode: true,
|
|
801
800
|
},
|
|
802
801
|
usageContext: {
|
|
803
|
-
style:
|
|
802
|
+
style: 'form',
|
|
804
803
|
explode: true,
|
|
805
804
|
},
|
|
806
805
|
},
|
|
807
806
|
parameters: {
|
|
808
807
|
assetId: z.number().int(),
|
|
809
|
-
|
|
810
|
-
|
|
808
|
+
'Accept-Encoding': z.string().optional(),
|
|
809
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
811
810
|
AssetType: z.string().optional(),
|
|
812
811
|
Accept: z.string().optional(),
|
|
813
812
|
AssetFormat: z.string().optional(),
|
|
814
|
-
|
|
813
|
+
'Roblox-AssetFormat': z.string().optional(),
|
|
815
814
|
skipSigningScripts: z.boolean().optional(),
|
|
816
815
|
clientInsert: z.number().int().optional(),
|
|
817
816
|
scriptinsert: z.number().int().optional(),
|
|
@@ -858,85 +857,85 @@ While you are able to make requests to this endpoint with Cookie authentication
|
|
|
858
857
|
Expect unannounced removal of this second route in the future.
|
|
859
858
|
*/
|
|
860
859
|
export const getOpencloudAssetidAssetidVersionVersionnumber = endpoint({
|
|
861
|
-
method:
|
|
862
|
-
path:
|
|
863
|
-
baseUrl:
|
|
864
|
-
requestFormat:
|
|
860
|
+
method: 'GET',
|
|
861
|
+
path: '/v1/openCloud/assetId/:assetId/version/:versionNumber',
|
|
862
|
+
baseUrl: 'https://assetdelivery.roblox.com',
|
|
863
|
+
requestFormat: 'json',
|
|
865
864
|
serializationMethod: {
|
|
866
865
|
assetId: {
|
|
867
|
-
style:
|
|
866
|
+
style: 'simple',
|
|
868
867
|
},
|
|
869
868
|
versionNumber: {
|
|
870
|
-
style:
|
|
869
|
+
style: 'simple',
|
|
871
870
|
},
|
|
872
|
-
|
|
873
|
-
style:
|
|
871
|
+
'Accept-Encoding': {
|
|
872
|
+
style: 'simple',
|
|
874
873
|
},
|
|
875
|
-
|
|
876
|
-
style:
|
|
874
|
+
'Roblox-Place-Id': {
|
|
875
|
+
style: 'simple',
|
|
877
876
|
},
|
|
878
877
|
AssetType: {
|
|
879
|
-
style:
|
|
878
|
+
style: 'simple',
|
|
880
879
|
},
|
|
881
880
|
Accept: {
|
|
882
|
-
style:
|
|
881
|
+
style: 'simple',
|
|
883
882
|
},
|
|
884
883
|
AssetFormat: {
|
|
885
|
-
style:
|
|
884
|
+
style: 'simple',
|
|
886
885
|
},
|
|
887
|
-
|
|
888
|
-
style:
|
|
886
|
+
'Roblox-AssetFormat': {
|
|
887
|
+
style: 'simple',
|
|
889
888
|
},
|
|
890
889
|
skipSigningScripts: {
|
|
891
|
-
style:
|
|
890
|
+
style: 'form',
|
|
892
891
|
explode: true,
|
|
893
892
|
},
|
|
894
893
|
clientInsert: {
|
|
895
|
-
style:
|
|
894
|
+
style: 'form',
|
|
896
895
|
explode: true,
|
|
897
896
|
},
|
|
898
897
|
scriptinsert: {
|
|
899
|
-
style:
|
|
898
|
+
style: 'form',
|
|
900
899
|
explode: true,
|
|
901
900
|
},
|
|
902
901
|
modulePlaceId: {
|
|
903
|
-
style:
|
|
902
|
+
style: 'form',
|
|
904
903
|
explode: true,
|
|
905
904
|
},
|
|
906
905
|
serverplaceid: {
|
|
907
|
-
style:
|
|
906
|
+
style: 'form',
|
|
908
907
|
explode: true,
|
|
909
908
|
},
|
|
910
909
|
expectedAssetType: {
|
|
911
|
-
style:
|
|
910
|
+
style: 'form',
|
|
912
911
|
explode: true,
|
|
913
912
|
},
|
|
914
913
|
doNotFallbackToBaselineRepresentation: {
|
|
915
|
-
style:
|
|
914
|
+
style: 'form',
|
|
916
915
|
explode: true,
|
|
917
916
|
},
|
|
918
917
|
contentRepresentationPriorityList: {
|
|
919
|
-
style:
|
|
918
|
+
style: 'form',
|
|
920
919
|
explode: true,
|
|
921
920
|
},
|
|
922
921
|
accessContext: {
|
|
923
|
-
style:
|
|
922
|
+
style: 'form',
|
|
924
923
|
explode: true,
|
|
925
924
|
},
|
|
926
925
|
usageContext: {
|
|
927
|
-
style:
|
|
926
|
+
style: 'form',
|
|
928
927
|
explode: true,
|
|
929
928
|
},
|
|
930
929
|
},
|
|
931
930
|
parameters: {
|
|
932
931
|
assetId: z.number().int(),
|
|
933
932
|
versionNumber: z.number().int(),
|
|
934
|
-
|
|
935
|
-
|
|
933
|
+
'Accept-Encoding': z.string().optional(),
|
|
934
|
+
'Roblox-Place-Id': z.number().int().optional(),
|
|
936
935
|
AssetType: z.string().optional(),
|
|
937
936
|
Accept: z.string().optional(),
|
|
938
937
|
AssetFormat: z.string().optional(),
|
|
939
|
-
|
|
938
|
+
'Roblox-AssetFormat': z.string().optional(),
|
|
940
939
|
skipSigningScripts: z.boolean().optional(),
|
|
941
940
|
clientInsert: z.number().int().optional(),
|
|
942
941
|
scriptinsert: z.number().int().optional(),
|