You can easily upload your iOS and Android apps to Updraft using the CURL command to quickly distribute your apps to your testers and team. Just integrate the CURL into your CI pipeline or upload your apps via the command line.
You can find the CURL of your app on the app overview page.
curl -X PUThttps://getupdraft.com/api/app_upload/YourEnvironmentAppKey/YourAPIKey-F [email protected]/Users/Admin/Downloads/yourapp.apk-- http1.1
If you upload your apps using the CURL command, you can also add customized parameters which will be displayed in the build history of your app in Updraft. Some examples of parameters can be found here.
curl -X PUThttps://getupdraft.com/api/app_upload/YourEnvironmentAppKey/YourAPIKey-F [email protected]/Users/Admin/Downloads/yourapp.apk-F whats_new=ReleaseNotes-F custom_branch=Develop-F git_commit_hash=f6ef9eff9f3b3863546b4555584d0d35bbe88b28-F bundle_version=1.0.20201015.1430-F git_url=sh://[email protected]:11111/mytestproject- http1.1
If you are using an app file name with space in it, use please the CURL command with apostrophe.
curl -X PUT-F '[email protected]/Users/Admin/Downloads/yourapp.apk'-F 'whats_new=ReleaseNotes'-F 'custom_branch=Develop'-F 'git_commit_hash=f6ef9eff9f3b3863546b4555584d0d35bbe88b28'-F 'bundle_version=1.0.20201015.1430'-F 'git_url=sh://[email protected]:11111/mytestproject'- https://getupdraft.com/api/app_upload/YourEnvironmentAppKey/YourAPIKey-- http1.1
You can find your API Key in your Profile.
You can, just click on the link 'generate new API Key'.
The App Key is the exact identifier of your app.
Yes you can add release notes, build type, your development branch or even your git-tag. More information you can find here.