Environment App Key
Your App key/ token. You find it in 'Edit App'
Your API key/ token. You find it in your profile: https://getupdraft.com/dashboard/profile/tokens
Path_to_your_app_file (ipa or apk)
Additional release notes for this uploaded build. This text will be added to all email notifications.
You can also specify the type of assembly.
You can also specify name of your branch you deployed your build.
Open your Terminal/CMD and type in following command with your path to the file you want to upload, your environment app key and your API key:
In the case of an error, Updraft will return a JSON with
code with one of the values in the list below.
This version of your build already exists
There is already a newer version uploaded, this version you are trying to upload is older.
This is another application and doesn't match with the application in your project
This is a different platform type of your application
Your storage space is full. Please upgrade your priceplan.
You are uploaded an already existing build to your project (same version and same build version)
curl -X PUT https://getupdraft.com/api/app_upload/YourEnvironmentAppKey/Your APIKey -F app=@/Users/Admin/Downloads/yourapp.apk
curl -X PUT https://getupdraft.com/api/app_upload/YourEnvironmentAppKey/Your APIKey -F app=@/Users/Admin/Downloads/yourapp.apk -F whats_new=NewBuild -F custom_branch=Develop
You can find your API Key in your Profile.
You can, just click on the link 'generate new API Key'.