-
Notifications
You must be signed in to change notification settings - Fork 182
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
Support the new Open Cloud API #504
Conversation
I believe this build is ready to be merged btw, The last commit was just to fix some formatting issues found with cargo fmt. |
Apparently my earlier fix did not fix everything.
Forgot to add the link to issue rojo-rbx#486 in the previous commit :/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks excellent, sorry for the long turnaround!
* Add support for the new Open Cloud API * Cleanup Open Cloud variables * Avoid cloning buffer for do_upload_open_cloud * Satisfy cargo fmt * Actually correct cargo fmt Apparently my earlier fix did not fix everything. * Update CHANGELOG.md * Update CHANGELOG.md Forgot to add the link to issue rojo-rbx#486 in the previous commit :/ * Cleanup & improve code for open cloud api * Commit to force GH Actions to run (?) Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
@VernandoGames @LPGhatguy Maybe use https://apis.roblox.com/universes/v1/places/:placeId/universe if the Universe ID isn't set to automatically fetch it? |
Closes #486 by providing a
--api_key
along with--universe_id
in place of--cookie
. Universe ID is required in order to use the open cloud api.So new upload commands will look like
rojo upload --api_key <API_KEY> --asset_id <PLACE_ID> --universe_id <UNIVERSE_ID> [project file]
Instead of
rojo upload --cookie <COOKIE> --asset_id <PLACE_ID> [project file]
This was made with an accumulative ~3 hours of experience with rust, so I'm sure things could be done better and I'm open to suggestions. Most notably lines 48-68.