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,21 +1,20 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
|
-
const Roblox_LocalizationTables_Api_AutoLocalizationMetadataResponse = z.object(
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
);
|
|
4
|
+
const Roblox_LocalizationTables_Api_AutoLocalizationMetadataResponse = z.object({
|
|
5
|
+
isReactVersionEnabledForAutoLocalizationSettings: z.boolean(),
|
|
6
|
+
isTabbedUIEnabledForConfigureLocalizationPage: z.boolean(),
|
|
7
|
+
isAutomaticTranslationToggleUIEnabled: z.boolean(),
|
|
8
|
+
isAutomaticTranslationQuotaUIEnabled: z.boolean(),
|
|
9
|
+
});
|
|
12
10
|
const Roblox_LocalizationTables_Api_Language = z.object({
|
|
13
11
|
name: z.string(),
|
|
14
12
|
nativeName: z.string(),
|
|
15
13
|
languageCode: z.string(),
|
|
16
14
|
});
|
|
17
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_LocalizationTables_Api_Language_ =
|
|
18
|
-
|
|
15
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_LocalizationTables_Api_Language_ = z.object({
|
|
16
|
+
data: z.array(Roblox_LocalizationTables_Api_Language),
|
|
17
|
+
});
|
|
19
18
|
const Roblox_LocalizationTables_Api_EntryOperationLimits = z.object({
|
|
20
19
|
maxContextLength: z.number().int(),
|
|
21
20
|
maxKeyLength: z.number().int(),
|
|
@@ -30,19 +29,18 @@ const Roblox_LocalizationTables_Api_GetLimitsResponse = z.object({
|
|
|
30
29
|
entryOperationLimits: Roblox_LocalizationTables_Api_EntryOperationLimits,
|
|
31
30
|
tableOperationLimits: Roblox_LocalizationTables_Api_TableOperationLimits,
|
|
32
31
|
});
|
|
33
|
-
const Roblox_LocalizationTables_Api_LocalizationTablesMetadataResponse =
|
|
34
|
-
z.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
});
|
|
32
|
+
const Roblox_LocalizationTables_Api_LocalizationTablesMetadataResponse = z.object({
|
|
33
|
+
isBulkUploadFeatureEnabled: z.boolean(),
|
|
34
|
+
isCsvDownloadEnabled: z.boolean(),
|
|
35
|
+
isAccessToTranslationMetaDataEnabled: z.boolean(),
|
|
36
|
+
isTranslationManagementRedirectionEnabled: z.boolean(),
|
|
37
|
+
isUntranslatedFilterEnabled: z.boolean(),
|
|
38
|
+
isAutomaticTranslationFilterEnabled: z.boolean(),
|
|
39
|
+
});
|
|
42
40
|
const Roblox_LocalizationTables_Api_GetTableResponse = z.object({
|
|
43
41
|
id: z.string().uuid(),
|
|
44
42
|
name: z.string(),
|
|
45
|
-
ownerType: z.enum([
|
|
43
|
+
ownerType: z.enum(['User', 'Group']),
|
|
46
44
|
ownerId: z.number().int(),
|
|
47
45
|
assetId: z.number().int(),
|
|
48
46
|
});
|
|
@@ -50,7 +48,7 @@ const Roblox_LocalizationTables_Api_EntryIdentifier = z.object({
|
|
|
50
48
|
key: z.string(),
|
|
51
49
|
context: z.string(),
|
|
52
50
|
source: z.string(),
|
|
53
|
-
entryFormat: z.enum([
|
|
51
|
+
entryFormat: z.enum(['Invalid', 'Legacy', 'Icu']),
|
|
54
52
|
});
|
|
55
53
|
const Roblox_InGameContentTables_Client_GameLocation = z.object({
|
|
56
54
|
path: z.string(),
|
|
@@ -58,12 +56,12 @@ const Roblox_InGameContentTables_Client_GameLocation = z.object({
|
|
|
58
56
|
const Roblox_LocalizationTables_Api_EntryMetadata = z.object({
|
|
59
57
|
example: z.string(),
|
|
60
58
|
gameLocations: z.array(Roblox_InGameContentTables_Client_GameLocation),
|
|
61
|
-
entryFormat: z.enum([
|
|
59
|
+
entryFormat: z.enum(['Invalid', 'Legacy', 'Icu']),
|
|
62
60
|
});
|
|
63
61
|
const Roblox_Localizationtables_Localizationtables_V1_ChangeAgent = z.object({
|
|
64
|
-
ChangeAgentType: z.enum([
|
|
62
|
+
ChangeAgentType: z.enum(['Invalid', 'User', 'Automation', 'Default']),
|
|
65
63
|
Id: z.string(),
|
|
66
|
-
OptionalIdCase: z.enum([
|
|
64
|
+
OptionalIdCase: z.enum(['None', 'Id']),
|
|
67
65
|
});
|
|
68
66
|
const Roblox_LocalizationTables_Api_PatchTranslation = z.object({
|
|
69
67
|
locale: z.string(),
|
|
@@ -88,7 +86,7 @@ const Roblox_LocalizationTables_Api_Error = z.object({
|
|
|
88
86
|
});
|
|
89
87
|
const Roblox_LocalizationTables_Api_Translator = z.object({
|
|
90
88
|
id: z.number().int(),
|
|
91
|
-
agentType: z.enum([
|
|
89
|
+
agentType: z.enum(['User', 'Automation']),
|
|
92
90
|
});
|
|
93
91
|
const Roblox_LocalizationTables_Api_Translation = z.object({
|
|
94
92
|
locale: z.string(),
|
|
@@ -109,12 +107,8 @@ const Roblox_LocalizationTables_Api_ModifiedEntry = z.object({
|
|
|
109
107
|
translations: z.array(Roblox_LocalizationTables_Api_Translation),
|
|
110
108
|
});
|
|
111
109
|
const Roblox_LocalizationTables_Api_UpdateTableContentsResponse = z.object({
|
|
112
|
-
failedEntriesAndTranslations: z.array(
|
|
113
|
-
|
|
114
|
-
),
|
|
115
|
-
modifiedEntriesAndTranslations: z.array(
|
|
116
|
-
Roblox_LocalizationTables_Api_ModifiedEntry
|
|
117
|
-
),
|
|
110
|
+
failedEntriesAndTranslations: z.array(Roblox_LocalizationTables_Api_FailedEntry),
|
|
111
|
+
modifiedEntriesAndTranslations: z.array(Roblox_LocalizationTables_Api_ModifiedEntry),
|
|
118
112
|
});
|
|
119
113
|
const Roblox_LocalizationTables_Api_Entry = z.object({
|
|
120
114
|
identifier: Roblox_LocalizationTables_Api_EntryIdentifier,
|
|
@@ -132,23 +126,22 @@ const Roblox_LocalizationTables_Api_GetTableEntryCountResponse = z.object({
|
|
|
132
126
|
entryCount: z.number().int(),
|
|
133
127
|
});
|
|
134
128
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
|
|
135
|
-
const Roblox_LocalizationTables_Api_RaiseEventForAutoScrapedEntriesCleanupRequest =
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
const Roblox_LocalizationTables_Api_SetAutolocalizationTableForGameRequest =
|
|
148
|
-
z.object({ tableId: z.string().uuid() });
|
|
129
|
+
const Roblox_LocalizationTables_Api_RaiseEventForAutoScrapedEntriesCleanupRequest = z.object({
|
|
130
|
+
maxAgeForFlush: z.string(),
|
|
131
|
+
});
|
|
132
|
+
const Roblox_LocalizationTables_Api_GameAutolocalizationInformationResponse = z.object({
|
|
133
|
+
isAutolocalizationEnabled: z.boolean(),
|
|
134
|
+
isAutomaticEntriesSettingEnabled: z.boolean(),
|
|
135
|
+
isAutomaticEntriesDeletionEnabled: z.boolean(),
|
|
136
|
+
shouldUseLocalizationTable: z.boolean(),
|
|
137
|
+
autoLocalizationTableId: z.string().uuid(),
|
|
138
|
+
sourceLanguage: z.string(),
|
|
139
|
+
assetId: z.number().int(),
|
|
140
|
+
});
|
|
141
|
+
const Roblox_LocalizationTables_Api_SetAutolocalizationTableForGameRequest = z.object({ tableId: z.string().uuid() });
|
|
149
142
|
const Roblox_LocalizationTables_Api_CreateTableRequest = z.object({
|
|
150
143
|
name: z.string(),
|
|
151
|
-
ownerType: z.enum([
|
|
144
|
+
ownerType: z.enum(['User', 'Group']),
|
|
152
145
|
ownerId: z.number().int(),
|
|
153
146
|
});
|
|
154
147
|
const Roblox_LocalizationTables_Api_CreateTableResponse = z.object({
|
|
@@ -160,46 +153,33 @@ const Roblox_LocalizationTables_Api_EntryIdentifierWithTranslation = z.object({
|
|
|
160
153
|
key: z.string(),
|
|
161
154
|
context: z.string(),
|
|
162
155
|
source: z.string(),
|
|
163
|
-
entryFormat: z.enum([
|
|
164
|
-
});
|
|
165
|
-
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackRequest =
|
|
166
|
-
z.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
Roblox_LocalizationTables_Api_EntryIdentifierWithTranslation
|
|
170
|
-
),
|
|
171
|
-
});
|
|
156
|
+
entryFormat: z.enum(['Invalid', 'Legacy', 'Icu']),
|
|
157
|
+
});
|
|
158
|
+
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackRequest = z.object({
|
|
159
|
+
sourceLocale: z.string(),
|
|
160
|
+
entries: z.array(Roblox_LocalizationTables_Api_EntryIdentifierWithTranslation),
|
|
161
|
+
});
|
|
172
162
|
const Roblox_LocalizationTables_Api_EntryTranslationFeedback = z.object({
|
|
173
163
|
identifier: Roblox_LocalizationTables_Api_EntryIdentifierWithTranslation,
|
|
174
164
|
feedbackCount: z.number().int(),
|
|
175
165
|
playerSuggestionText: z.array(z.string()),
|
|
176
|
-
reasons: z.array(
|
|
177
|
-
z.enum([
|
|
178
|
-
"None",
|
|
179
|
-
"Untranslated",
|
|
180
|
-
"Inaccurate",
|
|
181
|
-
"SpellingOrGrammar",
|
|
182
|
-
"Inappropriate",
|
|
183
|
-
])
|
|
184
|
-
),
|
|
166
|
+
reasons: z.array(z.enum(['None', 'Untranslated', 'Inaccurate', 'SpellingOrGrammar', 'Inappropriate'])),
|
|
185
167
|
robloxSuggestionText: z.string(),
|
|
186
168
|
});
|
|
187
|
-
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackResponse =
|
|
188
|
-
z.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
});
|
|
169
|
+
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackResponse = z.object({
|
|
170
|
+
tableId: z.string().uuid(),
|
|
171
|
+
entries: z.array(Roblox_LocalizationTables_Api_EntryTranslationFeedback),
|
|
172
|
+
});
|
|
192
173
|
const Roblox_LocalizationTables_Api_CursorEntryIdentifier = z.object({
|
|
193
174
|
cursor: z.string(),
|
|
194
175
|
identifier: Roblox_LocalizationTables_Api_EntryIdentifier,
|
|
195
176
|
count: z.number().int(),
|
|
196
|
-
sortOrder: z.enum([
|
|
177
|
+
sortOrder: z.enum(['Asc', 'Desc']),
|
|
178
|
+
});
|
|
179
|
+
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationHistoryRequest = z.object({
|
|
180
|
+
locale: z.string(),
|
|
181
|
+
entries: z.array(Roblox_LocalizationTables_Api_CursorEntryIdentifier),
|
|
197
182
|
});
|
|
198
|
-
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationHistoryRequest =
|
|
199
|
-
z.object({
|
|
200
|
-
locale: z.string(),
|
|
201
|
-
entries: z.array(Roblox_LocalizationTables_Api_CursorEntryIdentifier),
|
|
202
|
-
});
|
|
203
183
|
const Roblox_LocalizationTables_Api_TranslationHistory = z.object({
|
|
204
184
|
translationText: z.string(),
|
|
205
185
|
translator: Roblox_LocalizationTables_Api_Translator,
|
|
@@ -210,23 +190,17 @@ const Roblox_LocalizationTables_Api_EntryTranslationHistoryPaged = z.object({
|
|
|
210
190
|
history: z.array(Roblox_LocalizationTables_Api_TranslationHistory),
|
|
211
191
|
nextCursor: z.string(),
|
|
212
192
|
});
|
|
213
|
-
const Roblox_LocalizationTables_Api_FailedEntryTranslationHistoryPaged =
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
z.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
Roblox_LocalizationTables_Api_EntryTranslationHistoryPaged
|
|
225
|
-
),
|
|
226
|
-
failedEntries: z.array(
|
|
227
|
-
Roblox_LocalizationTables_Api_FailedEntryTranslationHistoryPaged
|
|
228
|
-
),
|
|
229
|
-
});
|
|
193
|
+
const Roblox_LocalizationTables_Api_FailedEntryTranslationHistoryPaged = z.object({
|
|
194
|
+
identifier: Roblox_LocalizationTables_Api_EntryIdentifier,
|
|
195
|
+
count: z.number().int(),
|
|
196
|
+
error: Roblox_LocalizationTables_Api_Error,
|
|
197
|
+
});
|
|
198
|
+
const Roblox_LocalizationTables_Api_GetTableEntriesTranslationHistoryResponse = z.object({
|
|
199
|
+
tableId: z.string().uuid(),
|
|
200
|
+
locale: z.string(),
|
|
201
|
+
entries: z.array(Roblox_LocalizationTables_Api_EntryTranslationHistoryPaged),
|
|
202
|
+
failedEntries: z.array(Roblox_LocalizationTables_Api_FailedEntryTranslationHistoryPaged),
|
|
203
|
+
});
|
|
230
204
|
const Roblox_LocalizationTables_Api_MatchedEntry = z.object({
|
|
231
205
|
source: z.string(),
|
|
232
206
|
matchedParamIndex: z.number().int(),
|
|
@@ -244,113 +218,110 @@ const Roblox_LocalizationTables_Api_AutoScrapeEntry = z.object({
|
|
|
244
218
|
screenshot: z.string(),
|
|
245
219
|
meta: Roblox_LocalizationTables_Api_AutoScrapeEntryMetadata,
|
|
246
220
|
});
|
|
247
|
-
const Roblox_LocalizationTables_Api_IngestContentMetadataPlaceInformation =
|
|
248
|
-
|
|
221
|
+
const Roblox_LocalizationTables_Api_IngestContentMetadataPlaceInformation = z.object({
|
|
222
|
+
placeId: z.number().int(),
|
|
223
|
+
placeVersionNumber: z.number().int(),
|
|
224
|
+
});
|
|
249
225
|
const Roblox_LocalizationTables_Api_IngestContentMetadata = z.object({
|
|
250
|
-
placeInformation:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
z.
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
isAutomaticEntriesDeletionsEnabled: z.boolean(),
|
|
263
|
-
shouldUseLocalizationTable: z.boolean(),
|
|
264
|
-
});
|
|
226
|
+
placeInformation: Roblox_LocalizationTables_Api_IngestContentMetadataPlaceInformation,
|
|
227
|
+
});
|
|
228
|
+
const Roblox_LocalizationTables_Api_IngestAutoScrapedContentForGameRequest = z.object({
|
|
229
|
+
entries: z.array(Roblox_LocalizationTables_Api_AutoScrapeEntry),
|
|
230
|
+
metadata: Roblox_LocalizationTables_Api_IngestContentMetadata,
|
|
231
|
+
});
|
|
232
|
+
const Roblox_LocalizationTables_Api_SetAutolocalizationSettingsForGameRequest = z.object({
|
|
233
|
+
isAutolocalizationEnabled: z.boolean(),
|
|
234
|
+
isAutomaticEntriesSettingEnabled: z.boolean(),
|
|
235
|
+
isAutomaticEntriesDeletionsEnabled: z.boolean(),
|
|
236
|
+
shouldUseLocalizationTable: z.boolean(),
|
|
237
|
+
});
|
|
265
238
|
|
|
266
239
|
/**
|
|
267
240
|
* @api POST https://localizationtables.roblox.com/v1/auto-localization-table/games/:gameId/assets-generation-request
|
|
268
241
|
* @summary Generates localization asset of a game.
|
|
269
242
|
* @param gameId The game id.
|
|
270
243
|
*/
|
|
271
|
-
export const postAutoLocalizationTableGamesGameidAssetsGenerationRequest =
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
description: `3: Invalid table id.
|
|
244
|
+
export const postAutoLocalizationTableGamesGameidAssetsGenerationRequest = endpoint({
|
|
245
|
+
method: 'POST',
|
|
246
|
+
path: '/v1/auto-localization-table/games/:gameId/assets-generation-request',
|
|
247
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
248
|
+
requestFormat: 'json',
|
|
249
|
+
serializationMethod: {
|
|
250
|
+
gameId: {
|
|
251
|
+
style: 'simple',
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
parameters: {
|
|
255
|
+
gameId: z.number().int(),
|
|
256
|
+
},
|
|
257
|
+
response: z.object({}),
|
|
258
|
+
errors: [
|
|
259
|
+
{
|
|
260
|
+
status: 400,
|
|
261
|
+
description: `3: Invalid table id.
|
|
290
262
|
14: Invalid game id
|
|
291
263
|
29: You do not have permission to generate asset for this table.
|
|
292
264
|
32: LocalizationTable is not available for the game.
|
|
293
265
|
34: Actor provided is invalid`,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
status: 401,
|
|
269
|
+
description: `0: Authorization has been denied for this request.`,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
status: 403,
|
|
273
|
+
description: `0: Token Validation Failed`,
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
status: 429,
|
|
277
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
});
|
|
309
281
|
/**
|
|
310
282
|
* @api POST https://localizationtables.roblox.com/v1/auto-localization-table/games/:gameId/auto-scrape-cleanup-request
|
|
311
283
|
* @summary Enqueues an event to flush the auto scraped entries which doesn't have translations.
|
|
312
284
|
* @param body
|
|
313
285
|
* @param gameId The id of the game.
|
|
314
286
|
*/
|
|
315
|
-
export const postAutoLocalizationTableGamesGameidAutoScrapeCleanupRequest =
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
description: `14: Invalid game id
|
|
287
|
+
export const postAutoLocalizationTableGamesGameidAutoScrapeCleanupRequest = endpoint({
|
|
288
|
+
method: 'POST',
|
|
289
|
+
path: '/v1/auto-localization-table/games/:gameId/auto-scrape-cleanup-request',
|
|
290
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
291
|
+
requestFormat: 'json',
|
|
292
|
+
serializationMethod: {
|
|
293
|
+
body: {},
|
|
294
|
+
gameId: {
|
|
295
|
+
style: 'simple',
|
|
296
|
+
},
|
|
297
|
+
},
|
|
298
|
+
parameters: {
|
|
299
|
+
gameId: z.number().int(),
|
|
300
|
+
},
|
|
301
|
+
body: z.object({ maxAgeForFlush: z.string() }),
|
|
302
|
+
response: z.object({}),
|
|
303
|
+
errors: [
|
|
304
|
+
{
|
|
305
|
+
status: 400,
|
|
306
|
+
description: `14: Invalid game id
|
|
336
307
|
31: You do not have permission to flush auto scraped entries asset for this game.
|
|
337
308
|
32: LocalizationTable is not available for the game.
|
|
338
309
|
34: Actor provided is invalid`,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
status: 401,
|
|
313
|
+
description: `0: Authorization has been denied for this request.`,
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
status: 403,
|
|
317
|
+
description: `0: Token Validation Failed`,
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
status: 429,
|
|
321
|
+
description: `33: Too many attempts to flush the game.Please try again later.`,
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
});
|
|
354
325
|
/**
|
|
355
326
|
* @api PATCH https://localizationtables.roblox.com/v1/auto-localization-table/games/:gameId/ingestion
|
|
356
327
|
* @summary Ingests entries for auto localization. Needs to be an authorized user.
|
|
@@ -358,14 +329,14 @@ export const postAutoLocalizationTableGamesGameidAutoScrapeCleanupRequest =
|
|
|
358
329
|
* @param gameId The game id.
|
|
359
330
|
*/
|
|
360
331
|
export const patchAutoLocalizationTableGamesGameidIngestion = endpoint({
|
|
361
|
-
method:
|
|
362
|
-
path:
|
|
363
|
-
baseUrl:
|
|
364
|
-
requestFormat:
|
|
332
|
+
method: 'PATCH',
|
|
333
|
+
path: '/v1/auto-localization-table/games/:gameId/ingestion',
|
|
334
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
335
|
+
requestFormat: 'json',
|
|
365
336
|
serializationMethod: {
|
|
366
337
|
body: {},
|
|
367
338
|
gameId: {
|
|
368
|
-
style:
|
|
339
|
+
style: 'simple',
|
|
369
340
|
},
|
|
370
341
|
},
|
|
371
342
|
parameters: {
|
|
@@ -400,20 +371,19 @@ export const patchAutoLocalizationTableGamesGameidIngestion = endpoint({
|
|
|
400
371
|
* @param gameId
|
|
401
372
|
*/
|
|
402
373
|
export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
403
|
-
method:
|
|
404
|
-
path:
|
|
405
|
-
baseUrl:
|
|
406
|
-
requestFormat:
|
|
374
|
+
method: 'POST',
|
|
375
|
+
path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
|
|
376
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
377
|
+
requestFormat: 'json',
|
|
407
378
|
serializationMethod: {
|
|
408
379
|
gameId: {
|
|
409
|
-
style:
|
|
380
|
+
style: 'simple',
|
|
410
381
|
},
|
|
411
382
|
},
|
|
412
383
|
parameters: {
|
|
413
384
|
gameId: z.number().int(),
|
|
414
385
|
},
|
|
415
|
-
response:
|
|
416
|
-
Roblox_LocalizationTables_Api_GameAutolocalizationInformationResponse,
|
|
386
|
+
response: Roblox_LocalizationTables_Api_GameAutolocalizationInformationResponse,
|
|
417
387
|
errors: [
|
|
418
388
|
{
|
|
419
389
|
status: 401,
|
|
@@ -431,14 +401,14 @@ export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
|
431
401
|
* @param gameId
|
|
432
402
|
*/
|
|
433
403
|
export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
434
|
-
method:
|
|
435
|
-
path:
|
|
436
|
-
baseUrl:
|
|
437
|
-
requestFormat:
|
|
404
|
+
method: 'PATCH',
|
|
405
|
+
path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
|
|
406
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
407
|
+
requestFormat: 'json',
|
|
438
408
|
serializationMethod: {
|
|
439
409
|
body: {},
|
|
440
410
|
gameId: {
|
|
441
|
-
style:
|
|
411
|
+
style: 'simple',
|
|
442
412
|
},
|
|
443
413
|
},
|
|
444
414
|
parameters: {
|
|
@@ -464,14 +434,14 @@ export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
|
464
434
|
* @param gameId The id of the game.
|
|
465
435
|
*/
|
|
466
436
|
export const patchAutolocalizationGamesGameidSettings = endpoint({
|
|
467
|
-
method:
|
|
468
|
-
path:
|
|
469
|
-
baseUrl:
|
|
470
|
-
requestFormat:
|
|
437
|
+
method: 'PATCH',
|
|
438
|
+
path: '/v1/autolocalization/games/:gameId/settings',
|
|
439
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
440
|
+
requestFormat: 'json',
|
|
471
441
|
serializationMethod: {
|
|
472
442
|
body: {},
|
|
473
443
|
gameId: {
|
|
474
|
-
style:
|
|
444
|
+
style: 'simple',
|
|
475
445
|
},
|
|
476
446
|
},
|
|
477
447
|
parameters: {
|
|
@@ -505,10 +475,10 @@ export const patchAutolocalizationGamesGameidSettings = endpoint({
|
|
|
505
475
|
* @summary Metadata for AutoLocalization Configuration
|
|
506
476
|
*/
|
|
507
477
|
export const getAutolocalizationMetadata = endpoint({
|
|
508
|
-
method:
|
|
509
|
-
path:
|
|
510
|
-
baseUrl:
|
|
511
|
-
requestFormat:
|
|
478
|
+
method: 'GET',
|
|
479
|
+
path: '/v1/autolocalization/metadata',
|
|
480
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
481
|
+
requestFormat: 'json',
|
|
512
482
|
response: Roblox_LocalizationTables_Api_AutoLocalizationMetadataResponse,
|
|
513
483
|
errors: [
|
|
514
484
|
{
|
|
@@ -522,12 +492,11 @@ export const getAutolocalizationMetadata = endpoint({
|
|
|
522
492
|
* @summary Gets the supported language codes that can be used by localization tables.
|
|
523
493
|
*/
|
|
524
494
|
export const getLocalizationTableAvailableLanguages = endpoint({
|
|
525
|
-
method:
|
|
526
|
-
path:
|
|
527
|
-
baseUrl:
|
|
528
|
-
requestFormat:
|
|
529
|
-
response:
|
|
530
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_LocalizationTables_Api_Language_,
|
|
495
|
+
method: 'GET',
|
|
496
|
+
path: '/v1/localization-table/available-languages',
|
|
497
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
498
|
+
requestFormat: 'json',
|
|
499
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_LocalizationTables_Api_Language_,
|
|
531
500
|
errors: [],
|
|
532
501
|
});
|
|
533
502
|
/**
|
|
@@ -535,10 +504,10 @@ export const getLocalizationTableAvailableLanguages = endpoint({
|
|
|
535
504
|
* @summary Get limits for translation table entries operations
|
|
536
505
|
*/
|
|
537
506
|
export const getLocalizationTableLimits = endpoint({
|
|
538
|
-
method:
|
|
539
|
-
path:
|
|
540
|
-
baseUrl:
|
|
541
|
-
requestFormat:
|
|
507
|
+
method: 'GET',
|
|
508
|
+
path: '/v1/localization-table/limits',
|
|
509
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
510
|
+
requestFormat: 'json',
|
|
542
511
|
response: Roblox_LocalizationTables_Api_GetLimitsResponse,
|
|
543
512
|
errors: [
|
|
544
513
|
{
|
|
@@ -552,10 +521,10 @@ export const getLocalizationTableLimits = endpoint({
|
|
|
552
521
|
* @summary Get metadata for localization UI
|
|
553
522
|
*/
|
|
554
523
|
export const getLocalizationTableMetadata = endpoint({
|
|
555
|
-
method:
|
|
556
|
-
path:
|
|
557
|
-
baseUrl:
|
|
558
|
-
requestFormat:
|
|
524
|
+
method: 'GET',
|
|
525
|
+
path: '/v1/localization-table/metadata',
|
|
526
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
527
|
+
requestFormat: 'json',
|
|
559
528
|
response: Roblox_LocalizationTables_Api_LocalizationTablesMetadataResponse,
|
|
560
529
|
errors: [],
|
|
561
530
|
});
|
|
@@ -566,10 +535,10 @@ Note that this endpoint simply creates a table and does not associate it with an
|
|
|
566
535
|
* @param body
|
|
567
536
|
*/
|
|
568
537
|
export const postLocalizationTableTables = endpoint({
|
|
569
|
-
method:
|
|
570
|
-
path:
|
|
571
|
-
baseUrl:
|
|
572
|
-
requestFormat:
|
|
538
|
+
method: 'POST',
|
|
539
|
+
path: '/v1/localization-table/tables',
|
|
540
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
541
|
+
requestFormat: 'json',
|
|
573
542
|
serializationMethod: {
|
|
574
543
|
body: {},
|
|
575
544
|
},
|
|
@@ -594,13 +563,13 @@ export const postLocalizationTableTables = endpoint({
|
|
|
594
563
|
* @param assetId The asset id associated with the table.
|
|
595
564
|
*/
|
|
596
565
|
export const getLocalizationTableTablesAssetid = endpoint({
|
|
597
|
-
method:
|
|
598
|
-
path:
|
|
599
|
-
baseUrl:
|
|
600
|
-
requestFormat:
|
|
566
|
+
method: 'GET',
|
|
567
|
+
path: '/v1/localization-table/tables/:assetId',
|
|
568
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
569
|
+
requestFormat: 'json',
|
|
601
570
|
serializationMethod: {
|
|
602
571
|
assetId: {
|
|
603
|
-
style:
|
|
572
|
+
style: 'simple',
|
|
604
573
|
},
|
|
605
574
|
},
|
|
606
575
|
parameters: {
|
|
@@ -628,13 +597,13 @@ export const getLocalizationTableTablesAssetid = endpoint({
|
|
|
628
597
|
* @param tableId
|
|
629
598
|
*/
|
|
630
599
|
export const getLocalizationTableTablesTableid = endpoint({
|
|
631
|
-
method:
|
|
632
|
-
path:
|
|
633
|
-
baseUrl:
|
|
634
|
-
requestFormat:
|
|
600
|
+
method: 'GET',
|
|
601
|
+
path: '/v1/localization-table/tables/:tableId',
|
|
602
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
603
|
+
requestFormat: 'json',
|
|
635
604
|
serializationMethod: {
|
|
636
605
|
tableId: {
|
|
637
|
-
style:
|
|
606
|
+
style: 'simple',
|
|
638
607
|
},
|
|
639
608
|
},
|
|
640
609
|
parameters: {
|
|
@@ -664,17 +633,17 @@ export const getLocalizationTableTablesTableid = endpoint({
|
|
|
664
633
|
* @param gameId The game id.
|
|
665
634
|
*/
|
|
666
635
|
export const patchLocalizationTableTablesTableid = endpoint({
|
|
667
|
-
method:
|
|
668
|
-
path:
|
|
669
|
-
baseUrl:
|
|
670
|
-
requestFormat:
|
|
636
|
+
method: 'PATCH',
|
|
637
|
+
path: '/v1/localization-table/tables/:tableId',
|
|
638
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
639
|
+
requestFormat: 'json',
|
|
671
640
|
serializationMethod: {
|
|
672
641
|
body: {},
|
|
673
642
|
tableId: {
|
|
674
|
-
style:
|
|
643
|
+
style: 'simple',
|
|
675
644
|
},
|
|
676
645
|
gameId: {
|
|
677
|
-
style:
|
|
646
|
+
style: 'form',
|
|
678
647
|
explode: true,
|
|
679
648
|
},
|
|
680
649
|
},
|
|
@@ -717,24 +686,24 @@ export const patchLocalizationTableTablesTableid = endpoint({
|
|
|
717
686
|
* @param entryFormat
|
|
718
687
|
*/
|
|
719
688
|
export const getLocalizationTableTablesTableidEntries = endpoint({
|
|
720
|
-
method:
|
|
721
|
-
path:
|
|
722
|
-
baseUrl:
|
|
723
|
-
requestFormat:
|
|
689
|
+
method: 'GET',
|
|
690
|
+
path: '/v1/localization-table/tables/:tableId/entries',
|
|
691
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
692
|
+
requestFormat: 'json',
|
|
724
693
|
serializationMethod: {
|
|
725
694
|
tableId: {
|
|
726
|
-
style:
|
|
695
|
+
style: 'simple',
|
|
727
696
|
},
|
|
728
697
|
cursor: {
|
|
729
|
-
style:
|
|
698
|
+
style: 'form',
|
|
730
699
|
explode: true,
|
|
731
700
|
},
|
|
732
701
|
gameId: {
|
|
733
|
-
style:
|
|
702
|
+
style: 'form',
|
|
734
703
|
explode: true,
|
|
735
704
|
},
|
|
736
705
|
entryFormat: {
|
|
737
|
-
style:
|
|
706
|
+
style: 'form',
|
|
738
707
|
explode: true,
|
|
739
708
|
},
|
|
740
709
|
},
|
|
@@ -742,10 +711,7 @@ export const getLocalizationTableTablesTableidEntries = endpoint({
|
|
|
742
711
|
tableId: z.string().uuid(),
|
|
743
712
|
cursor: z.string().optional(),
|
|
744
713
|
gameId: z.number().int().optional(),
|
|
745
|
-
entryFormat: z
|
|
746
|
-
.enum(["Invalid", "Legacy", "Icu"])
|
|
747
|
-
.optional()
|
|
748
|
-
.default("Legacy"),
|
|
714
|
+
entryFormat: z.enum(['Invalid', 'Legacy', 'Icu']).optional().default('Legacy'),
|
|
749
715
|
},
|
|
750
716
|
response: Roblox_LocalizationTables_Api_GetTableEntriesPagedResponse,
|
|
751
717
|
errors: [
|
|
@@ -771,59 +737,57 @@ export const getLocalizationTableTablesTableidEntries = endpoint({
|
|
|
771
737
|
* @param tableId The entries' tableId.
|
|
772
738
|
* @param gameId The game id.
|
|
773
739
|
*/
|
|
774
|
-
export const postLocalizationTableTablesTableidEntriesTranslationFeedback =
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
status: 400,
|
|
800
|
-
description: `3: Invalid table id.
|
|
740
|
+
export const postLocalizationTableTablesTableidEntriesTranslationFeedback = endpoint({
|
|
741
|
+
method: 'POST',
|
|
742
|
+
path: '/v1/localization-table/tables/:tableId/entries/translation-feedback',
|
|
743
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
744
|
+
requestFormat: 'json',
|
|
745
|
+
serializationMethod: {
|
|
746
|
+
body: {},
|
|
747
|
+
tableId: {
|
|
748
|
+
style: 'simple',
|
|
749
|
+
},
|
|
750
|
+
gameId: {
|
|
751
|
+
style: 'form',
|
|
752
|
+
explode: true,
|
|
753
|
+
},
|
|
754
|
+
},
|
|
755
|
+
parameters: {
|
|
756
|
+
tableId: z.string().uuid(),
|
|
757
|
+
gameId: z.number().int().optional(),
|
|
758
|
+
},
|
|
759
|
+
body: Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackRequest,
|
|
760
|
+
response: Roblox_LocalizationTables_Api_GetTableEntriesTranslationFeedbackResponse,
|
|
761
|
+
errors: [
|
|
762
|
+
{
|
|
763
|
+
status: 400,
|
|
764
|
+
description: `3: Invalid table id.
|
|
801
765
|
13: Request body can't be null
|
|
802
766
|
14: Invalid game id
|
|
803
767
|
16: Entries can't be null or empty
|
|
804
768
|
35: The entries provided are invalid
|
|
805
769
|
37: Invalid locale code.
|
|
806
770
|
38: Invalid entry identifier.`,
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
status: 401,
|
|
774
|
+
description: `0: Authorization has been denied for this request.`,
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
status: 403,
|
|
778
|
+
description: `0: Token Validation Failed
|
|
815
779
|
2: You do not have permission to get this table.`,
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
status: 429,
|
|
783
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
status: 503,
|
|
787
|
+
description: `17: Feature is disabled`,
|
|
788
|
+
},
|
|
789
|
+
],
|
|
790
|
+
});
|
|
827
791
|
/**
|
|
828
792
|
* @api POST https://localizationtables.roblox.com/v1/localization-table/tables/:tableId/entries/translation-history
|
|
829
793
|
* @summary Gets the translation history for each entry passed in.
|
|
@@ -831,33 +795,31 @@ export const postLocalizationTableTablesTableidEntriesTranslationFeedback =
|
|
|
831
795
|
* @param tableId The entries' tableId.
|
|
832
796
|
* @param gameId The game id.
|
|
833
797
|
*/
|
|
834
|
-
export const postLocalizationTableTablesTableidEntriesTranslationHistory =
|
|
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
|
-
status: 400,
|
|
860
|
-
description: `3: Invalid table id.
|
|
798
|
+
export const postLocalizationTableTablesTableidEntriesTranslationHistory = endpoint({
|
|
799
|
+
method: 'POST',
|
|
800
|
+
path: '/v1/localization-table/tables/:tableId/entries/translation-history',
|
|
801
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
802
|
+
requestFormat: 'json',
|
|
803
|
+
serializationMethod: {
|
|
804
|
+
body: {},
|
|
805
|
+
tableId: {
|
|
806
|
+
style: 'simple',
|
|
807
|
+
},
|
|
808
|
+
gameId: {
|
|
809
|
+
style: 'form',
|
|
810
|
+
explode: true,
|
|
811
|
+
},
|
|
812
|
+
},
|
|
813
|
+
parameters: {
|
|
814
|
+
tableId: z.string().uuid(),
|
|
815
|
+
gameId: z.number().int().optional(),
|
|
816
|
+
},
|
|
817
|
+
body: Roblox_LocalizationTables_Api_GetTableEntriesTranslationHistoryRequest,
|
|
818
|
+
response: Roblox_LocalizationTables_Api_GetTableEntriesTranslationHistoryResponse,
|
|
819
|
+
errors: [
|
|
820
|
+
{
|
|
821
|
+
status: 400,
|
|
822
|
+
description: `3: Invalid table id.
|
|
861
823
|
13: Request body can't be null
|
|
862
824
|
14: Invalid game id
|
|
863
825
|
16: Entries can't be null or empty
|
|
@@ -866,26 +828,26 @@ export const postLocalizationTableTablesTableidEntriesTranslationHistory =
|
|
|
866
828
|
38: Invalid entry identifier.
|
|
867
829
|
39: Count should be at least 1.
|
|
868
830
|
45: Invalid exclusive start id.`,
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
status: 401,
|
|
834
|
+
description: `0: Authorization has been denied for this request.`,
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
status: 403,
|
|
838
|
+
description: `0: Token Validation Failed
|
|
877
839
|
2: You do not have permission to get this table.`,
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
status: 429,
|
|
843
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
status: 503,
|
|
847
|
+
description: `17: Feature is disabled`,
|
|
848
|
+
},
|
|
849
|
+
],
|
|
850
|
+
});
|
|
889
851
|
/**
|
|
890
852
|
* @api GET https://localizationtables.roblox.com/v1/localization-table/tables/:tableId/entry-count
|
|
891
853
|
* @summary Gets the number of entries in the specified table
|
|
@@ -894,27 +856,27 @@ export const postLocalizationTableTablesTableidEntriesTranslationHistory =
|
|
|
894
856
|
* @param entryFormat
|
|
895
857
|
*/
|
|
896
858
|
export const getLocalizationTableTablesTableidEntryCount = endpoint({
|
|
897
|
-
method:
|
|
898
|
-
path:
|
|
899
|
-
baseUrl:
|
|
900
|
-
requestFormat:
|
|
859
|
+
method: 'GET',
|
|
860
|
+
path: '/v1/localization-table/tables/:tableId/entry-count',
|
|
861
|
+
baseUrl: 'https://localizationtables.roblox.com',
|
|
862
|
+
requestFormat: 'json',
|
|
901
863
|
serializationMethod: {
|
|
902
864
|
tableId: {
|
|
903
|
-
style:
|
|
865
|
+
style: 'simple',
|
|
904
866
|
},
|
|
905
867
|
gameId: {
|
|
906
|
-
style:
|
|
868
|
+
style: 'form',
|
|
907
869
|
explode: true,
|
|
908
870
|
},
|
|
909
871
|
entryFormat: {
|
|
910
|
-
style:
|
|
872
|
+
style: 'form',
|
|
911
873
|
explode: true,
|
|
912
874
|
},
|
|
913
875
|
},
|
|
914
876
|
parameters: {
|
|
915
877
|
tableId: z.string().uuid(),
|
|
916
878
|
gameId: z.number().int().optional(),
|
|
917
|
-
entryFormat: z.enum([
|
|
879
|
+
entryFormat: z.enum(['Invalid', 'Legacy', 'Icu']).optional().default('Invalid'),
|
|
918
880
|
},
|
|
919
881
|
response: Roblox_LocalizationTables_Api_GetTableEntryCountResponse,
|
|
920
882
|
errors: [
|