upload_file_to_storage
Upload app files or executables to Sauce Storage for mobile testing, supporting APK, AAB, IPA, ZIP formats up to 4GB, and receive a unique file ID.
Instructions
Uploads an app file to Sauce Storage for the purpose of mobile app testing or generic files to be used as Pre-Run
Executables and returns a unique file ID assigned to the uploaded file.Sauce Storage supports mobile app packages
in *.apk, *.aab, *.ipa, or *.zip format as well as any other file format.The maximum size of a single file is limited to 4GB.
:param payload: The path to the file you want to upload.
:param name: The portion of the payload value that is the actual file name (including the type extension).
:param description: A description to distinguish your app.
:param tags: An optional list of comma-separated tag names assigned to the uploaded file. Each tag name length
must be between 1 and 16 characters. Tag names must only consist of uppercase (A-Z), lowercase (a-z),
digits (0-9), underscore ("_"), hyphen ("-"), and dot (".") characters. Tag names are case-sensitive. It is
allowed to assign up to 10 tags to a single file.
:param project_name: An optional name for the project you want the file (group) to be assigned to. If the
project doesn't exist, it will be created. Project names can only consist of alphanumeric (uppercase and
lowercase) characters, along with underscores ("_"), hyphens ("-"), periods ("."), and spaces (" "). Project
names are case-sensitive and can be max 64 characters long.
:return: 201 Created.
400 Bad Request.
404 Not found.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| name | Yes | ||
| description | Yes | ||
| tags | Yes | ||
| project_name | Yes |