rozod 6.7.1 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
|
-
const Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse =
|
|
5
|
-
z.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
z.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isAutomaticTranslationSwitchesUIEnabled: z.boolean(),
|
|
16
|
-
});
|
|
4
|
+
const Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse = z.object({
|
|
5
|
+
isReactVersionEnabledForAutoLocalizationSettings: z.boolean(),
|
|
6
|
+
isTabbedUIEnabledForConfigureLocalizationPage: z.boolean(),
|
|
7
|
+
isAutomaticTranslationToggleUIEnabled: z.boolean(),
|
|
8
|
+
isAutomaticTranslationQuotaUIEnabled: z.boolean(),
|
|
9
|
+
});
|
|
10
|
+
const Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse = z.object({
|
|
11
|
+
gameId: z.number().int(),
|
|
12
|
+
isAutomaticTranslationAllowed: z.boolean(),
|
|
13
|
+
isAutomaticTranslationSwitchesUIEnabled: z.boolean(),
|
|
14
|
+
});
|
|
17
15
|
const Roblox_GameInternationalization_Api_MonthlyQuotaModel = z.object({
|
|
18
16
|
previousRefreshDate: z.string().datetime({ offset: true }),
|
|
19
17
|
nextRefreshDate: z.string().datetime({ offset: true }),
|
|
@@ -24,164 +22,109 @@ const Roblox_GameInternationalization_Api_QuotaModel = z.object({
|
|
|
24
22
|
remaining: z.number().int(),
|
|
25
23
|
capacity: z.number().int(),
|
|
26
24
|
});
|
|
27
|
-
const Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
z.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
sourceLanguage: z.string(),
|
|
40
|
-
targetLanguages: z.array(
|
|
41
|
-
Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage
|
|
42
|
-
),
|
|
43
|
-
});
|
|
25
|
+
const Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse = z.object({
|
|
26
|
+
monthlyQuota: Roblox_GameInternationalization_Api_MonthlyQuotaModel,
|
|
27
|
+
bankQuota: Roblox_GameInternationalization_Api_QuotaModel,
|
|
28
|
+
});
|
|
29
|
+
const Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage = z.object({
|
|
30
|
+
languageCode: z.string(),
|
|
31
|
+
isAutomaticTranslationAllowed: z.boolean(),
|
|
32
|
+
});
|
|
33
|
+
const Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse = z.object({
|
|
34
|
+
sourceLanguage: z.string(),
|
|
35
|
+
targetLanguages: z.array(Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage),
|
|
36
|
+
});
|
|
44
37
|
const Roblox_GameInternationalization_Api_GetBadgeIconResponse = z.object({
|
|
45
38
|
imageId: z.string(),
|
|
46
39
|
imageUrl: z.string(),
|
|
47
|
-
state: z.enum([
|
|
48
|
-
"Approved",
|
|
49
|
-
"PendingReview",
|
|
50
|
-
"UnAvailable",
|
|
51
|
-
"Rejected",
|
|
52
|
-
"Error",
|
|
53
|
-
]),
|
|
40
|
+
state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
|
|
54
41
|
languageCode: z.string(),
|
|
55
42
|
});
|
|
56
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_ =
|
|
57
|
-
z.
|
|
58
|
-
|
|
59
|
-
});
|
|
43
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_ = z.object({
|
|
44
|
+
data: z.array(Roblox_GameInternationalization_Api_GetBadgeIconResponse),
|
|
45
|
+
});
|
|
60
46
|
const Roblox_GameInternationalization_Api_NameDescription = z.object({
|
|
61
47
|
name: z.string(),
|
|
62
48
|
description: z.string(),
|
|
63
|
-
updateType: z.enum([
|
|
49
|
+
updateType: z.enum(['Invalid', 'Name', 'Description']),
|
|
50
|
+
languageCode: z.string(),
|
|
51
|
+
});
|
|
52
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_ = z.object({
|
|
53
|
+
data: z.array(Roblox_GameInternationalization_Api_NameDescription),
|
|
54
|
+
});
|
|
55
|
+
const Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse = z.object({
|
|
56
|
+
imageId: z.string(),
|
|
57
|
+
imageUrl: z.string(),
|
|
58
|
+
state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
|
|
64
59
|
languageCode: z.string(),
|
|
65
60
|
});
|
|
66
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_ =
|
|
67
|
-
z.object({
|
|
68
|
-
data: z.array(Roblox_GameInternationalization_Api_NameDescription),
|
|
69
|
-
});
|
|
70
|
-
const Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse =
|
|
71
|
-
z.object({
|
|
72
|
-
imageId: z.string(),
|
|
73
|
-
imageUrl: z.string(),
|
|
74
|
-
state: z.enum([
|
|
75
|
-
"Approved",
|
|
76
|
-
"PendingReview",
|
|
77
|
-
"UnAvailable",
|
|
78
|
-
"Rejected",
|
|
79
|
-
"Error",
|
|
80
|
-
]),
|
|
81
|
-
languageCode: z.string(),
|
|
82
|
-
});
|
|
83
61
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse_ =
|
|
84
62
|
z.object({
|
|
85
|
-
data: z.array(
|
|
86
|
-
Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse
|
|
87
|
-
),
|
|
63
|
+
data: z.array(Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse),
|
|
88
64
|
});
|
|
89
65
|
const Roblox_GameInternationalization_Api_GetGameIconResponse = z.object({
|
|
90
66
|
imageId: z.string(),
|
|
91
67
|
imageUrl: z.string(),
|
|
92
|
-
state: z.enum([
|
|
93
|
-
"Approved",
|
|
94
|
-
"PendingReview",
|
|
95
|
-
"UnAvailable",
|
|
96
|
-
"Rejected",
|
|
97
|
-
"Error",
|
|
98
|
-
]),
|
|
68
|
+
state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
|
|
99
69
|
languageCode: z.string(),
|
|
100
70
|
});
|
|
101
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_ =
|
|
102
|
-
z.
|
|
103
|
-
|
|
104
|
-
});
|
|
71
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_ = z.object({
|
|
72
|
+
data: z.array(Roblox_GameInternationalization_Api_GetGameIconResponse),
|
|
73
|
+
});
|
|
105
74
|
const Roblox_GameInternationalization_Api_TranslationCount = z.object({
|
|
106
75
|
count: z.number().int(),
|
|
107
|
-
translationStatus: z.literal(
|
|
108
|
-
translatorType: z.enum([
|
|
76
|
+
translationStatus: z.literal('Approved'),
|
|
77
|
+
translatorType: z.enum(['Automation', 'User']),
|
|
78
|
+
});
|
|
79
|
+
const Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse = z.object({
|
|
80
|
+
category: z.literal('InGameContent'),
|
|
81
|
+
translationCounts: z.array(Roblox_GameInternationalization_Api_TranslationCount),
|
|
82
|
+
totalTranslatableItemCount: z.number().int(),
|
|
83
|
+
});
|
|
84
|
+
const Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse = z.object({
|
|
85
|
+
status: z.enum(['Success', 'LanguageOrLocaleNotSupportedForGame']),
|
|
86
|
+
categories: z.array(Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse),
|
|
87
|
+
name: z.string(),
|
|
88
|
+
languageCodeType: z.enum(['Language', 'Locale']),
|
|
89
|
+
languageCode: z.string(),
|
|
90
|
+
});
|
|
91
|
+
const Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse = z.object({
|
|
92
|
+
gameId: z.number().int(),
|
|
93
|
+
languagesOrLocales: z.array(Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse),
|
|
94
|
+
});
|
|
95
|
+
const Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse = z.object({
|
|
96
|
+
gameId: z.number().int(),
|
|
97
|
+
status: z.enum([
|
|
98
|
+
'LanguageOrLocaleSupportedForGame',
|
|
99
|
+
'LanguageOrLocaleNotSupportedForGame',
|
|
100
|
+
'LanguageOrLocaleIsSource',
|
|
101
|
+
'InsufficientPermission',
|
|
102
|
+
'GameDoesNotExist',
|
|
103
|
+
'GameDoesNotHaveTable',
|
|
104
|
+
'UnknownError',
|
|
105
|
+
]),
|
|
106
|
+
categories: z.array(Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse),
|
|
107
|
+
});
|
|
108
|
+
const Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse = z.object({
|
|
109
|
+
languageOrLocaleCode: z.string(),
|
|
110
|
+
languageOrLocaleType: z.enum(['Language', 'Locale']),
|
|
111
|
+
games: z.array(Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse),
|
|
109
112
|
});
|
|
110
|
-
const Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse =
|
|
111
|
-
z.object({
|
|
112
|
-
category: z.literal("InGameContent"),
|
|
113
|
-
translationCounts: z.array(
|
|
114
|
-
Roblox_GameInternationalization_Api_TranslationCount
|
|
115
|
-
),
|
|
116
|
-
totalTranslatableItemCount: z.number().int(),
|
|
117
|
-
});
|
|
118
|
-
const Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse =
|
|
119
|
-
z.object({
|
|
120
|
-
status: z.enum(["Success", "LanguageOrLocaleNotSupportedForGame"]),
|
|
121
|
-
categories: z.array(
|
|
122
|
-
Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse
|
|
123
|
-
),
|
|
124
|
-
name: z.string(),
|
|
125
|
-
languageCodeType: z.enum(["Language", "Locale"]),
|
|
126
|
-
languageCode: z.string(),
|
|
127
|
-
});
|
|
128
|
-
const Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse =
|
|
129
|
-
z.object({
|
|
130
|
-
gameId: z.number().int(),
|
|
131
|
-
languagesOrLocales: z.array(
|
|
132
|
-
Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse
|
|
133
|
-
),
|
|
134
|
-
});
|
|
135
|
-
const Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse =
|
|
136
|
-
z.object({
|
|
137
|
-
gameId: z.number().int(),
|
|
138
|
-
status: z.enum([
|
|
139
|
-
"LanguageOrLocaleSupportedForGame",
|
|
140
|
-
"LanguageOrLocaleNotSupportedForGame",
|
|
141
|
-
"LanguageOrLocaleIsSource",
|
|
142
|
-
"InsufficientPermission",
|
|
143
|
-
"GameDoesNotExist",
|
|
144
|
-
"GameDoesNotHaveTable",
|
|
145
|
-
"UnknownError",
|
|
146
|
-
]),
|
|
147
|
-
categories: z.array(
|
|
148
|
-
Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse
|
|
149
|
-
),
|
|
150
|
-
});
|
|
151
|
-
const Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse =
|
|
152
|
-
z.object({
|
|
153
|
-
languageOrLocaleCode: z.string(),
|
|
154
|
-
languageOrLocaleType: z.enum(["Language", "Locale"]),
|
|
155
|
-
games: z.array(
|
|
156
|
-
Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse
|
|
157
|
-
),
|
|
158
|
-
});
|
|
159
113
|
const Roblox_GameInternationalization_Api_GetGamePassIconResponse = z.object({
|
|
160
114
|
imageId: z.string(),
|
|
161
115
|
imageUrl: z.string(),
|
|
162
|
-
state: z.enum([
|
|
163
|
-
"Approved",
|
|
164
|
-
"PendingReview",
|
|
165
|
-
"UnAvailable",
|
|
166
|
-
"Rejected",
|
|
167
|
-
"Error",
|
|
168
|
-
]),
|
|
116
|
+
state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
|
|
169
117
|
languageCode: z.string(),
|
|
170
118
|
});
|
|
171
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_ =
|
|
172
|
-
|
|
119
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_ = z.object(
|
|
120
|
+
{
|
|
173
121
|
data: z.array(Roblox_GameInternationalization_Api_GetGamePassIconResponse),
|
|
174
|
-
}
|
|
122
|
+
},
|
|
123
|
+
);
|
|
175
124
|
const Roblox_GameInternationalization_Api_MediaAssetResponse = z.object({
|
|
176
125
|
mediaAssetId: z.string(),
|
|
177
126
|
mediaAssetAltText: z.string(),
|
|
178
|
-
state: z.enum([
|
|
179
|
-
"Approved",
|
|
180
|
-
"PendingReview",
|
|
181
|
-
"UnAvailable",
|
|
182
|
-
"Rejected",
|
|
183
|
-
"Error",
|
|
184
|
-
]),
|
|
127
|
+
state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
|
|
185
128
|
mediaAssetUrl: z.string(),
|
|
186
129
|
});
|
|
187
130
|
const Roblox_GameInternationalization_Api_GetGameThumbnailsResponse = z.object({
|
|
@@ -190,29 +133,22 @@ const Roblox_GameInternationalization_Api_GetGameThumbnailsResponse = z.object({
|
|
|
190
133
|
});
|
|
191
134
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_ =
|
|
192
135
|
z.object({
|
|
193
|
-
data: z.array(
|
|
194
|
-
Roblox_GameInternationalization_Api_GetGameThumbnailsResponse
|
|
195
|
-
),
|
|
196
|
-
});
|
|
197
|
-
const Roblox_GameInternationalization_Api_UpdateNameDescriptionsRequest =
|
|
198
|
-
z.object({
|
|
199
|
-
data: z.array(Roblox_GameInternationalization_Api_NameDescription),
|
|
136
|
+
data: z.array(Roblox_GameInternationalization_Api_GetGameThumbnailsResponse),
|
|
200
137
|
});
|
|
138
|
+
const Roblox_GameInternationalization_Api_UpdateNameDescriptionsRequest = z.object({
|
|
139
|
+
data: z.array(Roblox_GameInternationalization_Api_NameDescription),
|
|
140
|
+
});
|
|
201
141
|
const Roblox_GameInternationalization_Api_FailedNameDescription = z.object({
|
|
202
142
|
languageCode: z.string(),
|
|
203
143
|
errorCode: z.number().int(),
|
|
204
144
|
});
|
|
205
|
-
const Roblox_GameInternationalization_Api_UpdateNameDescriptionsResponse =
|
|
206
|
-
z.
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
),
|
|
213
|
-
});
|
|
214
|
-
const Roblox_GameInternationalization_Api_Models_Response_GameNameDescriptionMetadataResponse =
|
|
215
|
-
z.object({ isNameDescriptionMigrationEnabled: z.boolean() });
|
|
145
|
+
const Roblox_GameInternationalization_Api_UpdateNameDescriptionsResponse = z.object({
|
|
146
|
+
successOperations: z.array(Roblox_GameInternationalization_Api_NameDescription),
|
|
147
|
+
failedOperations: z.array(Roblox_GameInternationalization_Api_FailedNameDescription),
|
|
148
|
+
});
|
|
149
|
+
const Roblox_GameInternationalization_Api_Models_Response_GameNameDescriptionMetadataResponse = z.object({
|
|
150
|
+
isNameDescriptionMigrationEnabled: z.boolean(),
|
|
151
|
+
});
|
|
216
152
|
const Roblox_GameInternationalization_Api_Language = z.object({
|
|
217
153
|
name: z.string(),
|
|
218
154
|
nativeName: z.string(),
|
|
@@ -229,57 +165,57 @@ const Roblox_Localization_Client_LanguageFamily = z.object({
|
|
|
229
165
|
const Roblox_Localization_Client_SupportedLocale = z.object({
|
|
230
166
|
id: z.number().int(),
|
|
231
167
|
locale: z.enum([
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
168
|
+
'en_us',
|
|
169
|
+
'es_es',
|
|
170
|
+
'fr_fr',
|
|
171
|
+
'id_id',
|
|
172
|
+
'it_it',
|
|
173
|
+
'ja_jp',
|
|
174
|
+
'ko_kr',
|
|
175
|
+
'ru_ru',
|
|
176
|
+
'th_th',
|
|
177
|
+
'tr_tr',
|
|
178
|
+
'vi_vn',
|
|
179
|
+
'pt_br',
|
|
180
|
+
'de_de',
|
|
181
|
+
'zh_cn',
|
|
182
|
+
'zh_tw',
|
|
183
|
+
'bg_bg',
|
|
184
|
+
'bn_bd',
|
|
185
|
+
'cs_cz',
|
|
186
|
+
'da_dk',
|
|
187
|
+
'el_gr',
|
|
188
|
+
'et_ee',
|
|
189
|
+
'fi_fi',
|
|
190
|
+
'hi_in',
|
|
191
|
+
'hr_hr',
|
|
192
|
+
'hu_hu',
|
|
193
|
+
'ka_ge',
|
|
194
|
+
'kk_kz',
|
|
195
|
+
'km_kh',
|
|
196
|
+
'lt_lt',
|
|
197
|
+
'lv_lv',
|
|
198
|
+
'ms_my',
|
|
199
|
+
'my_mm',
|
|
200
|
+
'nb_no',
|
|
201
|
+
'nl_nl',
|
|
202
|
+
'fil_ph',
|
|
203
|
+
'pl_pl',
|
|
204
|
+
'ro_ro',
|
|
205
|
+
'uk_ua',
|
|
206
|
+
'si_lk',
|
|
207
|
+
'sk_sk',
|
|
208
|
+
'sl_sl',
|
|
209
|
+
'sq_al',
|
|
210
|
+
'bs_ba',
|
|
211
|
+
'sr_rs',
|
|
212
|
+
'sv_se',
|
|
213
|
+
'zh_cjv',
|
|
214
|
+
'ar_001',
|
|
215
|
+
'en_gb',
|
|
216
|
+
'pt_pt',
|
|
217
|
+
'es_mx',
|
|
218
|
+
'fr_ca',
|
|
283
219
|
]),
|
|
284
220
|
localeCode: z.string(),
|
|
285
221
|
name: z.string(),
|
|
@@ -293,20 +229,19 @@ const Roblox_GameInternationalization_Api_SourceLanguageWithLocales = z.object({
|
|
|
293
229
|
});
|
|
294
230
|
const Roblox_GameInternationalization_Api_LanguageOrLocale = z.object({
|
|
295
231
|
name: z.string(),
|
|
296
|
-
languageCodeType: z.enum([
|
|
232
|
+
languageCodeType: z.enum(['Language', 'Locale']),
|
|
297
233
|
languageCode: z.string(),
|
|
298
234
|
});
|
|
299
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_ =
|
|
300
|
-
z.
|
|
301
|
-
|
|
302
|
-
});
|
|
235
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_ = z.object({
|
|
236
|
+
data: z.array(Roblox_GameInternationalization_Api_LanguageOrLocale),
|
|
237
|
+
});
|
|
303
238
|
const Roblox_GameInternationalization_Api_PatchLanguage = z.object({
|
|
304
|
-
languageCodeType: z.enum([
|
|
239
|
+
languageCodeType: z.enum(['Language', 'Locale']),
|
|
305
240
|
languageCode: z.string(),
|
|
306
241
|
delete: z.boolean(),
|
|
307
242
|
});
|
|
308
243
|
const Roblox_GameInternationalization_Api_LanguageOrLocaleSettings = z.object({
|
|
309
|
-
languageCodeType: z.enum([
|
|
244
|
+
languageCodeType: z.enum(['Language', 'Locale']),
|
|
310
245
|
languageCode: z.string(),
|
|
311
246
|
isAutomaticTranslationEnabled: z.boolean(),
|
|
312
247
|
isImageTranslationEnabled: z.boolean(),
|
|
@@ -315,72 +250,57 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_
|
|
|
315
250
|
z.object({
|
|
316
251
|
data: z.array(Roblox_GameInternationalization_Api_LanguageOrLocaleSettings),
|
|
317
252
|
});
|
|
318
|
-
const Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings =
|
|
319
|
-
z.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
});
|
|
253
|
+
const Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings = z.object({
|
|
254
|
+
languageCode: z.string(),
|
|
255
|
+
isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
|
|
256
|
+
});
|
|
323
257
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings_ =
|
|
324
258
|
z.object({
|
|
325
|
-
data: z.array(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
z.
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
z.
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
settingValue:
|
|
371
|
-
Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
|
|
372
|
-
});
|
|
373
|
-
const Roblox_GameInternationalization_Api_Models_Response_SetUserLocalizationSettingsResponse =
|
|
374
|
-
z.object({});
|
|
375
|
-
const Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse =
|
|
376
|
-
z.object({
|
|
377
|
-
isAutolocalizationEnabled: z.boolean(),
|
|
378
|
-
shouldUseLocalizationTable: z.boolean(),
|
|
379
|
-
autoLocalizationTableId: z.string().uuid(),
|
|
380
|
-
assetId: z.number().int(),
|
|
381
|
-
});
|
|
382
|
-
const Roblox_GameInternationalization_Api_SetAutolocalizationTableForGameRequest =
|
|
383
|
-
z.object({ tableId: z.string().uuid() });
|
|
259
|
+
data: z.array(Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings),
|
|
260
|
+
});
|
|
261
|
+
const Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse = z.object({
|
|
262
|
+
isFeatureEnabled: z.boolean(),
|
|
263
|
+
areAllLanguagesEnabled: z.boolean(),
|
|
264
|
+
minimumUniverseIdForFeature: z.number().int(),
|
|
265
|
+
isHumanTranslationProgressUIEnabled: z.boolean(),
|
|
266
|
+
isAutomaticTranslationProgressUIEnabled: z.boolean(),
|
|
267
|
+
isSupportedLanguagesChildLocalesUIEnabled: z.boolean(),
|
|
268
|
+
});
|
|
269
|
+
const Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse = z.object({
|
|
270
|
+
isFeatureEnabledOnUI: z.boolean(),
|
|
271
|
+
reportRequestPollingIntervalSeconds: z.number().int(),
|
|
272
|
+
minimumDateTimeForAnalyticsReport: z.string().datetime({ offset: true }),
|
|
273
|
+
});
|
|
274
|
+
const Roblox_GameInternationalization_Api_GetUiConfigurationsResponse = z.object({
|
|
275
|
+
isGameProductsEnabled: z.boolean(),
|
|
276
|
+
isBadgeIconEnabled: z.boolean(),
|
|
277
|
+
isGamePassEnabled: z.boolean(),
|
|
278
|
+
isDeveloperProductEnabled: z.boolean(),
|
|
279
|
+
});
|
|
280
|
+
const Roblox_GameInternationalization_Api_Models_Response_GetPlayerChoiceUniverseSettingsResponse = z.object({
|
|
281
|
+
IsPlayerChoiceEnabled: z.boolean(),
|
|
282
|
+
});
|
|
283
|
+
const Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue = z.object({
|
|
284
|
+
settingType: z.enum(['LanguageFamily', 'SupportedLocale', 'SourceOrTranslation']),
|
|
285
|
+
settingTargetId: z.number().int(),
|
|
286
|
+
settingTargetCode: z.string(),
|
|
287
|
+
});
|
|
288
|
+
const Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse = z.object({
|
|
289
|
+
userUniverseLocalizationSettingValue: Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
|
|
290
|
+
});
|
|
291
|
+
const Roblox_GameInternationalization_Api_Models_Request_SetUserLocalizationSettingsRequest = z.object({
|
|
292
|
+
settingValue: Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
|
|
293
|
+
});
|
|
294
|
+
const Roblox_GameInternationalization_Api_Models_Response_SetUserLocalizationSettingsResponse = z.object({});
|
|
295
|
+
const Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse = z.object({
|
|
296
|
+
isAutolocalizationEnabled: z.boolean(),
|
|
297
|
+
shouldUseLocalizationTable: z.boolean(),
|
|
298
|
+
autoLocalizationTableId: z.string().uuid(),
|
|
299
|
+
assetId: z.number().int(),
|
|
300
|
+
});
|
|
301
|
+
const Roblox_GameInternationalization_Api_SetAutolocalizationTableForGameRequest = z.object({
|
|
302
|
+
tableId: z.string().uuid(),
|
|
303
|
+
});
|
|
384
304
|
const languagecodes_languageCode_body = z.object({ Files: z.instanceof(File) });
|
|
385
305
|
const languagecodes_languageCode_body_1 = z.object({
|
|
386
306
|
Files: z.instanceof(File),
|
|
@@ -391,155 +311,155 @@ const languagecodes_languageCode_body_2 = z.object({
|
|
|
391
311
|
const languagecodes_languageCode_body_3 = z.object({
|
|
392
312
|
Files: z.instanceof(File),
|
|
393
313
|
});
|
|
394
|
-
const Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest =
|
|
395
|
-
|
|
314
|
+
const Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest = z.object({
|
|
315
|
+
thumbnailId: z.number().int(),
|
|
316
|
+
altText: z.string(),
|
|
317
|
+
});
|
|
396
318
|
const languageCode_image_body = z.object({ Files: z.instanceof(File) });
|
|
397
|
-
const Roblox_GameInternationalization_Api_Models_Response_UploadImageForGameThumbnailResponse =
|
|
398
|
-
|
|
319
|
+
const Roblox_GameInternationalization_Api_Models_Response_UploadImageForGameThumbnailResponse = z.object({
|
|
320
|
+
mediaAssetId: z.string(),
|
|
321
|
+
});
|
|
399
322
|
const Roblox_GameInternationalization_Api_SortImageIdsRequest = z.object({
|
|
400
323
|
mediaAssetIds: z.array(z.number()),
|
|
401
324
|
});
|
|
402
|
-
const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request =
|
|
403
|
-
z.
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
});
|
|
325
|
+
const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request = z.object({
|
|
326
|
+
contentId: z.number().int(),
|
|
327
|
+
contentType: z.enum([
|
|
328
|
+
'UniverseDisplayNames',
|
|
329
|
+
'UniverseDisplayDescriptions',
|
|
330
|
+
'BadgeDisplayName',
|
|
331
|
+
'BadgeDisplayDescription',
|
|
332
|
+
'DeveloperProductDisplayName',
|
|
333
|
+
'DeveloperProductDisplayDescription',
|
|
334
|
+
'GamePassDisplayName',
|
|
335
|
+
'GamePassDisplayDescription',
|
|
336
|
+
]),
|
|
337
|
+
languageCode: z.string(),
|
|
338
|
+
cursor: z.string(),
|
|
339
|
+
count: z.number().int(),
|
|
340
|
+
sortOrder: z.enum(['Asc', 'Desc']),
|
|
341
|
+
});
|
|
420
342
|
const Roblox_GameInternationalization_Api_Translator = z.object({
|
|
421
343
|
id: z.number().int(),
|
|
422
|
-
agentType: z.enum([
|
|
344
|
+
agentType: z.enum(['User', 'Automation']),
|
|
423
345
|
});
|
|
424
346
|
const Roblox_GameInternationalization_Api_TranslationHistory = z.object({
|
|
425
347
|
translationText: z.string(),
|
|
426
348
|
translator: Roblox_GameInternationalization_Api_Translator,
|
|
427
349
|
created: z.string().datetime({ offset: true }),
|
|
428
350
|
});
|
|
429
|
-
const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse =
|
|
430
|
-
z.
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
z.
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
const
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse =
|
|
462
|
-
z.object({ name: z.string(), description: z.string() });
|
|
351
|
+
const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse = z.object({
|
|
352
|
+
history: z.array(Roblox_GameInternationalization_Api_TranslationHistory),
|
|
353
|
+
lastEvaluatedId: z.string(),
|
|
354
|
+
});
|
|
355
|
+
const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest = z.object({
|
|
356
|
+
startDateTime: z.string().datetime({ offset: true }),
|
|
357
|
+
endDateTime: z.string().datetime({ offset: true }),
|
|
358
|
+
reportType: z.enum([
|
|
359
|
+
'GameTranslationStatus',
|
|
360
|
+
'GameTranslationStatusForTranslator',
|
|
361
|
+
'GameTranslationStatusForTranslatorGroup',
|
|
362
|
+
'Test',
|
|
363
|
+
]),
|
|
364
|
+
reportSubjectTargetId: z.number().int(),
|
|
365
|
+
});
|
|
366
|
+
const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse = z.object({
|
|
367
|
+
reportGenerationStatus: z.enum(['inProgress', 'ready', 'unavailable']),
|
|
368
|
+
});
|
|
369
|
+
const Roblox_GameInternationalization_Api_SetAutolocalizationSettingsForGameRequest = z.object({
|
|
370
|
+
isAutolocalizationEnabled: z.boolean(),
|
|
371
|
+
shouldUseLocalizationTable: z.boolean(),
|
|
372
|
+
});
|
|
373
|
+
const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionRequest = z.object({ description: z.string() });
|
|
374
|
+
const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionResponse = z.object({ description: z.string() });
|
|
375
|
+
const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest = z.object({
|
|
376
|
+
name: z.string(),
|
|
377
|
+
description: z.string(),
|
|
378
|
+
});
|
|
379
|
+
const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse = z.object({
|
|
380
|
+
name: z.string(),
|
|
381
|
+
description: z.string(),
|
|
382
|
+
});
|
|
463
383
|
const Roblox_GameInternationalization_Api_UpdateBadgeNameRequest = z.object({
|
|
464
384
|
name: z.string(),
|
|
465
385
|
});
|
|
466
386
|
const Roblox_GameInternationalization_Api_UpdateBadgeNameResponse = z.object({
|
|
467
387
|
name: z.string(),
|
|
468
388
|
});
|
|
469
|
-
const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionRequest =
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
const
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
const
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
const
|
|
484
|
-
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
const
|
|
488
|
-
|
|
389
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionRequest = z.object({
|
|
390
|
+
description: z.string(),
|
|
391
|
+
});
|
|
392
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionResponse = z.object({
|
|
393
|
+
description: z.string(),
|
|
394
|
+
});
|
|
395
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest = z.object({
|
|
396
|
+
name: z.string(),
|
|
397
|
+
description: z.string(),
|
|
398
|
+
});
|
|
399
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse = z.object({
|
|
400
|
+
name: z.string(),
|
|
401
|
+
description: z.string(),
|
|
402
|
+
});
|
|
403
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameRequest = z.object({ name: z.string() });
|
|
404
|
+
const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameResponse = z.object({ name: z.string() });
|
|
405
|
+
const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionRequest = z.object({ description: z.string() });
|
|
406
|
+
const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionResponse = z.object({ description: z.string() });
|
|
407
|
+
const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest = z.object({
|
|
408
|
+
name: z.string(),
|
|
409
|
+
description: z.string(),
|
|
410
|
+
});
|
|
411
|
+
const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse = z.object({
|
|
412
|
+
name: z.string(),
|
|
413
|
+
description: z.string(),
|
|
414
|
+
});
|
|
489
415
|
const Roblox_GameInternationalization_Api_UpdateGamePassNameRequest = z.object({
|
|
490
416
|
name: z.string(),
|
|
491
417
|
});
|
|
492
|
-
const Roblox_GameInternationalization_Api_UpdateGamePassNameResponse = z.object(
|
|
493
|
-
|
|
494
|
-
)
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameRequest =
|
|
498
|
-
z.
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
const
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
z.
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
z.object({
|
|
519
|
-
gameId: z.number().int(),
|
|
520
|
-
languageCode: z.string(),
|
|
521
|
-
isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
|
|
522
|
-
});
|
|
418
|
+
const Roblox_GameInternationalization_Api_UpdateGamePassNameResponse = z.object({ name: z.string() });
|
|
419
|
+
const Roblox_GameInternationalization_Api_LocalizationTableGameAssociation = z.object({
|
|
420
|
+
id: z.string().uuid(),
|
|
421
|
+
dissociate: z.boolean(),
|
|
422
|
+
});
|
|
423
|
+
const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameRequest = z.object({
|
|
424
|
+
tables: z.array(Roblox_GameInternationalization_Api_LocalizationTableGameAssociation),
|
|
425
|
+
});
|
|
426
|
+
const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameResponse = z.object({
|
|
427
|
+
success: z.boolean(),
|
|
428
|
+
});
|
|
429
|
+
const Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse = z.object({
|
|
430
|
+
gameId: z.number().int(),
|
|
431
|
+
languageCode: z.string(),
|
|
432
|
+
isAutomaticTranslationEnabled: z.boolean(),
|
|
433
|
+
});
|
|
434
|
+
const Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse = z.object({
|
|
435
|
+
gameId: z.number().int(),
|
|
436
|
+
languageCode: z.string(),
|
|
437
|
+
isImageTranslationEnabled: z.boolean(),
|
|
438
|
+
});
|
|
439
|
+
const Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse = z.object({
|
|
440
|
+
gameId: z.number().int(),
|
|
441
|
+
languageCode: z.string(),
|
|
442
|
+
isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
|
|
443
|
+
});
|
|
523
444
|
|
|
524
445
|
/**
|
|
525
446
|
* @api POST https://gameinternationalization.roblox.com/v1/autolocalization/games/:gameId/autolocalizationtable
|
|
526
447
|
* @param gameId
|
|
527
448
|
*/
|
|
528
449
|
export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
529
|
-
method:
|
|
530
|
-
path:
|
|
531
|
-
baseUrl:
|
|
532
|
-
requestFormat:
|
|
450
|
+
method: 'POST',
|
|
451
|
+
path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
|
|
452
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
453
|
+
requestFormat: 'json',
|
|
533
454
|
serializationMethod: {
|
|
534
455
|
gameId: {
|
|
535
|
-
style:
|
|
456
|
+
style: 'simple',
|
|
536
457
|
},
|
|
537
458
|
},
|
|
538
459
|
parameters: {
|
|
539
460
|
gameId: z.number().int(),
|
|
540
461
|
},
|
|
541
|
-
response:
|
|
542
|
-
Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse,
|
|
462
|
+
response: Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse,
|
|
543
463
|
errors: [
|
|
544
464
|
{
|
|
545
465
|
status: 401,
|
|
@@ -557,14 +477,14 @@ export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
|
557
477
|
* @param gameId
|
|
558
478
|
*/
|
|
559
479
|
export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
560
|
-
method:
|
|
561
|
-
path:
|
|
562
|
-
baseUrl:
|
|
563
|
-
requestFormat:
|
|
480
|
+
method: 'PATCH',
|
|
481
|
+
path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
|
|
482
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
483
|
+
requestFormat: 'json',
|
|
564
484
|
serializationMethod: {
|
|
565
485
|
body: {},
|
|
566
486
|
gameId: {
|
|
567
|
-
style:
|
|
487
|
+
style: 'simple',
|
|
568
488
|
},
|
|
569
489
|
},
|
|
570
490
|
parameters: {
|
|
@@ -590,14 +510,14 @@ export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
|
|
|
590
510
|
* @param gameId The id of the game.
|
|
591
511
|
*/
|
|
592
512
|
export const patchAutolocalizationGamesGameidSettings = endpoint({
|
|
593
|
-
method:
|
|
594
|
-
path:
|
|
595
|
-
baseUrl:
|
|
596
|
-
requestFormat:
|
|
513
|
+
method: 'PATCH',
|
|
514
|
+
path: '/v1/autolocalization/games/:gameId/settings',
|
|
515
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
516
|
+
requestFormat: 'json',
|
|
597
517
|
serializationMethod: {
|
|
598
518
|
body: {},
|
|
599
519
|
gameId: {
|
|
600
|
-
style:
|
|
520
|
+
style: 'simple',
|
|
601
521
|
},
|
|
602
522
|
},
|
|
603
523
|
parameters: {
|
|
@@ -630,12 +550,11 @@ export const patchAutolocalizationGamesGameidSettings = endpoint({
|
|
|
630
550
|
* @summary Metadata for AutoLocalization Configuration
|
|
631
551
|
*/
|
|
632
552
|
export const getAutolocalizationMetadata = endpoint({
|
|
633
|
-
method:
|
|
634
|
-
path:
|
|
635
|
-
baseUrl:
|
|
636
|
-
requestFormat:
|
|
637
|
-
response:
|
|
638
|
-
Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse,
|
|
553
|
+
method: 'GET',
|
|
554
|
+
path: '/v1/autolocalization/metadata',
|
|
555
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
556
|
+
requestFormat: 'json',
|
|
557
|
+
response: Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse,
|
|
639
558
|
errors: [
|
|
640
559
|
{
|
|
641
560
|
status: 401,
|
|
@@ -650,20 +569,19 @@ The user must still have proper permissions for the game to get this info.
|
|
|
650
569
|
* @param gameId The game id.
|
|
651
570
|
*/
|
|
652
571
|
export const getAutomaticTranslationGamesGameidFeatureStatus = endpoint({
|
|
653
|
-
method:
|
|
654
|
-
path:
|
|
655
|
-
baseUrl:
|
|
656
|
-
requestFormat:
|
|
572
|
+
method: 'GET',
|
|
573
|
+
path: '/v1/automatic-translation/games/:gameId/feature-status',
|
|
574
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
575
|
+
requestFormat: 'json',
|
|
657
576
|
serializationMethod: {
|
|
658
577
|
gameId: {
|
|
659
|
-
style:
|
|
578
|
+
style: 'simple',
|
|
660
579
|
},
|
|
661
580
|
},
|
|
662
581
|
parameters: {
|
|
663
582
|
gameId: z.number().int(),
|
|
664
583
|
},
|
|
665
|
-
response:
|
|
666
|
-
Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse,
|
|
584
|
+
response: Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse,
|
|
667
585
|
errors: [
|
|
668
586
|
{
|
|
669
587
|
status: 401,
|
|
@@ -686,20 +604,19 @@ The user must still have proper permissions for the game to get this info.
|
|
|
686
604
|
* @param gameId The game id.
|
|
687
605
|
*/
|
|
688
606
|
export const getAutomaticTranslationGamesGameidQuota = endpoint({
|
|
689
|
-
method:
|
|
690
|
-
path:
|
|
691
|
-
baseUrl:
|
|
692
|
-
requestFormat:
|
|
607
|
+
method: 'GET',
|
|
608
|
+
path: '/v1/automatic-translation/games/:gameId/quota',
|
|
609
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
610
|
+
requestFormat: 'json',
|
|
693
611
|
serializationMethod: {
|
|
694
612
|
gameId: {
|
|
695
|
-
style:
|
|
613
|
+
style: 'simple',
|
|
696
614
|
},
|
|
697
615
|
},
|
|
698
616
|
parameters: {
|
|
699
617
|
gameId: z.number().int(),
|
|
700
618
|
},
|
|
701
|
-
response:
|
|
702
|
-
Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse,
|
|
619
|
+
response: Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse,
|
|
703
620
|
errors: [
|
|
704
621
|
{
|
|
705
622
|
status: 400,
|
|
@@ -727,44 +644,42 @@ If there are no requested target languages, then all allowed target languages fo
|
|
|
727
644
|
* @param targetLanguages Optional target languages. If not passed in, all allowed target languages for the source language will be returned.
|
|
728
645
|
* @param gameId Optional gameId. If not passed in, we'll return the default list of languages allowed.
|
|
729
646
|
*/
|
|
730
|
-
export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages =
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
style: "simple",
|
|
739
|
-
},
|
|
740
|
-
targetLanguages: {
|
|
741
|
-
style: "form",
|
|
742
|
-
explode: true,
|
|
743
|
-
},
|
|
744
|
-
gameId: {
|
|
745
|
-
style: "form",
|
|
746
|
-
explode: true,
|
|
747
|
-
},
|
|
647
|
+
export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages = endpoint({
|
|
648
|
+
method: 'GET',
|
|
649
|
+
path: '/v1/automatic-translation/languages/:languageCode/target-languages',
|
|
650
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
651
|
+
requestFormat: 'json',
|
|
652
|
+
serializationMethod: {
|
|
653
|
+
languageCode: {
|
|
654
|
+
style: 'simple',
|
|
748
655
|
},
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
gameId: z.number().int().optional(),
|
|
656
|
+
targetLanguages: {
|
|
657
|
+
style: 'form',
|
|
658
|
+
explode: true,
|
|
753
659
|
},
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
660
|
+
gameId: {
|
|
661
|
+
style: 'form',
|
|
662
|
+
explode: true,
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
parameters: {
|
|
666
|
+
languageCode: z.string(),
|
|
667
|
+
targetLanguages: z.array(z.string()).optional(),
|
|
668
|
+
gameId: z.number().int().optional(),
|
|
669
|
+
},
|
|
670
|
+
response: Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse,
|
|
671
|
+
errors: [
|
|
672
|
+
{
|
|
673
|
+
status: 400,
|
|
674
|
+
description: `73: Maximum languages exceeded. Please keep the number of languages per request below the maximum.
|
|
760
675
|
74: A target language cannot be null or whitespace.`,
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
status: 503,
|
|
679
|
+
description: `17: Feature is disabled`,
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
});
|
|
768
683
|
/**
|
|
769
684
|
* @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/description/language-codes/:languageCode
|
|
770
685
|
* @summary Update localized description of a badge
|
|
@@ -773,17 +688,17 @@ export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages =
|
|
|
773
688
|
* @param languageCode The language code of the description to update
|
|
774
689
|
*/
|
|
775
690
|
export const patchBadgesBadgeidDescriptionLanguageCodesLanguagecode = endpoint({
|
|
776
|
-
method:
|
|
777
|
-
path:
|
|
778
|
-
baseUrl:
|
|
779
|
-
requestFormat:
|
|
691
|
+
method: 'PATCH',
|
|
692
|
+
path: '/v1/badges/:badgeId/description/language-codes/:languageCode',
|
|
693
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
694
|
+
requestFormat: 'json',
|
|
780
695
|
serializationMethod: {
|
|
781
696
|
body: {},
|
|
782
697
|
badgeId: {
|
|
783
|
-
style:
|
|
698
|
+
style: 'simple',
|
|
784
699
|
},
|
|
785
700
|
languageCode: {
|
|
786
|
-
style:
|
|
701
|
+
style: 'simple',
|
|
787
702
|
},
|
|
788
703
|
},
|
|
789
704
|
parameters: {
|
|
@@ -830,20 +745,20 @@ export const patchBadgesBadgeidDescriptionLanguageCodesLanguagecode = endpoint({
|
|
|
830
745
|
* @param height The height of the icon to request
|
|
831
746
|
*/
|
|
832
747
|
export const getBadgesBadgeidIcons = endpoint({
|
|
833
|
-
method:
|
|
834
|
-
path:
|
|
835
|
-
baseUrl:
|
|
836
|
-
requestFormat:
|
|
748
|
+
method: 'GET',
|
|
749
|
+
path: '/v1/badges/:badgeId/icons',
|
|
750
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
751
|
+
requestFormat: 'json',
|
|
837
752
|
serializationMethod: {
|
|
838
753
|
badgeId: {
|
|
839
|
-
style:
|
|
754
|
+
style: 'simple',
|
|
840
755
|
},
|
|
841
756
|
width: {
|
|
842
|
-
style:
|
|
757
|
+
style: 'form',
|
|
843
758
|
explode: true,
|
|
844
759
|
},
|
|
845
760
|
height: {
|
|
846
|
-
style:
|
|
761
|
+
style: 'form',
|
|
847
762
|
explode: true,
|
|
848
763
|
},
|
|
849
764
|
},
|
|
@@ -852,8 +767,7 @@ export const getBadgesBadgeidIcons = endpoint({
|
|
|
852
767
|
width: z.number().int().optional().default(150),
|
|
853
768
|
height: z.number().int().optional().default(150),
|
|
854
769
|
},
|
|
855
|
-
response:
|
|
856
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_,
|
|
770
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_,
|
|
857
771
|
errors: [
|
|
858
772
|
{
|
|
859
773
|
status: 400,
|
|
@@ -882,17 +796,17 @@ export const getBadgesBadgeidIcons = endpoint({
|
|
|
882
796
|
* @param languageCode The language code of this icon to update
|
|
883
797
|
*/
|
|
884
798
|
export const postBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
|
|
885
|
-
method:
|
|
886
|
-
path:
|
|
887
|
-
baseUrl:
|
|
888
|
-
requestFormat:
|
|
799
|
+
method: 'POST',
|
|
800
|
+
path: '/v1/badges/:badgeId/icons/language-codes/:languageCode',
|
|
801
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
802
|
+
requestFormat: 'form-data',
|
|
889
803
|
serializationMethod: {
|
|
890
804
|
body: {},
|
|
891
805
|
badgeId: {
|
|
892
|
-
style:
|
|
806
|
+
style: 'simple',
|
|
893
807
|
},
|
|
894
808
|
languageCode: {
|
|
895
|
-
style:
|
|
809
|
+
style: 'simple',
|
|
896
810
|
},
|
|
897
811
|
},
|
|
898
812
|
parameters: {
|
|
@@ -941,16 +855,16 @@ export const postBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
|
|
|
941
855
|
* @param languageCode The language code of the localized icon to delete
|
|
942
856
|
*/
|
|
943
857
|
export const deleteBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
|
|
944
|
-
method:
|
|
945
|
-
path:
|
|
946
|
-
baseUrl:
|
|
947
|
-
requestFormat:
|
|
858
|
+
method: 'DELETE',
|
|
859
|
+
path: '/v1/badges/:badgeId/icons/language-codes/:languageCode',
|
|
860
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
861
|
+
requestFormat: 'json',
|
|
948
862
|
serializationMethod: {
|
|
949
863
|
badgeId: {
|
|
950
|
-
style:
|
|
864
|
+
style: 'simple',
|
|
951
865
|
},
|
|
952
866
|
languageCode: {
|
|
953
|
-
style:
|
|
867
|
+
style: 'simple',
|
|
954
868
|
},
|
|
955
869
|
},
|
|
956
870
|
parameters: {
|
|
@@ -990,20 +904,19 @@ export const deleteBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
|
|
|
990
904
|
* @param badgeId
|
|
991
905
|
*/
|
|
992
906
|
export const getBadgesBadgeidNameDescription = endpoint({
|
|
993
|
-
method:
|
|
994
|
-
path:
|
|
995
|
-
baseUrl:
|
|
996
|
-
requestFormat:
|
|
907
|
+
method: 'GET',
|
|
908
|
+
path: '/v1/badges/:badgeId/name-description',
|
|
909
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
910
|
+
requestFormat: 'json',
|
|
997
911
|
serializationMethod: {
|
|
998
912
|
badgeId: {
|
|
999
|
-
style:
|
|
913
|
+
style: 'simple',
|
|
1000
914
|
},
|
|
1001
915
|
},
|
|
1002
916
|
parameters: {
|
|
1003
917
|
badgeId: z.number().int(),
|
|
1004
918
|
},
|
|
1005
|
-
response:
|
|
1006
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
919
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
1007
920
|
errors: [
|
|
1008
921
|
{
|
|
1009
922
|
status: 400,
|
|
@@ -1025,52 +938,51 @@ export const getBadgesBadgeidNameDescription = endpoint({
|
|
|
1025
938
|
* @param badgeId The badge id
|
|
1026
939
|
* @param languageCode The language code of the name and description to delete
|
|
1027
940
|
*/
|
|
1028
|
-
export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
style: "simple",
|
|
1037
|
-
},
|
|
1038
|
-
languageCode: {
|
|
1039
|
-
style: "simple",
|
|
1040
|
-
},
|
|
941
|
+
export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
942
|
+
method: 'DELETE',
|
|
943
|
+
path: '/v1/badges/:badgeId/name-description/language-codes/:languageCode',
|
|
944
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
945
|
+
requestFormat: 'json',
|
|
946
|
+
serializationMethod: {
|
|
947
|
+
badgeId: {
|
|
948
|
+
style: 'simple',
|
|
1041
949
|
},
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
languageCode: z.string(),
|
|
950
|
+
languageCode: {
|
|
951
|
+
style: 'simple',
|
|
1045
952
|
},
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
953
|
+
},
|
|
954
|
+
parameters: {
|
|
955
|
+
badgeId: z.number().int(),
|
|
956
|
+
languageCode: z.string(),
|
|
957
|
+
},
|
|
958
|
+
response: z.object({}),
|
|
959
|
+
errors: [
|
|
960
|
+
{
|
|
961
|
+
status: 400,
|
|
962
|
+
description: `22: Invalid language code
|
|
1051
963
|
23: You can't delete translations for source language
|
|
1052
964
|
53: Language is not supported for the game.
|
|
1053
965
|
62: Invalid game badge id`,
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
status: 401,
|
|
969
|
+
description: `0: Authorization has been denied for this request.`,
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
status: 403,
|
|
973
|
+
description: `0: Token Validation Failed
|
|
1062
974
|
18: You do not have permission to manage this game`,
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
status: 500,
|
|
978
|
+
description: `0: An unknown error occurred.`,
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
status: 503,
|
|
982
|
+
description: `17: Feature is disabled`,
|
|
983
|
+
},
|
|
984
|
+
],
|
|
985
|
+
});
|
|
1074
986
|
/**
|
|
1075
987
|
* @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/name-description/language-codes/:languageCode
|
|
1076
988
|
* @summary Update localized name and description of a badge
|
|
@@ -1078,58 +990,56 @@ export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
|
|
|
1078
990
|
* @param badgeId The badge id
|
|
1079
991
|
* @param languageCode The language code of the name and description to Update
|
|
1080
992
|
*/
|
|
1081
|
-
export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
style: "simple",
|
|
1091
|
-
},
|
|
1092
|
-
languageCode: {
|
|
1093
|
-
style: "simple",
|
|
1094
|
-
},
|
|
993
|
+
export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
994
|
+
method: 'PATCH',
|
|
995
|
+
path: '/v1/badges/:badgeId/name-description/language-codes/:languageCode',
|
|
996
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
997
|
+
requestFormat: 'json',
|
|
998
|
+
serializationMethod: {
|
|
999
|
+
body: {},
|
|
1000
|
+
badgeId: {
|
|
1001
|
+
style: 'simple',
|
|
1095
1002
|
},
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
languageCode: z.string(),
|
|
1003
|
+
languageCode: {
|
|
1004
|
+
style: 'simple',
|
|
1099
1005
|
},
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1006
|
+
},
|
|
1007
|
+
parameters: {
|
|
1008
|
+
badgeId: z.number().int(),
|
|
1009
|
+
languageCode: z.string(),
|
|
1010
|
+
},
|
|
1011
|
+
body: Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest,
|
|
1012
|
+
response: Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse,
|
|
1013
|
+
errors: [
|
|
1014
|
+
{
|
|
1015
|
+
status: 400,
|
|
1016
|
+
description: `13: Request body can't be null
|
|
1107
1017
|
19: New name is null or whitespaces or new name/description is too long
|
|
1108
1018
|
20: New name or description is moderated
|
|
1109
1019
|
22: Invalid language code
|
|
1110
1020
|
26: You can't update translations for source language
|
|
1111
1021
|
53: Language is not supported for the game.
|
|
1112
1022
|
62: Invalid game badge id`,
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
status: 401,
|
|
1026
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
status: 403,
|
|
1030
|
+
description: `0: Token Validation Failed
|
|
1121
1031
|
18: You do not have permission to manage this game`,
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
status: 500,
|
|
1035
|
+
description: `0: An unknown error occurred.`,
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
status: 503,
|
|
1039
|
+
description: `17: Feature is disabled`,
|
|
1040
|
+
},
|
|
1041
|
+
],
|
|
1042
|
+
});
|
|
1133
1043
|
/**
|
|
1134
1044
|
* @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/name/language-codes/:languageCode
|
|
1135
1045
|
* @summary Update localized name of a badge
|
|
@@ -1138,17 +1048,17 @@ export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
|
|
|
1138
1048
|
* @param languageCode The language code of the name to update
|
|
1139
1049
|
*/
|
|
1140
1050
|
export const patchBadgesBadgeidNameLanguageCodesLanguagecode = endpoint({
|
|
1141
|
-
method:
|
|
1142
|
-
path:
|
|
1143
|
-
baseUrl:
|
|
1144
|
-
requestFormat:
|
|
1051
|
+
method: 'PATCH',
|
|
1052
|
+
path: '/v1/badges/:badgeId/name/language-codes/:languageCode',
|
|
1053
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1054
|
+
requestFormat: 'json',
|
|
1145
1055
|
serializationMethod: {
|
|
1146
1056
|
body: {},
|
|
1147
1057
|
badgeId: {
|
|
1148
|
-
style:
|
|
1058
|
+
style: 'simple',
|
|
1149
1059
|
},
|
|
1150
1060
|
languageCode: {
|
|
1151
|
-
style:
|
|
1061
|
+
style: 'simple',
|
|
1152
1062
|
},
|
|
1153
1063
|
},
|
|
1154
1064
|
parameters: {
|
|
@@ -1194,57 +1104,56 @@ export const patchBadgesBadgeidNameLanguageCodesLanguagecode = endpoint({
|
|
|
1194
1104
|
* @param developerProductId The developer product id
|
|
1195
1105
|
* @param languageCode The language code of the description to update
|
|
1196
1106
|
*/
|
|
1197
|
-
export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLanguagecode =
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
style: "simple",
|
|
1207
|
-
},
|
|
1208
|
-
languageCode: {
|
|
1209
|
-
style: "simple",
|
|
1210
|
-
},
|
|
1107
|
+
export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLanguagecode = endpoint({
|
|
1108
|
+
method: 'PATCH',
|
|
1109
|
+
path: '/v1/developer-products/:developerProductId/description/language-codes/:languageCode',
|
|
1110
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1111
|
+
requestFormat: 'json',
|
|
1112
|
+
serializationMethod: {
|
|
1113
|
+
body: {},
|
|
1114
|
+
developerProductId: {
|
|
1115
|
+
style: 'simple',
|
|
1211
1116
|
},
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
languageCode: z.string(),
|
|
1117
|
+
languageCode: {
|
|
1118
|
+
style: 'simple',
|
|
1215
1119
|
},
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1120
|
+
},
|
|
1121
|
+
parameters: {
|
|
1122
|
+
developerProductId: z.number().int(),
|
|
1123
|
+
languageCode: z.string(),
|
|
1124
|
+
},
|
|
1125
|
+
body: z.object({ description: z.string() }),
|
|
1126
|
+
response: z.object({ description: z.string() }),
|
|
1127
|
+
errors: [
|
|
1128
|
+
{
|
|
1129
|
+
status: 400,
|
|
1130
|
+
description: `13: Request body can't be null
|
|
1222
1131
|
19: New name is null or whitespaces or new name/description is too long
|
|
1223
1132
|
20: New name or description is moderated
|
|
1224
1133
|
22: Invalid language code
|
|
1225
1134
|
26: You can't update translations for source language
|
|
1226
1135
|
53: Language is not supported for the game.
|
|
1227
1136
|
70: Invalid developer product id`,
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
status: 401,
|
|
1140
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
status: 403,
|
|
1144
|
+
description: `0: Token Validation Failed
|
|
1236
1145
|
18: You do not have permission to manage this game`,
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
status: 500,
|
|
1149
|
+
description: `0: An unknown error occurred.`,
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
status: 503,
|
|
1153
|
+
description: `17: Feature is disabled`,
|
|
1154
|
+
},
|
|
1155
|
+
],
|
|
1156
|
+
});
|
|
1248
1157
|
/**
|
|
1249
1158
|
* @api GET https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/icons
|
|
1250
1159
|
* @summary Get all icons for a developer product
|
|
@@ -1253,20 +1162,20 @@ export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLan
|
|
|
1253
1162
|
* @param height The height of the icon to request
|
|
1254
1163
|
*/
|
|
1255
1164
|
export const getDeveloperProductsDeveloperproductidIcons = endpoint({
|
|
1256
|
-
method:
|
|
1257
|
-
path:
|
|
1258
|
-
baseUrl:
|
|
1259
|
-
requestFormat:
|
|
1165
|
+
method: 'GET',
|
|
1166
|
+
path: '/v1/developer-products/:developerProductId/icons',
|
|
1167
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1168
|
+
requestFormat: 'json',
|
|
1260
1169
|
serializationMethod: {
|
|
1261
1170
|
developerProductId: {
|
|
1262
|
-
style:
|
|
1171
|
+
style: 'simple',
|
|
1263
1172
|
},
|
|
1264
1173
|
width: {
|
|
1265
|
-
style:
|
|
1174
|
+
style: 'form',
|
|
1266
1175
|
explode: true,
|
|
1267
1176
|
},
|
|
1268
1177
|
height: {
|
|
1269
|
-
style:
|
|
1178
|
+
style: 'form',
|
|
1270
1179
|
explode: true,
|
|
1271
1180
|
},
|
|
1272
1181
|
},
|
|
@@ -1304,199 +1213,195 @@ export const getDeveloperProductsDeveloperproductidIcons = endpoint({
|
|
|
1304
1213
|
* @param developerProductId The id of the developer product
|
|
1305
1214
|
* @param languageCode The language code of this icon to update
|
|
1306
1215
|
*/
|
|
1307
|
-
export const postDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode =
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
style: "simple",
|
|
1317
|
-
},
|
|
1318
|
-
languageCode: {
|
|
1319
|
-
style: "simple",
|
|
1320
|
-
},
|
|
1216
|
+
export const postDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode = endpoint({
|
|
1217
|
+
method: 'POST',
|
|
1218
|
+
path: '/v1/developer-products/:developerProductId/icons/language-codes/:languageCode',
|
|
1219
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1220
|
+
requestFormat: 'form-data',
|
|
1221
|
+
serializationMethod: {
|
|
1222
|
+
body: {},
|
|
1223
|
+
developerProductId: {
|
|
1224
|
+
style: 'simple',
|
|
1321
1225
|
},
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
languageCode: z.string(),
|
|
1226
|
+
languageCode: {
|
|
1227
|
+
style: 'simple',
|
|
1325
1228
|
},
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1229
|
+
},
|
|
1230
|
+
parameters: {
|
|
1231
|
+
developerProductId: z.number().int(),
|
|
1232
|
+
languageCode: z.string(),
|
|
1233
|
+
},
|
|
1234
|
+
body: z.object({ Files: z.instanceof(File) }),
|
|
1235
|
+
response: z.object({}),
|
|
1236
|
+
errors: [
|
|
1237
|
+
{
|
|
1238
|
+
status: 400,
|
|
1239
|
+
description: `22: Invalid language code
|
|
1332
1240
|
26: You can't update translations for source language
|
|
1333
1241
|
45: File uploaded does not match known image format
|
|
1334
1242
|
46: File not present in request
|
|
1335
1243
|
53: Language is not supported for the game.
|
|
1336
1244
|
70: Invalid developer product id`,
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
status: 401,
|
|
1248
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
status: 403,
|
|
1252
|
+
description: `0: Token Validation Failed
|
|
1345
1253
|
18: You do not have permission to manage this game`,
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
status: 429,
|
|
1257
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
status: 500,
|
|
1261
|
+
description: `0: An unknown error occurred.`,
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
status: 503,
|
|
1265
|
+
description: `17: Feature is disabled`,
|
|
1266
|
+
},
|
|
1267
|
+
],
|
|
1268
|
+
});
|
|
1361
1269
|
/**
|
|
1362
1270
|
* @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/icons/language-codes/:languageCode
|
|
1363
1271
|
* @summary Delete a localized icon from a developer product
|
|
1364
1272
|
* @param developerProductId The id of the developer product
|
|
1365
1273
|
* @param languageCode The language code of the localized icon to delete
|
|
1366
1274
|
*/
|
|
1367
|
-
export const deleteDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode =
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
style: "simple",
|
|
1376
|
-
},
|
|
1377
|
-
languageCode: {
|
|
1378
|
-
style: "simple",
|
|
1379
|
-
},
|
|
1275
|
+
export const deleteDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode = endpoint({
|
|
1276
|
+
method: 'DELETE',
|
|
1277
|
+
path: '/v1/developer-products/:developerProductId/icons/language-codes/:languageCode',
|
|
1278
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1279
|
+
requestFormat: 'json',
|
|
1280
|
+
serializationMethod: {
|
|
1281
|
+
developerProductId: {
|
|
1282
|
+
style: 'simple',
|
|
1380
1283
|
},
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
languageCode: z.string(),
|
|
1284
|
+
languageCode: {
|
|
1285
|
+
style: 'simple',
|
|
1384
1286
|
},
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1287
|
+
},
|
|
1288
|
+
parameters: {
|
|
1289
|
+
developerProductId: z.number().int(),
|
|
1290
|
+
languageCode: z.string(),
|
|
1291
|
+
},
|
|
1292
|
+
response: z.object({}),
|
|
1293
|
+
errors: [
|
|
1294
|
+
{
|
|
1295
|
+
status: 400,
|
|
1296
|
+
description: `22: Invalid language code
|
|
1390
1297
|
23: You can't delete translations for source language
|
|
1391
1298
|
53: Language is not supported for the game.
|
|
1392
1299
|
70: Invalid developer product id`,
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
status: 401,
|
|
1303
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
status: 403,
|
|
1307
|
+
description: `0: Token Validation Failed
|
|
1401
1308
|
18: You do not have permission to manage this game`,
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
status: 500,
|
|
1312
|
+
description: `0: An unknown error occurred.`,
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
status: 503,
|
|
1316
|
+
description: `17: Feature is disabled`,
|
|
1317
|
+
},
|
|
1318
|
+
],
|
|
1319
|
+
});
|
|
1413
1320
|
/**
|
|
1414
1321
|
* @api GET https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description
|
|
1415
1322
|
* @summary Get all names and descriptions of a developer product
|
|
1416
1323
|
* @param developerProductId The developer product Id
|
|
1417
1324
|
*/
|
|
1418
1325
|
export const getDeveloperProductsDeveloperproductidNameDescription = endpoint({
|
|
1419
|
-
method:
|
|
1420
|
-
path:
|
|
1421
|
-
baseUrl:
|
|
1422
|
-
requestFormat:
|
|
1326
|
+
method: 'GET',
|
|
1327
|
+
path: '/v1/developer-products/:developerProductId/name-description',
|
|
1328
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1329
|
+
requestFormat: 'json',
|
|
1330
|
+
serializationMethod: {
|
|
1331
|
+
developerProductId: {
|
|
1332
|
+
style: 'simple',
|
|
1333
|
+
},
|
|
1334
|
+
},
|
|
1335
|
+
parameters: {
|
|
1336
|
+
developerProductId: z.number().int(),
|
|
1337
|
+
},
|
|
1338
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
1339
|
+
errors: [
|
|
1340
|
+
{
|
|
1341
|
+
status: 400,
|
|
1342
|
+
description: `70: Invalid developer product id`,
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
status: 401,
|
|
1346
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
status: 503,
|
|
1350
|
+
description: `17: Feature is disabled`,
|
|
1351
|
+
},
|
|
1352
|
+
],
|
|
1353
|
+
});
|
|
1354
|
+
/**
|
|
1355
|
+
* @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
|
|
1356
|
+
* @summary Delete localized name and description of a developer product
|
|
1357
|
+
* @param developerProductId The developer product id
|
|
1358
|
+
* @param languageCode The language code of the name and description to delete
|
|
1359
|
+
*/
|
|
1360
|
+
export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
1361
|
+
method: 'DELETE',
|
|
1362
|
+
path: '/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode',
|
|
1363
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1364
|
+
requestFormat: 'json',
|
|
1423
1365
|
serializationMethod: {
|
|
1424
1366
|
developerProductId: {
|
|
1425
|
-
style:
|
|
1367
|
+
style: 'simple',
|
|
1368
|
+
},
|
|
1369
|
+
languageCode: {
|
|
1370
|
+
style: 'simple',
|
|
1426
1371
|
},
|
|
1427
1372
|
},
|
|
1428
1373
|
parameters: {
|
|
1429
1374
|
developerProductId: z.number().int(),
|
|
1375
|
+
languageCode: z.string(),
|
|
1430
1376
|
},
|
|
1431
|
-
response:
|
|
1432
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
1377
|
+
response: z.object({}),
|
|
1433
1378
|
errors: [
|
|
1434
1379
|
{
|
|
1435
1380
|
status: 400,
|
|
1436
|
-
description: `
|
|
1381
|
+
description: `22: Invalid language code
|
|
1382
|
+
23: You can't delete translations for source language
|
|
1383
|
+
53: Language is not supported for the game.
|
|
1384
|
+
70: Invalid developer product id`,
|
|
1437
1385
|
},
|
|
1438
1386
|
{
|
|
1439
1387
|
status: 401,
|
|
1440
1388
|
description: `0: Authorization has been denied for this request.`,
|
|
1441
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
status: 403,
|
|
1392
|
+
description: `0: Token Validation Failed
|
|
1393
|
+
18: You do not have permission to manage this game`,
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
status: 500,
|
|
1397
|
+
description: `0: An unknown error occurred.`,
|
|
1398
|
+
},
|
|
1442
1399
|
{
|
|
1443
1400
|
status: 503,
|
|
1444
1401
|
description: `17: Feature is disabled`,
|
|
1445
1402
|
},
|
|
1446
1403
|
],
|
|
1447
1404
|
});
|
|
1448
|
-
/**
|
|
1449
|
-
* @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
|
|
1450
|
-
* @summary Delete localized name and description of a developer product
|
|
1451
|
-
* @param developerProductId The developer product id
|
|
1452
|
-
* @param languageCode The language code of the name and description to delete
|
|
1453
|
-
*/
|
|
1454
|
-
export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode =
|
|
1455
|
-
endpoint({
|
|
1456
|
-
method: "DELETE",
|
|
1457
|
-
path: "/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode",
|
|
1458
|
-
baseUrl: "https://gameinternationalization.roblox.com",
|
|
1459
|
-
requestFormat: "json",
|
|
1460
|
-
serializationMethod: {
|
|
1461
|
-
developerProductId: {
|
|
1462
|
-
style: "simple",
|
|
1463
|
-
},
|
|
1464
|
-
languageCode: {
|
|
1465
|
-
style: "simple",
|
|
1466
|
-
},
|
|
1467
|
-
},
|
|
1468
|
-
parameters: {
|
|
1469
|
-
developerProductId: z.number().int(),
|
|
1470
|
-
languageCode: z.string(),
|
|
1471
|
-
},
|
|
1472
|
-
response: z.object({}),
|
|
1473
|
-
errors: [
|
|
1474
|
-
{
|
|
1475
|
-
status: 400,
|
|
1476
|
-
description: `22: Invalid language code
|
|
1477
|
-
23: You can't delete translations for source language
|
|
1478
|
-
53: Language is not supported for the game.
|
|
1479
|
-
70: Invalid developer product id`,
|
|
1480
|
-
},
|
|
1481
|
-
{
|
|
1482
|
-
status: 401,
|
|
1483
|
-
description: `0: Authorization has been denied for this request.`,
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
status: 403,
|
|
1487
|
-
description: `0: Token Validation Failed
|
|
1488
|
-
18: You do not have permission to manage this game`,
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
status: 500,
|
|
1492
|
-
description: `0: An unknown error occurred.`,
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
status: 503,
|
|
1496
|
-
description: `17: Feature is disabled`,
|
|
1497
|
-
},
|
|
1498
|
-
],
|
|
1499
|
-
});
|
|
1500
1405
|
/**
|
|
1501
1406
|
* @api PATCH https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
|
|
1502
1407
|
* @summary Update localized name and description of a developer product
|
|
@@ -1504,58 +1409,56 @@ export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCod
|
|
|
1504
1409
|
* @param developerProductId The developer product id
|
|
1505
1410
|
* @param languageCode The language code of the name and description to Update
|
|
1506
1411
|
*/
|
|
1507
|
-
export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode =
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
style: "simple",
|
|
1517
|
-
},
|
|
1518
|
-
languageCode: {
|
|
1519
|
-
style: "simple",
|
|
1520
|
-
},
|
|
1412
|
+
export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
1413
|
+
method: 'PATCH',
|
|
1414
|
+
path: '/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode',
|
|
1415
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1416
|
+
requestFormat: 'json',
|
|
1417
|
+
serializationMethod: {
|
|
1418
|
+
body: {},
|
|
1419
|
+
developerProductId: {
|
|
1420
|
+
style: 'simple',
|
|
1521
1421
|
},
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
languageCode: z.string(),
|
|
1422
|
+
languageCode: {
|
|
1423
|
+
style: 'simple',
|
|
1525
1424
|
},
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1425
|
+
},
|
|
1426
|
+
parameters: {
|
|
1427
|
+
developerProductId: z.number().int(),
|
|
1428
|
+
languageCode: z.string(),
|
|
1429
|
+
},
|
|
1430
|
+
body: Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest,
|
|
1431
|
+
response: Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse,
|
|
1432
|
+
errors: [
|
|
1433
|
+
{
|
|
1434
|
+
status: 400,
|
|
1435
|
+
description: `13: Request body can't be null
|
|
1533
1436
|
19: New name is null or whitespaces or new name/description is too long
|
|
1534
1437
|
20: New name or description is moderated
|
|
1535
1438
|
22: Invalid language code
|
|
1536
1439
|
26: You can't update translations for source language
|
|
1537
1440
|
53: Language is not supported for the game.
|
|
1538
1441
|
70: Invalid developer product id`,
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
status: 401,
|
|
1445
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
status: 403,
|
|
1449
|
+
description: `0: Token Validation Failed
|
|
1547
1450
|
18: You do not have permission to manage this game`,
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
status: 500,
|
|
1454
|
+
description: `0: An unknown error occurred.`,
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
status: 503,
|
|
1458
|
+
description: `17: Feature is disabled`,
|
|
1459
|
+
},
|
|
1460
|
+
],
|
|
1461
|
+
});
|
|
1559
1462
|
/**
|
|
1560
1463
|
* @api PATCH https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name/language-codes/:languageCode
|
|
1561
1464
|
* @summary Update localized name of a developer product
|
|
@@ -1563,57 +1466,56 @@ export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCode
|
|
|
1563
1466
|
* @param developerProductId The developer product id
|
|
1564
1467
|
* @param languageCode The language code of the name to update
|
|
1565
1468
|
*/
|
|
1566
|
-
export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguagecode =
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
style: "simple",
|
|
1576
|
-
},
|
|
1577
|
-
languageCode: {
|
|
1578
|
-
style: "simple",
|
|
1579
|
-
},
|
|
1469
|
+
export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguagecode = endpoint({
|
|
1470
|
+
method: 'PATCH',
|
|
1471
|
+
path: '/v1/developer-products/:developerProductId/name/language-codes/:languageCode',
|
|
1472
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1473
|
+
requestFormat: 'json',
|
|
1474
|
+
serializationMethod: {
|
|
1475
|
+
body: {},
|
|
1476
|
+
developerProductId: {
|
|
1477
|
+
style: 'simple',
|
|
1580
1478
|
},
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
languageCode: z.string(),
|
|
1479
|
+
languageCode: {
|
|
1480
|
+
style: 'simple',
|
|
1584
1481
|
},
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1482
|
+
},
|
|
1483
|
+
parameters: {
|
|
1484
|
+
developerProductId: z.number().int(),
|
|
1485
|
+
languageCode: z.string(),
|
|
1486
|
+
},
|
|
1487
|
+
body: z.object({ name: z.string() }),
|
|
1488
|
+
response: z.object({ name: z.string() }),
|
|
1489
|
+
errors: [
|
|
1490
|
+
{
|
|
1491
|
+
status: 400,
|
|
1492
|
+
description: `13: Request body can't be null
|
|
1591
1493
|
19: New name is null or whitespaces or new name/description is too long
|
|
1592
1494
|
20: New name or description is moderated
|
|
1593
1495
|
22: Invalid language code
|
|
1594
1496
|
26: You can't update translations for source language
|
|
1595
1497
|
53: Language is not supported for the game.
|
|
1596
1498
|
70: Invalid developer product id`,
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
status: 401,
|
|
1502
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
status: 403,
|
|
1506
|
+
description: `0: Token Validation Failed
|
|
1605
1507
|
18: You do not have permission to manage this game`,
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
status: 500,
|
|
1511
|
+
description: `0: An unknown error occurred.`,
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
status: 503,
|
|
1515
|
+
description: `17: Feature is disabled`,
|
|
1516
|
+
},
|
|
1517
|
+
],
|
|
1518
|
+
});
|
|
1617
1519
|
/**
|
|
1618
1520
|
* @api GET https://gameinternationalization.roblox.com/v1/game-icon/games/:gameId
|
|
1619
1521
|
* @summary Get all icons for a game
|
|
@@ -1622,20 +1524,20 @@ export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguageco
|
|
|
1622
1524
|
* @param height The height of the icon to request
|
|
1623
1525
|
*/
|
|
1624
1526
|
export const getGameIconGamesGameid = endpoint({
|
|
1625
|
-
method:
|
|
1626
|
-
path:
|
|
1627
|
-
baseUrl:
|
|
1628
|
-
requestFormat:
|
|
1527
|
+
method: 'GET',
|
|
1528
|
+
path: '/v1/game-icon/games/:gameId',
|
|
1529
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1530
|
+
requestFormat: 'json',
|
|
1629
1531
|
serializationMethod: {
|
|
1630
1532
|
gameId: {
|
|
1631
|
-
style:
|
|
1533
|
+
style: 'simple',
|
|
1632
1534
|
},
|
|
1633
1535
|
width: {
|
|
1634
|
-
style:
|
|
1536
|
+
style: 'form',
|
|
1635
1537
|
explode: true,
|
|
1636
1538
|
},
|
|
1637
1539
|
height: {
|
|
1638
|
-
style:
|
|
1540
|
+
style: 'form',
|
|
1639
1541
|
explode: true,
|
|
1640
1542
|
},
|
|
1641
1543
|
},
|
|
@@ -1644,8 +1546,7 @@ export const getGameIconGamesGameid = endpoint({
|
|
|
1644
1546
|
width: z.number().int().optional().default(512),
|
|
1645
1547
|
height: z.number().int().optional().default(512),
|
|
1646
1548
|
},
|
|
1647
|
-
response:
|
|
1648
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_,
|
|
1549
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_,
|
|
1649
1550
|
errors: [
|
|
1650
1551
|
{
|
|
1651
1552
|
status: 400,
|
|
@@ -1674,17 +1575,17 @@ export const getGameIconGamesGameid = endpoint({
|
|
|
1674
1575
|
* @param languageCode The language code of this icon to update
|
|
1675
1576
|
*/
|
|
1676
1577
|
export const postGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
|
|
1677
|
-
method:
|
|
1678
|
-
path:
|
|
1679
|
-
baseUrl:
|
|
1680
|
-
requestFormat:
|
|
1578
|
+
method: 'POST',
|
|
1579
|
+
path: '/v1/game-icon/games/:gameId/language-codes/:languageCode',
|
|
1580
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1581
|
+
requestFormat: 'form-data',
|
|
1681
1582
|
serializationMethod: {
|
|
1682
1583
|
body: {},
|
|
1683
1584
|
gameId: {
|
|
1684
|
-
style:
|
|
1585
|
+
style: 'simple',
|
|
1685
1586
|
},
|
|
1686
1587
|
languageCode: {
|
|
1687
|
-
style:
|
|
1588
|
+
style: 'simple',
|
|
1688
1589
|
},
|
|
1689
1590
|
},
|
|
1690
1591
|
parameters: {
|
|
@@ -1733,16 +1634,16 @@ export const postGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
|
|
|
1733
1634
|
* @param languageCode The language code of the localized icon to delete
|
|
1734
1635
|
*/
|
|
1735
1636
|
export const deleteGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
|
|
1736
|
-
method:
|
|
1737
|
-
path:
|
|
1738
|
-
baseUrl:
|
|
1739
|
-
requestFormat:
|
|
1637
|
+
method: 'DELETE',
|
|
1638
|
+
path: '/v1/game-icon/games/:gameId/language-codes/:languageCode',
|
|
1639
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1640
|
+
requestFormat: 'json',
|
|
1740
1641
|
serializationMethod: {
|
|
1741
1642
|
gameId: {
|
|
1742
|
-
style:
|
|
1643
|
+
style: 'simple',
|
|
1743
1644
|
},
|
|
1744
1645
|
languageCode: {
|
|
1745
|
-
style:
|
|
1646
|
+
style: 'simple',
|
|
1746
1647
|
},
|
|
1747
1648
|
},
|
|
1748
1649
|
parameters: {
|
|
@@ -1783,20 +1684,19 @@ export const deleteGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
|
|
|
1783
1684
|
* @param gameId GameID of the game to get translation counts for
|
|
1784
1685
|
*/
|
|
1785
1686
|
export const getGameLocalizationStatusGameidTranslationCounts = endpoint({
|
|
1786
|
-
method:
|
|
1787
|
-
path:
|
|
1788
|
-
baseUrl:
|
|
1789
|
-
requestFormat:
|
|
1687
|
+
method: 'GET',
|
|
1688
|
+
path: '/v1/game-localization-status/:gameId/translation-counts',
|
|
1689
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1690
|
+
requestFormat: 'json',
|
|
1790
1691
|
serializationMethod: {
|
|
1791
1692
|
gameId: {
|
|
1792
|
-
style:
|
|
1693
|
+
style: 'simple',
|
|
1793
1694
|
},
|
|
1794
1695
|
},
|
|
1795
1696
|
parameters: {
|
|
1796
1697
|
gameId: z.number().int(),
|
|
1797
1698
|
},
|
|
1798
|
-
response:
|
|
1799
|
-
Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse,
|
|
1699
|
+
response: Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse,
|
|
1800
1700
|
errors: [
|
|
1801
1701
|
{
|
|
1802
1702
|
status: 400,
|
|
@@ -1821,46 +1721,44 @@ The languages to retrieve must be provided.
|
|
|
1821
1721
|
* @param languageOrLocaleCode The code for the language or locale.
|
|
1822
1722
|
* @param languageOrLocaleType Indicates whether the languageOrLocaleCode represents a language or locale.
|
|
1823
1723
|
*/
|
|
1824
|
-
export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale =
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
explode: true,
|
|
1834
|
-
},
|
|
1835
|
-
languageOrLocaleCode: {
|
|
1836
|
-
style: "form",
|
|
1837
|
-
explode: true,
|
|
1838
|
-
},
|
|
1839
|
-
languageOrLocaleType: {
|
|
1840
|
-
style: "form",
|
|
1841
|
-
explode: true,
|
|
1842
|
-
},
|
|
1724
|
+
export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale = endpoint({
|
|
1725
|
+
method: 'GET',
|
|
1726
|
+
path: '/v1/game-localization-status/translation-counts-for-language-or-locale',
|
|
1727
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1728
|
+
requestFormat: 'json',
|
|
1729
|
+
serializationMethod: {
|
|
1730
|
+
gameIds: {
|
|
1731
|
+
style: 'form',
|
|
1732
|
+
explode: true,
|
|
1843
1733
|
},
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
languageOrLocaleType: z.enum(["Language", "Locale"]),
|
|
1734
|
+
languageOrLocaleCode: {
|
|
1735
|
+
style: 'form',
|
|
1736
|
+
explode: true,
|
|
1848
1737
|
},
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1738
|
+
languageOrLocaleType: {
|
|
1739
|
+
style: 'form',
|
|
1740
|
+
explode: true,
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1743
|
+
parameters: {
|
|
1744
|
+
gameIds: z.array(z.number()),
|
|
1745
|
+
languageOrLocaleCode: z.string(),
|
|
1746
|
+
languageOrLocaleType: z.enum(['Language', 'Locale']),
|
|
1747
|
+
},
|
|
1748
|
+
response: Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse,
|
|
1749
|
+
errors: [
|
|
1750
|
+
{
|
|
1751
|
+
status: 400,
|
|
1752
|
+
description: `66: Games can't be null or empty
|
|
1855
1753
|
67: Maximum games exceeded. Please keep the number of games per request below the maximum.
|
|
1856
1754
|
68: LanguageOrLocaleCode is null or whitespace`,
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
status: 401,
|
|
1758
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1759
|
+
},
|
|
1760
|
+
],
|
|
1761
|
+
});
|
|
1864
1762
|
/**
|
|
1865
1763
|
* @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/description/language-codes/:languageCode
|
|
1866
1764
|
* @summary Update localized description of a game pass
|
|
@@ -1868,53 +1766,52 @@ export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale =
|
|
|
1868
1766
|
* @param gamePassId The game pass id
|
|
1869
1767
|
* @param languageCode The language code of description to update
|
|
1870
1768
|
*/
|
|
1871
|
-
export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode =
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
style: "simple",
|
|
1881
|
-
},
|
|
1882
|
-
languageCode: {
|
|
1883
|
-
style: "simple",
|
|
1884
|
-
},
|
|
1769
|
+
export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode = endpoint({
|
|
1770
|
+
method: 'PATCH',
|
|
1771
|
+
path: '/v1/game-passes/:gamePassId/description/language-codes/:languageCode',
|
|
1772
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1773
|
+
requestFormat: 'json',
|
|
1774
|
+
serializationMethod: {
|
|
1775
|
+
body: {},
|
|
1776
|
+
gamePassId: {
|
|
1777
|
+
style: 'simple',
|
|
1885
1778
|
},
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
languageCode: z.string(),
|
|
1779
|
+
languageCode: {
|
|
1780
|
+
style: 'simple',
|
|
1889
1781
|
},
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1782
|
+
},
|
|
1783
|
+
parameters: {
|
|
1784
|
+
gamePassId: z.number().int(),
|
|
1785
|
+
languageCode: z.string(),
|
|
1786
|
+
},
|
|
1787
|
+
body: z.object({ description: z.string() }),
|
|
1788
|
+
response: z.object({ description: z.string() }),
|
|
1789
|
+
errors: [
|
|
1790
|
+
{
|
|
1791
|
+
status: 400,
|
|
1792
|
+
description: `13: Request body can't be null
|
|
1896
1793
|
19: New name is null or whitespaces or new name/description is too long
|
|
1897
1794
|
20: New name or description is moderated
|
|
1898
1795
|
22: Invalid language code
|
|
1899
1796
|
26: You can't update translations for source language
|
|
1900
1797
|
53: Language is not supported for the game.
|
|
1901
1798
|
61: Invalid game pass id`,
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
status: 401,
|
|
1802
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
status: 403,
|
|
1806
|
+
description: `0: Token Validation Failed
|
|
1910
1807
|
18: You do not have permission to manage this game`,
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
status: 503,
|
|
1811
|
+
description: `17: Feature is disabled`,
|
|
1812
|
+
},
|
|
1813
|
+
],
|
|
1814
|
+
});
|
|
1918
1815
|
/**
|
|
1919
1816
|
* @api GET https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/icons
|
|
1920
1817
|
* @summary Get all icons for a game pass
|
|
@@ -1923,20 +1820,20 @@ export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode =
|
|
|
1923
1820
|
* @param height The height of the icon to request
|
|
1924
1821
|
*/
|
|
1925
1822
|
export const getGamePassesGamepassidIcons = endpoint({
|
|
1926
|
-
method:
|
|
1927
|
-
path:
|
|
1928
|
-
baseUrl:
|
|
1929
|
-
requestFormat:
|
|
1823
|
+
method: 'GET',
|
|
1824
|
+
path: '/v1/game-passes/:gamePassId/icons',
|
|
1825
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1826
|
+
requestFormat: 'json',
|
|
1930
1827
|
serializationMethod: {
|
|
1931
1828
|
gamePassId: {
|
|
1932
|
-
style:
|
|
1829
|
+
style: 'simple',
|
|
1933
1830
|
},
|
|
1934
1831
|
width: {
|
|
1935
|
-
style:
|
|
1832
|
+
style: 'form',
|
|
1936
1833
|
explode: true,
|
|
1937
1834
|
},
|
|
1938
1835
|
height: {
|
|
1939
|
-
style:
|
|
1836
|
+
style: 'form',
|
|
1940
1837
|
explode: true,
|
|
1941
1838
|
},
|
|
1942
1839
|
},
|
|
@@ -1945,8 +1842,7 @@ export const getGamePassesGamepassidIcons = endpoint({
|
|
|
1945
1842
|
width: z.number().int().optional().default(150),
|
|
1946
1843
|
height: z.number().int().optional().default(150),
|
|
1947
1844
|
},
|
|
1948
|
-
response:
|
|
1949
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_,
|
|
1845
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_,
|
|
1950
1846
|
errors: [
|
|
1951
1847
|
{
|
|
1952
1848
|
status: 400,
|
|
@@ -1975,17 +1871,17 @@ export const getGamePassesGamepassidIcons = endpoint({
|
|
|
1975
1871
|
* @param languageCode The language code of this icon to update
|
|
1976
1872
|
*/
|
|
1977
1873
|
export const postGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
|
|
1978
|
-
method:
|
|
1979
|
-
path:
|
|
1980
|
-
baseUrl:
|
|
1981
|
-
requestFormat:
|
|
1874
|
+
method: 'POST',
|
|
1875
|
+
path: '/v1/game-passes/:gamePassId/icons/language-codes/:languageCode',
|
|
1876
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1877
|
+
requestFormat: 'form-data',
|
|
1982
1878
|
serializationMethod: {
|
|
1983
1879
|
body: {},
|
|
1984
1880
|
gamePassId: {
|
|
1985
|
-
style:
|
|
1881
|
+
style: 'simple',
|
|
1986
1882
|
},
|
|
1987
1883
|
languageCode: {
|
|
1988
|
-
style:
|
|
1884
|
+
style: 'simple',
|
|
1989
1885
|
},
|
|
1990
1886
|
},
|
|
1991
1887
|
parameters: {
|
|
@@ -2033,72 +1929,70 @@ export const postGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
|
|
|
2033
1929
|
* @param gamePassId The game pass id
|
|
2034
1930
|
* @param languageCode The language code of the localized icon to delete
|
|
2035
1931
|
*/
|
|
2036
|
-
export const deleteGamePassesGamepassidIconsLanguageCodesLanguagecode =
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
style: "simple",
|
|
2045
|
-
},
|
|
2046
|
-
languageCode: {
|
|
2047
|
-
style: "simple",
|
|
2048
|
-
},
|
|
1932
|
+
export const deleteGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
|
|
1933
|
+
method: 'DELETE',
|
|
1934
|
+
path: '/v1/game-passes/:gamePassId/icons/language-codes/:languageCode',
|
|
1935
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1936
|
+
requestFormat: 'json',
|
|
1937
|
+
serializationMethod: {
|
|
1938
|
+
gamePassId: {
|
|
1939
|
+
style: 'simple',
|
|
2049
1940
|
},
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
languageCode: z.string(),
|
|
1941
|
+
languageCode: {
|
|
1942
|
+
style: 'simple',
|
|
2053
1943
|
},
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
1944
|
+
},
|
|
1945
|
+
parameters: {
|
|
1946
|
+
gamePassId: z.number().int(),
|
|
1947
|
+
languageCode: z.string(),
|
|
1948
|
+
},
|
|
1949
|
+
response: z.object({}),
|
|
1950
|
+
errors: [
|
|
1951
|
+
{
|
|
1952
|
+
status: 400,
|
|
1953
|
+
description: `22: Invalid language code
|
|
2059
1954
|
23: You can't delete translations for source language
|
|
2060
1955
|
53: Language is not supported for the game.
|
|
2061
1956
|
61: Invalid game pass id`,
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
status: 401,
|
|
1960
|
+
description: `0: Authorization has been denied for this request.`,
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
status: 403,
|
|
1964
|
+
description: `0: Token Validation Failed
|
|
2070
1965
|
18: You do not have permission to manage this game`,
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
status: 500,
|
|
1969
|
+
description: `0: An unknown error occurred.`,
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
status: 503,
|
|
1973
|
+
description: `17: Feature is disabled`,
|
|
1974
|
+
},
|
|
1975
|
+
],
|
|
1976
|
+
});
|
|
2082
1977
|
/**
|
|
2083
1978
|
* @api GET https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name-description
|
|
2084
1979
|
* @summary Get all names and descriptions of a game pass
|
|
2085
1980
|
* @param gamePassId The game pass Id
|
|
2086
1981
|
*/
|
|
2087
1982
|
export const getGamePassesGamepassidNameDescription = endpoint({
|
|
2088
|
-
method:
|
|
2089
|
-
path:
|
|
2090
|
-
baseUrl:
|
|
2091
|
-
requestFormat:
|
|
1983
|
+
method: 'GET',
|
|
1984
|
+
path: '/v1/game-passes/:gamePassId/name-description',
|
|
1985
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
1986
|
+
requestFormat: 'json',
|
|
2092
1987
|
serializationMethod: {
|
|
2093
1988
|
gamePassId: {
|
|
2094
|
-
style:
|
|
1989
|
+
style: 'simple',
|
|
2095
1990
|
},
|
|
2096
1991
|
},
|
|
2097
1992
|
parameters: {
|
|
2098
1993
|
gamePassId: z.number().int(),
|
|
2099
1994
|
},
|
|
2100
|
-
response:
|
|
2101
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
1995
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
2102
1996
|
errors: [
|
|
2103
1997
|
{
|
|
2104
1998
|
status: 400,
|
|
@@ -2120,48 +2014,47 @@ export const getGamePassesGamepassidNameDescription = endpoint({
|
|
|
2120
2014
|
* @param gamePassId The game pass id
|
|
2121
2015
|
* @param languageCode The language code of the name and description to delete
|
|
2122
2016
|
*/
|
|
2123
|
-
export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
style: "simple",
|
|
2132
|
-
},
|
|
2133
|
-
languageCode: {
|
|
2134
|
-
style: "simple",
|
|
2135
|
-
},
|
|
2017
|
+
export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
2018
|
+
method: 'DELETE',
|
|
2019
|
+
path: '/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode',
|
|
2020
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2021
|
+
requestFormat: 'json',
|
|
2022
|
+
serializationMethod: {
|
|
2023
|
+
gamePassId: {
|
|
2024
|
+
style: 'simple',
|
|
2136
2025
|
},
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
languageCode: z.string(),
|
|
2026
|
+
languageCode: {
|
|
2027
|
+
style: 'simple',
|
|
2140
2028
|
},
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2029
|
+
},
|
|
2030
|
+
parameters: {
|
|
2031
|
+
gamePassId: z.number().int(),
|
|
2032
|
+
languageCode: z.string(),
|
|
2033
|
+
},
|
|
2034
|
+
response: z.object({}),
|
|
2035
|
+
errors: [
|
|
2036
|
+
{
|
|
2037
|
+
status: 400,
|
|
2038
|
+
description: `22: Invalid language code
|
|
2146
2039
|
23: You can't delete translations for source language
|
|
2147
2040
|
53: Language is not supported for the game.
|
|
2148
2041
|
61: Invalid game pass id`,
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
status: 401,
|
|
2045
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
status: 403,
|
|
2049
|
+
description: `0: Token Validation Failed
|
|
2157
2050
|
18: You do not have permission to manage this game`,
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
status: 503,
|
|
2054
|
+
description: `17: Feature is disabled`,
|
|
2055
|
+
},
|
|
2056
|
+
],
|
|
2057
|
+
});
|
|
2165
2058
|
/**
|
|
2166
2059
|
* @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode
|
|
2167
2060
|
* @summary Update localized name and description of a game pass
|
|
@@ -2169,54 +2062,52 @@ export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode
|
|
|
2169
2062
|
* @param gamePassId The game pass id
|
|
2170
2063
|
* @param languageCode The language code of the name/description to update
|
|
2171
2064
|
*/
|
|
2172
|
-
export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
style: "simple",
|
|
2182
|
-
},
|
|
2183
|
-
languageCode: {
|
|
2184
|
-
style: "simple",
|
|
2185
|
-
},
|
|
2065
|
+
export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode = endpoint({
|
|
2066
|
+
method: 'PATCH',
|
|
2067
|
+
path: '/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode',
|
|
2068
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2069
|
+
requestFormat: 'json',
|
|
2070
|
+
serializationMethod: {
|
|
2071
|
+
body: {},
|
|
2072
|
+
gamePassId: {
|
|
2073
|
+
style: 'simple',
|
|
2186
2074
|
},
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
languageCode: z.string(),
|
|
2075
|
+
languageCode: {
|
|
2076
|
+
style: 'simple',
|
|
2190
2077
|
},
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2078
|
+
},
|
|
2079
|
+
parameters: {
|
|
2080
|
+
gamePassId: z.number().int(),
|
|
2081
|
+
languageCode: z.string(),
|
|
2082
|
+
},
|
|
2083
|
+
body: Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest,
|
|
2084
|
+
response: Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse,
|
|
2085
|
+
errors: [
|
|
2086
|
+
{
|
|
2087
|
+
status: 400,
|
|
2088
|
+
description: `13: Request body can't be null
|
|
2198
2089
|
19: New name is null or whitespaces or new name/description is too long
|
|
2199
2090
|
20: New name or description is moderated
|
|
2200
2091
|
22: Invalid language code
|
|
2201
2092
|
26: You can't update translations for source language
|
|
2202
2093
|
53: Language is not supported for the game.
|
|
2203
2094
|
61: Invalid game pass id`,
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
status: 401,
|
|
2098
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
status: 403,
|
|
2102
|
+
description: `0: Token Validation Failed
|
|
2212
2103
|
18: You do not have permission to manage this game`,
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
status: 503,
|
|
2107
|
+
description: `17: Feature is disabled`,
|
|
2108
|
+
},
|
|
2109
|
+
],
|
|
2110
|
+
});
|
|
2220
2111
|
/**
|
|
2221
2112
|
* @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name/language-codes/:languageCode
|
|
2222
2113
|
* @summary Update localized name of a game pass
|
|
@@ -2225,17 +2116,17 @@ export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
|
|
|
2225
2116
|
* @param languageCode The language code of the name to update
|
|
2226
2117
|
*/
|
|
2227
2118
|
export const patchGamePassesGamepassidNameLanguageCodesLanguagecode = endpoint({
|
|
2228
|
-
method:
|
|
2229
|
-
path:
|
|
2230
|
-
baseUrl:
|
|
2231
|
-
requestFormat:
|
|
2119
|
+
method: 'PATCH',
|
|
2120
|
+
path: '/v1/game-passes/:gamePassId/name/language-codes/:languageCode',
|
|
2121
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2122
|
+
requestFormat: 'json',
|
|
2232
2123
|
serializationMethod: {
|
|
2233
2124
|
body: {},
|
|
2234
2125
|
gamePassId: {
|
|
2235
|
-
style:
|
|
2126
|
+
style: 'simple',
|
|
2236
2127
|
},
|
|
2237
2128
|
languageCode: {
|
|
2238
|
-
style:
|
|
2129
|
+
style: 'simple',
|
|
2239
2130
|
},
|
|
2240
2131
|
},
|
|
2241
2132
|
parameters: {
|
|
@@ -2278,20 +2169,20 @@ export const patchGamePassesGamepassidNameLanguageCodesLanguagecode = endpoint({
|
|
|
2278
2169
|
* @param height The height.
|
|
2279
2170
|
*/
|
|
2280
2171
|
export const getGameThumbnailsGamesGameidImages = endpoint({
|
|
2281
|
-
method:
|
|
2282
|
-
path:
|
|
2283
|
-
baseUrl:
|
|
2284
|
-
requestFormat:
|
|
2172
|
+
method: 'GET',
|
|
2173
|
+
path: '/v1/game-thumbnails/games/:gameId/images',
|
|
2174
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2175
|
+
requestFormat: 'json',
|
|
2285
2176
|
serializationMethod: {
|
|
2286
2177
|
gameId: {
|
|
2287
|
-
style:
|
|
2178
|
+
style: 'simple',
|
|
2288
2179
|
},
|
|
2289
2180
|
width: {
|
|
2290
|
-
style:
|
|
2181
|
+
style: 'form',
|
|
2291
2182
|
explode: true,
|
|
2292
2183
|
},
|
|
2293
2184
|
height: {
|
|
2294
|
-
style:
|
|
2185
|
+
style: 'form',
|
|
2295
2186
|
explode: true,
|
|
2296
2187
|
},
|
|
2297
2188
|
},
|
|
@@ -2300,8 +2191,7 @@ export const getGameThumbnailsGamesGameidImages = endpoint({
|
|
|
2300
2191
|
width: z.number().int().optional().default(768),
|
|
2301
2192
|
height: z.number().int().optional().default(432),
|
|
2302
2193
|
},
|
|
2303
|
-
response:
|
|
2304
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_,
|
|
2194
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_,
|
|
2305
2195
|
errors: [
|
|
2306
2196
|
{
|
|
2307
2197
|
status: 400,
|
|
@@ -2325,62 +2215,61 @@ export const getGameThumbnailsGamesGameidImages = endpoint({
|
|
|
2325
2215
|
* @param gameId The game identifier.
|
|
2326
2216
|
* @param languageCode The language code.
|
|
2327
2217
|
*/
|
|
2328
|
-
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText =
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
style: "simple",
|
|
2338
|
-
},
|
|
2339
|
-
languageCode: {
|
|
2340
|
-
style: "simple",
|
|
2341
|
-
},
|
|
2218
|
+
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText = endpoint({
|
|
2219
|
+
method: 'POST',
|
|
2220
|
+
path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/alt-text',
|
|
2221
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2222
|
+
requestFormat: 'json',
|
|
2223
|
+
serializationMethod: {
|
|
2224
|
+
body: {},
|
|
2225
|
+
gameId: {
|
|
2226
|
+
style: 'simple',
|
|
2342
2227
|
},
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
languageCode: z.string(),
|
|
2228
|
+
languageCode: {
|
|
2229
|
+
style: 'simple',
|
|
2346
2230
|
},
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2231
|
+
},
|
|
2232
|
+
parameters: {
|
|
2233
|
+
gameId: z.number().int(),
|
|
2234
|
+
languageCode: z.string(),
|
|
2235
|
+
},
|
|
2236
|
+
body: Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest,
|
|
2237
|
+
response: z.string(),
|
|
2238
|
+
errors: [
|
|
2239
|
+
{
|
|
2240
|
+
status: 400,
|
|
2241
|
+
description: `14: Invalid game id
|
|
2353
2242
|
19: New name is null or whitespaces or new name/description is too long
|
|
2354
2243
|
20: New name or description is moderated
|
|
2355
2244
|
22: Invalid language code
|
|
2356
2245
|
26: You can't update translations for source language
|
|
2357
2246
|
45: File uploaded does not match known image format
|
|
2358
2247
|
53: Language is not supported for the game.`,
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
status: 401,
|
|
2251
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
status: 403,
|
|
2255
|
+
description: `0: Token Validation Failed
|
|
2367
2256
|
18: You do not have permission to manage this game`,
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
status: 429,
|
|
2260
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
status: 500,
|
|
2264
|
+
description: `0: An unknown error occurred.
|
|
2376
2265
|
88: Failed to filter text`,
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
status: 503,
|
|
2269
|
+
description: `17: Feature is disabled`,
|
|
2270
|
+
},
|
|
2271
|
+
],
|
|
2272
|
+
});
|
|
2384
2273
|
/**
|
|
2385
2274
|
* @api POST https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/image
|
|
2386
2275
|
* @summary Uploads the game thumbnail.
|
|
@@ -2388,58 +2277,57 @@ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText =
|
|
|
2388
2277
|
* @param gameId The game identifier.
|
|
2389
2278
|
* @param languageCode The language code.
|
|
2390
2279
|
*/
|
|
2391
|
-
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage =
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
style: "simple",
|
|
2401
|
-
},
|
|
2402
|
-
languageCode: {
|
|
2403
|
-
style: "simple",
|
|
2404
|
-
},
|
|
2405
|
-
},
|
|
2406
|
-
parameters: {
|
|
2407
|
-
gameId: z.number().int(),
|
|
2408
|
-
languageCode: z.string(),
|
|
2280
|
+
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage = endpoint({
|
|
2281
|
+
method: 'POST',
|
|
2282
|
+
path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/image',
|
|
2283
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2284
|
+
requestFormat: 'form-data',
|
|
2285
|
+
serializationMethod: {
|
|
2286
|
+
body: {},
|
|
2287
|
+
gameId: {
|
|
2288
|
+
style: 'simple',
|
|
2409
2289
|
},
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2290
|
+
languageCode: {
|
|
2291
|
+
style: 'simple',
|
|
2292
|
+
},
|
|
2293
|
+
},
|
|
2294
|
+
parameters: {
|
|
2295
|
+
gameId: z.number().int(),
|
|
2296
|
+
languageCode: z.string(),
|
|
2297
|
+
},
|
|
2298
|
+
body: z.object({ Files: z.instanceof(File) }),
|
|
2299
|
+
response: z.object({ mediaAssetId: z.string() }),
|
|
2300
|
+
errors: [
|
|
2301
|
+
{
|
|
2302
|
+
status: 400,
|
|
2303
|
+
description: `14: Invalid game id
|
|
2416
2304
|
22: Invalid language code
|
|
2417
2305
|
26: You can't update translations for source language
|
|
2418
2306
|
53: Language is not supported for the game.`,
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
status: 401,
|
|
2310
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
status: 403,
|
|
2314
|
+
description: `0: Token Validation Failed
|
|
2427
2315
|
18: You do not have permission to manage this game`,
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
status: 429,
|
|
2319
|
+
description: `24: Too many attempts.Please try again later.`,
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
status: 500,
|
|
2323
|
+
description: `0: An unknown error occurred.`,
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
status: 503,
|
|
2327
|
+
description: `17: Feature is disabled`,
|
|
2328
|
+
},
|
|
2329
|
+
],
|
|
2330
|
+
});
|
|
2443
2331
|
/**
|
|
2444
2332
|
* @api DELETE https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/:imageId
|
|
2445
2333
|
* @summary Deletes the game thumbnail.
|
|
@@ -2447,52 +2335,51 @@ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage =
|
|
|
2447
2335
|
* @param languageCode The language code.
|
|
2448
2336
|
* @param imageId The image identifier.
|
|
2449
2337
|
*/
|
|
2450
|
-
export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImageid =
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
style: "simple",
|
|
2459
|
-
},
|
|
2460
|
-
languageCode: {
|
|
2461
|
-
style: "simple",
|
|
2462
|
-
},
|
|
2463
|
-
imageId: {
|
|
2464
|
-
style: "simple",
|
|
2465
|
-
},
|
|
2338
|
+
export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImageid = endpoint({
|
|
2339
|
+
method: 'DELETE',
|
|
2340
|
+
path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/:imageId',
|
|
2341
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2342
|
+
requestFormat: 'json',
|
|
2343
|
+
serializationMethod: {
|
|
2344
|
+
gameId: {
|
|
2345
|
+
style: 'simple',
|
|
2466
2346
|
},
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
languageCode: z.string(),
|
|
2470
|
-
imageId: z.number().int(),
|
|
2347
|
+
languageCode: {
|
|
2348
|
+
style: 'simple',
|
|
2471
2349
|
},
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2350
|
+
imageId: {
|
|
2351
|
+
style: 'simple',
|
|
2352
|
+
},
|
|
2353
|
+
},
|
|
2354
|
+
parameters: {
|
|
2355
|
+
gameId: z.number().int(),
|
|
2356
|
+
languageCode: z.string(),
|
|
2357
|
+
imageId: z.number().int(),
|
|
2358
|
+
},
|
|
2359
|
+
response: z.object({}),
|
|
2360
|
+
errors: [
|
|
2361
|
+
{
|
|
2362
|
+
status: 400,
|
|
2363
|
+
description: `14: Invalid game id
|
|
2477
2364
|
22: Invalid language code
|
|
2478
2365
|
23: You can't delete translations for source language
|
|
2479
2366
|
53: Language is not supported for the game.`,
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
status: 401,
|
|
2370
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
status: 403,
|
|
2374
|
+
description: `0: Token Validation Failed
|
|
2488
2375
|
18: You do not have permission to manage this game`,
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
status: 503,
|
|
2379
|
+
description: `17: Feature is disabled`,
|
|
2380
|
+
},
|
|
2381
|
+
],
|
|
2382
|
+
});
|
|
2496
2383
|
/**
|
|
2497
2384
|
* @api POST https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/order
|
|
2498
2385
|
* @summary Orders the specified image Ids for the game thumbnails.
|
|
@@ -2500,64 +2387,63 @@ export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImage
|
|
|
2500
2387
|
* @param gameId The game identifier.
|
|
2501
2388
|
* @param languageCode The language code.
|
|
2502
2389
|
*/
|
|
2503
|
-
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesOrder =
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
style: "simple",
|
|
2513
|
-
},
|
|
2514
|
-
languageCode: {
|
|
2515
|
-
style: "simple",
|
|
2516
|
-
},
|
|
2390
|
+
export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesOrder = endpoint({
|
|
2391
|
+
method: 'POST',
|
|
2392
|
+
path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/order',
|
|
2393
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2394
|
+
requestFormat: 'json',
|
|
2395
|
+
serializationMethod: {
|
|
2396
|
+
body: {},
|
|
2397
|
+
gameId: {
|
|
2398
|
+
style: 'simple',
|
|
2517
2399
|
},
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
languageCode: z.string(),
|
|
2400
|
+
languageCode: {
|
|
2401
|
+
style: 'simple',
|
|
2521
2402
|
},
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2403
|
+
},
|
|
2404
|
+
parameters: {
|
|
2405
|
+
gameId: z.number().int(),
|
|
2406
|
+
languageCode: z.string(),
|
|
2407
|
+
},
|
|
2408
|
+
body: Roblox_GameInternationalization_Api_SortImageIdsRequest,
|
|
2409
|
+
response: z.object({}),
|
|
2410
|
+
errors: [
|
|
2411
|
+
{
|
|
2412
|
+
status: 400,
|
|
2413
|
+
description: `14: Invalid game id
|
|
2528
2414
|
22: Invalid language code
|
|
2529
2415
|
26: You can't update translations for source language
|
|
2530
2416
|
53: Language is not supported for the game.`,
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
status: 401,
|
|
2420
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
status: 403,
|
|
2424
|
+
description: `0: Token Validation Failed
|
|
2539
2425
|
18: You do not have permission to manage this game`,
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
status: 503,
|
|
2429
|
+
description: `17: Feature is disabled`,
|
|
2430
|
+
},
|
|
2431
|
+
],
|
|
2432
|
+
});
|
|
2547
2433
|
/**
|
|
2548
2434
|
* @api PATCH https://gameinternationalization.roblox.com/v1/localizationtable/gametables/:gameId
|
|
2549
2435
|
* @param body
|
|
2550
2436
|
* @param gameId
|
|
2551
2437
|
*/
|
|
2552
2438
|
export const patchLocalizationtableGametablesGameid = endpoint({
|
|
2553
|
-
method:
|
|
2554
|
-
path:
|
|
2555
|
-
baseUrl:
|
|
2556
|
-
requestFormat:
|
|
2439
|
+
method: 'PATCH',
|
|
2440
|
+
path: '/v1/localizationtable/gametables/:gameId',
|
|
2441
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2442
|
+
requestFormat: 'json',
|
|
2557
2443
|
serializationMethod: {
|
|
2558
2444
|
body: {},
|
|
2559
2445
|
gameId: {
|
|
2560
|
-
style:
|
|
2446
|
+
style: 'simple',
|
|
2561
2447
|
},
|
|
2562
2448
|
},
|
|
2563
2449
|
parameters: {
|
|
@@ -2582,20 +2468,19 @@ export const patchLocalizationtableGametablesGameid = endpoint({
|
|
|
2582
2468
|
* @param gameId The id of the game
|
|
2583
2469
|
*/
|
|
2584
2470
|
export const getNameDescriptionGamesGameid = endpoint({
|
|
2585
|
-
method:
|
|
2586
|
-
path:
|
|
2587
|
-
baseUrl:
|
|
2588
|
-
requestFormat:
|
|
2471
|
+
method: 'GET',
|
|
2472
|
+
path: '/v1/name-description/games/:gameId',
|
|
2473
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2474
|
+
requestFormat: 'json',
|
|
2589
2475
|
serializationMethod: {
|
|
2590
2476
|
gameId: {
|
|
2591
|
-
style:
|
|
2477
|
+
style: 'simple',
|
|
2592
2478
|
},
|
|
2593
2479
|
},
|
|
2594
2480
|
parameters: {
|
|
2595
2481
|
gameId: z.number().int(),
|
|
2596
2482
|
},
|
|
2597
|
-
response:
|
|
2598
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
2483
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
|
|
2599
2484
|
errors: [
|
|
2600
2485
|
{
|
|
2601
2486
|
status: 400,
|
|
@@ -2614,14 +2499,14 @@ export const getNameDescriptionGamesGameid = endpoint({
|
|
|
2614
2499
|
* @param gameId The id of the game.
|
|
2615
2500
|
*/
|
|
2616
2501
|
export const patchNameDescriptionGamesGameid = endpoint({
|
|
2617
|
-
method:
|
|
2618
|
-
path:
|
|
2619
|
-
baseUrl:
|
|
2620
|
-
requestFormat:
|
|
2502
|
+
method: 'PATCH',
|
|
2503
|
+
path: '/v1/name-description/games/:gameId',
|
|
2504
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2505
|
+
requestFormat: 'json',
|
|
2621
2506
|
serializationMethod: {
|
|
2622
2507
|
body: {},
|
|
2623
2508
|
gameId: {
|
|
2624
|
-
style:
|
|
2509
|
+
style: 'simple',
|
|
2625
2510
|
},
|
|
2626
2511
|
},
|
|
2627
2512
|
parameters: {
|
|
@@ -2661,17 +2546,16 @@ export const patchNameDescriptionGamesGameid = endpoint({
|
|
|
2661
2546
|
* @param body The request.
|
|
2662
2547
|
*/
|
|
2663
2548
|
export const postNameDescriptionGamesTranslationHistory = endpoint({
|
|
2664
|
-
method:
|
|
2665
|
-
path:
|
|
2666
|
-
baseUrl:
|
|
2667
|
-
requestFormat:
|
|
2549
|
+
method: 'POST',
|
|
2550
|
+
path: '/v1/name-description/games/translation-history',
|
|
2551
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2552
|
+
requestFormat: 'json',
|
|
2668
2553
|
serializationMethod: {
|
|
2669
2554
|
body: {},
|
|
2670
2555
|
},
|
|
2671
2556
|
parameters: {},
|
|
2672
2557
|
body: Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request,
|
|
2673
|
-
response:
|
|
2674
|
-
Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse,
|
|
2558
|
+
response: Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse,
|
|
2675
2559
|
errors: [
|
|
2676
2560
|
{
|
|
2677
2561
|
status: 400,
|
|
@@ -2707,10 +2591,10 @@ export const postNameDescriptionGamesTranslationHistory = endpoint({
|
|
|
2707
2591
|
* @summary Rollout settings for name/description migration to new page
|
|
2708
2592
|
*/
|
|
2709
2593
|
export const getNameDescriptionMetadata = endpoint({
|
|
2710
|
-
method:
|
|
2711
|
-
path:
|
|
2712
|
-
baseUrl:
|
|
2713
|
-
requestFormat:
|
|
2594
|
+
method: 'GET',
|
|
2595
|
+
path: '/v1/name-description/metadata',
|
|
2596
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2597
|
+
requestFormat: 'json',
|
|
2714
2598
|
response: z.object({ isNameDescriptionMigrationEnabled: z.boolean() }),
|
|
2715
2599
|
errors: [
|
|
2716
2600
|
{
|
|
@@ -2725,13 +2609,13 @@ export const getNameDescriptionMetadata = endpoint({
|
|
|
2725
2609
|
* @param gameId
|
|
2726
2610
|
*/
|
|
2727
2611
|
export const getSourceLanguageGamesGameid = endpoint({
|
|
2728
|
-
method:
|
|
2729
|
-
path:
|
|
2730
|
-
baseUrl:
|
|
2731
|
-
requestFormat:
|
|
2612
|
+
method: 'GET',
|
|
2613
|
+
path: '/v1/source-language/games/:gameId',
|
|
2614
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2615
|
+
requestFormat: 'json',
|
|
2732
2616
|
serializationMethod: {
|
|
2733
2617
|
gameId: {
|
|
2734
|
-
style:
|
|
2618
|
+
style: 'simple',
|
|
2735
2619
|
},
|
|
2736
2620
|
},
|
|
2737
2621
|
parameters: {
|
|
@@ -2756,16 +2640,16 @@ export const getSourceLanguageGamesGameid = endpoint({
|
|
|
2756
2640
|
* @param languageCode
|
|
2757
2641
|
*/
|
|
2758
2642
|
export const patchSourceLanguageGamesGameid = endpoint({
|
|
2759
|
-
method:
|
|
2760
|
-
path:
|
|
2761
|
-
baseUrl:
|
|
2762
|
-
requestFormat:
|
|
2643
|
+
method: 'PATCH',
|
|
2644
|
+
path: '/v1/source-language/games/:gameId',
|
|
2645
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2646
|
+
requestFormat: 'json',
|
|
2763
2647
|
serializationMethod: {
|
|
2764
2648
|
gameId: {
|
|
2765
|
-
style:
|
|
2649
|
+
style: 'simple',
|
|
2766
2650
|
},
|
|
2767
2651
|
languageCode: {
|
|
2768
|
-
style:
|
|
2652
|
+
style: 'form',
|
|
2769
2653
|
explode: true,
|
|
2770
2654
|
},
|
|
2771
2655
|
},
|
|
@@ -2805,13 +2689,13 @@ export const patchSourceLanguageGamesGameid = endpoint({
|
|
|
2805
2689
|
* @param gameId
|
|
2806
2690
|
*/
|
|
2807
2691
|
export const getSourceLanguageGamesGameidLanguageWithLocales = endpoint({
|
|
2808
|
-
method:
|
|
2809
|
-
path:
|
|
2810
|
-
baseUrl:
|
|
2811
|
-
requestFormat:
|
|
2692
|
+
method: 'GET',
|
|
2693
|
+
path: '/v1/source-language/games/:gameId/language-with-locales',
|
|
2694
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2695
|
+
requestFormat: 'json',
|
|
2812
2696
|
serializationMethod: {
|
|
2813
2697
|
gameId: {
|
|
2814
|
-
style:
|
|
2698
|
+
style: 'simple',
|
|
2815
2699
|
},
|
|
2816
2700
|
},
|
|
2817
2701
|
parameters: {
|
|
@@ -2835,20 +2719,19 @@ export const getSourceLanguageGamesGameidLanguageWithLocales = endpoint({
|
|
|
2835
2719
|
* @param gameId The id of the game.
|
|
2836
2720
|
*/
|
|
2837
2721
|
export const getSupportedLanguagesGamesGameid = endpoint({
|
|
2838
|
-
method:
|
|
2839
|
-
path:
|
|
2840
|
-
baseUrl:
|
|
2841
|
-
requestFormat:
|
|
2722
|
+
method: 'GET',
|
|
2723
|
+
path: '/v1/supported-languages/games/:gameId',
|
|
2724
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2725
|
+
requestFormat: 'json',
|
|
2842
2726
|
serializationMethod: {
|
|
2843
2727
|
gameId: {
|
|
2844
|
-
style:
|
|
2728
|
+
style: 'simple',
|
|
2845
2729
|
},
|
|
2846
2730
|
},
|
|
2847
2731
|
parameters: {
|
|
2848
2732
|
gameId: z.number().int(),
|
|
2849
2733
|
},
|
|
2850
|
-
response:
|
|
2851
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
|
|
2734
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
|
|
2852
2735
|
errors: [
|
|
2853
2736
|
{
|
|
2854
2737
|
status: 400,
|
|
@@ -2867,14 +2750,14 @@ export const getSupportedLanguagesGamesGameid = endpoint({
|
|
|
2867
2750
|
* @param gameId The id of the game.
|
|
2868
2751
|
*/
|
|
2869
2752
|
export const patchSupportedLanguagesGamesGameid = endpoint({
|
|
2870
|
-
method:
|
|
2871
|
-
path:
|
|
2872
|
-
baseUrl:
|
|
2873
|
-
requestFormat:
|
|
2753
|
+
method: 'PATCH',
|
|
2754
|
+
path: '/v1/supported-languages/games/:gameId',
|
|
2755
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2756
|
+
requestFormat: 'json',
|
|
2874
2757
|
serializationMethod: {
|
|
2875
2758
|
body: {},
|
|
2876
2759
|
gameId: {
|
|
2877
|
-
style:
|
|
2760
|
+
style: 'simple',
|
|
2878
2761
|
},
|
|
2879
2762
|
},
|
|
2880
2763
|
parameters: {
|
|
@@ -2909,73 +2792,69 @@ export const patchSupportedLanguagesGamesGameid = endpoint({
|
|
|
2909
2792
|
* @summary Get the automatic translation status of supported languages for a game.
|
|
2910
2793
|
* @param gameId The id of the game.
|
|
2911
2794
|
*/
|
|
2912
|
-
export const getSupportedLanguagesGamesGameidAutomaticTranslationStatus =
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
style: "simple",
|
|
2921
|
-
},
|
|
2795
|
+
export const getSupportedLanguagesGamesGameidAutomaticTranslationStatus = endpoint({
|
|
2796
|
+
method: 'GET',
|
|
2797
|
+
path: '/v1/supported-languages/games/:gameId/automatic-translation-status',
|
|
2798
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2799
|
+
requestFormat: 'json',
|
|
2800
|
+
serializationMethod: {
|
|
2801
|
+
gameId: {
|
|
2802
|
+
style: 'simple',
|
|
2922
2803
|
},
|
|
2923
|
-
|
|
2924
|
-
|
|
2804
|
+
},
|
|
2805
|
+
parameters: {
|
|
2806
|
+
gameId: z.number().int(),
|
|
2807
|
+
},
|
|
2808
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocaleSettings_,
|
|
2809
|
+
errors: [
|
|
2810
|
+
{
|
|
2811
|
+
status: 400,
|
|
2812
|
+
description: `14: Invalid game id`,
|
|
2925
2813
|
},
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
status: 503,
|
|
2943
|
-
description: `17: Feature is disabled`,
|
|
2944
|
-
},
|
|
2945
|
-
],
|
|
2946
|
-
});
|
|
2814
|
+
{
|
|
2815
|
+
status: 401,
|
|
2816
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2817
|
+
},
|
|
2818
|
+
{
|
|
2819
|
+
status: 403,
|
|
2820
|
+
description: `18: You do not have permission to manage this game`,
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
status: 503,
|
|
2824
|
+
description: `17: Feature is disabled`,
|
|
2825
|
+
},
|
|
2826
|
+
],
|
|
2827
|
+
});
|
|
2947
2828
|
/**
|
|
2948
2829
|
* @api GET https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/in-experience-language-selection
|
|
2949
2830
|
* @summary Get the user's in-experience language selector languages for a game.
|
|
2950
2831
|
* @param gameId The id of the game.
|
|
2951
2832
|
*/
|
|
2952
|
-
export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection =
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
style: "simple",
|
|
2961
|
-
},
|
|
2833
|
+
export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection = endpoint({
|
|
2834
|
+
method: 'GET',
|
|
2835
|
+
path: '/v1/supported-languages/games/:gameId/in-experience-language-selection',
|
|
2836
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2837
|
+
requestFormat: 'json',
|
|
2838
|
+
serializationMethod: {
|
|
2839
|
+
gameId: {
|
|
2840
|
+
style: 'simple',
|
|
2962
2841
|
},
|
|
2963
|
-
|
|
2964
|
-
|
|
2842
|
+
},
|
|
2843
|
+
parameters: {
|
|
2844
|
+
gameId: z.number().int(),
|
|
2845
|
+
},
|
|
2846
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
|
|
2847
|
+
errors: [
|
|
2848
|
+
{
|
|
2849
|
+
status: 400,
|
|
2850
|
+
description: `14: Invalid game id`,
|
|
2965
2851
|
},
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
},
|
|
2973
|
-
{
|
|
2974
|
-
status: 503,
|
|
2975
|
-
description: `17: Feature is disabled`,
|
|
2976
|
-
},
|
|
2977
|
-
],
|
|
2978
|
-
});
|
|
2852
|
+
{
|
|
2853
|
+
status: 503,
|
|
2854
|
+
description: `17: Feature is disabled`,
|
|
2855
|
+
},
|
|
2856
|
+
],
|
|
2857
|
+
});
|
|
2979
2858
|
/**
|
|
2980
2859
|
* @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/automatic-translation-status
|
|
2981
2860
|
* @summary Enable or disable automatic translation for a game and language.
|
|
@@ -2983,52 +2862,50 @@ export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection =
|
|
|
2983
2862
|
* @param gameId The id of the game.
|
|
2984
2863
|
* @param languageCode The language to enable or disable for automatic translation.
|
|
2985
2864
|
*/
|
|
2986
|
-
export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTranslationStatus =
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
style: "simple",
|
|
2996
|
-
},
|
|
2997
|
-
languageCode: {
|
|
2998
|
-
style: "simple",
|
|
2999
|
-
},
|
|
2865
|
+
export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTranslationStatus = endpoint({
|
|
2866
|
+
method: 'PATCH',
|
|
2867
|
+
path: '/v1/supported-languages/games/:gameId/languages/:languageCode/automatic-translation-status',
|
|
2868
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2869
|
+
requestFormat: 'json',
|
|
2870
|
+
serializationMethod: {
|
|
2871
|
+
body: {},
|
|
2872
|
+
gameId: {
|
|
2873
|
+
style: 'simple',
|
|
3000
2874
|
},
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
languageCode: z.string(),
|
|
2875
|
+
languageCode: {
|
|
2876
|
+
style: 'simple',
|
|
3004
2877
|
},
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
2878
|
+
},
|
|
2879
|
+
parameters: {
|
|
2880
|
+
gameId: z.number().int(),
|
|
2881
|
+
languageCode: z.string(),
|
|
2882
|
+
},
|
|
2883
|
+
body: z.boolean(),
|
|
2884
|
+
response: Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse,
|
|
2885
|
+
errors: [
|
|
2886
|
+
{
|
|
2887
|
+
status: 400,
|
|
2888
|
+
description: `14: Invalid game id
|
|
3012
2889
|
22: Invalid language code
|
|
3013
2890
|
53: Language is not supported for the game.
|
|
3014
2891
|
72: Automatic translation cannot be enabled for game.
|
|
3015
2892
|
75: Automatic translation cannot be enabled for language.`,
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
status: 401,
|
|
2896
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
status: 403,
|
|
2900
|
+
description: `0: Token Validation Failed
|
|
3024
2901
|
18: You do not have permission to manage this game`,
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
status: 503,
|
|
2905
|
+
description: `17: Feature is disabled`,
|
|
2906
|
+
},
|
|
2907
|
+
],
|
|
2908
|
+
});
|
|
3032
2909
|
/**
|
|
3033
2910
|
* @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/image-translation-status
|
|
3034
2911
|
* @summary Enable or disable image translation for a game and language.
|
|
@@ -3036,51 +2913,49 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTra
|
|
|
3036
2913
|
* @param gameId The id of the game.
|
|
3037
2914
|
* @param languageCode The language to enable or disable for image translation.
|
|
3038
2915
|
*/
|
|
3039
|
-
export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTranslationStatus =
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
style: "simple",
|
|
3049
|
-
},
|
|
3050
|
-
languageCode: {
|
|
3051
|
-
style: "simple",
|
|
3052
|
-
},
|
|
2916
|
+
export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTranslationStatus = endpoint({
|
|
2917
|
+
method: 'PATCH',
|
|
2918
|
+
path: '/v1/supported-languages/games/:gameId/languages/:languageCode/image-translation-status',
|
|
2919
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2920
|
+
requestFormat: 'json',
|
|
2921
|
+
serializationMethod: {
|
|
2922
|
+
body: {},
|
|
2923
|
+
gameId: {
|
|
2924
|
+
style: 'simple',
|
|
3053
2925
|
},
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
languageCode: z.string(),
|
|
2926
|
+
languageCode: {
|
|
2927
|
+
style: 'simple',
|
|
3057
2928
|
},
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
2929
|
+
},
|
|
2930
|
+
parameters: {
|
|
2931
|
+
gameId: z.number().int(),
|
|
2932
|
+
languageCode: z.string(),
|
|
2933
|
+
},
|
|
2934
|
+
body: z.boolean(),
|
|
2935
|
+
response: Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse,
|
|
2936
|
+
errors: [
|
|
2937
|
+
{
|
|
2938
|
+
status: 400,
|
|
2939
|
+
description: `14: Invalid game id
|
|
3065
2940
|
22: Invalid language code
|
|
3066
2941
|
53: Language is not supported for the game.
|
|
3067
2942
|
93: Image translation cannot be enabled for language.`,
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
status: 401,
|
|
2946
|
+
description: `0: Authorization has been denied for this request.`,
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
status: 403,
|
|
2950
|
+
description: `0: Token Validation Failed
|
|
3076
2951
|
18: You do not have permission to manage this game`,
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
status: 503,
|
|
2955
|
+
description: `17: Feature is disabled`,
|
|
2956
|
+
},
|
|
2957
|
+
],
|
|
2958
|
+
});
|
|
3084
2959
|
/**
|
|
3085
2960
|
* @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/universe-display-info-automatic-translation-settings
|
|
3086
2961
|
* @summary Update the switch which controls if the UniverseDisplayInformation should be automatically translated.
|
|
@@ -3090,17 +2965,17 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTransla
|
|
|
3090
2965
|
*/
|
|
3091
2966
|
export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisplayInfoAutomaticTranslationSettings =
|
|
3092
2967
|
endpoint({
|
|
3093
|
-
method:
|
|
3094
|
-
path:
|
|
3095
|
-
baseUrl:
|
|
3096
|
-
requestFormat:
|
|
2968
|
+
method: 'PATCH',
|
|
2969
|
+
path: '/v1/supported-languages/games/:gameId/languages/:languageCode/universe-display-info-automatic-translation-settings',
|
|
2970
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
2971
|
+
requestFormat: 'json',
|
|
3097
2972
|
serializationMethod: {
|
|
3098
2973
|
body: {},
|
|
3099
2974
|
gameId: {
|
|
3100
|
-
style:
|
|
2975
|
+
style: 'simple',
|
|
3101
2976
|
},
|
|
3102
2977
|
languageCode: {
|
|
3103
|
-
style:
|
|
2978
|
+
style: 'simple',
|
|
3104
2979
|
},
|
|
3105
2980
|
},
|
|
3106
2981
|
parameters: {
|
|
@@ -3108,8 +2983,7 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisp
|
|
|
3108
2983
|
languageCode: z.string(),
|
|
3109
2984
|
},
|
|
3110
2985
|
body: z.boolean(),
|
|
3111
|
-
response:
|
|
3112
|
-
Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse,
|
|
2986
|
+
response: Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse,
|
|
3113
2987
|
errors: [
|
|
3114
2988
|
{
|
|
3115
2989
|
status: 400,
|
|
@@ -3140,55 +3014,53 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisp
|
|
|
3140
3014
|
* @summary Get UniverseDisplayInfo automatic translation settings.
|
|
3141
3015
|
* @param gameId The game id.
|
|
3142
3016
|
*/
|
|
3143
|
-
export const getSupportedLanguagesGamesGameidUniverseDisplayInfoAutomaticTranslationSettings =
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
style: "simple",
|
|
3152
|
-
},
|
|
3017
|
+
export const getSupportedLanguagesGamesGameidUniverseDisplayInfoAutomaticTranslationSettings = endpoint({
|
|
3018
|
+
method: 'GET',
|
|
3019
|
+
path: '/v1/supported-languages/games/:gameId/universe-display-info-automatic-translation-settings',
|
|
3020
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3021
|
+
requestFormat: 'json',
|
|
3022
|
+
serializationMethod: {
|
|
3023
|
+
gameId: {
|
|
3024
|
+
style: 'simple',
|
|
3153
3025
|
},
|
|
3154
|
-
|
|
3155
|
-
|
|
3026
|
+
},
|
|
3027
|
+
parameters: {
|
|
3028
|
+
gameId: z.number().int(),
|
|
3029
|
+
},
|
|
3030
|
+
response:
|
|
3031
|
+
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings_,
|
|
3032
|
+
errors: [
|
|
3033
|
+
{
|
|
3034
|
+
status: 400,
|
|
3035
|
+
description: `14: Invalid game id`,
|
|
3156
3036
|
},
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
{
|
|
3169
|
-
status: 403,
|
|
3170
|
-
description: `18: You do not have permission to manage this game`,
|
|
3171
|
-
},
|
|
3172
|
-
{
|
|
3173
|
-
status: 500,
|
|
3174
|
-
description: `0: An unknown error occurred.
|
|
3037
|
+
{
|
|
3038
|
+
status: 401,
|
|
3039
|
+
description: `0: Authorization has been denied for this request.`,
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
status: 403,
|
|
3043
|
+
description: `18: You do not have permission to manage this game`,
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
status: 500,
|
|
3047
|
+
description: `0: An unknown error occurred.
|
|
3175
3048
|
22: Invalid language code
|
|
3176
3049
|
83: Failed to get UniverseDisplayInformation content instance auto translation settings
|
|
3177
3050
|
84: Count of language code is larger than max batch get size`,
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3051
|
+
},
|
|
3052
|
+
],
|
|
3053
|
+
});
|
|
3181
3054
|
/**
|
|
3182
3055
|
* @api GET https://gameinternationalization.roblox.com/v1/supported-languages/metadata
|
|
3183
3056
|
* @summary Rollout settings for supported languages of a game
|
|
3184
3057
|
*/
|
|
3185
3058
|
export const getSupportedLanguagesMetadata = endpoint({
|
|
3186
|
-
method:
|
|
3187
|
-
path:
|
|
3188
|
-
baseUrl:
|
|
3189
|
-
requestFormat:
|
|
3190
|
-
response:
|
|
3191
|
-
Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse,
|
|
3059
|
+
method: 'GET',
|
|
3060
|
+
path: '/v1/supported-languages/metadata',
|
|
3061
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3062
|
+
requestFormat: 'json',
|
|
3063
|
+
response: Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse,
|
|
3192
3064
|
errors: [
|
|
3193
3065
|
{
|
|
3194
3066
|
status: 401,
|
|
@@ -3205,118 +3077,114 @@ export const getSupportedLanguagesMetadata = endpoint({
|
|
|
3205
3077
|
* @param reportType The report type
|
|
3206
3078
|
* @param reportSubjectTargetId The translator group id
|
|
3207
3079
|
*/
|
|
3208
|
-
export const getTranslationAnalyticsGamesGameidDownloadTranslationAnalyticsReport =
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
style: "simple",
|
|
3217
|
-
},
|
|
3218
|
-
startDateTime: {
|
|
3219
|
-
style: "form",
|
|
3220
|
-
explode: true,
|
|
3221
|
-
},
|
|
3222
|
-
endDateTime: {
|
|
3223
|
-
style: "form",
|
|
3224
|
-
explode: true,
|
|
3225
|
-
},
|
|
3226
|
-
reportType: {
|
|
3227
|
-
style: "form",
|
|
3228
|
-
explode: true,
|
|
3229
|
-
},
|
|
3230
|
-
reportSubjectTargetId: {
|
|
3231
|
-
style: "form",
|
|
3232
|
-
explode: true,
|
|
3233
|
-
},
|
|
3080
|
+
export const getTranslationAnalyticsGamesGameidDownloadTranslationAnalyticsReport = endpoint({
|
|
3081
|
+
method: 'GET',
|
|
3082
|
+
path: '/v1/translation-analytics/games/:gameId/download-translation-analytics-report',
|
|
3083
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3084
|
+
requestFormat: 'json',
|
|
3085
|
+
serializationMethod: {
|
|
3086
|
+
gameId: {
|
|
3087
|
+
style: 'simple',
|
|
3234
3088
|
},
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
},
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3089
|
+
startDateTime: {
|
|
3090
|
+
style: 'form',
|
|
3091
|
+
explode: true,
|
|
3092
|
+
},
|
|
3093
|
+
endDateTime: {
|
|
3094
|
+
style: 'form',
|
|
3095
|
+
explode: true,
|
|
3096
|
+
},
|
|
3097
|
+
reportType: {
|
|
3098
|
+
style: 'form',
|
|
3099
|
+
explode: true,
|
|
3100
|
+
},
|
|
3101
|
+
reportSubjectTargetId: {
|
|
3102
|
+
style: 'form',
|
|
3103
|
+
explode: true,
|
|
3104
|
+
},
|
|
3105
|
+
},
|
|
3106
|
+
parameters: {
|
|
3107
|
+
gameId: z.number().int(),
|
|
3108
|
+
startDateTime: z.string().datetime({ offset: true }),
|
|
3109
|
+
endDateTime: z.string().datetime({ offset: true }),
|
|
3110
|
+
reportType: z.enum([
|
|
3111
|
+
'GameTranslationStatus',
|
|
3112
|
+
'GameTranslationStatusForTranslator',
|
|
3113
|
+
'GameTranslationStatusForTranslatorGroup',
|
|
3114
|
+
'Test',
|
|
3115
|
+
]),
|
|
3116
|
+
reportSubjectTargetId: z.number().int(),
|
|
3117
|
+
},
|
|
3118
|
+
response: z.object({}),
|
|
3119
|
+
errors: [
|
|
3120
|
+
{
|
|
3121
|
+
status: 400,
|
|
3122
|
+
description: `14: Invalid game id
|
|
3252
3123
|
56: You need to provide a valid translator group id to get report.
|
|
3253
3124
|
58: Start datetime or end datetime is invlaid.
|
|
3254
3125
|
59: Report type is invalid`,
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
status: 401,
|
|
3129
|
+
description: `0: Authorization has been denied for this request.`,
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
status: 403,
|
|
3133
|
+
description: `57: You do not have permission to request translation analytics report.`,
|
|
3134
|
+
},
|
|
3135
|
+
],
|
|
3136
|
+
});
|
|
3266
3137
|
/**
|
|
3267
3138
|
* @api POST https://gameinternationalization.roblox.com/v1/translation-analytics/games/:gameId/request-translation-analytics-report
|
|
3268
3139
|
* @summary Request translation analytics report to be generated
|
|
3269
3140
|
* @param body The request body
|
|
3270
3141
|
* @param gameId The game's id
|
|
3271
3142
|
*/
|
|
3272
|
-
export const postTranslationAnalyticsGamesGameidRequestTranslationAnalyticsReport =
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
style: "simple",
|
|
3282
|
-
},
|
|
3283
|
-
},
|
|
3284
|
-
parameters: {
|
|
3285
|
-
gameId: z.number().int(),
|
|
3143
|
+
export const postTranslationAnalyticsGamesGameidRequestTranslationAnalyticsReport = endpoint({
|
|
3144
|
+
method: 'POST',
|
|
3145
|
+
path: '/v1/translation-analytics/games/:gameId/request-translation-analytics-report',
|
|
3146
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3147
|
+
requestFormat: 'json',
|
|
3148
|
+
serializationMethod: {
|
|
3149
|
+
body: {},
|
|
3150
|
+
gameId: {
|
|
3151
|
+
style: 'simple',
|
|
3286
3152
|
},
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3153
|
+
},
|
|
3154
|
+
parameters: {
|
|
3155
|
+
gameId: z.number().int(),
|
|
3156
|
+
},
|
|
3157
|
+
body: Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest,
|
|
3158
|
+
response: Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse,
|
|
3159
|
+
errors: [
|
|
3160
|
+
{
|
|
3161
|
+
status: 400,
|
|
3162
|
+
description: `14: Invalid game id
|
|
3294
3163
|
56: You need to provide a valid translator group id to get report.
|
|
3295
3164
|
58: Start datetime or end datetime is invlaid.
|
|
3296
3165
|
59: Report type is invalid`,
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
status: 401,
|
|
3169
|
+
description: `0: Authorization has been denied for this request.`,
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
status: 403,
|
|
3173
|
+
description: `0: Token Validation Failed
|
|
3305
3174
|
57: You do not have permission to request translation analytics report.`,
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3175
|
+
},
|
|
3176
|
+
],
|
|
3177
|
+
});
|
|
3309
3178
|
/**
|
|
3310
3179
|
* @api GET https://gameinternationalization.roblox.com/v1/translation-analytics/metadata
|
|
3311
3180
|
* @summary Get metadata related to UI and rollout settings
|
|
3312
3181
|
*/
|
|
3313
3182
|
export const getTranslationAnalyticsMetadata = endpoint({
|
|
3314
|
-
method:
|
|
3315
|
-
path:
|
|
3316
|
-
baseUrl:
|
|
3317
|
-
requestFormat:
|
|
3318
|
-
response:
|
|
3319
|
-
Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse,
|
|
3183
|
+
method: 'GET',
|
|
3184
|
+
path: '/v1/translation-analytics/metadata',
|
|
3185
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3186
|
+
requestFormat: 'json',
|
|
3187
|
+
response: Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse,
|
|
3320
3188
|
errors: [
|
|
3321
3189
|
{
|
|
3322
3190
|
status: 401,
|
|
@@ -3329,10 +3197,10 @@ export const getTranslationAnalyticsMetadata = endpoint({
|
|
|
3329
3197
|
* @summary Get ui configurations for frontend to use.
|
|
3330
3198
|
*/
|
|
3331
3199
|
export const getUiConfigurations = endpoint({
|
|
3332
|
-
method:
|
|
3333
|
-
path:
|
|
3334
|
-
baseUrl:
|
|
3335
|
-
requestFormat:
|
|
3200
|
+
method: 'GET',
|
|
3201
|
+
path: '/v1/ui-configurations',
|
|
3202
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3203
|
+
requestFormat: 'json',
|
|
3336
3204
|
response: Roblox_GameInternationalization_Api_GetUiConfigurationsResponse,
|
|
3337
3205
|
errors: [
|
|
3338
3206
|
{
|
|
@@ -3347,13 +3215,13 @@ export const getUiConfigurations = endpoint({
|
|
|
3347
3215
|
* @param universeId The universe's ID.
|
|
3348
3216
|
*/
|
|
3349
3217
|
export const getUserLocalizationSettingsPlayerChoiceUniverseid = endpoint({
|
|
3350
|
-
method:
|
|
3351
|
-
path:
|
|
3352
|
-
baseUrl:
|
|
3353
|
-
requestFormat:
|
|
3218
|
+
method: 'GET',
|
|
3219
|
+
path: '/v1/user-localization-settings/player-choice/:universeId',
|
|
3220
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3221
|
+
requestFormat: 'json',
|
|
3354
3222
|
serializationMethod: {
|
|
3355
3223
|
universeId: {
|
|
3356
|
-
style:
|
|
3224
|
+
style: 'simple',
|
|
3357
3225
|
},
|
|
3358
3226
|
},
|
|
3359
3227
|
parameters: {
|
|
@@ -3385,20 +3253,19 @@ export const getUserLocalizationSettingsPlayerChoiceUniverseid = endpoint({
|
|
|
3385
3253
|
* @param universeId The universe's ID.
|
|
3386
3254
|
*/
|
|
3387
3255
|
export const getUserLocalizationSettingsUniverseUniverseid = endpoint({
|
|
3388
|
-
method:
|
|
3389
|
-
path:
|
|
3390
|
-
baseUrl:
|
|
3391
|
-
requestFormat:
|
|
3256
|
+
method: 'GET',
|
|
3257
|
+
path: '/v1/user-localization-settings/universe/:universeId',
|
|
3258
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3259
|
+
requestFormat: 'json',
|
|
3392
3260
|
serializationMethod: {
|
|
3393
3261
|
universeId: {
|
|
3394
|
-
style:
|
|
3262
|
+
style: 'simple',
|
|
3395
3263
|
},
|
|
3396
3264
|
},
|
|
3397
3265
|
parameters: {
|
|
3398
3266
|
universeId: z.number().int(),
|
|
3399
3267
|
},
|
|
3400
|
-
response:
|
|
3401
|
-
Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse,
|
|
3268
|
+
response: Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse,
|
|
3402
3269
|
errors: [
|
|
3403
3270
|
{
|
|
3404
3271
|
status: 400,
|
|
@@ -3423,14 +3290,14 @@ export const getUserLocalizationSettingsUniverseUniverseid = endpoint({
|
|
|
3423
3290
|
* @param universeId The universe's ID.
|
|
3424
3291
|
*/
|
|
3425
3292
|
export const postUserLocalizationSettingsUniverseUniverseid = endpoint({
|
|
3426
|
-
method:
|
|
3427
|
-
path:
|
|
3428
|
-
baseUrl:
|
|
3429
|
-
requestFormat:
|
|
3293
|
+
method: 'POST',
|
|
3294
|
+
path: '/v1/user-localization-settings/universe/:universeId',
|
|
3295
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
3296
|
+
requestFormat: 'json',
|
|
3430
3297
|
serializationMethod: {
|
|
3431
3298
|
body: {},
|
|
3432
3299
|
universeId: {
|
|
3433
|
-
style:
|
|
3300
|
+
style: 'simple',
|
|
3434
3301
|
},
|
|
3435
3302
|
},
|
|
3436
3303
|
parameters: {
|