Saturday, March 24, 2018

Keen Modding Live - Get version by ID

I started the UI for selecting a level to clone/fork. I suspect it'd be most convenient for users to simply copy the URL right from the web page where they're playing the level, so there's a button to identify a version from the URL on the clipboard. While implementing that, I found that there was no way to get the information on a single specific version from the API, only to get the versions associated with a specific level. I adjusted the "get version" API endpoint to also accept a version ID and used that functionality to make the desktop client extract version information from the current level URL scheme.

No comments:

Post a Comment