Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roblox is subsetting api.roblox.com #144

Closed
3 tasks done
blake-mealey opened this issue Jun 11, 2022 · 8 comments
Closed
3 tasks done

Roblox is subsetting api.roblox.com #144

blake-mealey opened this issue Jun 11, 2022 · 8 comments
Labels
next What to work on next roblox api deprecation A Roblox API was or will be deprecated

Comments

@blake-mealey
Copy link
Owner

blake-mealey commented Jun 11, 2022

Context: https://devforum.roblox.com/t/action-needed-sunsetting-apirobloxcom/1796897

Affected endpoints we currently use:

  • GET /marketplace/game-pass-product-info -> A new endpoint is not ready at the time of this announcement. Please stay tuned.
  • GET /developerproducts/list -> Develop Api
  • POST /universes/create -> A new endpoint is not ready at the time of this announcement. Please stay tuned.

Currently none of these endpoints actually has a replacement we can use. They linked to Develop Api for one but there is no analogous API there.

@blake-mealey blake-mealey added enhancement New feature or request and removed enhancement New feature or request labels Jun 11, 2022
@blake-mealey
Copy link
Owner Author

Update: looks like someone else noticed the developerproducts API issue. There is an API but it doesn't return the necessary data.

@blake-mealey
Copy link
Owner Author

Update: roblox has further announced the following:

  • They will release a replacement API at least 1 month before removing the POST /universes/create endpoint
  • They acknowledged the developerproducts API issue and will "circle back"
  • They will release a replacement API at least 1 month before removing the GET /marketplace/productinfo endpoint which is similar to the one we use

All in all it sounds like we should be getting proper replacements for all of these with a reasonable amount of time to switch.

@blake-mealey blake-mealey added missing configuration Missing support for Roblox configuration roblox api deprecation A Roblox API was or will be deprecated and removed missing configuration Missing support for Roblox configuration labels Jun 11, 2022
@Julli4n
Copy link

Julli4n commented Jun 14, 2022

  • GET /marketplace/game-pass-product-info -> A new endpoint is not ready at the time of this announcement. Please stay tuned.

You could just use https://economy.roblox.com/v2/assets/1818/details as it's been used in Studio for the past year, and they're likely to announce this anyways.

Update: looks like someone else noticed the developerproducts API issue. There is an API but it doesn't return the necessary data.

They just recently created a new API (undocumented) to get a productId from a developerProductId: https://develop.roblox.com/v1/developerproducts/12973870

@blake-mealey
Copy link
Owner Author

Thanks for that info!

@blake-mealey
Copy link
Owner Author

Looked into this some more. Using the economy API to replace /marketplace/game-pass-product-info won't work because it doesn't work for game passes unfortunately. For example, for the product returned from https://games.roblox.com/v1/games/3084813470/game-passes, neither the id nor productId return the game pass's info:

For the developer products, the new endpoint could be used to replace our need for the list endpoint during product creation, but we would still need an analogous API for importing.

@Julli4n
Copy link

Julli4n commented Oct 1, 2022

Looked into this some more. Using the economy API to replace /marketplace/game-pass-product-info won't work because it doesn't work for game passes unfortunately. For example, for the product returned from https://games.roblox.com/v1/games/3084813470/game-passes, neither the id nor productId return the game

For details by product ID: https://economy.roblox.com/v2/developer-products/1/details
For details by pass ID: https://economy.roblox.com/v1/game-pass/1/game-pass-product-info

  • POST /universes/create -> A new endpoint is not ready at the time of this announcement. Please stay tuned.

Use https://apis.roblox.com/universes/v1/universes/create?groupId=GROUPID
Request Body:

{
    "templatePlaceId": 95206881
}

Response body:

{
    "rootPlaceId": number,
    "universeId": number
}

@Julli4n
Copy link

Julli4n commented Dec 28, 2022

Additionally, for a direct replacement for /developerproducts/list:
https://apis.roblox.com/developer-products/v1/developer-products/list?universeId=13058 Accepts the same params and sends the same response format.

@blake-mealey blake-mealey added the next What to work on next label Dec 30, 2022
@blake-mealey
Copy link
Owner Author

All of these have been resolved now in the latest version: 0.11.6

Thanks @Julli4n for your help with this! Very much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next What to work on next roblox api deprecation A Roblox API was or will be deprecated
Projects
None yet
Development

No branches or pull requests

2 participants