App and Solution
Apps
App Version Management
4min
overview developers can use addappversion to create a new version of an existing application this section walks through the process of creating new versions of applications and to delete development versions on the os1 platform here’s how the os1 platform manages versions versions we support up to 2 development versions the first version is in the development state , which means it is actively being worked on by developers the second version is at the ready to publish state, having been tech review approved but not yet published this approach is designed so that developers can continue their new development work while the qa team validates the ready to publish version in preparation for publication live versions the os1 platform accommodates up to 2 live versions this setup is strategic, allowing for a phased rollout of new versions 1 creating a new version note note to create a new version, an existing version should be at least in the ready to publish state see the submit for review guide for more details on how to move the app to the ready to publish state endpoint post /developer/apps/{appid}/versions attributes attribute description version the new version of the app parentversion the latest ready to publish version will be used as the base version if the parent version is not provided example request the following shows an example createversion request the request creates version 2 0 0 for an app example request { "version" "2 0 0", "parentversion" "1 0 0" } response upon successful execution, the api will return details of the new version, including the guid for the newly created version 2\ deleting a development version deleteappversion deletes an app version currently in the development phase note a version in any state after development cannot be deleted endpoint delete /developer/apps/versions/{versionid} response when successful, the api will return a 200 response code, indicating the version was deleted successfully note ensure the version you're trying to delete is in the development state deleting versions in any other state will trigger an error response