CI/CD Integration

πŸ“˜

Apps with an Enterprise license can request access to our CI/CD API which provides access to download your latest app builds and integrate them into your CI/CD automation.

To contact our team for assistance with Enterprise deployments please use the Enterprise Contact form.

Downloading Source Code and Binaries

You can download app sources and binaries using the following curl commands. You will need to replace {{ APP ID }} with your app ID and {{ API KEY}} with the API key of your organization.

Examples

iOS Source

curl --location 'https://median.co/project/{{ APP ID }}/download/iosSource' --header 'x-api-key: {{ API KEY }}' --output /path/ios_source.tar.gz

Android source

curl --location 'https://median.co/project/{{ APP ID }}/download/androidSource' --header 'x-api-key: {{ API KEY }}' --output android_source.tar.gz

Android APK

curl --location 'https://median.co/project/{{ APP ID }}/download/apk' --header 'x-api-key: {{ API KEY }}' --output app-release.apk

Android AAB

curl --location 'https://median.co/project/{{ APP ID }}/download/aab' --header 'x-api-key: {{ API KEY }}' --output app-bundle.aab

Frequently Asked Questions

Where do I find my API key?

The API key is not accessible in the Median AppStudio. Please contact us to retrieve the API key for your organization.

Where do I find my app ID?

You will find your APP ID in the private app management link (eg if you manage your app via https://median.co/app/12345, your app ID will be '12345').

Why can I not download the builds of my cloned apps?

To download your app builds and source code an app build has to be created. Builds are not created when cloning an existing app and you will have to manually build the app in the App Download & Build Settings within the Median AppStudio.