Skip to content

Commit e7da742

Browse files
update Open Source Docs from Roblox internal teams
1 parent 81cb05b commit e7da742

File tree

5 files changed

+32
-13
lines changed

5 files changed

+32
-13
lines changed

content/en-us/assistant/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ As a result, Assistant can act directly on your data model, such as inserting an
2323

2424
For a more in-depth look at what Assistant can do and how to use it, see the [Prompt Guide and Examples](prompt-engineering.md) and the following Roblox Staff livestream for tips, tricks, and inspiration.
2525

26-
<iframe width="640" height="360" src="https://www.youtube.com/embed/vMaOGgeuR4Y?si=fuX-80mMMzhQB6sn&amp;start=240" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
26+
<iframe width="640" height="360" src="https://www.youtube-nocookie.com/embed/vMaOGgeuR4Y?si=fuX-80mMMzhQB6sn&amp;start=240" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
2727

2828
### Insert and Modify Scripts
2929

content/en-us/cloud/legacy.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,32 @@ description: Lists legacy REST APIs for Open Cloud.
55

66
This section contains documentation for Roblox's many legacy APIs.
77

8-
Roblox offers API key and/or OAuth 2.0 support **for the select legacy APIs listed on this page**. Instead of sharing cookies, you can grant access to specific permissions and use these more secure authentication methods. These APIs might change without notice and break your application and do not have the stability guarantees of the newer Open Cloud APIs.
8+
Roblox offers API key and/or OAuth 2.0 support **for the select legacy API endpoints listed on this page**. Instead of sharing cookies, you can grant access to specific permissions and use these more secure authentication methods. These APIs might change without notice and break your application and do not have the stability guarantees of the newer Open Cloud APIs.
99

10-
This page summarizes the available operations and authentication types, but you might find the legacy API documentation useful, as well:
11-
12-
- [Badges API](/cloud/legacy/badges/v1)
13-
- [Develop API](/cloud/legacy/develop/v1)
14-
- [Followings API](/cloud/legacy/followings/v1)
15-
- [Game Internationalization API](/cloud/legacy/gameinternationalization/v1)
16-
- [Groups API](/cloud/legacy/groups/v1)
17-
- [Localization Tables API](/cloud/legacy/localizationtables/v1)
18-
- [Publish API](/cloud/legacy/publish/v1)
10+
This page summarizes the available operations and authentication types.
1911

2012
<Alert severity="warning">
2113
Refer to the left navigation for documentation of legacy APIs that only support cookie authentication and **not** API key and/or OAuth 2.0 authentication.
22-
14+
2315
Just like the legacy APIs listed on this page, those APIs might change without notice. We do not recommend depending on those APIs as they rely on needing to share cookies with application code that interacts with these endpoints.
2416
</Alert>
2517

2618
## Badges API
2719

2820
- Base URL: `https://apis.roblox.com/legacy-badges`
2921
- Authentication types: OAuth 2.0 and API key
22+
- Additional Badges API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/badges/v1).
3023

3124
| **API** | **Path** | **Scope** |
3225
| :---------- | :-------------------------- | :---------------------------- |
3326
| UpdateBadge | `PATCH v1/badges/{badgeId}` | `legacy-universe.badge:write` |
27+
| CreateBadge | `POST v1/universes/{universeId}/badges` | `legacy-badge:manage-and-spend-robux` |
3428

3529
## Develop API
3630

3731
- Base URL: `https://apis.roblox.com/legacy-develop`
3832
- Authentication types: OAuth 2.0 and API key
33+
- Additional Develop API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/develop/v1).
3934

4035
| **API** | **Path** | **Scope** |
4136
| :----------------------------------- | :---------------------------------------------------------- | :--------------------------------- |
@@ -48,11 +43,14 @@ This page summarizes the available operations and authentication types, but you
4843
| GetGroupsWithEditGroupGamePermission | `GET v1/user/groups/canmanage` | `legacy-group:manage` |
4944
| ActivateUniverse | `POST v1/universes/{universeId}/activate` | `legacy-universe:manage` |
5045
| DeactivateUniverse | `POST v1/universes/{universeId}/deactivate` | `legacy-universe:manage` |
46+
| GetUniversePermissions | `GET v1/universes/{universeId}/permissions` | `legacy-universe:manage` |
47+
| MultiGetUniversePermissions | `GET v1/universes/multiget/permissions` | `legacy-universe:manage` |
5148

5249
## Followings API
5350

5451
- Base URL: `https://apis.roblox.com/legacy-followings`
5552
- Authentication types: OAuth 2.0 and API key
53+
- Additional Followings API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/followings/v1).
5654

5755
| **API** | **Path** | **Scope** |
5856
| :----------------- | :---------------------------------------------------- | :-------------------------------- |
@@ -66,6 +64,7 @@ This page summarizes the available operations and authentication types, but you
6664

6765
- Base URL: `https://apis.roblox.com/legacy-game-internationalization`
6866
- Authentication types: OAuth 2.0 and API key
67+
- Additional Game Internationalization API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/gameinternationalization/v1).
6968

7069
| **API** | **Path** | **Scope** |
7170
| :------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------- | :-------------------------------- |
@@ -113,6 +112,7 @@ This page summarizes the available operations and authentication types, but you
113112

114113
- Base URL: `https://apis.roblox.com/legacy-groups`
115114
- Authentication types: OAuth 2.0 and API key
115+
- Additional Groups API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/groups/v1).
116116

117117
| **API** | **Path** | **Scope** |
118118
| :-------------------------------- | :-------------------------------------------------- | :-------------------- |
@@ -129,6 +129,7 @@ This page summarizes the available operations and authentication types, but you
129129

130130
- Base URL: `https://apis.roblox.com/legacy-localization-tables`
131131
- Authentication types: OAuth 2.0 and API key
132+
- Additional Localization Tables API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/localizationtables/v1).
132133

133134
| **API** | **Path** | **Scope** |
134135
| :-------------------------------------- | :------------------------------------------------------------------------ | :----------------------- |
@@ -147,6 +148,7 @@ This page summarizes the available operations and authentication types, but you
147148

148149
- Base URL: `https://apis.roblox.com/legacy-publish`
149150
- Authentication types: OAuth 2.0 and API key
151+
- Additional Publish API endpoints without Open Cloud authentication support can be found [here](/cloud/legacy/publish/v1).
150152

151153
| **API** | **Path** | **Scope** |
152154
| :-------------------------------------- | :------------------------------------------------------------------------ | :----------------------- |

tools/checks/main.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import {
4242
checkFileImportEquality,
4343
checkMdxEquality,
4444
isLocaleFile,
45+
outdatedTranslationFiles,
4546
} from './utils/localization.js';
4647
import { Emoji } from './utils/utils.js';
4748
import { deduplicate } from './utils/utils.js';
@@ -275,6 +276,17 @@ try {
275276
'utf-8'
276277
);
277278
}
279+
if (config.checkLocalizedContent && outdatedTranslationFiles.length > 0) {
280+
const outdatedTranslationFilesPath = path.join(
281+
outputDirectory,
282+
'outdated-translation-files.txt'
283+
);
284+
writeListToFile(
285+
outdatedTranslationFilesPath,
286+
outdatedTranslationFiles,
287+
'utf-8'
288+
);
289+
}
278290
if (config.postPullRequestComments && pullRequestReviewComments.length > 0) {
279291
await postCommentsToGitHub();
280292
}

tools/checks/utils/allowedHttpLinks.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ https://www.youtube.com/channel/UCp1R0TBvgM7gj0rwTYULmSA
492492
https://www.youtube.com/embed/FfvEezx9yZw
493493
https://www.youtube.com/embed/iub8w55181k
494494
https://www.youtube.com/embed/Kt5CeFGqdoM
495-
https://www.youtube.com/embed/vMaOGgeuR4Y?si=fuX-80mMMzhQB6sn&amp;start=240
495+
https://www.youtube-nocookie.com/embed/vMaOGgeuR4Y?si=fuX-80mMMzhQB6sn&amp;start=240
496496
https://www.youtube.com/watch?list=PLHqz-wcqDQIEMMuXadwy90YxN2Qb4SrXT&time_continue=5&v=TWj78n4ZuMY&feature=emb_logo
497497
https://www.youtube.com/watch?v=-gIL6VZ-bkE
498498
https://www.youtube.com/watch?v=0fAhhoXK12o

tools/checks/utils/localization.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export enum Locale {
1515
EN_US = 'en-us',
1616
ES_ES = 'es-es',
1717
FR_FR = 'fr-fr',
18+
IT_IT = 'it-it',
1819
JA_JP = 'ja-jp',
1920
KO_KR = 'ko-kr',
2021
PT_BR = 'pt-br',
@@ -88,6 +89,8 @@ const getCachedContentForFilePath = (filePath: string): string => {
8889
return content;
8990
};
9091

92+
export const outdatedTranslationFiles: string[] = [];
93+
9194
export const checkFileImportEquality = (
9295
filePath: string,
9396
fileContent: string
@@ -110,6 +113,7 @@ export const checkFileImportEquality = (
110113
console.log(
111114
`${Emoji.NoEntry} MDX imports do not match between ${filePath} and ${enUsFilePath}`
112115
);
116+
outdatedTranslationFiles.push(filePath);
113117
addToSummaryOfRequirements(
114118
`${Emoji.NoEntry} Requirement: MDX imports do not match between ${filePath} and ${enUsFilePath}`
115119
);
@@ -167,6 +171,7 @@ export const checkMdxEquality = async (
167171
} else {
168172
const errorMessage = `${Emoji.NoEntry} MDX components do not match ${comparisonMessage}`;
169173
console.log(errorMessage);
174+
outdatedTranslationFiles.push(filePath);
170175
addToSummaryOfRequirements(errorMessage);
171176
}
172177
}

0 commit comments

Comments
 (0)