Swagger docs are no longer available on most, but not all subdomains

Thanks for the report, the team is aware of this and will update when we have a resolution.

12 Likes

FYI, independent of the docs outage, this is bad practice and likely would likely be impacted by the Account Session Protection flags if the request also passes the cookie.

CSRF headers are visible on every endpoint that requires them, use retry logic and hold on to the CSRF token in the HTTP 403 response til the next failure.

Some day, I really should update noblox.js to do this properly, since I feel like our archaic carryover implementation of getGeneralToken has led to this widespread (bad) practice.

2 Likes

We used this route as we could not find a feasible fix during development for it’s use. If we do ever redo this system however, I will keep this in mind.

Add an additional / to access the docs, until they fix it.

e.g. https://assetdelivery.roblox.com//docs/index.html see the two //

14 Likes

All of the following URLs are affected, and upon adding a doubled slash “//” it seems to fix it

API Endpoints Description
abtesting.roblox.com/docs Endpoints for the A/B Testing framework
accountinformation.roblox.com/docs All endpoints for accessing/modifying account information
accountsettings.roblox.com/docs All endpoints for account/user settings
adconfiguration.roblox.com/docs Roblox Ad Configuration related endpoints
ads.roblox.com/docs Ads configuration endpoints
assetdelivery.roblox.com/docs Serves asset content
Authentication Api All endpoints that tamper with authentication sessions
avatar.roblox.com/docs Endpoints relating to the customization of player avatars
badges.roblox.com/docs Endpoints for badges and badge awards management
billing.roblox.com/docs Real money transactions and interaction
catalog.roblox.com/docs Catalog items browsing and searching. Content and user based catalog items recommendations
chat.roblox.com/docs All chat and party related endpoints
clientsettings.roblox.com/docs Used by various Roblox clients to retrieve configuration information
clientsettingscdn.roblox.com/docs Used by various Roblox clients to retrieve configuration information
client-telemetry.roblox.com/docs Handles client telemtry
contentstore.roblox.com/docs ApiSite to front the TemporaryStore for files before uploading to S3
contacts.roblox.com/docs Contacts and userTag management
develop.roblox.com/docs Game development configuration endpoints
economy.roblox.com/docs Endpoints related to transactions and currency
economycreatorstats.roblox.com/docs Roblox.EconomyCreatorStats.Api endpoints.
engagementpayouts.roblox.com/docs For engagement-based payout information
ephemeralcounters.api.roblox.com/docs Handles ephemeral counters
followings.roblox.com/docs Establishes follow relationship between subscriber entities (users, groups, etc) and source entities (games, groups, assets, etc.)
friends.roblox.com/docs Friends, followers, and contacts management
gameinternationalization.roblox.com/docs Manages internationalization of games such as translating in game content.
gamejoin.roblox.com/docs All endpoints around launching a game
gamepersistence.roblox.com/docs Endpoints for the in-game datastore system for storing data for games
games.roblox.com/docs All endpoints for game discovery, and details
groups.roblox.com/docs Groups management
groupsmoderation.roblox.com/docs Group Moderation
inventory.roblox.com/docs All endpoints for viewing (but not granting) ownership of items
itemconfiguration.roblox.com/docs Configure Items (bundles and avatar assets)
lms.roblox.com/docs Status of the Latency Management Service
locale.roblox.com/docs User locale management
localizationtables.roblox.com/docs Handles managing of localization tables
metrics.roblox.com/docs Record metrics across Roblox
notifications.roblox.com/docs All notification stream endpoints
points.roblox.com/docs The web Api for the in-game PointsService
premiumfeatures.roblox.com/docs This API is for premium features and anything pertaining to account add ons
presence.roblox.com/docs All endpoints for managing presence
privatemessages.roblox.com/docs All messages page endpoints
publish.roblox.com/docs All endpoints handling file uploads
realtime.roblox.com/docs Purpose of API here
share.roblox.com/docs Purpose of Api here
search.roblox.com/docs Legacy item search endpoints.
textfilter.roblox.com/docs High volume text filtering
thumbnails.roblox.com/docs Endpoints for requesting thumbnails
thumbnailsresizer.roblox.com/docs Validate and resize thumbnails to requested dimensions
trades.roblox.com/docs Endpoints for trading collectible items
translationroles.roblox.com/docs Manages translation roles of developers in game localization
translations.roblox.com/docs Endpoints for requesting translations
twostepverification.roblox.com/docs Platform interface for the two step verification system
usermoderation.roblox.com/docs Endpoints for performing actions/operations related to User Moderation
users.roblox.com/docs APIs for direct Roblox user information.
voice.roblox.com/docs APIs for Voice calls
10 Likes

Can confirm adding a double forward slash is a workaround for now.
https://groups.roblox.com//docs/index.html works
https://groups.roblox.com/docs/index.html 404

4 Likes

The documentation has moved here: https://create.roblox.com/docs/cloud/legacy

The new pages list all API documentation that was previously available via direct docs URLs on the respective API sites, to the best of our knowledge. Please let us know if anything is missing that was available before.

You can find all these APIs in the left navigation. It also calls out on the overview page certain APIs that you can hit with legacy OAuth 2.0 / API key scopes instead of with a cookie.


:warning: Please rely on this new documentation page instead of the old documentation URLs since we cannot offer guarantees that the old URLs will stay available, including any variation (like the double slash workaround), for involved technical reasons.


:mega: While we do our best to alert you of breaking changes, please note that these legacy APIs may change without notice and break your application and do not have the stability guarantees of the newer Open Cloud APIs.

We especially discourage using the endpoints that only take cookie authentication as much as feasible for your use case, as cookies do not offer fine-grained authorization via scopes.


:bulb: We are looking into improvements to the new documentation pages, like having a way to download the openAPI JSON for each surface, and we are investigating what it would take to support “try out”-esque features on this page.


You can let us know here or by filing a new bug report or feature request if you have any feedback, questions or concerns. We’ll do our best to take that into account for any changes we plan to the documentation.

9 Likes

Although the new pages look great, I sometimes use the v0 APIs as it includes info that you often have to get on lots of other APIs, are there any plans to remove them?

Can you let me know which API sites you are talking about?

Can I DM you? It’s prob easier aha

1 Like

Confirmed in private messages that for maintenance reasons, we are not going to document the V0 endpoints on the Legacy APIs page and highly recommend not to use these endpoints going forward anymore. The swagger docs for the V0 endpoints have not been exposed for several years.

2 Likes

This is not always feasible for a couple of reasons right now. Is an eventual goal of Roblox to support all use cases for cookie authenticated endpoints via OpenCloud, or are some endpoints going to stay cookie-only (and presumably eventually get deprecated)?

The reason for the statement you quote is that we cannot officially encourage using endpoints with cookie authentication for new use cases, especially for the cases where there are also Open Cloud alternatives already which can be used today, which I hope you can appreciate. It’s not feasible for us to provide stability guarantees on these endpoints, and cookie authentication is not scoped properly in terms of permissions.

We fully understand that you all have certain tooling live right now that use these endpoints for valid reasons and it’s not our intent to break that, and we want to make sure that we properly support you with Open Cloud support. The current change only affects how/where we store swagger documentation for legacy APIs. Nothing else about our stance has changed.

4 Likes

will only the new role system get opencloud support, or are you eventually planning to add the legacy role system as well? (for groups)

This seems off-topic to swagger documentation. Could you start a new topic or private message me with more details?

ok, i might sound a bit uneducated on the topic for asking this but im a environmental designer after all, tho i will shoot my shot.

Ive been searching for documents about all the endpoints but i cant really seem to find a reliable list of all of them.
Even when i search up the swagger, not everything is always listed.

like this one
https://apis.roblox.com/developer-products/v1/universes/53603958/developerproducts?pageNumber=1&pageSize=50

I cant seem to find any swagger docs for it

I used to frequently rely on the “try it out” functionality, would really like to see this back soon.

3 Likes

We have never exposed docs for specifically apis.roblox.com, this change only covers migration of documentation for API sites ([product name].roblox.com/docs, where product name is not “apis”).

I recommend creating a new topic if legacy endpoint documentation for apis.roblox.com is important to you and what kind of use cases are not possible without having the endpoints that that domain serves (and assuming there are no Open Cloud replacements for those endpoints yet).

1 Like

Hey there, where are you getting the idea that we are phasing out APIs?

Again, as this reply states, the only change here is where the swagger / open API docs live for legacy APIs. There are no other changes other than where the documentation lives for these APIs.

We are not decreasing (or increasing) the guarantees we provide for these legacy APIs. We have never given any stability or documentation guarantees for legacy APIs. There is no change in status quo.

We are not removing any documentation. The legacy API documentation content has been migrated 1:1 to the best of our knowledge to the new Creator Hub documentation resource. (just for emphasis, again, please do make sure to check the left navigation, not just the linked page)

If anything is missing that was there before (~2 weeks ago), please let us know what is missing.

2 Likes

Hi, thanks for creating a unified documentation for Roblox web APIs! For many years I’ve been maintaining a GitHub repository listing Roblox API sites and hopefully now I can simply point developers to this new page.

Are there any plans to fix the broken /docs links on legacy API sites? I understand that this new unified page is the future but I suspect there are hundreds of now-broken links. One option could be to redirect those /docs links over to the unified documentation page for as long as the API site is still available.

5 Likes