Direct file uploads
Create new app and Update existing app require that you first upload your app to a publicly accessible website URL, from which we then retrieve your app.
If you would prefer to directly upload the app as part of the API call, our endpoints also accept multipart/form-data requests.
You may use the field name file to send a direct upload from the local filesystem, rather than using the field url. All other field names are identical. To delete a field, set it to an empty string.
The appPermissions field is an object in the JSON API. For direct uploads, you should specify the fields as "appPermissions.run", "appPermissions.networkProxy", etc.
1
# uploading a new app
2
curl --http1.1 https://[email protected]/v1/apps -F "[email protected]_to_upload.zip" -F "platform=ios"
3
4
# updating an existing app
5
curl --http1.1 https://[email protected]/v1/apps/PUBLICKEY -F "[email protected]_to_upload.zip" -F "platform=ios"
6
7
# specifying appPermissions
8
curl --http1.1 https://[email protected]/v1/apps -F "[email protected]_to_upload.zip" -F "platform=ios" -F "appPermissions.run=public"
Copied!
Last modified 1yr ago
Copy link