API
To upload a build file directly from your CI/CD system we recommend using our api endpoint.
Uploads a build file along with associated metadata.
Body
buildstring · binaryOptional
The build file to be uploaded.
organisation_keystringOptionalExample:
The organization key.
ORG_KEY_12345
platformstringOptionalExample:
The platform for the build. Options are "android" or "ios".
android
metadatastringOptionalExample:
Metadata as a JSON string.
{"branch":"dev-feature-1"}
Responses
200
Build uploaded successfully
application/json
post
POST /uploadBuild/ HTTP/1.1
Host:
Content-Type: multipart/form-data
Accept: */*
Content-Length: 118
{
"build": "binary",
"organisation_key": "ORG_KEY_12345",
"platform": "android",
"metadata": "{\"branch\":\"dev-feature-1\"}"
}
200
Build uploaded successfully
{
"buildId": "build_12345"
}
Examples
With a curl
command:
curl -L \
-X POST \
-H "Content-Type: multipart/form-data" \
-F "build=@path/to/your/build_file.apk" \
-F "organisation_key=YOUR_ORGKEY_12345" \
-F "platform=android" \
-F "metadata={\"branch\":\"dev-feature-007\"}" \
https://api.mobileboost.io/uploadBuild/
Last updated