Exchange already uploaded app version
Exchange an already uploaded app version.
Sometimes it makes sense to replace an already uploaded app version without changing the chronology in the app version history.
Go to the build history / app version history page
Select your app version you would like to exchange
Click on exchange file button
Upload your new app file
Add a comment
Click on save
The newly uploaded app file will be exchanged and a change history will be added to the specific app version details with information about the user who changed the file, the added comment, and the timestamp of the file exchange.
If an app file is replaced, only the app file and the meta-information extracted change, the previously provided public installation link will redirect the user to the new app file.
Exchange the already uploaded app version with CURL
The exchange with CURL needs to steps:
First, you need to upload your app version to the server
Secondly you need to replace an existing app version
First of all you need to pre-upload the new app version to the Updraft server:
Pre-upload new app version
POST
POST https://getupdraft.com/api/applicationadd/?preload=1&app={{ AppID }} (content-type: multipart/form-data) app={{ BuildFile }}
Headers
content-type
object
multipart/form-data
Authorization
object
Authorization Token
Replace existing app file
PUT
Put PUT https://getupdraft.com/api/versions/{{ buildID }}/ (content-type: application/json) {“preload_path”: {{ preload_path }}, “comment”:“”}
Headers
Authorization
object
Authorization Token
Last updated