File Upload¶
Uploads source code (.apk or .ipa) and support files to the Managed Services Platform.
The table shows the file formats that you can upload:
| `.7z` | `.7zip` | `.apk` | `.bar` | `.compress` |
| `.doc` | `.docx` | `.ear` | `.gz` | `.gzip` |
| `.ipa` | `.iwa` | `.j` | `.jar` | `.jar.pack` |
| `.json` | `.mobileprovision` | `.pdf` | `.ppt` | |
| `.pptx` | `.rar` | `.tar` | `.tar.gz` | `.tar-gz` |
| `.tar.xz` | `.tar.z` | `.tar-z` | `.tgz` | `.txz` |
| `.tz` | `.war` | `.xls` | `.xlsx` | `.z` |
| `.zip` | ||||
The response to this request includes the name of the uploaded file, to confirm a successful upload, and an MSP-specific file ID value. You need the value of this file ID when you use the API to schedule a scan.
Note: After you have scheduled a scan, you can update the uploaded files at any time before the scan has completed. See “File Update”.
- Request URL
Here is the URL for this request. - Headers
These are the headers for the File Upload request. - Query Parameter
This is the parameter for the File Upload request. - Examples
Here are examples of uploading files. - HTTP Status Codes
There are a number of possible responses to this request.
Parent topic:Scans