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.
  1. 1.
    Go to the build history / app version history page
  2. 2.
    Select your app version you would like to exchange
  3. 3.
    Click on exchange file button
  4. 4.
    Upload your new app file
  5. 5.
    Add a comment
  6. 6.
    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:
  1. 1.
    First, you need to upload your app version to the server
  2. 2.
    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:
post
POST
https://getupdraft.com/api/applicationadd/?preload=1&app={{ AppID }} (content-type: multipart/form-data) app={{ BuildFile }}
Pre-upload new app version
put
Put
PUT https://getupdraft.com/api/versions/{{ buildID }}/ (content-type: application/json) {“preload_path”: {{ preload_path }}, “comment”:“”}
Replace existing app file