Uploads

Create an app upload

Creates an upload record and returns a presigned URL for uploading the app binary.

Flow:

  1. Call this endpoint to get uploadId and presignedUrl.
  2. PUT the binary file to presignedUrl.
  3. Call POST /api/uploads/{uploadId}/submit to start processing.
  4. Poll GET /api/uploads/{uploadId} until status is succeeded.
  5. Use the uploadArn token in POST /api/sessions to start a mobile test.
post/api/uploads

Request

Request body

fileNamestring required

Original file name. Must end in .apk, .ipa, or .zip (an iOS app bundle; requires platform: IOS); anything else is rejected with 400.

fileSizeinteger

File size in bytes (informational).

platform'ANDROID' | 'IOS'

Required for .zip files, which are iOS only; ignored for .apk and .ipa.

Example request

{
  "fileName": "my-app.apk"
}

Response

Upload record created.

uploadIdstring uuid required
presignedUrlstring required

URL to PUT the binary file to.

fileType'ANDROID_APP' | 'IOS_APP' required

Changes

No recorded changes to this operation across all 1 revision of this API.